/* #region body */
@import url(sample.css);

@font-face {
    font-family: Roboto;
    src: url(/assets/fonts/Roboto-Regular.ttf) format("truetype");
    font-weight: 500;
    font-display: fallback;
    font-style: normal;
}

@font-face {
    font-family: ConcertOne;
    src: url(/assets/fonts/ConcertOne-Regular.ttf);
}

@font-face {
    font-family: DancingScript;
    src: url(/assets/fonts/DancingScript-Regular.ttf);
}

@font-face {
    font-family: Exo2;
    src: url(/assets/fonts/Exo2-Regular.ttf);
}

@font-face {
    font-family: Oswald;
    src: url(/assets/fonts/Oswald-Regular.ttf);
}

@font-face {
    font-family: Pacifico;
    src: url(/assets/fonts/Pacifico-Regular.ttf);
}

@font-face {
    font-family: PlayfairDisplay;
    src: url(/assets/fonts/PlayfairDisplay-Regular.ttf);
}

@font-face {
    font-family: Quantico;
    src: url(/assets/fonts/Quantico-Regular.ttf);
}

@font-face {
    font-family: Quicksand;
    src: url(/assets/fonts/Quicksand-Regular.ttf);
}

@font-face {
    font-family: Vollkorn;
    src: url(/assets/fonts/Vollkorn-Regular.ttf);
}

@font-face {
    font-family: Inter;
    src: url(/assets/fonts/Inter-Regular.woff2);
}


:root {
    --menu-color: #253035;
    --color-akzent-hell: #828055;
    --color-akzent-dunkel: teal;
    --color-brown: #363520;
    --color-mark: #4E7282;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;

}

body {
    width: 100%;
    height: 100vh;
    font-family: Vollkorn;
    color: var(--color-akzent-hell);
    background-color: var(--menu-color);
}

summary,
h3,
.ober-cat-labl,
.unter_cat {
    font-family: ConcertOne;
    font-size: 1.3rem;
}

a {
    color: #90C100;
    text-decoration: none;
}

a:not(.nav-link, .home-link, .link, .anker)::after {
    content: "\2197";
    padding-left: 10px;
}

.nav_main_container {
    display: flex;
    height: calc(100vh - 50px);
}


/* #endregion */

/* #region header */

.hamburgermenu,
#hamburg {
    display: none;
}

.head {
    width: 100%;
    height: 50px;
    background-color: var(--menu-color);
    display: flex;
    justify-content: center;
}

h1 {
    text-shadow: 0 0 5px var(--color-akzent-hell);
    font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}

.home-link {
    width: 160px;
    margin-right: 5px;
    text-align: end;
}

.title {
    width: 60%;
    height: 50px;
    line-height: 50px;
    display: flex;
    justify-content: flex-end;
}

.title-animation {
    width: 40%;
    height: 50px;
    line-height: 50px;
    margin-left: 5px;
    animation: title 10s infinite;
}

@keyframes title {

    25% {
        font-family: Pacifico;
        color: green;
        position: relative;
        top: -5px;
    }

    50% {
        font-family: Exo2;
        color: red;
        position: relative;
        top: -5px;
    }

    75% {
        font-family: DancingScript;
        color: yellow;
        position: relative;
        top: -5px;
    }

    100% {
        font-family: Oswald;
        color: aqua;
        position: relative;
        top: -5px;
    }
}

/* #endregion */

/* #region nav */
.navbar {
    box-sizing: content-box;
    min-width: 200px;
    height: calc(100vh - 50px);
    background-color: var(--menu-color);
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
}

.navbar::-webkit-scrollbar {
    width: 5px;
}

.navbar::-webkit-scrollbar-thumb {
    background: var(--color-akzent-hell);
}

.navbar::-webkit-scrollbar-track {
    all: unset;
}

.kategorien {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    padding: 5px 0;
    box-shadow: 0px 7px 10px -5px var(--color-akzent-hell),
        0px -7px 10px -5px var(--color-akzent-hell);
}

ul {
    list-style-type: none;
}

input[type=radio] {
    display: none;
}

