@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'Meltow';
    src: url(assets/font/meltow.ttf);
}
@font-face {
    font-family: 'Vancouver';
    src: url(assets/font/vancouver.ttf);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

nav {
    background-color: #436980;
    height: 575px;
    width: 100%;
    overflow: hidden;
}
img{
    object-fit: cover;
}
.enlace {
    position: absolute;
    padding: 265.5px 100px;
    background-color: rgb(255, 255, 255);
}

.logo {
    height: 40px;
    position: relative;
    top: -240px;
}

nav ul {
    float: right;
    margin-right: 8%;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a {
    color: white;
    font-size: 13px;
    padding: 12px 30px;
    border-radius: 3px;
    font-family: 'Roboto Slab';
    text-decoration: none;
}

li a.active, li a:hover {
    background: #032438;
    /*background: #0f3146;*/
    transition: .5s;
}

nav ul li a.active {
    font-family: 'Meltow';
    padding: 14px 30px;
}

.checkbtn {
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}



.fondo {
    width: 100%;
    height: 0;
    position: relative;
    top: -493px;
}

.fondo img {
    width: 100%;
}

.start-text {
    position: relative;
    top: -300px;
    text-align: center;
    font-family: 'Roboto Condensed';
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.start-text #text1  {
    font-size: 24px;
}

.start-text #text2  {
    font-size: 60px;
    padding: 0px 0px;
    font-family: 'Vancouver';
}

.start-text #text3  {
    font-size: 30px;
}




/*      GO TOP      */

.go-top-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 4rem;
    height: 4rem;
    z-index: -1;
}

.go-top-button {
    width: 0rem;
    height: 0rem;
    background: black;
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: .2s;
}

.go-top-button i {
    position: absolute;
    font-size: 1.7rem;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    transition: .2s;
}

.show {
    z-index: 10;
}

.show .go-top-button {
    animation: popup .3s ease-in-out;
    width: 6.6rem;
    height: 6.6rem;
    z-index: 11;
}

.show i {
    transform: translate(-50%, -50%) scale(1);
}

@keyframes popup {
    0% {
        width: 0rem;
        height: 0rem;
    }

    50% {
        width: 8rem;
        height: 8rem;
    }
    100% {
        width: 6.6rem;
        height: 6.6rem;
    }
}

.fondo {
    width: 100%;
    height: 0;
    position: relative;
    top: -493px;
}

.fondo img {
    width: 100%;
    height: 28rem;
    object-fit: cover;
}





/*      TEXT FINAL      */

.textfinal {
    padding: 50px 100px;
    font-family: 'Vancouver';
}

.textfinal h1 {
    font-weight: 900;
    font-size: 3rem;
}





/*      FOOTER      */

.footer {
    width: 100%;
    background-color: #436980;
    display: flex;
}

.parte1 {
    width: 60%;
    padding: 50px 100px;
}

.parte1 p {
    font-family: 'Roboto Slab';
    padding: 20px 0px;
    font-weight: 700;
    color: #00111b;
}

.parte1 #logo {
    width: 23em;
    height: auto;
}

.redes {
    display: flex;
    justify-content: space-between;
    width: 37%;
}

.redes1:hover {
    transform: scale(1.1);
    transition: .3s;
}

