
body{
    margin: 0%;
    background-color: #8459D3 ; 
}

.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 + 2) {
    stroke: #F5A503;
    -webkit-animation-delay: -2.4s;
    animation-delay: -2.4s;
}
  
.text:nth-child(5n + 3) {
    stroke: #1b1bde;
    -webkit-animation-delay: -3.6s;
    animation-delay: -3.6s;
}
  
.text:nth-child(5n + 4) {
    stroke: #56D9CD;
    -webkit-animation-delay: -4.8s;
    animation-delay: -4.8s;
}
  
.text:nth-child(5n + 5) {
    stroke: #3AA1BF;
    -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) {
    font-size: 10vmin ;
    font-family: 'Times New Roman';
    text-shadow: 2px 2px 2px #AF7AC5;
    background-color: inherit;
    -webkit-animation-delay: -1.2s;
    animation-delay: -1.2s;

}

.text:nth-child(5n + 2) {
        stroke: #6003f5de;
        -webkit-animation-delay: -2.4s;
        animation-delay: -2.4s;
}
      
.text:nth-child(5n + 3) {
        stroke: #6a2bce;
        -webkit-animation-delay: -3.6s;
        animation-delay: -3.6s;
     }
      
.text:nth-child(5n + 4) {
        stroke: #9957d6;
        -webkit-animation-delay: -4.8s;
        animation-delay: -4.8s;
}
      
.text:nth-child(5n + 5) {
        stroke: #ae94c7;
        -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%;
      
 }
      

.subtitulo{
    font-family: 'Times New Roman';
    font-size: 6vmin;
    color: #8459D3;
    letter-spacing: 0.25em;
    background-color: transparent;
    text-align: center;
    text-shadow: 2px 2px 2px #AF7AC5;
    padding-top: 1%;
    margin-bottom: 0;
    margin-top: 0.5%;
   
}

/* aquí formato de cabecera */
.cabecera{ 
    width: 100%;
    height: 3vh;
    position: sticky;
    top: 0vh;
    z-index: 10;
}

/* organiza la barra de navegación */
.botonera{ 
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: auto;
    background-color:#8459D3;
    margin-top: 1vh;
    z-index: 10;

}

/* caracteristicas de los botones */
button {
    padding: 1.3em 3em;
    font-size: 2vh;
    font-family: 'Times New Roman';
    text-transform: uppercase;
    text-decoration: blink ;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: aliceblue;
    background-color: #8459D3;
    border: none;
    
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
  }
  
button:hover {
    background-color: white;
    box-shadow: 0px 15px 20px (46, 229, 157, 0.4);
    color: #8459D3;
    transform: translateY(-7px);
}
  

button:active {
    transform: translateY(-1px);
}

/* aqui propiedades del pie de pagina */
.pie{
    width: 100%;
    height: 10vh;
    background-color:#8459D3;
    position: fixed;
    bottom: 0vh;
    display: flex;
    justify-content: center;
}



/* contenedor principal */
.contenido{
    width: 90vw;
    margin: auto;
    padding-top: 10vh;
    display: flex;
    flex-direction: column;
    color:#8459D3;

}
/* esta es la clase generica */
.seccion{
    width: 100%;
    padding-top: 8vh;
    font-size: 2.65vmin;
    line-height: 3vmin;
    background-size: cover; ;

}
/* cada una de ellas */
.presentacion{
    background-color: #EBDEF0 ;
    /* ahora para que el titulo quede centrado */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: .2em 100%;
     font: 10.5em/1 Open Sans, Impact;  
     height: 80vh;
}

.preguntas{
    font-size: 2.65vmin;
    line-height: 3vmin;
    background-size: cover;
    background-color: #EBDEF0;
    height: 80vh;
  
}

/* Definiciones para las preguntas de la izquierda */
.izq{
    background-color: #C39BD3;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 2%;
    padding-left: 2%;
    margin-right: 2%;
    text-align: left;
    color: white;
    border-left: 1vmax solid #8459D3;

}

/* Corazón antes*/
.izq::before {
    content: "♑";
    padding-right: 2%;
    color:#8459D3;
}

/* Definiciones para las preguntas de la izquierda */
.der{
    background-color: #C39BD3;
    margin-right: 2%;
    padding-right: 2%;
    margin-left: 2%;
    text-align: right;
    color: white;
    border-right: 2vmax solid #8459D3;
  
}

/* Corazón despues*/
.der::after {
    content: "♑";
    padding-right: 1%;
    color:#8459D3;
}

.respuesta{
    font-family: 'Times New Roman';
    font-weight: 900;
    color:white;
    font-size: 2.65vmin;
    background-color:  #C39BD3;

}

.illia{
    background-color: #EBDEF0;
    height: 158vh;
    
    
}

.preferencias{
    background-color: #EBDEF0;
  
}
.gustos{
    display: flex;
    justify-content: space-around;

}
.preferencias img{
    width: 40%;
    height: auto;
    padding: 5%;

}


.futuro{
 background-color: #EBDEF0;
 height: 80vh;
 padding: 0%;
}

/*Ocultar o mostrar capas segun el viewport */
.collage_v, .collage_h{ /*ambas clases*/
    /* ocultamos ambas para despues mostrar la que corresponde */
    display: none;
    height: fit-content;
   

    
    
}

/* Las imágenes dentro de las capas*/
.collage_v img{
    width: 50%;

}

.collage_h img{
    width: 50%;
    
}

/* Especificamente, mostrar la capa que corresponda*/

/* Sí el dispositivo es horizontal*/
@media (orientation: landscape){
   /* En el caso de ser, hace visible la capa*/ 
   .collage_h{
       display: block;
       width: 70%;
       margin-left: 32%;
       margin-right: 30%;
       padding-top: 5%;
   }
   
}

/* Sí el dispositivo es vertical*/
@media (orientation: portrait){
    /* En el caso de ser, hace visible la capa*/ 
    .collage_v{
        display: block;
        padding-top: 5%;
        margin-left: 25%;

    }
}

.redes{
    display: flex;
    justify-content: flex-end;
    width: 90%;
    align-items: center;
    gap: 10px;

    
}
