/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/

/* WHITE */
hr,
h1,
.prev, 
.next,
.teaser i,
button,
.button,
input[type=submit],
#bottomfooter p,
#bottomfooter a {
    color: var(--white);
}

/* TRANSPARENT */
#nav li a:hover {
    color: var(--transparent);
}

/* BLUE */
#nav li a,
a,
.form h4,
#decline,
#popup h3,
#selection,
.menuitem a:hover {
    color: var(--blue);
}

/* LIGHT BLUE */
#bottomfooter nav a:hover {
    color:var(--light-blue);
}

/* GREY */
#about p,
#about h2 {
    color: var(--grey);
}

/* DARK GREY */
#teaserbox p {
    color: var(--dark-grey);
}
/* BLACK */
#teaserbox a,
h2,
h3,
h4,
p,
li i,
#selection,
.menuitem a,
#topfooter p,
#topfooter a {
    color: var(--black);
} 

/* OTHER */
#hero .button-one:hover {
    background: #1581b2;
}
#hero .button-two {
    background: transparent;
}
.alert i:nth-of-type(1) {
    color: green;
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
body,
.bottommenu nav,
.bottommenu,
.dropdown,
#teaserbox .box {
    background: var(--white);    
}

/* GREY */
input,
.teaser,
textarea,
.topmenu,
#topfooter {
    background: var(--grey);
}

/* BLUE */
#about,
button,
.button,
.teaser i,
#bottomfooter,
input[type=submit],
#burgermenu .burger .line {
    background: var(--blue);
}

/* LIGHT BLUE */
#hero .button-two:hover,
#hero .button-one {
    background: var(--light-blue);
}


#selection,
#burgermenu,
#decline {
    background: transparent;
}

/* OTHER */
#popup {
    background: #ffffff85;
}

/**** OUTLINE ****/
#decline,
input:focus,
textarea:focus {
    outline: 1px solid var(--blue);
}
.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,
.menuitem a,
.bottommenu nav,
#selection span {
    transition: all linear 100ms;
}

#burgermenu {
    transition: all linear 200ms;
}

/**** FONTS ****/
@font-face {
    font-family: 'Regular';
    src: url(../font/Open_Sans/static/OpenSans-Regular.ttf);
}
@font-face {
    font-family: 'Light';
    src: url(../font/Open_Sans/static/OpenSans-Light.ttf);
}
@font-face {
    font-family: 'Light Italic';
    src: url(../font/Open_Sans/static/OpenSans-LightItalic.ttf);
}

* {
    font-family: 'Regular';
    line-height: 1.5; 
}
#nav li a,
#teaserbox p,
#bottomfooter a,
#about h2 {
    font-family: 'Light';
    line-height: 1.5; 
}
#about p{
    font-family: 'Light Italic';
    line-height: 1.5; 
}

/**** ROOT ****/
:root {
    --white: #FFFFFF;
    --grey: #F0F0F0;
    --dark-grey: #757575;
    --blue: #065591; 
    --light-blue: #199cd8;
    --black: #000000;
    --transparent: #d1ecff;
}