@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
*{
    font-family: 'Quicksand', sans-serif;
    font-size: 3vmin;
}
body{
    background-image: url("../imagenes/fondo_anuario.png");
    margin: 1% 0 0;
}
/* Cabecera */
header{
    top: 0;
    right: 0;
    height: 6vmin;
    width:70%;
    position: fixed;
    background-color: #adadb39c;
}
.navigation{
    display: flex;
    justify-content: space-around;
}
.item{
    height: 5vmin;
    width: 5vmin;
}
/* Cuerpo */
h1{
    height: 6vmin;
    width: 28%;
    display: flex;
    margin-top: 0;
    padding-left: 1%;
    padding-right: 1%;
    font-size: 4.5vmin;
    background-color: #747478a3;
    opacity: 0.8;
}
p{
    margin-left: 4%;
    margin-right: 2%;
    text-align: justify;
}
@media (max-width: 721px){
    .h1-paso,
    .h1-data{
        height: 11vmin;
    }
}
/* Pie de página */
.img{
    height: 6vh;
    width: 6vw;
    float: right;
    margin-top: 1%;
}
.h1-pre{
    top: 0;
}
footer{
    width: 100%;
    margin-top: 2%;
    background-color: #adadb39f;
    border-top: 3px solid #747478;
}
.footer-text{
    display: inline-flex;
    flex-direction: row;
    justify-content: space-around;
}
/* Presentación */
.pre-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.img-pre {
    width: 20vmin;
    height: 20vmin;
    display: flex;
    border: 3px solid #74747888;
    border-radius: 50%;
}
h2{
    font-size: 3.5vmin;
    text-align: center;
    color: #747478;
}
.p-pre{
    margin-bottom: 1vmin;
}
.p-pre-container{
    width: 62vw;
    padding-top: 1%;
    padding-bottom: 1%;
    background-color: #adadb34f;
    border-radius: 10px;
}
/*Paso por el illia*/
figure {
    margin: 0;
    padding: 0;
}
@media (max-width: 756px) {
    .gallery {
        display: block;
    }
}
@media (min-width: 757px) {
    .gallery {
        display: grid;
    }
}
.gallery {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 5vw);
    grid-gap: 15px;
    padding-top: 60px;
}
.gallery__item--1 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}
.gallery__item--2 {
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 3;
}
.gallery__item--3 {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: 6;
}
.gallery__item--4 {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 6;
}
.gallery__item--5 {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 6;
    grid-row-end: 9;
}
.gallery__item--6 {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 6;
    grid-row-end: 9;
}
.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s linear;
}
.gallery__item {
    overflow: hidden;
}
.gallery__item > a {
    display: block;
    width: 100%;
    height: 100%;
}
.gallery__img:hover {
    opacity: .5;
    transition: .4s linear;
    transform: scale(1.2);
}
.lightbox {
    position: fixed;
    z-index: 999;
    height: 0;
    width: 0;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    margin: 0 auto;
    opacity: 0;
}
.lightbox:target {
    outline: none;
    width: 100%;
    height: 100%;
    opacity: 1 !important;
    
}
.lightbox:target img {
    opacity: 1;
    transition: opacity 0.6s;
}
.btn-close {
    font-size: 32px;
    display: block;
    margin: 0 auto;
    max-width: 200px;
    width: 100%;
    padding: 0 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    height: auto;
}
/* Datos personales */
.img-data{
    height: 6vmax;
    width: 6vmax;
}
.data-img-container{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-right: 2vw;
}
.data-container{
    display: flex;
    justify-content: space-around;
}
.map{
    display: inline-flex;
}
@media (max-width: 700px){
    .data-container{
        flex-direction: column;
    }
    .data-img-container{
        flex-direction: row;
    }
}
/*Expectativas*/
.expectativas{
    height: 100vh;
}
.expectativas-img{
    height: 50%;
    width: 50%;
    min-width: 500px;
}
.expectativas-p{
    width: 30vw;
}
.expectativas-p-container{
    vertical-align: top;
}
.expectativas-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
@media (max-width:750px){
    .expectativas-container{
        flex-direction: column;
    }
    .expectativas-p{
        width: 70vw;
        margin-left: 4vw;
    }
}