.ober-cat-labl {
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ober-cat-labl:hover {
    border-bottom: 1px solid var(--color-akzent-hell);
    border-top: 1px solid var(--color-akzent-hell);
    font-size: 1.8rem;
    font-weight: bolder;
}

.unter_cat {
    display: none;
    background-color: var(--color-mark);
}

[id*="cat"]:checked~.unter_cat {
    display: block;
}

.nav-link {
    min-height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-link:hover::after {
    background-color: var(--color-akzent-dunkel);
    position: absolute;
    content: '';
    height: 30px;
    width: 90%;
    opacity: 0.5;
    border-radius: 5px;
}

.nav-unten {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.nav-unten_item {
    margin: 3px 0;
    min-height: 40px;
    width: 90%;
    padding: 0 10px;
    border: 2px solid var(--color-akzent-hell);
    border-radius: 10px;
    background-color: var(--color-brown);
    text-align: center;
    display: grid;
    place-items: center;
}

.foot {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px;
}

/* #endregion */

/* #region main-area */

.main-area {
    background: var(--menu-color);
    height: calc(100vh - 50px);
    width: calc(100vw - 200px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.bg-img {
    width: 100%;
    height: 100%;
}

.gif {
    position: absolute;
    top: 50px;
    width: 150px;
    height: 150px;
}

.unsplash {
    display: flex;
    align-items: center;
    font-size: clamp(0.625rem, 0.4944rem + 0.6742vw, 1rem);
    position: absolute;
    bottom: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.main-area__textbox {
    min-width: 70%;
    height: auto;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid var(--color-akzent-hell);
    border-radius: 10px;
}

.main-area__text {
    width: 100%;
    height: auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.8rem, 0.2rem + 2.5vw, 2rem);
    text-shadow: 0 0 5px var(--color-akzent-hell);
}

.content-area {
    background: var(--menu-color);
    width: 90%;
    height: 90%;
    padding: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-rows: max-content; */
    grid-auto-rows: 60px;
    /* grid-auto-flow: row dense; */
    overflow-y: scroll;
}

.content-head {
    height: auto;
    width: 90%;
    background: var(--color-brown);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 30px;
    padding-right: 15px;
    border-radius: 10px;
}

.content-area li {
    border-bottom: 3px solid;
    padding: 10px 0px;
}

::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--color-akzent-hell);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-mark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-akzent-dunkel);
}

details {
    min-height: 40px;
    width: 97%;
    background-color: var(--color-brown);
    border: 3px solid;
    border-radius: 10px;
    padding: 5px 15px;
}

.artikel details[open] {
    position: relative;
    z-index: 100;
}

.artikel ul {
    padding: 10px 0;
}

summary {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 25px;
    outline: none;
}

summary::-webkit-details-marker,
summary::marker {
    display: none;
    color: transparent;
}

summary::after {
    content: "+";
    position: absolute;
    color: green;
    font-size: 2.5rem;
    font-weight: bold;
    transition: all 0.5s;
    left: -5px;
}

details[open] summary::after {
    color: red;
    transform: translate(5px, 0) rotate(45deg);
}

summary:focus-within {
    color: teal;
}

.anker::before {
    content: url(/assets/image/link_anker.svg);
    /* farbe in der svg Datei angepasst */
    position: absolute;
    top: -12px;
    right: -10px;
}

mark {
    user-select: all;
    background-color: #4E7282;
}

mark,
a {
    word-break: break-all;
}

em {
    color: teal;
}

/* #endregion */

/* #region changelog */


td {
    border-left: 2px solid teal;
    min-width: 60px;
    padding-left: 5px;
    margin-bottom: 15px;
}

/* #endregion */

/* #region media */


@media (min-width: 921px) {

    header {
        display: flex;
        justify-content: flex-end;
    }

    .head {
        width: calc(100% - 200px);
    }

    .title {
        width: 50%;
    }

    .title-animation {
        width: 50%;
    }

}

@media (max-width: 920px) {

    header {
        display: flex;
        justify-content: flex-end;
    }

    .head {
        width: calc(100% - 50px);
    }

    .content-head {
        padding: 0 10px;
    }

    .content-area {
        display: block;
    }

    .gif {
        display: none;
    }

    .main-area {
        width: 100%;
    }

    .artikel {
        margin-bottom: 10px;
    }

    .navbar,
    #hamburg {
        display: none;
    }

    .hamburg {
        display: block;
        width: 75px;
        height: 50px;
        background-color: var(--menu-color);
        position: absolute;
        top: 0px;
    }

    #hamburg:checked~.navbar {
        display: block;
        position: absolute;
        z-index: 1000;
        overflow-x: hidden;
        overflow-y: scroll;
    }


    .line {
        position: absolute;
        left: 10px;
        height: 4px;
        width: 55px;
        background: var(--color-akzent-hell);
        border-radius: 2px;
        display: block;
        transition: 0.5s;
        transform-origin: center;
    }

    .line:nth-child(1) {
        top: 12px;
    }

    .line:nth-child(2) {
        top: 24px;
    }

    .line:nth-child(3) {
        top: 36px;
    }

    #hamburg:checked+.hamburg .line:nth-child(1) {
        transform: translateY(12px) rotate(-45deg);
    }

    #hamburg:checked+.hamburg .line:nth-child(2) {
        opacity: 0;
    }

    #hamburg:checked+.hamburg .line:nth-child(3) {
        transform: translateY(-12px) rotate(45deg);
    }

}

/* #endregion */