/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/

/* WHITE */
#topfooter p,
#topfooter a,
hr,
.prev, 
.next,
.teaser i,
button,
.button,
input[type=submit],
#bottomfooter p,
#bottomfooter a {
    color: var(--white);
}

/* light-grey */
a,
.form h4,
#decline,
#popup h3,
#selection {
    color: var(--light-grey);
}

/* BLACK */
#teaserbox .button, 
nav li a:hover,
.number a,
.address a,
h1,
h2,
h3,
h4,
p,
li i,
#selection,
.menuitem a {
    color: var(--black);
} 

/* OTHER */
.alert i:nth-of-type(1) {
    color: green;
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
#teaserbox .button, 
#teaserbox,
body,
.bottommenu nav,
.bottommenu,
.dropdown,
#teaserbox .box {
    background: var(--white);    
}

/* GREY */
input,
.teaser,
textarea,
.topmenu {
    background: var(--grey);
}

/* DARK GREY */
#topfooter {
    background: var(--dark-grey);
}

/* BLACK */
#burgermenu .burger .line,
.button,
button {
    background: var(--black);
}

/* light-grey */
.teaser i,
#bottomfooter,
input[type=submit] {
    background: var(--light-grey);
}

#selection,
#burgermenu,
#decline {
    background: transparent;
}

/* OTHER */
#popup {
    background: #ffffff85;
}

/**** OUTLINE ****/
#decline,
input:focus,
textarea:focus {
    outline: 1px solid var(--light-grey);
}
.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,
#bottomfooter a {
    text-decoration: underline;
}

/**** TRANSITIONS ****/
nav,
#more,
.all i,
.dropdown,
.bottommenu nav,
#selection span {
    transition: all linear 100ms;
}

#burgermenu {
    transition: all linear 200ms;
}

/**** FONTS ****/
@font-face {
    font-family: 'Text';
    src: url(../font/function-regular/function-regular.ttf)
}
@font-face {
    font-family: 'bold';
    src: url(../font/function-bold.ttf)
}
@font-face {
    font-family: 'super-bold';
    src: url(../font/functionlh-bold.ttf)
}
* {
    font-family: 'Text';
    line-height: 1.5; 
}
#nav li a:hover {
    font-family: 'super-bold';
    line-height: 102.31%; 
    cursor: pointer;
}
#teaserbox p, 
.address a,
.number a,
.form h3,
.right h2,
h1 {
    font-family: 'bold';
    line-height: 102.31%; 
}

/**** ROOT ****/
:root {
    --white: #fffef8;
    --grey: #F0F0F0;
    --light-grey: #8b8b8b; 
    --black: #464646;
    --dark-grey: #8b8b8b;
}