@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    margin: 0;
    height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.home {
    background-image: url('/images/bg.jpg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
}

.gallery {
    background-color: black;
}

.about {
    background-image: url('images/bg-about.jpg');
    background-position:center ;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact {
    background-image: url('/images/bg-about.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: space-around;
}

.nav-links li {
    list-style: none;
    padding: 10px 20px;
}

.nav-links a {
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    color: rgb(226, 222, 211);
    text-decoration: none;
    letter-spacing: 3px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.nav-links a.active {
    color: rgb(116, 189, 194);
}

.nav-links a:hover {
    color: rgb(116, 189, 194);
}

.main {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    overflow-y: auto;
}

.main .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-container {
    padding-top: 5vh;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-row-gap: 0px;
    grid-column-gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about h1 {
    padding-top: 1em;
    padding-bottom: 0.5em;
    color: rgb(226, 222, 211);
    text-decoration: none;
    letter-spacing: 3px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 34px;
}

.about p {
    width: 80%;
    color: rgb(226, 222, 211);
    text-decoration: none;
    text-align: justify;
    letter-spacing: 2px;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 16px;
}

.about p a{
    color: rgb(116, 189, 194);
    text-decoration: none;
}

.content h1{
    padding-top: 2em;
    padding-bottom: 0.5em;
    color: rgb(226, 222, 211);
    text-decoration: none;
    letter-spacing: 3px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 34px;
}

.contact-container h1{
    padding-top: 4em;
    padding-bottom: 2em;
    color: rgb(226, 222, 211);
    text-decoration: none;
    letter-spacing: 3px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 34px;
}

.contact-container picture a {
    padding-right: 2em;
    padding-left: 2em;
}

.contact-container picture {
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

.contact-container img {
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.picture-text a {
    color: rgb(226, 222, 211);
    text-decoration: none;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 20px;
    padding-right: 3em;
    padding-left: 4.7em;
}

.burger {
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    display: none;
    position: relative;
    background-color: rgba(47, 52, 53, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    margin: 10px;
}

.burger div {
    width: 40px;
    height: 4px;
    background-color: rgb(226, 222, 211);
    margin: 14px;
    transition: all 0.3s ease;
}

footer .container h1 {
    color: rgb(226, 222, 211);
    text-decoration: none;
    text-align: center;
    letter-spacing: 3px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 10px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

footer a {
    color: rgb(226, 222, 211);
    text-decoration: none;
    text-align: center;
    letter-spacing: 3px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 10px;
}


@media screen and (max-width: 900px) {
    .about {
        background-position:30%,0;
    }
    
    .contact {
        background-position:30%,0;
    }

    .gallery-container {
        padding-top: 12vh;
        grid-template-columns: repeat(1, auto);
    }
    
    .gallery-container img {
        width: 100%;
        height: 400px;
    }

    nav {
        height: 0em;
    }

    .nav-links {
        border-radius: 25px;
        position: absolute;
        z-index:1;
        width: 60%;
        height: 40vh;
        bottom: 10vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(47, 52, 53, 0.6);
        backdrop-filter: blur(5px);
        transform: translateY(-240%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .logo img {
        width: 20em;
        height: auto;
        visibility: visible;
        opacity: 1;
        transition: opacity 2s linear;
    }

    .burger {
        top: 3em;
        display: block;
        cursor: pointer;
        z-index:1;
    }

    .nav-active {
        transform: translateY(-90%);
    }

    .logo-active {
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s .5s, opacity .5s linear;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0px);
        }
    }

    .toggle .line1{
        transform: rotate(-45deg) translate(-13px,13px);
    }
    .toggle .line2{
        transform: rotate(+45deg) translate(0px,0px);
    }
    .toggle .line3{
        opacity: 0;
    }

    .about h1 {
        padding-top: 3em;
        padding-bottom: 0.2em;
        font-size: 30px;
    }
    
    .about p {
        width: 90vw;
        font-size: 12px;
    }

    .contact-container h1{
        padding-top: 4em;
        padding-bottom: 2em;
        font-size: 30px;
    }
    
    .contact-container picture a {
        padding-right: 2em;
        padding-left: 2em;
    }
    
    .contact-container picture {
        -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    }
    
    .contact-container img {
        -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
        width: 5em;
        height: auto;
    }
    
    .picture-text a {
        color: rgb(226, 222, 211);
        text-decoration: none;
        text-align: center;
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        font-size: 20px;
        padding-right: 1em;
        padding-left: 2.5em;
    }
}

@media screen and (max-width: 400px) {
    .nav-links {
        transform: translateY(-240%);
    }
    .nav-active {
        transform: translateY(-70%);
    }
}