html {
 scroll-behavior: smooth;
}
* {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}
body {
 background: #fff;
 color: #000;
 font-family: "Inter", sans-serif;
 scroll-snap-type: y mandatory;
 background-image: url('../recursos/imagenes/logos/logo-gourmex-b.png'), url('../recursos/imagenes/decorados/losa7.png');
 background-size: 300px, auto;
 background-position: center center, top left;
 background-repeat: no-repeat, repeat-x;
 background-attachment: fixed;
/* width: 100vw;
 height: 100vh;
 overflow-x: hidden;*/
}


.bodoni-moda-sc-normal, th {
  font-family: "Bodoni Moda SC", serif;
  font-optical-sizing: none;
  font-weight: 400;
  font-style: normal;
}


.lora-normal, p, a, td {
  font-family: "Lora", serif;
  font-optical-sizing: none;
  font-weight: 400;
  font-style: normal;
}


h2 {
 font-size: 2em;
 padding: 24px;
 font-family: "Bodoni Moda SC", serif;
 font-optical-sizing: none;
 font-weight: 400;
 font-style: normal;
 text-align: center;
}
nav {
 justify-content: space-between;
 z-index: 3;
 position: sticky;
 top: 0;
 width: 100%;
 display: flex;
 padding: 24px;
 background: black;
 align-items: center;
 box-shadow: 0 0 20px black;
 img {
  height: 50px;
}
}
nav a {
 display: none;
 text-decoration: none;
 color: white;
 font-family: "Bodoni Moda SC", serif;
 font-optical-sizing: none;
 font-weight: 400;
 font-style: normal;
}

footer {
  display: grid;
  align-items: center;
  justify-content: space-evenly;
  background: white;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 12px;
  padding: 0 8px;

  & img {
   width: 100%;
 }
}


.table {
 display: none;
}
#menu {
 height: 100vh;
 width: 100vw;
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 left: 0;
 background-color: rgba(0, 0, 0, 0.9);
 z-index: 2;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap:25px;
 padding-top: 80px;
 transition: transform 1s;
 a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 12px;
  font-size: 1.2em;
}
}
#menu.visible {
 transform: translateX(0px) !important;
}

.ticket {
  background: gold;
  clip-path: polygon(0 0, 100% 0, 100% calc(50% - 10px), 95% 50%, 100% calc(50% + 10px), 100% 100%, 0 100%, 0 calc(50% + 10px), 5% 50%, 0 calc(50% - 10px));
  padding: 1em 2em;
  border-radius: 10px;
  background: linear-gradient(45deg, #f9d423, #fbb034, #ffdd00, #fbb034, #f9d423);
  background-size: 200% 200%;
  animation: goldShine 3s linear infinite alternate;

  &.footer {
    border-radius: 0;
    display: block;
    text-align: center;
    font-weight: bold;
    color: white;
    text-decoration: none;
    font-size: 1.25em;
    clip-path: border-box;
  }
}




#menubtn, .logo {
 display: grid;
 width: 45px;
 height: 45px;
 justify-items: center;
}

#menubtn.visible {
 display: grid;
}

#menubtn {
 display: none;
}


.xlbanner {
 display: grid;
 width: 100vw;
 height: 70vh;
 justify-items: center;
 align-items: center;
 background-position: center center, top left;
 background-repeat: no-repeat, repeat-x;
 background-attachment: fixed;

 &.large {
  height: 100vh;
  padding-top: 86px;
  background-image: none;
}
}
.ios-fixed-background-fallback {
 background-attachment: scroll !important;
}
/*.logobg {
   background-image: url("../recursos/imagenes/logos/logo-b.png"), url("../recursos/imagenes/decorados/losa7.png");
}*/
.blackbg {
 background-color: black;
 background-image: url('../recursos/imagenes/logos/logo-gourmex-w.png');
 background-size: 300px;
}
.display {
 padding-bottom: 64px;
 background-color: white;
}
.imagen {
 grid-area: imagen;
 width: 100%;
 background-position: center;
 background-size: cover;
 padding-top: 65%;
}
.gsf244 {
 background-image: url('../recursos/imagenes/fotografias/GourmexSF-244.jpg');
 background-size: 125%;
 background-position: 50% 30%;
}
.gsf55 {
 background-image: url('../recursos/imagenes/fotografias/GourmexSF-55.jpg');
}
.gsf88 {
 background-image: url('../recursos/imagenes/fotografias/GourmexSF-88.jpg');
}
.gsf432 {
 background-image: url('../recursos/imagenes/fotografias/GourmexSF-432.jpg');
}
.ybca1 {
 background-image: url('../recursos/imagenes/fotografias/YBCA1.jpg');
}
p {
 padding: 12px 0 12px 0;
}
.display .text {
 grid-area: texto;
 padding: 0 48px 0 32px;
 font-size: 1.2em;
 align-self: center;
}
#whatis {
 background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("../recursos/imagenes/decorados/losa1.png"), url("../recursos/imagenes/decorados/losa2.png");
 background-position: 0%, 97% 100%, 3% 40%;
 background-repeat: no-repeat, no-repeat, no-repeat;
 background-size: cover, 325px 125px, 225px 425px;
}
#event {
 background-image:  linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("../recursos/imagenes/decorados/losa3.png"), url("../recursos/imagenes/decorados/losa4.png");
 background-position: 0%, 0% 90%, 100% 20%;
 background-repeat: no-repeat, no-repeat, no-repeat;
 background-size: cover, 125px 325px, 125px 325px;
 grid-template-columns: 4fr 5fr;
}

