/* fuentes importadas*/
@import url('https://fonts.googleapis.com/css2?family=Simonetta&display=swap');

*{
    color: rgb(220, 206, 233);
    font-family: 'Simonetta', italic;
    margin: 0;
}

body, html{
    background-color: rgb(173, 130, 214); 
    width: 100%;
    padding: 0;
}
 
/* formato del titulo */
.titulo{    
    font-family:'Simonetta', cursive; 
    font-size: 5vmax;
    text-align: center;
    color: rgb(0, 0, 0);
    background-color: inherit;
    align-items: center;
    order: 0;
    flex: 0 1 auto;
    align-self: center;
    margin-top: 25vh;
}
.subtitulo{
    font-family: 'Simonetta', cursive;
    font-size: 3vmax;
    color: black;
    letter-spacing: 0.25em;
    background-color: transparent;
    text-align: center;
    text-shadow: 2px 2px 2px silver;
    padding-top: 1%;
}

/* formato de la cabecera */
.cabecera {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100vw;
    height: 10vh;
    background-color: rgb(173, 130, 214);
    color: rgba(171, 143, 197, 0.849);
    position: fixed;
    top: 0vh;
    align-items: center; 
    z-index: 5;
}

.anuario{
    text-align: center;
    justify-content: center;
    color: black;
    font-size: 1.5vmax;
}

/* propiedades del footer */
.pie{
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 2.5vmax;
    width: 90vw;
    height: fit-content;
    color: rgb(0, 0, 0);
    background-color: inherit;
    position: static;
    bottom: 0vw;
    padding-bottom: 0vw;
    margin: auto;
}

.redes{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* contenedor principal */
.contenido{
    width: 90vw;
    margin: auto;
    padding-top: 10vh;
    display: flex;
    flex-direction: column;

}

/* esta es la clase generica de las secciones*/
.seccion{
    width: 100%;
    height: 80vh;  
    padding-top: 5%;
}

/* cada una de ellas */
/* esta seccion es la que corresponde al titulo */
.presentacion{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    align-content: flex-start;
    text-align: justify;
    padding-top: 5%;
    padding-bottom: 2%;
    background-color: rgb(211, 152, 235);

}
/* este corresponde a los botones */
/* organiza la barra */
.botonera{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    order: 0;
    flex: 0 1 auto;
    align-self: stretch;
    border: none;
    background-color: inherit;
    
}
/* de aca para abajo cada una corresponde a la seccion de su nombre*/


.illia{
    background-color: rgb(189, 122, 216); 
    height: fit-content;
    width: 100%;
}


/* Mostraremos el collage*/
.futuro{
    background-color: rgb(124, 51, 153);
    height: fit-content;
    padding-bottom: 0%;
}

/* Ocultar o mostrar capas según el viewport*/
.collage_v, .collage_h{ /* ambas clases */
    /* ocultamos ambas para después mostrar la que corresponda */
    display: none;
    width: 90%;
    margin: auto;
}

/* las imágenes dentro de las capas*/
.collage_v img{
    width: 100%;
    height: auto;
}

.collage_h img{
    width: 100%;
}

/* Específicamente, mostrar la capa que corresponda */

/* el @media es como un "si tal cosa entonces" */

/* Adentro del paréntesis del media va todas las propìedades que quiero que se aplique 
por si la condicion se cumple */

/*Si el dispositivo es horizontal*/
@media (orientation:landscape){
    /* En caso de ser, hace la capa visible*/
    .collage_h{
        display: block;
    }
}

/* Si el dispositivo es vertical*/

@media (orientation:portrait){
    /* en caso de ser, hace la capa visible*/
    .collage_v{
        display: block;
    }

}


/* acá comienza todo lo respectivo a la seccion de las preguntas y sus respuestas*/


.preguntas{
    background-color: transparent;
    font-size: 3vmin;
    line-height: 4.5vmin;
    background-size: inherit;
    margin-bottom: 0vw; 
    height: 45vw;
    justify-content: center;
    height: fit-content;
    padding-bottom: 5%;
    }  

    .preguntas:hover{
        background-image: url(../img/bienvenida_primeros.jpg);
        background-size: cover;
    }
    
    /* definiciones para las respuestas de la izquerda */
    .izq{
        background-color: rgba(252, 248, 255, 0.596);
        margin-left: 5%;
        padding-left: 5%;
        margin-right: 5%;
        text-align: left;
        color: rgb(122, 55, 24);
    
    }

    /* para poner el símbolo o emoji antes*/
    .izq::before{
        content: "★";
        padding-right: 2%;
    }

    /* definiciones para las preguntas hacia la derecha */
    .der{
        background-color: rgba(252, 248, 255, 0.596);
        margin-right: 5%;
        padding-right: 5%;
        margin-left: 5%;
        text-align: right;
        color: rgb(122, 55, 24);
    
    }

    .der::after{
        content: "★";
        padding-left: 2%;
    }

    /* formato diferente para las respuestas*/
    .respuesta{
        font-family: 'Simonetta', italic;
        background-color: transparent;
        font-weight: 900;
        color: rgb(62, 110, 165);
        font-size: 3vmin;
        }

        .respuesta:hover{
            color: rgb(118, 160, 207); 
            background: inherit;
                        
        }
    
    .contactos{
      background-color: transparent;
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;       
      justify-content: space-around;
      align-content: center;
      height: auto;
      width: auto;
    }    


/* apartado preferencias */

.preferencias {
    background-color: rgb(142, 79, 167);
    height: 90vh;
    justify-content: center;
       
  }
  
  .contenedor{
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: inherit;
    row-gap: 7vw;
    column-gap: 2em;
    align-items:center;
    height: 8vh;
  }

  .contenedor figure{
    position:relative;
    height: 10vw;
    cursor: pointer;
    width: 16vw;
    overflow: hidden;
    border-radius: 6vw;
    box-shadow: 0px 1.5vw 2.5vw rgba(0,0,0,0.50);
    
  }
  .contenedor figure img{
    width: 100%;
    height: 100%;
    transition: all 400ms ease-out;
    will-change: transform;
    background-color:transparent;
    z-index: -10;
  }
  .contenedor figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(148, 157, 158, 0.7);
    transition: all 400ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
  }
  .contenedor figure:hover > .capa {
    opacity: 1;
    visibility: visible;
  }
  .contenedor figure:hover > .capa h3{
    margin-top: 7vw;
    margin-bottom: 1.5vw;
  }
  .contenedor figure:hover > img{
    transform: scale(1.3);
  }
  .contenedor figure .capa h3{
    color: rgb(168, 63, 209);
    font-weight: 400;
    margin-bottom: 1.2vw;
    transition: all 400ms ease-out;
    margin-top: 3vw;
  }
  .contenedor figure .capa p{
    color: #fff;
    font-size: 1.5vw;
    line-height: 1.5;
    width: 100%;
    max-width: 22vw;
    margin: auto;
  }
  
  