
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #fafafa;
    color: #333;
    margin: 0;
    padding: 0;
    
}


.script-font {
  font-family: 'Cherolina', cursive;
}

@font-face {
    font-family: 'Cherolina'; /* Nombre que le darás a la fuente */
    src: url('../fuentes/cherolina/Cherolina.otf') format('opentype'),
         url('../fuentes/cherolina/Cherolina.ttf') format('truetype');
  }
  
  h1,h2 {
    font-family: 'Cherolina', sans-serif;
  }

  .inicio h2 {
    font-size: 3.5rem;
  }

  /* @font-face {
    font-family: 'Glamor'; /* Nombre que le darás a la fuente */
    /* src: url('../glamor/FontsFree-Net-Glamor-LightCondensed.ttf') format('opentype'),
  }
  
  p {
    font-family: 'Glamor', sans-serif;
  } */ 


a{
    color: #B6943B;
}

p{ line-height: 2;
}  /* Aumenta el espacio entre las líneas */

.logo h1 {
    color: white;
    font-size: 2rem;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    color: white;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

nav ul {
    list-style-type: none;
    margin: 40;
    padding: 0;
    /* display: flex; */
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    text-decoration: underline;
}

.logo-portada{
    width: 15%;
}


* {
    margin: 0;
    padding: 0;
    border: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* header {
    width: 100%;
    position: fixed;
    height: 45px;
    top: 0;
    padding: 10px 5%;
} */
/* header img {
    float: left;
} */
header nav {
    float: right;
}

    /*posicion absolute para que se posicione debajo del resto del header - top medida del header*/
header nav .menu ul {
    width: 100%;
    position: absolute;
    top: 71px;
    right: 0;
    overflow: hidden;
    list-style: none;
    background: rgba(0,0,0,0.3 );
    height: 0px;
    transition: height 0.5s ease;
}
header nav .menu  ul li {
    position: relative;
} 
header nav .menu  ul li:hover {
    background: #B6943B;
} 
header nav .menu ul li a {
    position: relative;
    text-decoration: none;
    color: #fff;
    padding: 16px 5%;
    line-height: 28px;
    display: block;
}
header nav .menu  ul li a:hover {
    color: #fff;
} 
/*animación del menu que se desplega*/
header nav .menu input[type="checkbox"]:checked ~ ul {
    height: 360px;
    transition: height 0.5s ease-in-out;
    -moz-transition: height 0.5s ease-in-out;
    -o-transition: height 0.5s ease-in-out;
    -webkit-transition: height 0.5s ease-in-out;
}
header nav .menu {
    padding-top: 3px;
}
/*checkbox transparente y en primer plano*/
header nav .menu input {
    display: block;
    width: 40px;
    height: 32px;
    opacity: 0;
    z-index: 2;
    position: absolute;
}
/*span -lineas del menu hamburguesa-*/
header nav .menu span {
    display: block;
    width: 25px;
    height: 2.5px;
    margin-bottom: 6.5px;
    position: relative;
    background: #fff;
    z-index: 1;
    transform-origin: 3px 0px;
    transition: transform 0.5s ease,
        opacity 0.55s ease;
}
header nav .menu span:first-child {
    transform-origin: 0% 0%;
}
header nav .menu span:nth-last-child(2) {
    transform-origin: 0% 100%;
}
/*movimiento a cruz*/
header nav .menu input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(2px, 1px);
}
header nav .menu input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}
header nav .menu input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(1px, 0px);
}
/*menu simple con tamaño menor a 1000px*/
@media screen and (min-width: 1000px){
    header nav .menu ul {
        position: relative;
        top: 0;
        right: 0;
        overflow: hidden;
        background: unset;
        height: unset;
    }
    header nav .menu  ul li {
        padding: 5px 10px;
        display: inline-block;
    } 
    header nav .menu  ul li:hover {
        background: unset;
        border-bottom: 2px solid white;
    } 
    header nav .menu ul li a {
        padding: unset;
        line-height: unset;
    }
    header nav .menu  ul li a:hover {
        color: unset;
    } 
    header nav .menu input {
        display: none;
    }
    header nav .menu span {
        display: none;
    }
}
.hero-image {
    background-image: url('../Imagenes/A&JP-1FOTOHOME-02.png');
    background-size: cover;
    background-position: center;
    height: 110vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-size: 30px;
}

