/*global*/
html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

.section-spacing {
    margin: 100px 0;
}

.section-spacing-top {
    margin-top: 100px;
}

/*typopraphy*/
@font-face {
    font-family: "Inter";
    src: url(/assets/fonts/InterTight-VariableFont_wght.ttf);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {
    color: black;
    text-decoration: none;
    font-family: "Inter", serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.03rem;
    font-weight: 600;
}

p,
a,
span {
    letter-spacing: 0.03rem;
    font-weight: 400;
    line-height: 1.7rem;
    font-size: 1.125rem;
}

.p2 {
    text-align: justify !important;
}

.p3 {
    text-align: justify;
    text-align-last: center;
}

.p4 {
    text-align: left !important;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.313rem;
}

h3 {
    font-size: 1.5rem;
}

.hero-p {
    font-size: 1.25rem;
}

/*buttons*/
button {
    border: none !important;
}

button:focus {
    box-shadow: none !important;
}

.btn {
    border: 1px solid black;
    border-radius: 0;
    padding: 10px 20px;
    transition: all 0.1s ease-in-out;

    &:hover {
        background-color: black;
        color: white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
}

/*navigation*/
nav {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(30px);
    top: 0;
    width: 100%;
    z-index: 1000;

    .nav_link_container {
        .nav-link {
            font-size: 1rem;
            font-weight: 400;
            letter-spacing: 0.05rem;
            color: black;

            &:hover {
                text-decoration: underline;
                text-decoration-thickness: 2px;
            }
        }

        .social-icon {
            height: auto;
            width: 25px;
        }
    }
}

/*hero*/
.hero {
    background-image: url(/assets/images/hero.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 60vh;

    .icon-k {
        width: 100%;
        height: 100%;
        max-width: 100px;
        max-height: 100px;
    }
}

/*fokus*/
.focus {
    .content_container {
        max-width: 830px;
    }

    .img_container {
        img {
            max-width: 280px;
            width: 100%;
        }
    }
}

/*team*/

.card-grid {
    padding: 150px 0;
    background-color: #eeeeee;

    .card_wrapper {
        display: flex;
        flex-direction: column;
    }

    .text_wrapper {
        background-color: white;
        flex-grow: 1;

        p {
            font-size: 1rem;
            line-height: normal;
        }
    }
}

/*Kerem Yilmaz Rechtsanwaltskanzlei*/
.hero-horizontal {
    img {
        object-fit: cover;
        aspect-ratio: auto;
        height: 100%;
        width: 100%;
    }
}

/*Kontakt*/
.contact {
    padding: 100px 0;
    background-color: #eeeeee;

    .card_grid {
        flex-grow: 1;
        .card_wrapper {
            background-color: white;
            flex-grow: 1;

            p {
                word-break: break-word;
            }
        }
    }
    .map_container {
        iframe {
            width: 100%;
        }
    }
}

footer {
    background-color: #eeeeee;
}

/*Impressum*/
.impressum,
.legal {
    .container {
        margin-top: 100px;

        h1 {
            font-size: 2rem;
        }
        p {
            padding: 0;
            margin-bottom: 5px;
            word-break: break-word;
            text-align: justify;
        }
    }
}

/*Cookie Banner*/
#cookie-banner {
    position: fixed;
    bottom: 0;
    right: 0;
    max-width: 400px;
    background: #000;
    color: #fff;
    font-family: "Inter";
    z-index: 1000;
}

#cookie-banner button {
    color: #000000;
    background: #fff;
    border: none;
    cursor: pointer;
}

/*responsive LG*/
@media (max-width: 992px) {
    .nav-link {
        font-size: 1.5rem !important;
        text-align: center;
        padding: 10px 0;
    }

    .lang-switch {
        text-align: center;
        margin: 20px 0;
    }

    .hero {
        height: 100vh;
    }

    .focus {
        background-image: url(/assets/images/statue-1.jpg);
        background-position: left;
        background-repeat: no-repeat;
        background-size: contain;
        background-color: rgba(255, 255, 255, 0.8);
        background-blend-mode: lighten;
        img {
            display: none;
        }
    }
}
