@import url('https://fonts.googleapis.com/css?family=Playball&display=swap');

html {
        scroll-behavior: smooth;

          }
body {
    font-family:'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.whatsapp {
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}

.whatsapp-icon {
  margin-top:13px;
}

/* Estilos para el encabezado */
.main-header {
    height: 80px;
    padding: 10px;
    display: flex;

    justify-content: space-between;
    align-items: center;
    background-color: white;
    max-width: 1400px;
    margin: auto;
}



.main-logo {
    color: black;
    font-size: 24px;
  font-family: roboto;
    text-decoration: none;
    display: flex;
    align-items: center;
}


.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    margin-left: -100%;
    transition: all 0.2s linear;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;

}

.main-nav.show {
    margin-left: 0;
}

.nav-links {
    background-color: rgb(250, 250, 250);
    display: flex;
    flex-direction: column;
    width: 70%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
}

.link-item {
    margin-top: 2rem;
    color: #666666;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.link-item::after {
    position: absolute;
    content: "";
    background-color: black;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    transition: 0.3s ease all;
}

.link-item:hover::after {
    width: 100%;
}

.button-menu {
    z-index: 200;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    background: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button-menu span {
    width: 37px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #444444;
    border-radius: 3px;
    transform-origin: 4px 0px;
    transition: all 0.2s linear;
}

.button-menu.close span {
    opacity: 1;
    transform: rotate(45deg) translate(0px, 0px);
    background: #ffffff;
}

.button-menu.close span:nth-child(2) {
    transform: rotate(-45deg) translate(-8px, 5px);
}

.button-menu.close span:nth-child(3) {
    display: none;
}

/* Estilos para la sección principal */
.main-section {
    position: relative;
    height: 90vh;
  
    margin: auto;
    border-radius: 40px;
    padding-bottom: 20px;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://i.postimg.cc/hGtQzDKX/asa2.jpg");
  background-size: cover;
  background-repeat: no-repeat; /* Para evitar que la imagen se repita */
  background-position: center center; /* Para centrar la imagen en el contenedor */
     }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);


}

.content {
    display: grid;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    justify-items: center;
}

.main-heading {
    font-size: 50px;
    font-weight: 700;
    font-family: roboto;
    letter-spacing: 1px;
    color: white;
    text-align: center;
    margin-bottom: 0px;}

.main-heading2 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -2px;
    color: white;
    text-align: center;
    margin-top: 5px;
}



.separador {
    display: block;
    height: 25px;
}



/* Estilos para la sección "Nosotros" */
.nosotros-section {
    text-align: center;
    flex-direction: column;
    padding-top: 15px;
}

h1 {
    font-size: 35px;
    font-weight: bold;
    margin: 5px;
  
}

.nosotros-section{
    align-items: center;
    width: 60%;
    margin: auto;
    padding-bottom: 30px;

}

.testimonial {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.testimonial-content2{
    width: 65%;
    margin: auto;

}
.testimonial-content h1 {
    font-family: roboto;
    margin: 5px;
}
.testimonial-content h2 {

 font-size: 19px;   
 margin:5px;
}

.testimonial-content p {
    font-size: 18px;
    text-align: justify;
    color:black;
}

.testimonial-image {
    display: flex;
    justify-content: center;
    align-items: center;
     /* Ajustar al 100% del contenedor padre */
    height: 100%; /* Ajustar al 100% del contenedor padre */
    border-radius: 10px;
    overflow: hidden;
    border-radius: 40px;
}

.testimonial-image img{
border-radius: 40px;
width: 70%;

}

/* Estilos para la sección "elegirme" */

.elegirme {
    align-items: center;
    width: 100%;
    margin: auto;
    text-align: center;
   background-color: rgb(255,241,202);
   padding-bottom: 20px;


}

.elegirme h1 {
    margin: auto;
    font-size: 35px;
    color:black;
    padding-top: 30px;
}

.elegirme .testimonial {
    width: 40%;
    text-align: center;
    margin: auto;

}
.elegirme .testimonial p {
    color: black;
    padding-top: 8px;
    padding-bottom: 5PX;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.item {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    margin: 10px;
    text-align: center;
    width: 300px;
}

.icon {
    width: 50px; /* Tamaño del icono */
    margin: 0 auto 10px;
    display: block;
    font-size: 30px;
}

.item .fas {

}

/* Estilos para la sección "Formulario" */



#formulario {
 
    margin: auto;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
}

#formulario h1 {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
}

.ubicacion{
    Width: 80%;
    margin: auto;
    text-align: center;
    display: flex;
    text-align: center;

}

.mapa iframe {
    width: 700px;
}


form {
    display: flex;
    flex-direction: column;
    margin: auto;
    text-align: center;
}

.row {
    display: flex;
    justify-content: space-between;
    width: 30%;
    margin: auto;
}

