/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/

/* WHITE */
hr,
.prev, 
.next,
.teaser i,
button,
.button,
input[type=submit],
footer ul,
footer li,
footer p,
footer a {
    color: var(--white);
}

/* GREEN */
a,
h1,
h2,
h3,
h4,
.form h4,
#decline,
#popup h3,
#selection,
footer a:hover,
.menuitem a:hover {
    color: var(--green);
}

/* BLACK */
p,
li i,
#selection,
.menuitem a {
    color: var(--black);
} 

/* OTHER */
.alert i:nth-of-type(1) {
    color: green;
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
body,
#popup,
.bottommenu nav,
.bottommenu,
.dropdown {
    background: var(--white);    
}

/* GREY */
input,
textarea,
.topmenu,
footer,
#burgermenu .burger .line {
    background: var(--grey);
}

/* LIGHT GREY */
.teaser,
#teaserbox .box {
    background: var(--light-grey);
}

/* GREEN */
button,
.button,
.teaser i,
input[type=submit] {
    background: var(--green);
}

#selection,
#burgermenu,
#decline {
    background: transparent;
}

/**** OUTLINE ****/
#decline,
input:focus,
textarea:focus {
    outline: 1px solid var(--green);
}

/**** BOX SHADOW ****/
header,
#popup {
    box-shadow: 0 0 30px rgba(0,0,0,.2);
}

/**** 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 ****/
/* NORMAL */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    src: url(../font/roboto/Roboto.ttf);
}
/* ITALIC */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    src: url(../font/roboto/Roboto-Italic.ttf);
}
* {
    font-family: 'Roboto';
    line-height: 1.1;
}

/**** ROOT ****/
:root {
    --white: rgb(255, 255, 255);
    --grey: rgb(42, 42, 42);
    --light-grey: rgb(42, 42, 42, .05);
    --green: rgb(102, 169, 83); 
    --black: rgb(0, 0, 0);
}

/**** TYPOGRAPHY ****/
h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-style: italic;
    margin: 0 0 1.25rem;
}
h2 {
    font-size: clamp(1.5rem, 5vw, 2.3rem);
    font-style: italic;
    margin: 0 0 1.25rem;
}
h3 {
    font-size: clamp(1.25rem, 5vw, 1.85rem);
    font-style: italic;
    margin: 0 0 1rem;
}
h4 {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    font-style: italic;
    margin: 0 0 .75rem;
}
p {
    font-weight: 300;
    line-height: 1.5;
}