@import url('https://fonts.googleapis.com/css2?family=Domine&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Candal&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Secular+One&display=swap');

* {
  font-family: 'Secular One', sans-serif;
}

body{
background-color:rgb(22, 54, 43);
overflow-x: hidden;
margin: 0;
padding: auto;
font-family: Arial, Helvetica, sans-serif;
padding-top: 6vh;
width: 90vmax;
}


.main-name{
  /* Centramos el contenido de la sección y determinamos el color de fondo */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #408f6;
}

.name{
  /* seteamos las propiedades del texto */
  font-size: 10vmax;
  text-align: center;
  color: rgba(255, 255, 255);
}

 .span-main-name{
    /* Establecemos la iamgen de fondo del texto */
   display: block;
   background: url('../img/pasto.jpg');
   background-clip: text;
   -webkit-background-clip: text;
   -text-fill-color: transparent;
   -webkit-text-fill-color: transparent;
   
   /* Establecemos la animación */
    animation: fire 20s linear infinite;
 -webkit-animation: fire 50s linear infinite;
      -webkit-transform: translate3d(0,0,0);
   backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
 
}

@keyframes fire {
    /* Definimos el paso a paso de la animación */
    0%{
         background-position: left 0 top 10px;
    }
    15%{
         background-position: left 500px top 5px;
    }
    30%{
         background-position: left 1000px top 0;
    }
    70%{
         background-position: left 2000px top -5px;
    }
    100%{
         background-position: left 3000px top 10px;
    }
}
  

header{
  width: 100%;
  height: 6vh;
  top: 0vmax;
  padding: 0;
  margin: auto;
  font-size: 1vmax;
  font-family: 'Candal', sans-serif;
  text-align: center;
  color: rgb(255, 255, 255);
  background-color: rgb(47, 102, 84);
  position: fixed;
  z-index: 10;
  }

nav{
  /* fondo del nav */
  display: flex;
  width: 100%;
  height: 3.5vh;
  margin: auto;
  padding: 1vmax;
  align-items: flex-start;
  justify-content: space-between;
  background-color: rgb(50, 117, 95);
  position: fixed;
  z-index: 10;
}

nav button{
  /* extraído de uiverse.io by @meermubashar */
    width: 10vmax;
    height: 2vmax;
    font-size: 1.3vmax;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
    color: rgb(189, 255, 224) ;
    font-weight: 700;
    position: relative;
    transition: all 0.5s;
    z-index: 1;
   }
   
   button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1vmax;
    height: 100%;
    background-color:#ffffff;
    z-index: -1;
    transition: all 0.5s;
   }
   
   button:hover::before {
    width: 100%;
   }
   
   button:hover {
    color: rgb(0, 0, 0);
   }
   
   button:active:before {
    background: #b9b9b9;
}



 main {
width: 100%;
height: auto;
display: flex;
flex-direction: column;
color: azure;
 }

 .iniciodepagina button{
  /* extraído de uiverse.io by @meermubashar */
    width: 10vmax;
    height: 3vmax;
    right: 1vw;
    bottom: 1vh;
    font-size: 1vmax;
    cursor: pointer;
    background: transparent;
    color: rgb(189, 255, 224) ;
    font-weight: 700;
    transition: all 0.5s;
    z-index: 1;
    position: fixed;
   }
   
   .iniciodepagina button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1vmax;
    height: 100%;
    background-color:#ffffff;
    z-index: -1;
    transition: all 0.5s;
   }
   
   .iniciodepagina button:hover::before {
    width: 100%;
   }
   
   .iniciodepagina button:hover {
    color: rgb(0, 0, 0);
   }
   
   .iniciodepagina button:active:before {
    background: #b9b9b9;
} 

#presentacion {
background-color: #408f6b;
font-size: 5vmax;
text-align: center;
 }

 #preguntas {
background-color: #165338;
font-size: 1vmax;
 }

.izq{
  margin-left: 3%;
  padding-left: 5%;
  margin-right: 5%;
  text-align: left;
  }
  
  .der{
    margin-right: 3%;
    padding-right: 5%;
    margin-left: 50%;
    text-align: left;
    }
  
  .respuestas{
  color: rgb(69, 255, 62);
  }
    

 #illia {
  background-color: #0c4129;
  max-height: 80%;
}

.wrap {
  overflow: hidden;
  margin: 10px;
}
.box {
  float: left;
  position: relative;
  width: 20%;
  padding-bottom: 20%;
}
.boxInner {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  overflow: hidden;
}
.boxInner img {
  width: 100%;
}
.boxInner .titleBox {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-bottom: -50px;
  background: #fff;
  background: rgba(0, 0, 0, 0.5);
  color: #FFF;
  padding: 10px;
  text-align: center;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
section.no-touch .boxInner:hover .titleBox, section.touch .boxInner.touchFocus .titleBox {
  margin-bottom: 0;
}
@media only screen and (max-width : 480px) {
  /* Smartphone view: 1 tile */
  .box {
    width: 100%;
    padding-bottom: 100%;
  }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
  /* Tablet view: 2 tiles */
  .box {
    width: 50%;
    padding-bottom: 50%;
  }
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
  /* Small desktop / ipad view: 3 tiles */
  .box {
    width: 33.3%;
    padding-bottom: 33.3%;
  }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
  /* Medium desktop: 4 tiles */
  .box {
    width: 25%;
    padding-bottom: 25%;
  }
}


#preferencias {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #083521;
}

#preferencias img{
width: 10%;
}

.megusta {
background-color: #00af09;
}

.nomegusta {
background-color: red;
}

#futuro {
  background-color: #022516;
}

#futuro img{
width: 85%;
}

.collage_v, .collage_h{
  display: none;
  width: 90%;
  margin: auto;
}

.collage_v img{
  width: 100%;
}
.collage_h img{
  width: 100%;
}


@media (orientation:landscape){
  .collage_v{
    display: block;
  }
}

@media (orientation:portrait){
  .collage_h{
    display: block;
  }
}


.seccion {
  width: 100%;
  max-height: 100vh;
  min-height: 80vh;
  padding: 5vmax;
  border-top: 3vh solid rgb(0, 0, 0);
  background-color: rgb(42, 122, 102);
  text-align: center;
}

  footer {
    
    display: flex;
    width: 115%;
    background-color: rgb(42, 122, 102);;
    justify-content: center; 

}