@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Anton&family=Patua+One&display=swap');
body,
html {

    font-weight: 400;
    font-style: normal;
    height: 100%;
    background-color: #f8f9fa;
}
.global{
    width: 100%;
}

.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-height: 60px;
    background-color: #1e3a8a;
    /* Fondo azul */
    padding: 25px;
    /* Reducido el espaciado alrededor del contenedor */
}

/* Estilos para la barra de navegación */
.navbar {
    background-color: #1e3a8a;
    padding: 10px 20px;
    /* Reducir el padding para reducir la altura */
    display: flex;
    align-items: center;
}

.navbar-logo {
    max-width: 140px;
    height: auto;
    margin-left: 20px;
}

/* Estilos para los enlaces en la barra de navegación */
.navbar-brand,
.navbar-nav .nav-link {
    color: #ffc107;
}/* Estilos para el contenedor del casillero de búsqueda y los iconos de redes sociales */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: #1e3a8a;
    padding: 40px;
    /* Reducido el espaciado alrededor del contenedor */
}

/* Estilos para la barra de navegación */
.navbar {
    background-color: #1e3a8a;
    padding: 10px 20px;
    /* Reducir el padding para reducir la altura */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Espacio entre los elementos para dejar lugar al logo en el centro */
}

/* Contenedor para los elementos del navbar a la izquierda */
.navbar-left {
    display: flex;
    align-items: center;
}

/* Estilos para el logo en la barra de navegación */
.navbar-logo {
    max-width: 140px;
    height: auto;
    margin: 0 20px;
    /* Añadir margen a ambos lados del logo */
}

/* Contenedor para los elementos del navbar a la derecha */
.navbar-right {
    display: flex;
    align-items: center;
}

/* Estilos para los enlaces en la barra de navegación */
.navbar-brand,
.navbar-nav .nav-link {
    color: #ffc107;
}


/* Estilos para los íconos de redes sociales */
.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* Alinear los íconos horizontalmente */
}

.social-icons li {
    display: inline-block;
    margin-left: 10px;
}

.social-icons li:first-child {
    margin-left: 0;
}

.social-icons a {
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.social-icons a img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Opcional: para hacer los iconos redondos */
}

.social-icons a:hover {
    background-color: #555;
}

.contact-buttons {
    position: absolute; /*Su contenedor padre tiene un position relative y su hijo
    tiene un position absolute para que este gire entorno a su contenedor padre y no entorno
    al body si es que la barra de navegacion no tiene un posicion relative*/
    right: 0.5rem;
    width: 50px;
    height: 50px;
    display: grid;
    place-content: center;
    border-radius: 50%;
    overflow: hidden; /*Controla el desbordamiento*/
    background: rgba(157, 152, 152, 0.415);
}
.contact-buttons .btnOne{
    display: grid;
    place-content: center;
    outline: none;
    border: none;
    background: none;
}
.contact-buttons ion-icon{
    color: rgb(8, 202, 8);
    font-size: 2rem;
}
.contenedor{
    position: absolute;
    top: 4.5rem; /*Un REM O EM equivale a 16px en unidades relativas*/
    right: 1rem;
    width: 140px;
    height: 85px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.415);
}
.contenedor .enlace{
    color: #ffffff;
    text-decoration: none;
}
.contenedor .enlace:hover{
    color: darkblue;
}
.main-content {
    position: relative;
    background: rgb(255, 255, 85);
    flex: 1;
    /*Esto hace que se centre voy a sacarlo del contenedor*/
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 100%;
}

.intro {
    text-align: center;
    width: 100%;
}

.intro h1 {
    font-size: clamp(2rem, 5vw, 5rem);
    color: #000083;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.intro p {
    font-size: clamp(1rem, 3vw, 2rem);
    color: darkblue;
}

.content {
    padding: 20px;
    color: #000083;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.content h2 {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    margin-bottom: 10px;
}

.content p {
    font-size: clamp(1.5rem, 5vw, 4rem);
    color: darkblue;
    text-align: justify;
    margin-bottom: 10px;
}

.content-wrap {
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.content-text {
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
}

.contact-form {
    flex: 1;
    background: #fffb00;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(40px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 6px 8px 5px 0px rgba(0,0,0,0.75);
    box-sizing: border-box;
}
.contact-form h2 {
    color: #0d1c7c;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form label {
    display: block;
    color: #0d1c7c;
    margin-bottom: 5px;
}

.contact-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.contact-form button {
    background-color: #0d1c7c;
    color: #f3e700;
    padding: 15px 30px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
    width: calc(100% - 20px);
    box-sizing: border-box;
}

.contact-form button:active {
    background-color: #050f3c;
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
}

.images img {
    margin: 10px;
    width: calc(25% - 20px);
    border-radius: 10px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.images img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    background-color: #1e3a8a;
}

.navbar-brand,
.navbar-nav .nav-link {
    color: #ffc107;
}
footer {
    background-color: #1e3a8a;
    color: #fff;
    padding: 20px;
    width: 100%;
}

.footer-logo {
    max-width: 150px;
}

.footer-icon img {
    width: 100%; 
    height: auto; 
}

.footer-icon {
    max-width: 40px;
    border-radius: 50%; 
    overflow: hidden; 
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.full-height {
    min-height: 100vh;
}