#contacto {
 background-image:  linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("../recursos/imagenes/decorados/losa3.png"), url("../recursos/imagenes/decorados/losa4.png");
 background-position: 0%, 0% 90%, 100% 20%;
 background-repeat: no-repeat, no-repeat, no-repeat;
 background-size: cover, 125px 325px, 125px 325px;
 grid-template-columns: 1fr 3fr;
 text-align: center;

 & img {
  padding: 0;
  width: 50%;
}

& .text {
  display: grid;
  grid-template-columns:1fr;
  grid-template-rows: auto auto auto;
  grid-row-gap: 24px;

  & img {
   width: 300px;
   padding: 0;
 }

 & div {
   padding-left: 0px;

   & p {
    padding: 0;

    &.contacto {
     font-size: 1.3em;
   }
   &.rol {
     font-style: italic;
   }
   & a.mail {
     color: black;
   }
   & a.tel {
     color: black;
   }

 }
}


}
}


#cousine {
 background-image:  linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("../recursos/imagenes/decorados/losa5.png"), url("../recursos/imagenes/decorados/losa6.png");
 background-position: 0%, 3% 86px, 100% 90%;
 background-repeat: no-repeat, no-repeat, no-repeat;
 background-size: cover, 325px 125px, 225px 425px;
 grid-template-columns: 5fr 4fr;
 grid-template-areas: 
 "texto imagen";
}

#chefs, .chefs, #restaurants, #wines {
  display: flex;
    flex-direction: column;
    align-items: center;

  & .flow {
   display: flex;
    flex-direction: column;
    gap: 64px;
    padding-bottom: 32px;

    & .chefs {
      width: 250px;

      & h3 {
        text-align: center;

        & span {
          font-size: .75em;
        }
      }
    }

    & .imagen {
    margin-top: 12px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    width: 80%;

    &.logo {
      padding-top: 80%;
      box-shadow: 0 0 25px #00000011;
    }

        &.logo:hover {
      box-shadow: 0 0 5px #00000044;
    }

    & img {
      width: 100%;
    }
    }

    & .gloria {
      background-image: url("../recursos/imagenes/chefs/gloria.jpeg");
    }

    & .azari {
      background-image: url("../recursos/imagenes/chefs/azari.jpeg");
    }

    & .luis {
      background-image: url("../recursos/imagenes/chefs/luis.jpeg");
    }

    & .octavio {
      background-image: url("../recursos/imagenes/chefs/octavio.jpeg");
    }

    & .salvador {
      background-image: url("../recursos/imagenes/chefs/salvador.jpeg");
    }

    & .linda {
      background-image: url("../recursos/imagenes/chefs/linda.jpeg");
    }
    
  }
}


#venue {
 background-color: black;
 display: grid;
 justify-content: center;
 align-items: center;
 min-height: 100vh;
 padding-top: 86px;

 a {
  color: black;
}
}

#date {
 background-color: white;
 text-align: center;
 padding: 32px;
}

#invitation {
 background-image: url('../recursos/imagenes/decorados/alebrije1.png');
 background-attachment: scroll;
 background-position: 100% 100%;
 background-size: 300px;
 padding-bottom: 260px;
 padding-top: 0;
}


#why {
 display: grid;

 & .texto {
  background-color: white;
  padding: 24px;
  background-image: url('../recursos/imagenes/decorados/background.jpg');
  background-size: cover;
  background-position: 50% 50%;
}

