/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/

/* WHITE */
hr,
.prev, 
.next,
button,
.button,
input[type=submit],
#teaserbox .box h3,
#teaserbox .box p {
    color: var(--white);
}

/* BLUE */
a,
.form h4,
#decline,
#popup h3,
#selection,
.menuitem a,
.menuitem i,
.topmenu .search i,
.topmenu .search input,
#topfooter .social-list i,
#topfooter .contact-item i,
.topmenu .search input::placeholder {
    color: var(--blue);
}

/* LIGHT BLUE */
#topfooter address,
#topfooter p,
#topfooter a,
#bottomfooter p,
#bottomfooter a {
    color: var(--light-blue);
}

/* DARK BLUE */
p,
li i,
#selection,
#topfooter a:hover,
#bottomfooter a:hover {
    color: var(--dark-blue);
}

/* OTHER */
.alert i:nth-of-type(1) {
    color: green;
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
body,
.header,
.dropdown,
main::before,
.bottommenu {
    background: var(--white);    
}

/* GREY */
input,
.teaser,
textarea {
    background: var(--grey);
}

/* BLUE */
#burgermenu .burger .line {
    background: var(--blue);
}

#selection,
#burgermenu,
#decline,
#search-btn,
.topmenu .search input {
    background: transparent;
}

/* OTHER */
#popup {
    background: #ffffff85;
}
main {
    background: linear-gradient(0deg, #fff 0%, #edf7fa 100%);
}
.footer {
    background: linear-gradient(0deg, rgba(237, 247, 250, .2) 0%, #edf7fa 100%);
}
#hero .inner {
    background: linear-gradient(180deg, #163840 0%, #135059 100%);
}
.bottommenu .menuitem a:hover,
.button-outline,
h1, h2, h3, h4 {
    background: linear-gradient(90deg, #02a77f 0%, #50aad5 100%), linear-gradient(270deg, #02a77f -22.84%, #015f98 50.18%, #001f32 88.83%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}
#teaserbox .box span:hover,
#teaserbox .box h3,
.teaser .button-outline,
.teaser h3,
.teaser p {
    background: none;
    -webkit-text-fill-color: var(--white);
}
#topfooter h3 {
    background: none;
    -webkit-text-fill-color: var(--blue);
}
button,
.button,
input[type=submit],
.teaser {
    background: linear-gradient(90deg, #02a77f 0%, #50aad5 100%);
}
button:hover,
.button:hover,
input[type=submit]:hover {
    background: linear-gradient(90deg, #02a77f 0%, #50aad5 160.5%);
}
#about .left {
    background: url(../img/layer-banner.svg) no-repeat bottom right,
                linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgba(1, 98, 152, .1) 100%), 
                linear-gradient(180deg, rgba(1, 95, 152, .5) 0%, rgba(2, 167, 127, .15) 49.04%), #ccc;
}
#teaserbox {
    background: url(../img/bg-circles.svg) no-repeat center, 
                linear-gradient(180deg, rgba(10, 44, 51, 0) 0%, #0a2c33 100%), 
                linear-gradient(180deg, #000203 0%, #013C5E 100%);
}
#teaserbox .box {
    background: linear-gradient(180deg, #163840 0%, #135059 100%);
}
#teaserbox .box:hover {
    background: linear-gradient(180deg, #10333c 0%, #135969 100%);
}

/**** OUTLINE ****/
#decline,
input:focus,
textarea:focus {
    outline: 1px solid var(--blue);
}
.topmenu .search input:focus {
    outline: none;
}
.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
a:focus-visible {
    outline: .2rem solid var(--dark-blue);
}
.topmenu .languages {
    border-left: 1px solid var(--blue);
}
#teaserbox .box:before {
    background: linear-gradient(90deg, #02a77f 0%, #50aad5 100%), linear-gradient(270deg, #02a77f -22.84%, #015f98 50.18%, #001f32 88.83%);
}
#bottomfooter .inner {
    border-top: 1px solid var(--light-blue);
}

/**** BOX SHADOW ****/
#popup {
    -webkit-backdrop-filter: blur(3rem);
    backdrop-filter: blur(3rem);
    box-shadow: var(--dark-blue) 0 0 10rem -4rem;
}
.bottommenu .dropdown,
.header.scrolled {
    -webkit-box-shadow: 0 2px 10px -3px rgba(16, 26, 48, .2);
    box-shadow: 0 2px 10px -3px rgba(16, 26, 48, .2);
}

/**** TEXT DECORATION ****/
.menuitem a:hover {
    text-decoration: none;
}
#popup a {
    text-decoration: underline;
}

/**** TRANSITIONS ****/
nav,
#more,
.all i,
.dropdown,
.menuitem a,
.bottommenu nav,
#selection span {
    transition: all linear 100ms;
}
#burgermenu,
.topmenu .search-form {
    transition: all linear 200ms;
}
#topfooter a,
#bottomfooter a,
.button span i {
    transition: all linear 300ms;
}
.header,
#teaserbox .box,
#teaserbox .box p,
#teaserbox .box h3,
.bottommenu nav,
.bottommenu #nav-overlay {
    transition: all ease-in-out .5s;
}
.button-outline i {
    transition: margin ease-in-out .3s;
}

/**** FONTS ****/
@font-face {
    font-family: 'Outfit Medium';
    font-weight: 400;
    src: url(../font/outfit-medium/Outfit-Regular.woff2) format('woff2');
}
@font-face {
    font-family: 'Outfit Medium';
    font-weight: 500;
    src: url(../font/outfit-medium/Outfit-Medium.woff2) format('woff2');
}
@font-face {
    font-family: 'Outfit Medium';
    font-weight: 600;
    src: url(../font/outfit-medium/Outfit-SemiBold.woff2) format('woff2');
}
@font-face {
    font-family: 'Outfit Medium';
    font-weight: 700;
    src: url(../font/outfit-medium/Outfit-Bold.woff2) format('woff2');
}
* {
    font-family: 'Outfit Medium', sans-serif;
}

/**** ROOT ****/
:root {
    --white: rgb(255 255 255);
    --grey: rgb(240 240 240);
    --blue: rgb(1 95 152);
    --light-blue: rgb(76 124 154);
    --dark-blue: rgb(10 44 51);
}

/**** TYPOGRAPHY ****/ 
body {
    font-size: 1.35rem;
    line-height: 1.5;
}
h1 {
    font-size: clamp(1.5rem, 3.25vw, 2.75rem);
    font-weight: 400;
    line-height: 1.275;
    margin: 0 0 2rem;
}
h2 {
    font-size: clamp(1.75rem, 3.3vw, 3.3rem);
    font-weight: 400;
    line-height: 1.075;
    margin: 0 0 1.5rem;
}
h3 {
    font-size: clamp(1.65rem, 2.75vw, 2.75rem);
    font-weight: 400;
    line-height: 1.075;
    margin: 0 0 1.5rem;
}
h4 {
    font-size: clamp(1.25rem, 2.75vw, 1.5rem);
    font-weight: 400;
    margin: 0 0 1.5rem;
}