.redes1 {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.redes1 img {
    width: 30px;
}

.parte2 {
    display: flex;
    font-family: 'Roboto Slab';
    width: 40%;
    padding: 50px 0px;
}

.about, .connect {
    padding-right: 50px;
}

.about hr, .connect hr {
    margin-bottom: 50px ;
}

.about a, .connect a {
    color: white;
    text-decoration: none;
}

.copy {
    background-color: #436980;
    font-family: 'Roboto Slab';
    text-align: center;
    padding: 30px 0px;
    color: white;
    font-size: 13px;
}












/* GALLERY */

.galeria {
    display: flex;
    width: 95%;
    margin: auto;
    grid-gap: 10px;
    padding: 40px 0;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.galeria > a {
    width: 300px;
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 6px rgb(0, 0, 0, .5);
}

.galeria img {
    width: 300px;
    vertical-align: top;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s;
}

.galeria a:hover img { 
    transform: rotate(10deg) scale(1.3);
}

.light-box {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    transition: transform .3s ease-in-out;
    font-family: 'Roboto Slab';
}

.light-box img {
    width: 100vh;
    max-height: auto;
    object-fit: cover;
}

.light-box:target {
    transform: scale(1);
}

.close {
    display: block;
    position: absolute;
    top: 40px;
    right: 40px;
    background: #032438;
    color: white;
    width: 40px;
    height: 40px;
    text-decoration: none;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
}

.next {
    display: block;
    background-color: #032438;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    text-align: center;
}




@media(max-width: 872px){
        /*      NAV     */
        nav {
            background-color: #436980;
            height: 230px;
            width: 100%;
            overflow: hidden;
        }

        .fondo {
            width: 100%;
            height: 0;
            position: relative;
            top: -160px;
        }
        
        .fondo img {
            width: 100%;
            height: 150px;
        }


    .enlace{
        padding: 94px 10px;
    }

    .logo {
        height: 40px;
        position: relative;
        top: -80px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .checkbtn {
        display: block;
    }

    ul {
        position: absolute;
        width: 100%;
        height: 80vh;
        background: #032c46;
        top: 70px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        z-index: 100;
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    li a:hover, li a.active {
        background: none;
        color: white;
    }

    #check:checked ~ ul {
        left: 0;
    }


    .start-text {
        top: -120px;
    }
    .start-text #text1  {
        font-size: 15px;
    }
    
    .start-text #text2  {
        font-size: 35px;
        padding: 0px 0px;
    }
    
    .start-text #text3  {
        font-size: 12px;
    }
    .fondo {
        top: -160px;
    }

    .go-top-container {
        position: none;
        bottom: 0rem;
        right: 0rem;
        width: 0rem;
        height: 0rem;
        z-index: 0;
    }

    
    .go-top-button {
        width: 0rem;
        height: 0rem;
        background: black;
        border-radius: 0%;
        cursor: pointer;
        top: 0%;
        left: 0%;
        transform: translate(0%, 0%);
        z-index: -1;
        transition: .2s;
    }

    .go-top-button i {
        position: none;
        font-size: 0rem;
        top: 0%;
        left: 0%;
        transform: translate(-0%, -0%) scale(0);
        color: white;
        transition: .2s;
    }

    .show {
        z-index: 0;
    }

    .show .go-top-button {
        animation: popup .3s ease-in-out;
        width: 0rem;
        height: 0rem;
        z-index: 0;
    }

    .footer {
        width: 100%;
        background-color: #436980;
        display: block;
    }
    
    .parte1 {
        width: 100%;
        padding: 50px 50px;
    }
    
    .parte1 #logo {
        width: 18em;
        height: auto;
    }
    
    .redes {
        display: flex;
        justify-content: space-between;
        width: 60%;
    }
    
    .redes1:hover {
        transform: scale(1);
        transition: .3s;
    }
    
    .redes1 {
        background-color: #ffffff;
        padding: 10px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .parte2 {
        display: flex;
        font-family: 'Roboto Slab';
        width: 100%;
        padding: 50px 50px;
    }

    .about h1, .connect h1 {
        font-size: 20px;
    }
    
    .about, .connect {
        padding-right: 45px;
    }
    
    .about hr, .connect hr {
        margin-bottom: 30px ;
    }
    
    .about a, .connect a {
        color: white;
        text-decoration: none;
    }
    
    .copy {
        background-color: #436980;
        font-family: 'Roboto Slab';
        text-align: center;
        padding: 30px 0px;
        color: white;
        font-size: 13px;
    }


    .galeria {
        display: flex;
        width: 80%;
        margin: auto;
        grid-gap: 10px;
        padding: 40px 0;
        overflow: hidden;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .galeria > a {
        width: 130px;
        display: block;
        position: relative;
        overflow: hidden;
        box-shadow: 0 0 6px rgb(0, 0, 0, .5);
    }
    
    .galeria img {
        width: 130px;
        vertical-align: top;
        height: 130px;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .light-box {
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, .5);
        width: 100%;
        height: 100vh;
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: scale(0);
        transition: transform .3s ease-in-out;
        font-family: 'Roboto Slab';
    }
    
    .light-box img {
        width: 40vh;
        max-height: auto;
        object-fit: cover;
    }
}