/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/
/* WHITE */
hr,
h1,
.prev, 
.next,
.teaser i,
button,
.button,
input[type=submit]{
    color: var(--white);
}

/* DUNKELBLAU */
a,
h2,
h3,
#about h2,
.form h4,
#decline,
#popup h3,
#selection,
.menuitem a:hover {
    color: var(--dunkelblau);
}

/* BLACK */
h4,
#bottomfooter-text-left p,
p,
li i,
#selection,
.menuitem a,
#topfooter p,
#topfooter a,
.form h3{
    color: var(--black);
} 
/*** DARKGREY */
#bottomfooter-social li i,
#topfooter h3,
.menuitem a,
.menuitem i{
    color: var(--darkgrey);
}


/* OTHER */
.alert i:nth-of-type(1) {
    color: green;
}
#topfooter a:hover,
#bottomfooter a:hover,
#bottomfooter-social i:hover,
a:hover,
header .dropdown a:hover,
header a:hover ,
i:hover,
.menuitem a:hover{
    color: var(--hoverblue);
}
#bottomfooter-text-left a{
    color: var(--black);
    font-size: 0.8rem;
}
#bottomfooter-text-left{
    font-size: 0.8rem;
}

.bottommenu nav li > a {
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}
.bottommenu nav li:hover > a,
.bottommenu nav li:hover > a i {
    color: var(--hoverblue);
}
#nav .dropdown li:hover{
    background-color: var(--grey)
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
body,
.bottommenu nav,
.bottommenu,
.dropdown,
#teaserbox .box{
    background: var(--white);    
}

/* GREY */
input,
.teaser,
textarea,
#bottomfooter,
.topmenu,
#teaserbox,
#topfooter
footer {
    background: var(--darkblue);
}

/* DUNKELBLAU */
button,
.button,
.teaser i,
input[type=submit],
#burgermenu .burger .line {
    background: var(--dunkelblau);
}

#selection,
#burgermenu,
#decline {
    background: transparent;
}

/* OTHER */
#popup {
    background: #ffffff85;
}

/**** OUTLINE ****/
#decline,
input:focus,
textarea:focus {
    outline: 1px solid var(--dunkelblau);
}
.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
a:focus-visible {
    outline: .2rem solid var(--black);
}

/**** BOX SHADOW ****/
#popup {
    -webkit-backdrop-filter: blur(3rem);
    backdrop-filter: blur(3rem);
    box-shadow: var(--black) 0 0 10rem -4rem;
}

/**** TEXT DECORATION ****/
.menuitem a:hover {
    text-decoration: none;
}
#popup a{
    text-decoration: underline;
}

/**** TRANSITIONS ****/
nav,
#more,
.all i,
.dropdown,
.menuitem a,
.bottommenu nav,
#selection span {
    transition: all linear 100ms;
}
.teaser{
    background: var(--grey);
}

#burgermenu {
    transition: all linear 200ms;
}
/**** Buttons ****/


/**** FONTS ****/
@font-face {
    font-family: 'Text';
    src: url(..//font/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf);
}
* {
    font-family: 'Text';
    line-height: 1.5; /* Anpassen basierend auf Font */
}

/**** ROOT ****/
:root {
    --white: #FFFFFF;
    --lightgrey: #f9f9f9;
    --grey: #f7f8f9;
    --darkgrey: #5d5f64;
    --dunkelblau: #002970; 
    --black: #000000;
    --hoverblue: #2760c4;
}
