/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/

/* WHITE */
.fa-caret-down,
h1,
.bottommenu nav a,
.bottommenu .dropdown a,
#hero svg,
hr,
.teaser i,
button,
.button,
input[type=submit]{
    color: var(--white);
}

/* GREEN */
#topfooter i,
a,
.form h4,
#decline,
#popup h3,
#selection{
    color: var(--green);
}

/* BLACK */
#bottomfooter p,
#bottomfooter a,
h2,
h3,
h4,
p,
li i,
#selection,
.menuitem a,
#topfooter p,
#topfooter a {
    color: var(--black);
} 
/* DARKBLUE */
.bottommenu .dropdown a:hover {
    color: var(--darkblue);
}

/* GREY 2 */
li,
.prev:hover,
.next:hover,
.prev, 
.next,
p,
#teaserbox p,
#teaserbox h3 {
    color: var(--grey-2);
}

/* MINT */
.topmenu i,
.topmenu h4,
.topmenu a,
.all span,
#about h2 {
    color: var(--mint);
}

/* OTHER */
.alert i:nth-of-type(1) {
    color: green;
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
.topmenu,
#bottomfooter,
#topfooter,
.prev, 
.next,
#teaserbox,
body,
#teaserbox .box {
    background: var(--white);    
}

/* DARKBLUE */
.dropdown,
.bottommenu nav,
.bottommenu .inner {
    background: var(--darkblue);
}

/* GREY */
input,
.teaser,
textarea {
    background: var(--grey);
}

/* GREEN */
#hero .button:hover,
.button:hover,
.bottommenu .dropdown li:hover,
.teaser i,
input[type=submit] {
    background: var(--green);
}

#selection,
#burgermenu,
#decline {
    background: transparent;
}

/* MINT */
#burgermenu .burger .line,
button,
.button,
#hero .button{
    background: var(--mint);}

/* OTHER */
#topfooter p,
#topfooter a {
    color: #282828;
}
#popup {
    background: #ffffff85;
}

/**** OUTLINE ****/
#decline,
input:focus,
textarea:focus {
    outline: 1px solid var(--green);
}

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,
.menuitem a,
.bottommenu nav,
#selection span {
    transition: all linear 100ms;
}

#burgermenu {
    transition: all linear 200ms;
}

/**** FONTS ****/
@font-face {
    font-family: 'Open Sans';
    src: url(../font/OpenSans-Regular.ttf);
}
@font-face {
    font-family: 'Open Sans light';
    src: url(../font/OpenSans-Light.ttf);
}
@font-face {
    font-family: 'Open Sans bold';
    src: url(../font/OpenSans-Bold.ttf);
}
@font-face {
    font-family: 'Montserat';
    src: url(../font/Montserrat-Regular.ttf);
}
* {
    font-family: 'Open Sans';
    line-height: 1.5; 
}
#topfooter h3 {
    font-family: 'Open Sans bold';
    line-height: 1.5; 
}
.form h3,
#linkblock h3,
.teaser h3,
#about h2{
    font-family: 'Montserat';
    line-height: 1.5; 
}
.topmenu h4,
.topmenu a,
.bottommenu nav li a,
#about p,
#about h2,
.all span,
#topfooter p,
#topfooter a,
#bottomfooter a,
#teaserbox p{
    font-family: 'Open Sans light';
    line-height: 1.5; 
}

/**** ROOT ****/
:root {
    --white: #FFFFFF;
    --grey: #F0F0F0;
    --green: #98C89B; 
    --black: #000000;
    --darkblue: #313a40;
    --grey-2: #4d4d4d;
    --mint: #566a73;
}