:root {
    --background-color: #000000;
    --color-white: white;
    --color-black: black;
    --color-hover: #6c510c;
    --color-hover: grey;
    --color-nav-bar: rgb(0, 0, 0, 0.3);

    --font-Open-Sans: 'Open Sans', sans-serif;
    --font-Nunito-Sans: 'Nunito Sans', sans-serif;
    --font-Playfair-Display: 'Playfair Display', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--background-color);
    color: var(--color-white);
    font-family: var(--font-Open-Sans);
}

nav {
    position: fixed;
    z-index: 1;
    background-color: transparent;
    transition: all 0.5s;
}

.scrolled {
    background-color: var(--color-nav-bar);
    transition: all 0.5s;
}

.scrolled-menu {
    background-color: transparent;
    filter: brightness(0%);
}

nav > .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3rem;
    width: 100vw;
    padding: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--color-white);
    white-space: nowrap;
    font-size: 14px;
    font-family: var(--font-Open-Sans);
    font-weight: 600;
}

nav .menu-button {
    display: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

nav a:hover {
    color: var(--color-hover);
}

.menu {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: -100vh;
    z-index: 5;
    width: 100vw;
    height: 100vh;
    transition: opacity 1s, transform 1s, visibility 1s;
    background-color: var(--color-white);
    display: flex;
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
}

.menu-opened {
    transition: opacity 1s, transform 1s, visibility 1s;
    opacity: 1;
    transform: translateY(100vh);
    visibility: visible;
}

.menu .container {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.menu-close-button {
    border: none;
    background-color: transparent;
    align-self: flex-start;
    cursor: pointer;
}

.menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--color-black);
    white-space: nowrap;
    font-size: 1rem;
    font-family: Questrial;
    margin-bottom: 2rem;
}

.menu .separator {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu .line-menu {
    width: 13rem;
    height: 2px;
    background-color: var(--color-black);
}

.menu h1 {
    font-size: 1rem;
    color: var(--color-black);
}

.section-1 {
    height: 101vh;
    min-height: 700px;
    background-repeat: no-repeat;
}

.logo {
    position: relative;
    margin-left: 1rem;
    width: 100px;
    aspect-ratio: 1;
    z-index: 2;
}

.logo2 {
    margin: 0;
    position: sticky;
    top: 1rem;
}

.logo-menu {
    position: static;
    margin: 0;
}

.section-1 .container {
    position: relative;
    top: 30%;
    left: 10%;
    max-width: 80vw;
    color: var(--color-white);
}

.section-1 h1 {
    font-size: 50px;
    font-family: var(--font-Playfair-Display);
    font-weight: 700;
}

.section-1 h2 {
    font-size: 20px;
    font-family: var(--font-Nunito-Sans);
    font-weight: 100;
    margin: 2rem 0;
}

.section-2 {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 1rem;
    overflow-x: clip;
}

.line {
    background-color: var(--color-black);
    position: relative;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100px;
    margin: 5rem 0;
}

.line-first {
    margin-top: 0;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100vw;
    height: 30vh;
    min-height: 400px;
    padding: 1rem;
    background-image: url(./Imgs/template/footer.jpg);
    background-position: center;
    background-size: cover;
}

footer h1 {
    text-align: end;
}

footer .top {
    text-align: end;
    max-width: 440px;
    align-self: flex-end;
}

footer .bottom {
    text-align: center;
}

footer h1 {
    font-family: Playfair Display;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: .5rem;
}

footer p {
    font-family: Nunito Sans;
    font-size: 16px;
    font-weight: 100;
    line-height: 1.375;
}

footer a {
    color: var(--color-white);
    text-decoration: none;
}

footer .copyright {
    font-size: 12px;
}


@media screen and (max-width: 905px){
    nav a {
        display: none;
    }

    nav .menu-button {
        display: block;
    }

    .scrolled {
        background-color: transparent;
    }
}

@media screen and (max-width: 530px){
    .section-1 {
        background-position: 80%;
    }

    .section-1 .container {
        top: 20%;
    }

    .section-1 h1 {
        font-size: 30px;
    }

    .section-1 h2 {
        font-size: 12px;
        margin: 1rem 0;
    }

    .logo {
        width: 85px;
    }

    footer {
        background-position: 10%;
    }

    footer h1 {
        font-size: 18px;
    }

    footer p {
        font-size: 14px;
    }

    footer .copyright {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion){
    .nav,
    .scrolled,
    .menu,
    .menu-opened{
        transition: none;
    }
}