.portada p{
    padding-top: 60px;
}


/* Asegurar que el contenido debajo no quede cubierto */
.content {
    padding-top: 100px; /* Para que no se cubra el contenido por el menú */
    padding: 20px;
    font-size: 20px;
}

h2{
    font-family: 'Cherolina';
    font-size: 2.5rem;
    color: #B6943B;
    text-align: center;
    margin-top: 1.5rem;
}
h1.mesa-regalos {
    font-family: 'Cherolina', cursive;
    font-size: 3.5rem;
    color: #B6943B;
    text-align: center;
    margin-top: 1.5rem;
}
h2.mesa-regalos {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}
a.mesa-regalos {
    color: #B6943B;
    text-decoration: underline;
}
.mesa-regalos .button {
    background-color: #B6943B;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    margin-top: 1rem;
}

.button {
    background-color: #B6943B;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    margin-top: 1rem;
}
.mesa-regalos .button:hover {
    background-color: #B6943B;
}

.puebla h1 {
    font-family: 'Cherolina', cursive;
    font-size: 2.5rem;
    color: #B6943B;
    text-align: center;
    margin-top: 1.5rem;
}
.puebla h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}
.puebla .section-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 2rem;
    text-align: center;
}
.puebla ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.contador {
    text-align: center;
    font-size: 2em;
    margin-top: 50px;
  }


  footer{background-color: #B6943B;
  }
  footer a{
      color: #333;
      text-decoration: underline;
  }


  /* Slider */
  [carrousel] {
    display: flex;
    position: relative;
    /* background-color: #47cf73; */
    border-radius: 10px;
    min-height: 50vh;
    
    &::before {
      content: '';
      display: block;
      padding-bottom: 50%;
    }
    
    [name~="carrousel"] {
      display: none;
      
      &:checked {
        + .slide {
          pointer-events: auto;
          opacity: 1;
          .slide-content {
            opacity: 1;
          }
        }
      }
    }
    
    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      opacity: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      
    }

    
  
    
    .back,
    .forward {
      display: block;
      position: absolute;
      top: calc(50% - 2rem);
      height: 4rem;
      width:  2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      user-select: none;
      font-size: .5rem;
      background-color: white;
      border-radius: 100px;
      /* color: darken(#47cf73, 40%); */
      box-shadow: 0 2px 0 0 rgba(black, .1);
      transform: scale(.9);
      transition: transform .2s;
      
      
      &:hover {
        transform: scale(1);
        background-color: white;
      }
    }
    
    .back {
      left: calc(0% + 1rem);
    }
    
    .forward {
      right: calc(0% + 1rem);
    }
  
  
  [carrousel] {
    h1 {
      font-size: 5rem;
      color: white;
      text-shadow: 0 3px 0 rgba(black, .2);
    }
  }

  .slide-content h1{
    font-size: 5rem;
      color: white;
      text-shadow: 0 3px 0 rgba(black, .2);
  }

.slide-0 {
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/barriodelossapos.png);
    background-size: cover;
    background-position: center;
}
.slide-1 {
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/capilladelrosario.png);
    background-size: cover;
    background-position: center;
}
.slide-2 {
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/catedral.jpg);
    background-size: cover;
    background-position: center;
}
.slide-3 {
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/exhaciendachautla.jpg);
    background-size: cover;
    background-position: center;
}

.slide-4 {
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/fuertesloretoygpe.jpg);
    background-size: cover;
    background-position: center;
}

.slide-5 {
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/museoamparo.jpg);
    background-size: cover;
    background-position: center;
}

.slide-6{
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/piramidecholula.jpg);
    background-size: cover;
    background-position: center;
}

.slide-7 {
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/templosanfrancisco.jpg);
    background-size: cover;
    background-position: center;
}

.slide-8 {
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/tepoztlan.jpg);
    background-size: cover;
    background-position: center;
}

.slide-9{
    background-image: url(../Imagenes/tonanzintlan.jpg);
    background-size: cover;
    background-position: center;
}

.slide-10{
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes/valquirico.jpg);
    background-size: cover;
    background-position: center;
}

.slide-11{
    background-image: url(https://andreayjuanpablo.winvite.com.mx/Imagenes//zocalopuebla.jpg);
    background-size: cover;
    background-position: center;
}
  /* Fin de slider */