* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Times, serif, sans-serif;
    background-color: #212121;
    color: white;
    min-height: 100vh; /* Asegura altura completa */
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #25d366;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

.logo {
    position: absolute;
    top: 50px;
    left: 80px;
    width: 250px;
    z-index: 100;
}

.logo img {
    width: 250px;
    border: 2px solid white;
}

nav {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-left: 30px;
    margin-right: 30px;
}

nav a {
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

nav a:hover {
    color: #5D6E9E;
}

.header {
    width: 100%;
    position: relative;
    top: 0;
    z-index: 50;
    background-color: #02084B;
}

.headerContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 200px;
    padding: 10px 20px;
}

.banner {
    position: relative; /* Cambia de fixed a relative */
    width: 100%;
    height: 900px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bannerVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.bannerContainer {
    position: relative; /* Cambia de fixed a relative */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.bannerContainer h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

.bannerContainer p {
    font-size: 1.5rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
} 

.aboutContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #02084B;
    gap: 20px;
    padding: 20px;
}

.aboutDiv {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 150px;
}

.aboutDiv img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover; /* Asegura que las imágenes se muestren completas */
}

.aboutContainer h1 {
    font-size: 2rem;
    text-align: center;
    max-width: 800px; /* Opcional: limita el ancho del texto */
    padding-top: 45px;
    padding-bottom: 45px;

}

.contactContainer {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bannerVideo2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.contactDiv {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 45px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para mejorar legibilidad */
    max-width: 80%;
}

.contactDiv h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contactDiv p {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contactDiv a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #25D366; /* Color de WhatsApp */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.contactDiv a:hover {
    background-color: #128C7E; /* Color de WhatsApp más oscuro para hover */
}

.ubicacion {
    text-align: center;
    padding: 20px;
    background-color: #02084B;
}
  
.mapa {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
}
  
.mapa iframe {
    width: 100%;
    height: 400px;
    border: 0;
}
  
.direccion {
    margin-top: 20px;
}

.contacto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    padding: 40px 20px;
    place-items: center;
    background-color: black;
}

.logoBottom img{
    width: 250px;
    border: 2px solid white;
}

.contactoInfomacion{
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.contactoButton{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.contacto-item {
    background-color: #128C7E;
    padding: 15px 20px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: background-color 0.3s ease; /* Transición suave al pasar el mouse */
    text-align: center;
}
  
.contacto-item:hover {
    background-color: #02344b;
}
  
.contacto-item i {
    margin-right: 10px;
    font-size: 1.2em; /* Tamaño de los iconos */

}

.redes h2{
    margin-bottom: 20px;
}

.redes-iconos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    cursor: pointer;
}

.redes a{
    text-decoration: none;
}

.derechos {
    text-align: left;    
    padding: 20px;
}

@media screen and (max-width: 850px) {

    nav a {
        font-size: 1rem;
    }
   
    .aboutDiv{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .aboutContainer h1 {
        font-size: 1.5rem;    
    }

}



@media screen and (max-width: 670px) {

    .logo img {
          width: 220px;
          position: absolute;
          top: 110px;
          left: 100%;
          transform: translateX(-50%);
          z-index: 100;
    }

    .contacto-info {
        grid-template-columns: repeat(1, 1fr);  
    }    
}



@media screen and (max-width: 550px) {

    .logo img {
          width: 220px;
          position: absolute;
          top: 110px;
          left: 59%;
          transform: translateX(-50%);
          z-index: 100;
    }

    .banner {
        height: 700px;
    }

    .contactoButton{
        grid-template-columns: 1fr;
    }

    .redes-iconos {
        grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 430px) {

    .logo img {
          width: 220px;
          top: 110px;
          left: 53%;

    }

    .contacto {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 425px) {

    .logo img {
          width: 220px;
          position: absolute;
          top: 110px;
          left: 55%;
          transform: translateX(-50%);
          z-index: 100;
    }

}

@media screen and (max-width: 390px) {

    .logo img {
        width: 200px;
        top: 110px;
        left: 44%;

      }
}

@media screen and (max-width: 375px) {

    .logo img {
          width: 200px;
          position: absolute;
          top: 110px;
          left: 45%;
          transform: translateX(-50%);
          z-index: 100;
      }
}

@media screen and (max-width: 320px) {
    nav a {
        font-size: 0.5rem;
    }

    .logo img {
          width: 150px;
          position: absolute;
          top: 110px;
          left: 35%;
          transform: translateX(-50%);
          z-index: 100;
      }
}