@import url('https://fonts.googleapis.com/css2? family= Questrial & display=swap');
@import url('https://fonts.googleapis.com/css2? family= Calabacín & family= Questrial & display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni&display=swap');

/* diseño general */
*{
    background-color: #778c43;
    color: black;
    font-family: 'Questrial', sans-serif; 
    margin: 0mm;
}

.titulo{
    font-family: 'Libre Bodoni', serif;
    text-align: center;
    width: 80%;
    color: black  ;
    font-size: 10vmin;

}
.last-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: rgb(36, 35, 35);
    background-size: .2em 100%;
    font: 8.5em/1 Open Sans, Impact;   
}

.text {
 /* Establecemos las características del texto */
 fill: none;
 stroke-width: 6;
 stroke-linejoin: round;
 stroke-dasharray: 70 330;
 stroke-dashoffset: 0;
  /* Establecemos la animación */
 -webkit-animation: stroke 6s infinite linear;
 animation: stroke 6s infinite linear;
}

.text:nth-child(5n + 1) {
 stroke:#778c43;
 -webkit-animation-delay: -1.2s;
 animation-delay: -1.2s;
}
.text:nth-child(5n + 2) {
 stroke: #586e26;
 -webkit-animation-delay: -2.4s;
 animation-delay: -2.4s;
}

.text:nth-child(5n + 3) {
 stroke: #203500;
 -webkit-animation-delay: -3.6s;
 animation-delay: -3.6s;
}

.text:nth-child(5n + 4) {
 stroke: #d9ef9f;
 -webkit-animation-delay: -4.8s;
 animation-delay: -4.8s;
}

.text:nth-child(5n + 5) {
 stroke: #96ac60;
 -webkit-animation-delay: -6s;
 animation-delay: -6s;
}

@-webkit-keyframes stroke {
 100% {
   stroke-dashoffset: -400;
 }
}

@keyframes stroke {
 100% {
   stroke-dashoffset: -400;
 }
}



.text:nth-child(5n + 1) {
 stroke: #778c43;
 -webkit-animation-delay: -1.2s;
 animation-delay: -1.2s;
}
.text:nth-child(5n + 2) {
 stroke: #586e26;
 -webkit-animation-delay: -2.4s;
 animation-delay: -2.4s;
}

.text:nth-child(5n + 3) {
 stroke: #203500;
 -webkit-animation-delay: -3.6s;
 animation-delay: -3.6s;
}

.text:nth-child(5n + 4) {
 stroke: #d9ef9f;
 -webkit-animation-delay: -4.8s;
 animation-delay: -4.8s;
}

.text:nth-child(5n + 5) {
 stroke: #96ac60;
 -webkit-animation-delay: -6s;
 animation-delay: -6s;
}

@-webkit-keyframes stroke {
 100% {
   stroke-dashoffset: -400;
 }
}

@keyframes stroke {
 100% {
   stroke-dashoffset: -400;
 }
}

svg {
 position: absolute;
 width: 80%;

}
/* formato de cabecera */
.cabecera{
    width: 100vw;
    height: 10vh;
    background-color:#778c43;
    color: black ;
    position:fixed;
    text-align: center;
    top: 0vh;
    font-size: 3vmin;
    font-family: 'Libre Bodoni', serif;
    z-index: 100; 
    margin-bottom: 0.5cm;
   
    
}
/* organiza la barra de navegacion */
    .botonera{
        width: 100%;
        display: flex;
        background-color:transparent;
        justify-content: space-evenly;
       
    }
    
a{
     background-color: transparent
}
/* formato de botones */
button {
    padding: 1.1em 3em;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    background-color: white;
    border: none;
    border-radius: 45px;
    -webkit-box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
  }
  
  button:hover {
    background-color: #96ac60;
    -webkit-box-shadow: 0px 15px 20px white;
            box-shadow: 0px 15px 20px white;
    color: #fff;
    -webkit-transform: translateY(-7px);
        -ms-transform: translateY(-7px);
            transform: translateY(-7px);
            background-color: transparent;
  }
  
  button:active {
    -webkit-transform: translateY(-1px);
        -ms-transform: translateY(-1px);
            transform: translateY(-1px);
  }


  .actual-text{
    background-color: transparent;
    color:black;
    font-size: 2vmin;
    font-family: 'Libre Bodoni', serif;
  }
/* propiedades del pie de pagina */
.pie{
    width: 100vw;
    height: 10vh;
    background-color: #3b4d0e;
    color: black;
    position:fixed;
    bottom: 0vh;
    text-align:center;
    font-size: 3vmin;
    font-family: 'Libre Bodoni', serif;
}
.contactos{
    text-align: center;
    background-color: transparent;
}
.spotify{
    background-size: 50%;
}
/* contenedor principal */
.contenido{
    width: 90vw;
    margin: auto;
    padding-top: 10vh;
    display: flex;
    flex-direction: column;
}
/* clase genérica */
.seccion{
    width: 100%;
    min-height: 80vh;
    padding: 0;
}
/* cada una de las secciones */
.presentacion{
    /* esto es para el título */
    display: flex;
    align-items: center;
    justify-content: center;
}
.preguntas{
   
    font-size: 2.5vmin;
    list-style: 4.5vmin;
    background-size:cover ;
    background-image: url(../img/preguntaaaa.jpg);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: transparent;
    

}
.izq{
    background-color: transparent;
    margin-left: 5%;
    padding-left: 5%;
    margin-right: 5%;
    text-align: left;
    color: #203500;
    background-size:cover ;
    
}
.izq::before{
    content: '♓︎';
    padding-right: 2%;

}

.der{
    background-color: transparent;
    margin-left: 5%;
    padding-left: 5%;
    margin-right: 5%;
    text-align: right;
    color: #203500;
    
}
.der::after{
    content: '♓︎';
    padding-left: 2%;
}
.respuesta{
    font-family:'Libre Bodoni', serif; 
    background-color: transparent;
    font-weight: 900;
    color:#203500;
    font-size: 2.75vmin;
}

.illia{
    background-color: #96ac60;
}
.preferencias{
    background-color: transparent;
    background-image: url(../img/collage.png);
    background-size: 100% 100%;
}
.preferenciass{
  background-image: url(../img/preguntas.jpg);
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 3.5vmin;
  list-style: 4.5vmin;
  background-size:100% ;
}
.izqui{
    background-color: transparent;
    margin-left: 5%;
    padding-left: 5%;
    margin-right: 5%;
    text-align: left;
    color: #203500;
    font-weight: 900;
}
.izqui::before{
    content: '☾';
    padding-right: 2%;
}

.futuro{
    background-color: #96ac60;
}
/* mostramos el collage */
.collage_v, .collage_h { /* ambas clases */
    /* ocultamos ambas para después mostrar la que corresponda */
    display: none;
    width: 90%;
    margin:auto;
}
/* las imagenes dento de la capa */
.collage_v img{
    width: 100%;
}
.collage_h img{
    width: 100%;
}
/* específicamente, mostrar la capa que corresponda */
/* si el dispositivo es horrizontal */
@media (orientation:landscape) {
    /* en caso de ser, hace visile la capa */
    .collage_h {
        display: block;
    }
}
/* si el dispositivo es vertical */
@media (orientation:portrait) {
    /* en caso de ser, hace visible la capa */
    .collage_v {
        display: block;
    }
}
.subtitulo{
    background-color: inherit;
    text-align: center;
}
.respuestas{
    display: flex;
    flex-direction: row;
    background-color:inherit;
    margin-top: 0%;
    justify-content:space-around;


}
