:root {
    --primary: #7E0103;
    --primary-hover: #650103;
    --primary-active: #3D0102;
    --secondary: #3C3C3B;
    --secondary-hover: #343432;
    --secondary-focus: #292928;
    --tertiary: #C6C6C5;
    --tertiary-hover: #b8b8b7;
    --tertiary-focus: #a4a4a2;
    --white: #ffffff;
    --content-width: 1200px;
    --content-font: "Outfit", sans-serif;
    --navbar-height: 64px;
    --drop-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    --section-width: 70%;
    --section-max-width: 930px;
    --mobile-padding: 0 1rem;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

@font-face {
    font-family: din-1451;
    src: url(../assets/din-1451-fette-breitschrift-1936/DIN1451-36breit.ttf);
    font-display: swap;
}

@font-face {
    font-family: Outfit;
    src: url(../assets/Outfit/Outfit-VariableFont_wght.ttf);
    font-display: swap;
}

header {
    position: sticky;
    /* top: 58px; */
    top: 0px;;
    z-index: 10;
}

a,
time,
span {
    display: inline-block;
}

.directions-hint {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 12px;
    /* height: 58px; */
    background-color: var(--white);
    color: var(--white);
    z-index: 11;
    position: sticky;
    top: 0;

    a,
    &:visited {
        color: var(--white);

        &:hover {
            color: var(--tertiary);
        }
    }
}

.logo-wrapper {
    a {
        display: flex;
    }
}

body {
    width: 100%;
    color: var(--secondary);
    margin: 0;
    font-family: var(--content-font);
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
}

p {
    font-family: var(--content-font);
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
}

h3,
h4 {
    margin-bottom: 0.5rem;
}

.fd-col {
    flex-direction: column;
}

.w-100 {
    width: 100%;
}

.d-flex {
    display: flex;
    gap: 1rem;
}

.rm-gap {
    gap: 0 !important;
}

.ws-nowrap {
    white-space: nowrap;
}

.jc-center {
    justify-content: center;
}

.center {
    align-items: center;
    justify-content: center;
}

.col {
    flex: 1;
}

.mobile {
    display: none;
}

.navbar {
    justify-content: center;
    background-color: var(--white);
    position: relative;

    li {
        list-style: none;
    }

    a {
        color: var(--secondary);
    }

    a:link {
        text-decoration: none;
    }

    a:visited {
        text-decoration: none;
    }

    a:hover {
        color: var(--primary);

        &.primary-btn {
            text-decoration: none;
        }
    }

    a:active {
        color: var(--primary-active);
    }

    a.opened {
        border-bottom: 3px solid var(--primary);
    }
}

.menu-items {
    align-items: center;
}

.navbar-container {
    max-width: var(--content-width);
    align-items: end;
    justify-content: space-between;
    min-height: var(--navbar-height);
    background-color: var(--white);
    flex-grow: 1;
    padding: 0 18px 18px 18px;
}

.menu {
    justify-content: end;

    ul {
        margin: 0;
    }
}

.mobile-menu-items {
    display: none;
}

.main-content {
    overflow: hidden;
}

section {
    justify-content: center;
    align-items: center;
    padding: 5rem 0;
}

.section-link {
    color: var(--primary);
}

.section-link:hover {
    color: var(--primary-hover);
}

.section:active {
    color: var(--primary-active);
}

.primary-btn {
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: var(--white) !important;
    padding: 12px 17px;
    border-radius: 45px;
    filter: drop-shadow(var(--drop-shadow));
    text-decoration: none;
    font-family: var(--content-font);
    width: fit-content;
}

.primary-btn:hover {
    color: var(--white);
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.primary-btn:active {
    background-color: var(--primary-active);
    border-color: var(--primary-active);
}

.secondary-btn {
    background-color: var(--tertiary);
    width: fit-content;
    color: var(--primary) !important;
    padding: 12px 17px;
    border-radius: 45px;
    border: 2px solid var(--primary);
    filter: drop-shadow(var(--drop-shadow));
    text-decoration: none;
    font-family: var(--content-font);
}

.secondary-btn:hover {
    color: var(--primary-hover);
    background-color: var(--tertiary-hover);
    border-color: var(--primary-hover);
}

.secondary-btn:active {
    color: var(--primary-active);
    background-color: var(--tertiary-active);
    border-color: var(--primary-active);
}

.hamburger-menu {
    height: 24px;
    width: 36px;
    cursor: pointer;
    display: none;
    justify-content: space-between;

    div {
        height: 4px;
        width: 100%;
        background-color: var(--primary);
        transition: 100ms transform linear;
    }

    &.active {
        div:nth-child(1) {
            transform: translate(0, 10px) rotate(45deg);
        }

        div:nth-child(2) {
            opacity: 0;
        }

        div:nth-child(3) {
            transform: translate(0, -10px) rotate(-45deg);
        }
    }
}

.section-wrapper {
    width: var(--section-width);
    max-width: var(--section-max-width);
    position: relative;
    height: 100%;
    align-items: center;
}

.scroll-hint {
    display: none;
    width: 5rem;
    height: 5rem;
    position: absolute;
    bottom: 1rem;
    z-index: 2;
    left: 50%;
    transform: translate(-50%, 0);
}

.information {
    width: 50%;
    z-index: 2;

    ul {
        padding-inline-start: .8rem;
    }

    li {
        margin-bottom: 1rem;

        a {
            text-decoration: none;
            color: var(--white);
            font-size: 0.9rem;
        }
    }
}

.directions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

h2 {
    margin: 0;
}

.fw-image-wrapper {
    align-self: center;
    z-index: 1;
    display: flex;
    margin: 3rem 0 0;
}

footer {
    background-color: var(--secondary);
    color: var(--tertiary);
    display: flex;
    width: 100%;
    bottom: 0;
    justify-content: center;
    padding: 3rem 0 2rem 0;

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

    ul {
        list-style-type: none;
    }

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

    a:active {
        color: var(--tertiary-focus);
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 3fr 1fr;
        grid-template-rows: 1fr 1fr min-content;
        grid-row-gap: 1rem;
        width: var(--content-width);
        padding: 0 1rem;
    }

    .primary-btn {
        grid-row: span 2;
        place-self: center;
    }

    .footer-links {
        justify-self: start;
        align-self: flex-start;
        padding: 0;
        margin: 0;
    }

    .copyright {
        grid-column: 2;
        justify-self: center;
        font-size: 1rem;
    }

    .footer-logo-wrapper {
        align-self: center;
    }

    .footer-logo-wrapper img {
        height: 40px;
    }

    .contact-info {
        align-items: center;
        justify-content: space-between;
        min-width: 249px;
    }

    .address-with-icon {
        align-items: center;
        justify-content: space-between;
    }

    .phone {
        align-self: flex-end;
    }

    .address {
        align-self: flex-start;
    }
}

address {
    font-style: normal;
}

.fa-instagram {
    font-size: 28px;
}

.background-tooth {
    position: absolute;
    right: -20rem;
    bottom: -11rem;
}

@media screen and (max-width: 1580px) {
    .show-scroll-hint {
        display: block !important;
    }
}

@media screen and (max-width: 1280px) {
    .scroll-hint {
        bottom: 0rem !important;
    }
}

@media screen and (max-width: 825px) {
    .show-scroll-hint {
        display: none !important;
    }

    .hamburger-menu {
        display: flex;
        margin-bottom: 9px;
    }

    .menu-items {
        display: none;
    }

    .primary-btn {
        font-size: 16px;
    }

    .mobile-menu-items {
        display: flex;
        position: absolute;
        top: -120vh;
        flex-direction: column;
        background-color: var(--white);
        height: calc(100vh - var(--navbar-height));
        align-items: center;
        font-size: 32px;
        padding: 25% 0 0 0;
        gap: 2rem;
        transition: 200ms all ease-in-out;
        margin: 0;
        list-style-type: none;
    }

    .mobile-menu-items a {
        color: var(--secondary);
        text-decoration: none;
    }

    .mobile-menu-items a:hover {
        color: var(--secondary);
        text-decoration: none;
    }

    .mobile-cta {
        opacity: 0;
        position: fixed;
        bottom: 8%;
        transition: opacity 200ms linear;
    }

    .mobile-cta.show {
        opacity: 1;
    }

    .mobile-menu-items.active {
        top: var(--navbar-height);
    }

    .section-wrapper {
        width: 100% !important;
    }

    h1 {
        font-size: 1.5rem;
    }

    body {
        font-size: 16px;
    }

    .information {
        width: 100%;
    }

    footer {
        .primary-btn {
            grid-row: span 1;
            align-self: flex-start;
            justify-self: center;
        }

        .footer-content {
            grid-template-columns: 1fr;
            grid-template-rows: repeat(6, 1fr);
            font-size: 18px;
        }

        .copyright {
            grid-column: 1;
            align-self: flex-end;
            font-size: 0.8rem;
        }

        .phone {
            grid-row: 2;
        }

        .address {
            grid-row: 3;
        }

        .footer-links {
            grid-row: 5;
        }
    }

    .helper-img {
        width: 100%;
    }

    .fa-instagram {
        font-size: 30px;
    }

    .mobile {
        display: inline;
    }

    .desktop {
        display: none;
    }
}

@media screen and (max-width: 790px) {
    .fd-col-mobile {
        flex-direction: column;
    }

    .col {
        flex: 0;
    }
}