@import url("style_colors.css");

body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background);
    margin: 0;
    padding: 0;
}

/*
>> Header
*/

header {
    position: fixed;
    color: var(--text);
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    overflow: hidden;

    border-bottom: 3px solid var(--border);
    z-index: 1000;

    height: 21px;

    background: var(--background-gaus);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: height 0.3s ease;
}

header a {
    text-decoration: none;
}

header.open {
    height: 135px;
}


header img {
    height: 1.2rem;
    width: auto;
    filter: invert(var(--img-invert));
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/*
>> Header - Logo
*/

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header__logo:hover strong {
    color: var(--text-selected);
    cursor: pointer;
}

.header__logo:hover img {
    filter: invert(var(--img-invert-hover));
    cursor: pointer;
}

/*
>> Header - Navigation
*/

.header__nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__nav:hover img {
    filter: invert(var(--img-invert-hover));
    cursor: pointer;
}

.header__nav img {
    display: none;
}

.header__nav-link.active {
    color: var(--text);
}

.header__nav-link:hover {
    color: var(--text-selected);
    cursor: pointer;
}

.header__nav-link {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-disabled);
}

.header__nav-mobile {

    display: flex;
    flex-direction: column;
    /* vertikale Anordnung */
    align-items: flex-end;
    padding-right: 2rem;
    margin-top: 1rem;
    gap: 0.5rem;

}

/*
>> Mobile Version
*/

@media (min-width: 520px) {
    header {
        height: 21px !important;
    }
}

@media (max-width: 520px) {
    .header__content {
        justify-content: space-between;
        gap: 0rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .header__nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .header__nav a {
        display: none;
    }
    .header__nav img {
        display: block;
    }
}