@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

*{
    padding: 0;
    margin: 0;
}

button:focus,
button:active,
a:focus,
a:active,
input:focus,
input:active,
textarea:focus,
textarea:active {
    outline: none;
    box-shadow: none;
}

* {
    -webkit-tap-highlight-color: transparent; /* Eliminar el efecto de resaltado azul en dispositivos táctiles */
}


a{
    text-decoration: none;
    color: #56585e;
}
.toggle-cont {
    width: 100px;
    height: 50px;
    border-radius: 9999px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
  }
  
  .toggle-cont .toggle-input {
    display: none;
  }
  
  .toggle-cont .toggle-label {
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 6px;
    width: 100%;
    height: 100%;
    background: #272727;
    border-radius: 9999px;
    box-sizing: content-box;
    box-shadow: 0px 0px 16px -8px #fefefe;
  }
  
  .toggle-cont .toggle-label .cont-label-play {
    position: relative;
    width: 50px;
    aspect-ratio: 1 / 1;
    background: #5e5e5e;
    border-radius: 9999px;
    transition: all 0.5s cubic-bezier(1, 0, 0, 1);
  }
  
  .toggle-cont .toggle-input:checked + .toggle-label .cont-label-play {
    background: #b9947e;
    transform: translateX(50px);
  }
  
  .toggle-cont .toggle-label .label-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 24px;
    aspect-ratio: 1 / 1;
    background: #fefefe;
    border-radius: 4px;
    clip-path: polygon(25% 0, 75% 50%, 25% 100%, 25% 51%);
    transition: all 0.5s cubic-bezier(1, 0, 0, 1);
  }
  
  .toggle-cont .toggle-input:checked + .toggle-label .label-play {
    width: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  *{
    padding: 0;
    margin: 0;
}
button:focus,
button:active,
a:focus,
a:active,
input:focus,
input:active,
textarea:focus,
textarea:active {
    outline: none;
    box-shadow: none;
}

* {
    -webkit-tap-highlight-color: transparent; /* Eliminar el efecto de resaltado azul en dispositivos táctiles */
}

nav{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    background-color: white;
    transition: background-color 0.3s ease;
}

nav h1{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 25px;
    text-align: center;
}

nav a{
    text-decoration: none;
    color: #56585e;
}

.nav-container {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

.nav-container h1{
    width: 100%;
}

.nav-menu {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nav-item {
    color: #56585e;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
    cursor: pointer;
}

.hamburger-lines .line1, .hamburger-lines .line2, .hamburger-lines .line3 {
    transition: transform 0.4s ease-in-out;
}

.line1 {
    transform-origin: 0% 0%;
}

.line2 {
    transition: transform 0.2s ease-in-out;
}

.line3 {
    transform-origin: 0% 100%;
}

input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(40deg);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-40deg);
}
 .nav-input{
    display: none;
}

   .nav-menu {
        position:absolute;
        top:80px;
        left:0;
        height:calc(100vh - 80px);
        background-color:white;
        transition:transform .3s,opacity .3s;
        z-index:998;
        overflow:hidden;
        transform:translateY(-120%);
        opacity:0;
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }

    .nav-input:checked~.nav-menu {
        transform:translateY(0%);
        opacity:1
    }

    .nav-item {
        height:70%;
        display: flex;
        align-items:center;
        justify-content:center;
    }
    
    .hamburger-lines {
        width:50px;
        height:30px;
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:5px;
        cursor: pointer;
    }
    .hamburger-lines .line {
        width:30px;
        height:4px;
        border-radius:10px;
        background:#56585e
    }


main{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;    
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    flex-direction: column;
    position: absolute;
    margin-top: 80px;
}

.hero-container{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e8ddd4;
}

.hero{
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}

.hero-text{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: #56585e;
}

.hero-text h1{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 40px;
    text-align: center;
}

.hero-text p{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 24px;
    text-align: center;
}

.images-hero{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    width: 100%;
}
 .grande{
    width: 185px;
    height: 320px;
    border-radius: 25px;
    background: url('src/img/back-mobile.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.chico{
    width: 135px;
    height: 320px;
    border-radius: 25px;
    background: url('src/img/Imagen\ de\ WhatsApp\ 2025-04-30\ a\ las\ 06.45.06_880db711.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.invite-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
}

.invite{
    width: 90%;
    display: flex;
    flex-direction: column-reverse;
    gap: 50px;
}

.img-invite{
    width: 100%;
    height: 450px;
    border-radius: 25px;
    background: url('src/img/invite.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.invite-text{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.invite-text h4{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #b9947e;
}

.invite-text p{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 16px;
}

#countdown {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.time-container{
    text-align: center;
    font-size: 1.3rem;
    color: #ab7b64;
}

.agradecimiento-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url('src/img/2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
}

.agradecimiento{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.nombres-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.agradecimiento h3{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #b9947e;
}

.padrino h3{
    font-size: 32px;
}

.nombres-container p{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #56585e;
}

.lugar-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
}

.lugar{
    width: 90%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    gap: 20px;
}

.lugar h3{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: #b9947e;
}

.lugar p{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 16px;
}

.cotainer-map{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.mapas{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    flex-direction: column;
    gap: 20px;
}

.mapas p{
    width: 100%;
    display: flex;
    font-size: 18px;
    justify-content: start;
}

.mapas .title{
    width: 100%;
    display: flex;
    justify-content: start;
    font-weight: 600;
    color: #b9947e;
}

.historia-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
}

.historia{
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.historia h3{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: #b9947e;
}

.historia p{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #56585e;
}

.foto-historia{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.foto, .foto2{
    width: 100%;
    height: 300px;
    border-radius: 20px;
    background: url('src/img/asd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.foto2{
    background: url('src/img/asf.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.galeria-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
    text-align: center;
    gap: 20px;
}


.galeria-container h3{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: #b9947e;
}

.galeria-container p{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #56585e;
}

.galeria{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
}

.img-galeria{
    width: 100%;
    height: 350px;
    border-radius: 20px;
}

.uno{
    background: url('src/img/Imagen\ de\ WhatsApp\ 2025-04-29\ a\ las\ 15.43.33_43670504.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dos{
    background: url('src/img/dos.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.tres{
    background: url('src/img/tres.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cuatro{
    background: url('src/img/cuatro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cinco{
    background: url('src/img/cinco.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.seis{
    background: url('src/img/seis.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.form-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
    gap: 40px;
    background: #e8ddd4;
}

.text-form{
    width: 90%;
}

.text-form h3{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: #56585e;
}

.text-form p{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #272727;
}

.form{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
}

form {
    width: 100%;
    height: 400px;
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 8px;
    background-color: white;
    border-radius: 20px;
  }

  label {
    font-weight: bold;
  }

  input, select, button {
    width: 80%;
    padding: 8px;
    font-size: 1em;
  }

  .img-form{
    width: 100%;
    height: 300px;
    background: url('src/img/back-mobile.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
  }

  button {
    background-color: #e8ddd4;
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
  }

button{
    width: 150px;
    height: 50px;
    border-radius: 50px;
    border: transparent;
    background: #b9947e;
    color: white;
}

button:hover{
    border: 2px #b9947e solid;
    background-color: transparent;
    color: #56585e;
}
.hero-text, .images-hero, .toggle-cont, .img-invite, .invite-text, #countdown, h3, p, button, iframe, .foto, .foto2, .img-galeria, form, .img-form{
    opacity:0;
    transition:opacity .5s ease-out
}


@keyframes slideInFromLeft {
    0% {
        transform:translateX(-100%);
        opacity:0
    }
    100% {
        transform:translateX(0);
        opacity:1
    }
}
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideInFromBottom {
    0% {
        transform:translateY(100%);
        opacity:0
    }
    100% {
        transform:translateY(0);
        opacity:1
    }
}
@keyframes slideInFromTop {
    0% {
        transform:translateY(-100%);
        opacity:0
    }
    100% {
        transform:translateY(0);
        opacity:1
    }
}

/*.service-img.show {
    animation: slideInFromRight 1s ease-out forwards;
}
.article-img.show, .img-brand.show {
    animation:1s ease-out forwards slideInFromLeft
}*/

.hero-text.show, .images-hero.show, .toggle-cont.show,.img-invite.show, .invite-text.show, #countdown.show, h3.show, p.show, button.show, iframe.show, .foto.show, .foto2.show, .img-galeria.show, form.show, .img-form.show{
    animation:1s ease-out forwards slideInFromBottom
}
/*
.nav-bar.show, .hero-speach.show, .top.show{
    animation:1s ease-out forwards slideInFromTop
}
*/

@media (min-width: 576px) {
    .images-hero{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        gap: 10px;
    }

    .grande{
        width: 235px;
        height: 320px;
    }
    
    .chico{
        width: 185px;
        height: 320px;
    }
  }

  @media (min-width: 768px) {
    .grande{
        width: 335px;
        height: 370px;
    }
    
    .chico{
        width: 275px;
        height: 370px;
    }

    .hero-text h1{
        font-size: 44px;
    }
    
    .hero-text p{
        font-size: 32px;
    }
   
    .foto-historia{
        flex-direction: row;
    }



    .galeria {
        width: 90%;
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
        grid-template-rows: repeat(3, auto);  /* 3 filas automáticas */
        gap: 30px;
        justify-content: center;
        align-items: center;
    }


    
    .img-galeria{
        width: 100%;
        height: 350px;
        border-radius: 20px;
    }

    .form{
        width: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 50px;
    }
    .text-form h3{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 42px;
        color: #56585e;
    }
    
    .text-form p{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 16px;
        color: #272727;
    }

  }

  @media (min-width: 992px) {
    .hero{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        padding: 0 20px;
    }
    .invite-text h4{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 32px;
        color: #b9947e;
    }
    
    .invite-text p{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 22px;
    }
    .mapas p{
        width: 100%;
        display: flex;
        font-size:22px;
        justify-content: start;
    }
    .historia p{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 22px;
        color: #56585e;
    }

    .galeria-container p{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 22px;
        color: #56585e;
    }
    .grande{
        width: 225px;
        height: 370px;
    }
    
    .chico{
        width: 150px;
        height: 370px;
    }

    .hero-text h1{
        text-align: left;
        font-size: 64px;
    }
    
    .hero-text p{
        width: 100%;
        text-align: left;
        font-size: 32px;
    }

    .invite-container{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 50px 0;
    }
    
    .invite{
        flex-direction: row;
        padding: 100px 0;
    }

    
    .lugar p{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 22px;
    }
    

    .nombres-container{
        flex-direction: row;
        justify-content: space-evenly;
    }
    
    .lugar{
            gap: 50px;
    }
    .cotainer-map{
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 80px;
    }
    .mapas{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: left;
        flex-direction: column;
        gap: 20px;
    }

    .agradecimiento h3{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 48px;
        color: #b9947e;
    }
    .invite-text h4{
        font-size: 40px;
    }
    
    .historia h3{
        font-size: 48px;
    }

    .text-form p{
        font-family: "Quicksand", sans-serif;
        font-weight: 300;
        font-size: 20px;
        color: #272727;
    }
    
  }


  @media (min-width: 1024px) {
    .hero{
        width: 80%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        padding: 0 20px;
    }

    .grande{
        width: 385px;
        height: 420px;
    }
    
    .chico{
        width: 250px;
        height: 420px;
    }

  }
