@import url(https://fonts.googleapis.com/css?family=Signika:700,300,600);
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap'); 

* {
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body{
    background-color: rgb(189, 183, 107);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    height: 100%; 
  }
  
  .cabecera {
    background-color:hsl(30, 60%, 68%);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 20px;
  }
  
  .botones {
    display: flex;
    flex-direction: row-reverse;
    width: 100vw;
    height: 10vh;
    background-color: rgba(173, 130, 130, 0.596);
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif
  }

  nav a {
    transition: background-color .25s ease-in;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font: size 18px;
    text-decoration: none;
    color: black;
    height: 10vh;
    width: auto;
    padding: 0 3vw;
    margin: 0 1vw;
  }
  
  nav a:hover {
    background-color: rgb(180, 111, 111);
  }
  
  #navLeft>img {
    height: 3em;
  }
  
  .textoanimado {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin:20px 0; 
  text-align:center; 
  overflow:hidden; 
  size: 2px;
  font:bold 5vw/1.6 'Signika', sans-serif;
  user-select:none;
  }
  
  h1 span { display:inline-block; animation:float .2s ease-in-out infinite; }
    @keyframes float {
      0%,100%{ transform:none; }
      33%{ transform:translateY(-1px) rotate(-2deg); }
      66%{ transform:translateY(1px) rotate(2deg); }
  }
  body:hover span { animation:bounce .6s; }
    @keyframes bounce {
      0%,100%{ transform:translate(0); }
      25%{ transform:rotateX(20deg) translateY(2px) rotate(-3deg); }
      50%{ transform:translateY(-20px) rotate(3deg) scale(1.1);  }
  }

  span:nth-child(4n) { color:hsl(50, 75%, 55%); text-shadow:1px 1px hsl(50, 75%, 45%), 2px 2px hsl(50, 45%, 45%), 3px 3px hsl(50, 45%, 45%), 4px 4px hsl(50, 75%, 45%); }
  span:nth-child(4n-1) { color:hsl(135, 35%, 55%); text-shadow:1px 1px hsl(135, 35%, 45%), 2px 2px hsl(135, 35%, 45%), 3px 3px hsl(135, 35%, 45%), 4px 4px hsl(135, 35%, 45%); }
  span:nth-child(4n-2) { color:hsl(155, 35%, 60%); text-shadow:1px 1px hsl(155, 25%, 50%), 2px 2px hsl(155, 25%, 50%), 3px 3px hsl(155, 25%, 50%), 4px 4px hsl(140, 25%, 50%); }
  span:nth-child(4n-3) { color:hsl(30, 65%, 60%); text-shadow:1px 1px hsl(30, 45%, 50%), 2px 2px hsl(30, 45%, 50%), 3px 3px hsl(30, 45%, 50%), 4px 4px hsl(30, 45%, 50%); }

  h1 span:nth-child(2){ animation-delay:.05s; }
  h1 span:nth-child(3){ animation-delay:.1s; }
  h1 span:nth-child(4){ animation-delay:.15s; }
  h1 span:nth-child(5){ animation-delay:.2s; }
  h1 span:nth-child(6){ animation-delay:.25s; }
  h1 span:nth-child(7){ animation-delay:.3s; }
  h1 span:nth-child(8){ animation-delay:.35s; }
  h1 span:nth-child(9){ animation-delay:.4s; }
  h1 span:nth-child(10){ animation-delay:.45s; }
  h1 span:nth-child(11){ animation-delay:.5s; }
  h1 span:nth-child(12){ animation-delay:.55s; }
  h1 span:nth-child(13){ animation-delay:.6s; }
  h1 span:nth-child(14){ animation-delay:.65s; }

  
  .contenido{
    width: 90vw;
    margin: auto;
    padding-top: 10vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 15vh;
  }
  
  .subtitulo {
    font-size: 34px ;
  }
  .texto{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: rgb(63, 56, 48);
    font-size:24px;
  }

  /* sección conociéndome*/

  .conociendome {
    background-color: rgb(240, 230, 140);
    font-size: 70px;
  }

  .pregunta, .respuesta {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif ;
    font-size: 19px;
    text-align:center;
    }

  .pregunta {
    text-align: left;
    margin-left: 6vmax;
    margin-top: 1vmax;
    text-decoration: bold;
    }

  .respuesta {
    text-align: right;
    margin-right: 6vmax;
    margin-bottom: 1vmax;
  }

  /* sección paso por el illia*/

  .illia {
    background-color: rgb(221, 176, 137);
    background-size: auto;
    margin-top: 4vmax;
    margin-bottom: 4vmax;
  }
  * {
    box-sizing: border-box;
  }

  .container {
    width: 100%;
    display: flex;
    padding: 0 20px;
    font-family: 'Muli', sans-serif;
    overflow: hidden;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(155, 27%, 45%);
  }
  
   .slide {
    position: relative;
    cursor: pointer;
    height: 80vh;
    flex: 1;
    margin: 10px;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: .5s
  }
  
  .slide > img {
    width: 100%;
    height: 100%;
  }
  
  .slide > h3 {
    position: absolute;
    color:hsl(0, 0%, 3%);
    bottom: 10px;
    left: 10px;
    opacity: 0;
    transition: .5s
    
  }
  
  .slide.active {
    flex: 10;
  }
  
  .slide.active > h3{
    opacity: 1
  }
  
 /* sección gustos*/

  .gustos {
    background-color: rgb(238, 232, 170);
  }

  .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%;
    }
  }

  /* sección futuro*/

  .futuro {
    background-color: rgb(231, 183, 140);
  }
  .collage-v, .collage-h {
    display: none;
    width: 90%;
    margin: auto;
  }

  .collage-v img {
    width: 100%;
  }

  .collage-h img {
    width: 100%;
  }

  @media (orientation:landscape) {
    .collage-h {
      display: block;
    }
  }

  @media (orientation:portrait) {
    .collage-v {
      display: block;
    }
  }
  .pie {
    background-color: hsl(30, 60%, 68%);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 20px;
    bottom: 0vh;
    width: 100vw;
    height: 8vh;
  }
  
  .redes {
    background-color: hsl(30, 60%, 68%);
    color: rgb(0, 0, 0);
    text-decoration: wavy;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 20px;
  }
 