html {
        scroll-behavior: smooth;

          }
/* Estilos generales */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

/* Estilos para el encabezado */
.main-header {
    height: 80px;
    padding: 24px;
    display: flex;

    justify-content: space-between;
    align-items: center;
    background-color: white;
    max-width: 1400px;
    margin: auto;
}

.main-logo {
    color: black;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.main-logo img {
    margin-right: 10px;

}

.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: 80vh;
    max-width: 1400px;
    margin: auto;
    border-radius: 40px;
    padding-bottom: 20px;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://framerusercontent.com/images/ysZr8Teafgyia1VF8UnpFaZMaKo.png");
    background-size: cover;
    border-radius: 40px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 40px;
}

.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;
    letter-spacing: -2px;
    color: white;
    text-align: center;
}

.main-button {
    align-items: center;
    background-color: #000;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    height: 40px;
    justify-content: center;
    overflow: visible;
    padding: 15px;
    position: relative;
    text-decoration: none;
    width: min-content;
}

.separador {
    display: block;
    height: 25px;
}

/* Estilos para la sección de regalos */
.regalo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #dcc5c5;
    overflow: hidden;
    margin: auto;
    width: 100%;
    max-width: 1400px;
    border-radius: 40px;

}

.regalo .content1 {
    text-align: center;
    justify-content: center;
    padding-bottom: 40px;
max-width: 600px;
}

.regalo h1 {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: -2px;
    color: rgb(51, 51, 51);
    margin-bottom: 20px;
}

.regalo h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.5em;
    margin-bottom: 30px;
}

.regalo .download-button {
    background-color: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.regalo .download-button:hover {
    background-color: #444;
}

.regalo .image {
    max-width: 700px;
}

.regalo img {
    width: 108%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Estilos para la sección "Nosotros" */
.nosotros-section {
    text-align: center;
    flex-direction: column;
}

h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 40px;
}

.nosotros-section {
    align-items: center;
    width: 60%;
    margin: auto;
}

.testimonial {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.testimonial-content h1,
.testimonial-content h2,
.testimonial-content p {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 20px;
}

.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;

}

.testimonial-image iframe {
    width: 500px;
    height: 300px;
    border-radius: 40px;
}

/* Estilos para la galería de imágenes */
.galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
    padding: 30px;
}

.center-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 25px;
}

.center-align h1,
.center-align h3 {
    margin: 0;
    color: #333;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos para las imágenes */
.image-container img {
    width: 10%; /* Imágenes ocupan el 90% del contenedor en desktop */
    max-width: 100%; /* Máximo 100% del contenedor en responsive */
    height: auto;
    border-radius: 40px;
    margin: 5px; /* Espacio entre imágenes */
}

/* Estilos para el section */
.final {
    display: flex;
    flex-direction: column;
    align-items: center;
   /* Mínimo 100% de la altura de la ventana del navegador */
    position: relative; /* Añadimos posición relativa para que .texto se posicione correctamente */
}

/* Estilos para el div de texto */
.texto {
    position: absolute;
    top: 45%; /* Centramos verticalmente */
    left: 50%; /* Centramos horizontalmente */
    transform: translate(-50%, -50%); /* Centramos completamente el contenido */
    width: 50%; /* Ocupa el 90% del ancho disponible */
    color: white;
    text-align: center;
    z-index: 2; /* Colocamos .texto por encima de .fondo */
}

.texto h1,
.texto h2,
.texto p {
    margin: auto;
    width: 60%;

}

.texto p{
    padding-bottom: 20px;
}

.texto a img {
    width:20%;
    height: auto;
    background-color: green;
    border-radius: 40px;
}

/* Estilos para el div de fondo */
.fondo {
    position: relative;
    width: 75%;
    height: 60vh; /* Altura relativa para ajustarse proporcionalmente */
    border-radius: 40px;
    overflow: hidden;
}

.fondo img {
    width: 120%;
    object-fit: cover;
}

/* Estilos para el overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    background-color: rgba(0, 0, 0, 0.6);
}

.imagenes3 {
    display: flex;
    width: 50%;
    align-items: center;
    margin: auto;

}

.imagenes3 img {
    width: 40%;
}

#formulario {
    max-width: 540px;
    margin: auto;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
}

#formulario h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 40px;
}

form {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    justify-content: space-between;
    
}

.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;
}

.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: 15px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
  
}

button[type="submit"]:hover {
    background-color: #333;
}

.recordame {
  color: gray;
  font-size: 14px;
}

#mensaje {
  font-size: 18px;
}

.imagenesfinal1 {
    padding-top: 30px;
        max-width: 1500px;
       
    margin: auto;
}

.imagenesfinal {
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin: auto;
}

.imagenesfinal img {
    max-width: 30%; /* Ajusta según tu diseño */
     border-radius: 30px;
    height: auto;
}

/* 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: 40px;
    }

    /* 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 */
    }
}

.fondo img {
    width: 175%;
 
    object-fit: cover;
}

.texto {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    color: white;
    text-align: center;
    z-index: 2;

      }




    @media (max-width: 768px) {
   
.texto a img {
    width:40%;
    height: auto;
    background-color: green;
    border-radius: 40px;
}

.imagenesfinal {
        flex-direction: column;
        align-items: center;
    }
    
    .imagenesfinal img {
        width: 90%;
        margin-bottom: 10px;
        max-width: 90%;
    }
}

