@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lustria&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap");

/*font-family: 'Source Code Pro', monospace;
font-family: 'Syne', sans-serif;*/
/*font-family: 'Roboto Mono', monospace;*/
/*font-family: 'Lustria', serif;*/
/*font-family: 'Lora', serif;*/

:root {
  --white: rgb(247, 247, 247);
  --black: rgb(28, 28, 28);
  --cream: #f2ecc1;
  --braun: #9c5a28;
  --button-width: 30px;
  --button-height: calc(var(--button-width) * 0.8);
  --rectangle-height: calc(var(--button-width) * 0.1);
  --rectangle-radius: calc(var(--button-width) * 0.04);
  --translate: calc(var(--button-width) * 0.17);
  --transition: 0.65s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section {
  min-height: 100vh;
  width: 100%;
}

/*CSS NAVBAR*/

header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition: all 500ms ease;
  background: transparent;
  /*outline: solid 2px transparent;*/
  background-clip: padding-box;
  /*box-shadow: 10px 10px 20px rgba(46, 54, 68, 0.144);*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

header .logo{
  /*width: 20%;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

header .logo a{
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
header .logo a svg{    
  height: 8rem;
  width: 11rem;
  margin: 0.5rem 0 0.5rem 0;
  transition: all 500ms ease;
}*/

header .logo a img{    
  width: 8rem;
  margin: 0.5rem 0 0.5rem 0;
  transition: all 500ms ease;
}


.nav-container{
  width: 80%;
  /*margin: auto;*/
  display: flex;   
  align-items: center;
  justify-content: center;   /*CAMBIADO PARA DISPLAY CONTENT*/
  background-color: transparent;
}

.navbar-links ul{
  /*display: flex;*/     /*COMENTADO PARA DISPLAY CONTENT*/
  line-height: 5.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.navbar-links li{
  position: relative;
  list-style: none;
  line-height: 5.5rem;
  width: 11.43625rem;     /*implementado para que se vea mejor PARA DISPLAY CONTENT*/
  transition: all 250ms ease;  
}

.navbar-links li::before{
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
}

.navbar-links li a{
  text-align: center;
  text-decoration: none;
  color: var(--white);
  padding: 0 1.5rem 0 1.5rem;
  display: block;
  /*letter-spacing: 2px;*/
  transition: all 500ms ease;
  font-style: italic;
  font-weight: 400;
  font-family: 'Lora', serif;
  font-size: 1.25rem;
}


.navbar-links li a:hover{
  color: var(--braun);
}

.toggle-button{
  position: relative;
  width: var(--button-width);
  height: var(--button-height);
  border: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
  display: none;
}


.navbar-links, ul{
  display: contents;
}

ul > li:nth-of-type(-n + 3){
  order: 1;
}


ul > li:nth-of-type(n + 4){
  order: 3;
}

.logo{
  order: 2;
}







/*CSS FANCY BURGER ----------------------------------------*/

.rectangle{
  position: absolute;
  height: var(--rectangle-height);
  background: rgb(80, 26, 26);
  border-radius: var(--rectangle-radius);
  transition: transform var(--transition);
}
  
.rectangle--small{
  width: calc(var(--button-width) / 2);
}
  
.rectangle--top{
  top: 0;
  left: 0; 
  transform-origin: top left;
}

.rectangle--top.open{
  transform: translateX(var(--translate)) rotate(45deg);
}
  
.rectangle--middle{
  top: 50%;
  left: 0;
  width: var(--button-width);
  transform: translatey(-50%);
}
 
.rectangle--middle.open{
  transform: translatey(-50%) rotate(-45deg);
}
  
.rectangle--bottom{
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
}
  
.rectangle--bottom.open{  
  transform: translateX(calc(-1 * var(--translate))) rotate(45deg);
}

  
.rectanble-box{
  position: absolute;
  top: 34px;
  left: 40px;
  width: 400px;
  height: 280px;
  border-radius: 33px;
  background: #f5cb56;
  opacity: 0;
  transform: scale(0);
  transform-origin: top left;
  transition-property: opacity, transform;
  transition-duration: var(--transition);
}

/*FINAL CSS FANCY BURGER ----------------------------*/



/*CHANGING HEADER ON SCROLL*/

.nav-scrolled{
  background: var(--white);
  box-shadow: 10px 10px 20px rgba(46, 54, 68, 0.144);
}

.nav-scrolled li a{
  color: var(--black);
}

.nav-scrolled li::before{
  background-color: var(--braun);
}


.nav-scrolled .cls-1{
  fill: var(--black) !important;
}

.nav-scrolled .cls-2{
  fill: var(--black) !important;
}
.nav-scrolled .cls-4{
  fill: var(--black) !important;
}
.nav-scrolled .cls-5{
  fill: var(--black) !important;
}
.nav-scrolled .cls-6{
  fill: var(--black) !important;
}

/*FINAL CHANGING HEADER ON SCROLL*/



@media (min-width: 1950px){
  .navbar-links ul li a{
      font-size: 1.4rem;
  }
}

@media (max-width: 1375px){

  .nav-scrolled{
      background: rgba(37, 37, 37, 0.685);
      box-shadow: 10px 10px 20px rgba(46, 54, 68, 0.144);
  }

  ul > li:nth-of-type(-n + 2){
      order: 0;
  }
  
  ul > li:nth-of-type(n + 3){
      order: 0;
  }
  
  .logo{
      order: 0;
  }

  ul{
      display: flex;
  }

  .nav-container{
      width: 90%;
      justify-content: space-between; 
  }


  .navbar-links{
      position: fixed;
      inset: 0 0 0 70%;
      /*inset: 0 0 0 0;*/
      height: 100vh;
      width: 100%;
      transition: all 500ms ease-out;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      flex-direction: column;
      transform: translateX(30%);
      /*opacity: 0;*/
      background-color: rgba(0, 0, 0, 0.644);
      backdrop-filter: blur(15px);
      background-clip: padding-box;
      box-shadow: 10px 10px 10px rgba(46, 54, 68, 0.03);
      pointer-events: none;
  }

  .navbar-links[data-visible="true"]{
      transform: translateX(0%);
      /*opacity: 1;*/
      pointer-events: auto;
  }

  .navbar-links ul{
      width: 30vw;     /*siempre emparejar con la propiedad translateX*/
      flex-direction: column;
      align-items: center;
      line-height: 4rem;
  }

  .navbar-links li{
      line-height: 4rem;
      width: max-content;
  }

  .navbar-links li::before{
      display: none;
  }

  .navbar-links ul li a{
      color: var(--white);
      font-size: 1.6rem;
      text-align: left;
  }

  .nav-container{
      height: 7rem;
  }

  .toggle-button{
      display: flex;
      z-index: 1050;
  }

  .toggle-button .rectangle{
      background-color: var(--white);
  }
/*
  .navbar-links[data-visible="true"]{
      transform: translateX(0%);*/
  /* opacity: 1;
  }*/

  .nav-container .btn{
      transform: translateX(-10px);
  }

  header .logo a img{    
      width: 6rem;
  }

/*
  header{
      position: absolute;
  }*/
  
}


@media (max-width: 1000px){
  .navbar-links{
      inset: 0 0 0 60%;
      transform: translateX(40%);
  }
  .navbar-links li{
      line-height: 3.5rem;
  }
  .navbar-links ul{
      width: 40vw;
  }
}


@media (max-width: 700px){
  header .logo a img{    
      width: 6rem;
  }
  .navbar-links ul li a{
      font-size: 1.4rem;
  }
  .navbar-links ul{
      line-height: 3rem;
  }

  .navbar-links li{
      line-height: 3rem;
  }
}

@media (max-width: 650px){
  .navbar-links{
      inset: 0 0 0 55%;
      transform: translateX(45%);
  }
  .navbar-links ul{
      width: 45vw;
  }
}

@media (max-width: 550px){
  .navbar-links{
      inset: 0 0 0 0%;
      transform: translateX(100%);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
  }
  .navbar-links ul{
      width: 100vw
  }
  .navbar-links ul li a{
      font-size: 1.3rem;
  }
  .navbar-links ul li a{
      text-align: center;
  }
}

@media (max-width: 500px){
  .nav-container{
      height: 8rem;
  }
}


/*FINAL CSS NAVBAR*/

/*SECTION SLIDER ------------------------------------------ */

.banner {
  position: relative;
  height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner .bannerContent {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  background: rgba(0, 0, 0, 0.25);
}

.banner .bannerContent img {
  height: 35vh;
  width: 70vh;
}

.banner .bannerContent h1 {
  text-align: center;
  font-size: 5rem;
  font-weight: 400;
  /*font-style: italic;*/
  font-family: "Lora", serif;
  color: var(--white);
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  /*background-position: center;*/
  background-size: contain;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*SECTION THREE ------------------------------------------ */

.tres {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  min-height: 80vh;
  overflow-x: hidden;
}

.tres .duo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.cuadro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 65vh;
  /*padding: 2rem 0rem;*/
  width: 50%;
  background-color: #f3f3f3;
  color: var(--black);
}

.marco {
  position: relative;
}

.cuadro h2 {
  margin-bottom: 2rem;
  text-align: center;
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 1.8rem;
  letter-spacing: 2px;
  font-weight: 400;
}

.tres .duo .cuadro .line {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10%;
  margin-bottom: 1rem;
}

.tres .duo .cuadro .line span {
  border: 1px solid #9c5a2877;
  width: 80px;
  margin: 0 1em;
}

.tres .duo .cuadro p {
  width: 60%;
  font-size: 1.15rem;
  text-align: center;
  font-family: "Syne", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.tres .duo .cuadro a {
  text-decoration: none;
  color: #9c5a28;
  padding: 0.8rem;
  border: 1px solid #9c5a28;
  font-family: "Syne", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  transition: all 350ms ease;
}

.tres .duo .cuadro a:hover {
  background-color: #9c5a28;
  color: var(--white);
}

.tres .cuadro.img {
  background-image: url(./imgHuachipa/fotosComprimidas/photoshop22C.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.tres .cuadro.img1 {
  background-image: url(./imgHuachipa/fotosComprimidas/photoshop16C.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.tres .cuadro.img2 {
  background-image: url(./imgHuachipa/fotosComprimidas/photoshop6C.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.tres .cuadro.img3 {
  background-image: url(./imgHuachipa/fotosComprimidas/evento2.jpg);
  background-repeat: no-repeat;
  background-position: center 60%;
  background-size: cover;
}

.tres .cuadro.img4 {
  background-image: url(./imgHuachipa/fotosComprimidas/caballeriza.jpg);
  background-repeat: no-repeat;
  background-position: center 80%;
  background-size: cover;
}

.tres .cuadro.img5 {
  background-image: url(./imgHuachipa/fotosComprimidas/cuarentena.jpg);
  background-repeat: no-repeat;
  background-position: center 70%;
  background-size: cover;
}

/*INICIO FOOTER ----------------------------------- */

footer{
  width: 100%;
  min-height: 30rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 3rem 0 3rem 0;
  background-color: var(--black);
}

.footer-container{
  width: 75vw;
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
}

footer .col{
  width: 25rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  margin: 0 1.5rem 0 1.5rem;
  padding: 2rem 0 2rem 0;
}

footer .col h1{
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-family: 'Lora', serif;
  font-weight: 600;
  text-transform: uppercase;
  font-style: italic;
}

footer .col p{
  line-height: 1.5;
  color: #999;
  text-align: justify;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: 'Syne', sans-serif;
  margin-bottom: 1rem;
}


footer .col2{
  width: 13rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  margin: 0 2rem 0 2rem;
  padding: 2rem 0 2rem 0;
}

footer .col2 h1,
footer .col3 h1{
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-family: 'Lora', serif;
  font-weight: 600;
  text-transform: uppercase;
  font-style: italic;
}

footer .col2 li{
  list-style: circle;
  list-style-position: inside;
  margin-bottom: 0.7rem;
  color: var(--white);
  color: #999;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: 'Syne', sans-serif;
}

footer .col3 li{
  list-style: none;
  line-height: 1.5;
  margin-bottom: 0.7rem;
  color: var(--white);
  color: #999;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: 'Syne', sans-serif;
}

footer .col2 li a,
footer .col3 li a{
  text-decoration: none;
  color: var(--white);
  color: #999;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: 'Syne', sans-serif;
}

footer .col3{
  width: 25rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  margin: 0 1.5rem 0 1.5rem;
  padding: 2rem 0 2rem 0;
}

footer .map{
  width: 22rem;
  height: 22rem;
}

footer .map iframe{
  width: 100%;
  height: 100%;
}

footer ul{
  display: block;
}

@media(max-width: 1360px){
  footer .col{
      width: 20rem;
  }
  footer .col3{
      width: 20rem;
  }
  footer .col p{
      font-size: 1rem;
  }
  footer .col2{
      margin: 0 1rem 0 1rem;
  }
  footer .col2 li a, footer .col3 li a{
      font-size: 1rem;
  }
  footer .col3 li{
      font-size: 1rem;
  }
  footer .map{
      width: 19rem;
      height: 19rem;
  }
}


@media(max-width: 1100px){
  footer{
      align-items: center;
      justify-content: center;
      flex-direction: column-reverse;
  }
  .footer-container{
      width: 80vw;
      align-items: flex-start;
      justify-content: center;
      flex-direction: column;
  }
  footer .col, footer .col2,  footer .col3{
      height: max-content;
  }
  footer .col{
      width: 80vw;
      margin: 0;
  }
  footer .col p{
      font-size: 1.1rem;
  }
  footer .col2{
      margin: 0;
  }
  footer .col3{
      margin: 0;
  }
  footer .col2 li a, footer .col3 li a{
      font-size: 1.1rem;
  }
  footer .col3 li{
      font-size: 1.1rem;
  }
  footer .map{
      width: 60vw;
      height: 19rem;
  }
}

@media(max-width: 550px){
  footer .map{
      width: 80vw;
  }
  footer .col3{
      width: 80vw;
  }
}

/*INICIO SECTION QUERIES -------------- */

/*SECTION BANNER */

@media (max-width: 1301px) {
  .banner .bannerContent h1 {
    font-size: 4rem;
  }
}

@media (max-width: 1050px) {
  /*para banner con título largo (si fuera corto usar 900px*/
  .banner .bannerContent h1 {
    font-size: 3rem;
    padding: 0 1rem 0 1rem;
  }
  /* .one .shader p{
        margin-bottom: 0.5rem;
    }*/
}

@media (max-width: 800px){
  .banner{
      height: 80vh;
  }
}

@media (max-width: 650px) {
  .banner .bannerContent h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 550px) {
  .banner .bannerContent h1 {
    font-size: 2rem;
    width: 80vw;
    padding: 0 0 0 0;
  }
}

/*SECTION TRES ------------------*/

@media (max-width: 1650px) {
  .marco::before {
    top: 1.05rem;
    left: 1rem;
    height: 12rem;
    width: 12rem;
  }
  .marco::after {
    bottom: 1.05rem;
    right: 1rem;
    height: 12rem;
    width: 12rem;
  }
  .cuadro h2 {
    font-size: 1.4rem;
  }

  .tres .duo .cuadro p {
    font-size: 1.1rem;
  }
}

@media (max-width: 1500px) {
  .marco::before {
    height: 11rem;
    width: 11rem;
  }
  .marco::after {
    height: 11rem;
    width: 11rem;
  }
}

@media (max-width: 1300px) {
  .cuadro h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 1200px) {
  .marco::before {
    display: none;
  }
  .marco::after {
    display: none;
  }
}

@media (max-width: 850px) {
  .tres .duo .cuadro {
    width: 100vw;
    height: 70vh;
  }
  .tres .reverse {
    flex-direction: column-reverse;
  }
}

@media (max-width: 850px) {
  .marco::before {
    display: flex;
  }
  .marco::after {
    display: flex;
  }
}

@media (max-width: 750px) {
  .marco::before {
    height: 9rem;
    width: 9rem;
  }
  .marco::after {
    height: 9rem;
    width: 9rem;
  }
  .marco {
    padding: 2rem 0 2rem 0;
  }
  .cuadro h2 {
    margin-bottom: 1rem;
  }
  .tres .duo .cuadro p {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .tres .duo .cuadro p {
    width: 80%;
  }
}

@media (max-width: 580px) {
  .marco::before {
    display: none;
  }
  .marco::after {
    display: none;
  }
}

@media (max-width: 500px) {
  .tres .duo .cuadro {
    height: 75vh;
  }
  .tres .duo .cuadro p {
    margin-bottom: 1rem;
  }
}