& a {
  color: black;
  display: inline-block;
}
}


#booklet {
  padding: 30px 30px;

  & h1 {
    text-align: center;
  }

  & h2 {
    padding-top: 112px;
  }

  & div.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 48px 0;
    border-bottom: 1px solid gray;

    & p {
      padding: 0;
      padding-top: 12px;
    }


    & img.chef {
      width: 200px;
      height: 200px;
      border-radius: 50%;
    }

        & img.logo {
      width: 100px;
      height: 100px;
      border-radius: 50%;
    }
  }
}




.fadein {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 1s;
}
.fadein.visible {
 opacity: 1;
 transform: translateY(0);
}
.galeria-secuencial {
 height: 300vh;
 .galeria {
  display: grid    ;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  position: sticky;
  top: 80px;
  height: calc(100vh - 96px);
  align-self: self-start;
  align-items: center;
  justify-items: center;
}
}
.scroll-reveal {
 opacity: 0;
 transform: translateY(40px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
 width: 75%;
 max-width: 600px;
 border-radius: 4px;
 border: 6px solid white;
 border-bottom-width: 38px;
}
.scroll-reveal.visible {
 opacity: 1;
 transform: translateY(0);
}
.scroll-reveal.visible:nth-child(1) {transform: translateY(0) rotate(-12deg);}
.scroll-reveal.visible:nth-child(2) {transform: translateY(-30px) rotate(-0deg);}
.scroll-reveal.visible:nth-child(3) {transform: translateY(0) rotate(12deg);}
.scroll-reveal.visible:nth-child(4) {transform: translateY(0) rotate(-8deg);}
.scroll-reveal.visible:nth-child(5) {transform: translateY(-20px) rotate(0deg);}
.scroll-reveal.visible:nth-child(6) {transform: translateY(0) rotate(8deg);}






@media (min-width: 768px) {
 .hideondesktop
 {
  display: none;
}
.display {
  padding: 74px 86px 0 86px;
  display: grid;
  grid-template-areas: 
  "titulo titulo"
  "imagen texto";
  grid-template-columns: 8fr 4fr;
  align-content: center;
}
#cousine {
  padding-left: 125px;
}

#chefs, .chefs, #restaurants, #wines {

  & .flow {
     flex-direction: row;
  }
}


#whatis {
  background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url("../recursos/imagenes/decorados/losa1.png"), url("../recursos/imagenes/decorados/losa2.png");
  grid-template-columns: 7fr 5fr;
}
.packets {
  grid-template-columns:1fr !important;
}
#event {
  background-image:  linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url("../recursos/imagenes/decorados/losa3.png"), url("../recursos/imagenes/decorados/losa4.png");
  grid-template-columns: 4fr 5fr;
}
#contacto {
  background-image:  linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("../recursos/imagenes/decorados/losa3.png"), url("../recursos/imagenes/decorados/losa4.png");
  grid-template-columns: 1fr 3fr;
  padding-right: 128px;
  text-align: left;

  & img {
   width: 100%;
 }

 & .text {
   & div {
    padding-left: 112px;
  }
}

}

#cousine {
  background-image:  linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url("../recursos/imagenes/decorados/losa5.png"), url("../recursos/imagenes/decorados/losa6.png");
  grid-template-columns: 5fr 4fr;
  grid-template-areas: 
  "texto imagen";
}
p {
  grid-area: texto;
  font-size: 1.1em;
  align-self: center;
  padding: 12px 0 24px 0;
}
h2 {
  font-size: 3em;
}
.display {
  min-height: 100vh;
}
nav {
  justify-content: space-evenly;
  img, #menubtn, #menubtn.visible, a.logo {
   display: none;
 }
 a {
   display: inline-block;
   .logo {
    display: none;
  }
}
}
#date {
  padding: 64px;
  grid-template-columns: 1fr 1fr;
  display: grid;
  align-content: center;
  align-items: stretch;
  justify-items: center;
  grid-template-areas: "texto imagen";
  column-gap: 32px;
}
#invitation {
  background-size: 600px;
  padding-bottom: 0;
}
#why {
  grid-template-columns: 4fr 3fr;
  padding: 0 128px;
}
.table {
  display: table;
}

footer {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  padding: 0 64px;
}


#booklet {
  padding: 60px 120px;

  & div.card {
    flex-direction: row;

        & img.chef {
      width: 250px;
      height: 250px;
    }

        & img.logo {
      width: 150px;
      height: 150px;
    }

  }
}

}

/*animaciones*/

@keyframes goldShine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}