.label-input-group {
    display: flex;
    flex-direction: column;
    flex-basis: 48%; /* Ajustado para que haya un pequeño espacio entre los campos */
    margin-bottom: 15px;
    width: 30%;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 20px;
}

.label-input-group input[type="text"],
.label-input-group input[type="email"],
.label-input-group textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out;
    background-color: lightgrey;

}

label {
    display: none;
}

input:focus,
textarea:focus {
    border-color: #007bff;
}

button[type="submit"] {
    background-color: black;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    width: 32%;
    font-size: 14px;
    margin: auto;

  
}

button[type="submit"]:hover {
    background-color: #333;
}

.textocontacto {
    font-size: 20px;
}


/* Estilos generales para el footer */
.main-footer {
    background-color: black;
    padding: 20px;
    text-align: center;

}

/* Estilos para los botones del footer */
.footer-buttons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
     width: 60%;
     margin: auto;
}

.footer-button {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.footer-button:hover {
    background-color: white;
    color: black;
}

.footer-button-menu {
    background: none;
    border: none;
    cursor: pointer;
}

.footer-button-menu span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px 0;
    background-color: white;
    transition: transform 0.3s, opacity 0.3s;
}

/* Media Query para pantalla grande (768px o más) */
@media screen and (min-width: 768px) {
    .button-menu {
        display: none;
    }
    

    .main-logo {
        flex-basis: 30%;
    }

    .main-nav {
        position: static;
        margin-left: 0;
        flex-basis: 70%;
        height: 100%;
    }

    .nav-links {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        background: white;
    }

    .link-item {
        display: inline-block;
        margin-top: 0;
        margin-right: 2rem;
    }

    .regalo {
        flex-direction: row;
    }

    .regalo .content1 {
        flex: 1;
        text-align: center;
    }

    .regalo .image {
        flex: 1;
    }

    .regalo img {
        height: 100%;
    }

    .nosotros-section {
        align-items: center;
    }

    .testimonial {
        flex-direction: row;
    }

    .testimonial-content,
    .testimonial-image {
        width: 83%;
    }

    .testimonial-content {
        padding: 20px;
        border-radius: 8px;
    }

    .testimonial-content h1 {
        color: #333;
    }

    .testimonial-content h2 {
        color: #666;
    }

    .testimonial-content p {
        color: #777;
    }

    .testimonial-image {
        padding: 20px;
        border-radius: 8px;
    }


}

 /* Reducir el tamaño de la tipografía en la sección de galería */
    .center-align h1 {
        font-size: 35px;
    }

    /* Mostrar las imágenes una arriba de la otra */
    .image-container img {
        width: 45%; /* Imágenes ocupan el 100% del contenedor en responsive */
        margin: 10px 0; /* Espacio entre imágenes */
        padding:5px;
    }

     .image-container img:nth-child(3) {
         width: 91%; /* Imágenes ocupan el 100% del contenedor en responsive */
        margin: 10px 0; /* Espacio entre imágenes */
        padding:5px;

          }


   @media screen and (max-width: 768px) {

        .image-container{
    display: block;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

        }

        .image-container img {
        width:100%; /* Imágenes ocupan el 100% del contenedor en responsive */
        margin: 10px 0; /* Espacio entre imágenes */

    }

    .image-container img:nth-child(3) {
        width:100%; /* Imágenes ocupan el 100% del contenedor en responsive */
        margin: 10px 0; /

          }

      .fondo {
        width: 90%; /* Reducimos el ancho en dispositivos más pequeños */
        height: auto; /* Reducimos la altura relativa en dispositivos más pequeños */
    }

  

    .texto h1 {
        font-size: 24px; /* Ajustamos el tamaño del texto en dispositivos más pequeños */
    }

    .texto h2 {
        font-size: 18px; /* Ajustamos el tamaño del texto en dispositivos más pequeños */
    }

    .texto p {
        font-size: 14px; /* Ajustamos el tamaño del texto en dispositivos más pequeños */
    }

    
    .imagenesfinal img {
        width: 90%;
        margin-bottom: 10px;
        max-width: 90%;
    }

     .row{
        width: 70%;
    }

    .label-input-group{
        width: 70%;
    }
}

@media (max-width: 768px) {

    .nosotros-section {
    text-align: center;
    flex-direction: column;
    padding-top: 5px;
}

h1 {
    font-size: 35px;
    font-weight: bold;
    margin: 10px;
  
}

.testimonial-content{
    padding-top: 10px;
}
  .ubicacion {
    display: block;
    width: 90%;
  }
  .mapa iframe {
    width: 95%;
  }

  #formulario {
    width: 95%;
    padding: 20px; /* Ajusta el padding para que se vea bien en dispositivos móviles */
  }

  .label-input-group {
    flex-basis: 100%; /* Para que los campos ocupen el ancho completo */
  }

  .testimonial-content2{
    width: 100%;
    margin: auto;

}

.elegirme .testimonial {
    width: 90%;
    text-align: center;
    margin: auto;

}
}