:root {
    --clr-dark: #0f172a;
    --clr-light:#829db7;
    --clr-accent:#e11d48;

}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body{
    height: 100vh;
    margin: 0;         
}

body{
    margin: 0;
    line-height: 1.6; 
    word-spacing: 1.4px;
    font-family: 'Roboto', sans-serif;
    color: var(--clr-dark);
    background-color: var(--clr-light);
    overflow-x: hidden;
}
body::-webkit-scrollbar{
    display: none;
}
header{
    display: flex;
    justify-content: center;
    background-color: #cae0d0;
    margin-bottom: 10px;
}

.titulo{
    font-family: 'Fascinate Inline';
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
h1{
    font-weight: 400;
    font-size: 50px;
    
}
.logo{
    height:90px ;
    margin: 10px 20px 10px 0
}
.avion{
    position: absolute;
    z-index: -1;
    animation: vuelo 15s linear infinite;
}
/* -----------------------------------------animacion------------------- */
@keyframes vuelo{
    0%{
        left: 100%;
        top: 20%;
    }
    25%{
        left: -500px ;
        top: 30%;
        opacity: 1 ;   
        transform: scaleX(1); 

    }
    26%{
        left: -500px;
        top:40%;
        transform: scaleX(-1);
    }

    50%{
        left: -500px;
        top: 70%;
        opacity: 1;
    }
    75%{
        left:  100%;
        top: 80%;
        transform: scaleX(-1);
    }
    76%{
        left:  100%;
        top: 40%;
        transform: scaleX(1);

    }
    100%{
        left: 100%;
        top: 20%;
        transform: scaleX(1);
        opacity: 1;
    } 
}

.avion .avion-png{
    width: 500px;
}
/* -------------------------------------main------------------------ */
section{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;

}

.contenedor{
    width: 90%;
    height: auto;
    /* margin: 0 auto; */
    border: 5px solid var(--clr-dark);
    border-radius: 10px;
}
.galeria{
    margin: 10px;
    /* columns: 200px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;

}

/*-------------------------------------*/

.galeria img{
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: 0.3s;
    
}
.box{
    margin: 1px;
    width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color:#030303;
    border-radius: 10px; 
    color: white;
}
.box p{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: italic;
    text-align: center;
    font-size: 20px;
    
}

.lightbox{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding-top: 50px;
}

.lightbox img{
    max-width: 90%;
    max-height: 80vh;
}

.lightbox:target{
    display: block;
}


footer{
    margin-top: 20px;
    text-align: center;
    background-color: #cae0d0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
}
footer img{
    width: 40px;
}

.pie_de_pagina{
    font-size: 20px;
    font-family: 'Roboto';
    font-weight: 400;
    font-style: italic;
    color: #f6b62f;
}

.item-1{
    padding-left: 10px;
}
.item-2{
    flex-grow: 1;
}

/* ----------------------------Media Q---------------------- */

@media screen and (max-width: 425px){

.avion{
    display: none;
}    
}

