@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --text-color: #0d2120;
    --background-color: #edf8f8;
    --primary-color: #8ab495;
    --horizontal-padding: 150px;
}

* {
    font-family: Poppins, serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

nav,
footer {
    background-color: #040404;
    width: 100dvw;
    color: var(--background-color);
    padding: 0 var(--horizontal-padding);
    box-sizing: border-box;
}

nav {
    height: 7vh;
    position: absolute;
    z-index: 1;
    opacity: 0.85;
}

footer {
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

main {
    background-color: var(--background-color);
    height: 85vh;
    width: 100dvw;
    color: var(--text-color);
    padding: 0 var(--horizontal-padding);
    box-sizing: border-box;
}

#nav-section,
#footer-section {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer-section-right,
#nav-section-center {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#footer-section-right {
    gap: 30px;
}

#nav-section-center {
    gap: 20px;
}

.contact-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 8px;
    font-size: 0.8rem;
}

#contact-footer {
    display: flex;
    flex-direction: column;
}

.contact-div.hours {
    align-items: flex-start;
}

#footer-name,
#nav-name {
    font-size: 1.8rem;
    font-weight: 200;
    text-decoration: none;
}

main {
    display: flex;
    flex-direction: row;
}

#main-section-left {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

#main-section-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
}

iframe {
    width: 90%;
    height: 90%;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-container > .contact-div {
    color: var(--background-color);
    font-size: 0.9rem;
}

.contact-div {
    display: flex;
    align-items: center;
}

.contact-div-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.contact-div:last-child {
    margin-bottom: 0;
}

a {
    all: unset;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
    cursor: pointer;
}

#contact-container-title {
    font-size: 2rem;
    color: var(--background-color);
}


#main-carousel {
    width: 100%;
    height: 100vh;
    position: relative;
}

.slider-slide {
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.slider-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 40% 2rem 15rem;
    flex-direction: column;
}

.slider-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.slider-overlay p {
    font-size: 1.2rem;
    font-weight: 300;
}

#scrollToTop > img {
    width: 60px;
    height: 60px;
}

.scroll-to-top {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-size: 2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover {
    background-color: var(--background-color);
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.nfz_logo {
    width: 70px;
}

@media only screen and (max-width: 1200px) {
    :root {
        --horizontal-padding: 40px;
    }
    .slider-overlay {
        padding: 2rem 15rem;
        text-align: center;
    }

    .slider-overlay h1 {
        width: 100%;
    }
}

@media only screen and (max-width: 1000px) {
    main {
        flex-direction: column;
        height: fit-content;
    }

    #main-section-right,
    #main-section-left {
        width: 100%;
    }

    #main-section-left {
        flex-direction: row;
        padding: 20px 0;
    }

    #main-section-right {
        height: 500px;
    }
}

@media only screen and (max-width: 800px) {
    #main-section-left {
        flex-direction: column;
    }
}

@media only screen and (max-width: 600px) {
    :root {
        --horizontal-padding: 25px;
    }
    .slider-overlay {
        padding: 2rem 2rem;
        text-align: center;
    }

    .slider-overlay h1 {
        font-size: 3rem;
        width: 100%;
    }
}