/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/

/* WHITE */
hr,
h1,
.prev, 
.next,
.teaser h3,
.teaser i,
.teaser p,
button,
.button,
.menuitem a,
input[type=submit],
#bottomfooter p,
#bottomfooter a,
#bottomfooter i,
#teaserbox .box p,
#teaserbox .box h3,
.intro h2,
.intro p,
.form h4,
.form h3,
.form p,
.form i,
.form span,
#topfooter p,
#topfooter i,
#topfooter a,
.dropdown .menuitem a:hover {
    color: var(--white);
}

/* ORANGE */
a,
#decline,
#popup h3,
#selection span,
.menuitem a:hover,
.button.is-white,
.button.is-white i {
    color: var(--orange);
}

/* GREEN */
#teaserbox h2,
#topfooter .footer-logo p {
    color: var(--green);
}

/* BLACK */
h2,
h3,
h4,
p,
li i,
#selection {
    color: var(--black);
} 

/* OTHER */
.alert i:nth-of-type(1) {
    color: green;
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
.logo,
#popup,
.button.is-white,
#burgermenu .burger .line,
#topfooter .footer-logo {
    background: var(--white);    
}

/* GREY */
input,
body,
textarea,
.topmenu,
#teaserbox {
    background: var(--grey);
}

/* ORANGE */
button,
.teaser i,
.dropdown,
input[type=submit],
.button.is-orange,
.button {
    background: var(--orange);
}

/* GREEN */
header.opened,
header.scrolled,
.button.is-green,
#teaserbox .box,
.teaser,
.intro,
.form,
footer {
    background: var(--green);
}

#selection,
#burgermenu,
#decline {
    background: transparent;
}

/**** OUTLINE ****/
#decline,
input:focus,
textarea:focus {
    outline: 1px solid var(--orange);
}

.dropdown .menuitem {
    border-bottom: .1rem solid var(--black);
}

#bottomfooter {
    border-top: .1rem solid rgb(191, 218, 176);
}

/**** BOX SHADOW ****/
header.scrolled {
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
#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: 'Plus Jakarta Sans';
    src: url(../font/plus-jakarta-sans/PlusJakartaSans-VariableFont_wght.ttf);
}
* {
    font-family: 'Plus Jakarta Sans';
    line-height: 1.2;
}

/**** ROOT ****/
:root {
    --white: rgb(255, 255, 255);
    --grey: rgb(242, 242, 242);
    --orange: rgb(241, 120, 80); 
    --green: rgb(121, 177, 80); 
    --black: rgb(0, 0, 0);
}

/**** TYPOGRAPHY ****/
.is-light {
    font-weight: 200;
}

h1 {
    font-size: clamp(1.75rem, 5vw, 2.875rem);
    font-weight: 400;
    margin: 1rem 0;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 600;
    margin: 1rem 0;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 600;
    margin: 0 0 1rem;
}

h4 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin: 0 0 .5rem;
}

p {
    font-size: 1.1rem;
}