/*
body {
    background-image: url('../images/grid.png');
    background-repeat: repeat-y;
    background-position: center;
}
*/

html {
    overflow-x: hidden;
}

#wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100vw;
}

#footer {
    max-width: 100vw;
    overflow: hidden;
}

#header {
    max-width: 100vw;
    overflow: visible;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    z-index: 100;

    transition: all 300ms ease-in-out;
}

#header-logo {
    display: block;
    width: 108px;
    height: 108px;
    position: relative;
    transition: all 300ms ease-in-out;
    margin-top: 15px;

    z-index: 10;
}

body.no-touch #header-logo:hover {
    transform: scale(1.1);
}

#header-logo img {
    width: 100%;
    height: 100%;
}

#header .cols,
#header .col {
    display: flex;
    align-items: center;
}
#header .col:last-of-type {
    justify-content: flex-end;
}

body.scrolled #header {
    background-color: var(--white-color);
    box-shadow: 0 2px 40px 0 rgba(0,0,0,0.1);
    height: 80px;
}

body.scrolled #header-logo {
    width: 54px;
    height: 54px;
    margin: 0;
}

#body {
    flex-grow: 1;
    background:
        linear-gradient(180deg, rgba(129,204,168,0) 0.04%, rgba(129,204,168,0.5) 100%) no-repeat bottom,
        url('../images/swirls_flipped.svg') no-repeat 0 300px,
        url('../images/swirls_flipped.svg') no-repeat calc(100% + 520px) -30px
    ;
    background-size:
        100% 100%,
        calc(100% + 10px) 1032px,
        950px 560px
    ;
    padding-bottom: 135px;
    padding-top: 210px;
}

#header .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

#header .menu li {
    position: relative;
}

#header .menu li a {
    display: block;
    padding: 10px;
    margin: 20px;
    font-weight: 500;
    letter-spacing: 0.09px;
}

#header .menu li:last-of-type a {
    margin-right: -10px;
}

#header .menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: var(--white-color);
    box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.1);
    z-index: 110;
}

#header .menu li:hover > .sub-menu,
#header .menu li:focus-within > .sub-menu {
    display: block;
}

#header .menu .sub-menu li a {
    margin: 0;
    padding: 10px 20px;
    white-space: nowrap;
}

a {
    text-decoration: none;
    color: inherit;
    background: linear-gradient(144.74deg, currentColor 0%, currentColor 50%, #81CCA8 100%);
    background-size: 200% 100%;
    background-position: 0% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 700ms ease-in-out;
    color: #043E68;
}
#cookie_footer a {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.current-menu-item > a,
body.no-touch a:hover {
    background-size: 400% 100%;
    background-position: 100% 100%;
    transition-duration: 250ms;
}

.buttons {
    display: flex;
    justify-content: center;
}

.button {
    display: inline-flex;
    border: 2px solid var(--text-color);
    padding: 13px 25px;
    margin: 3px 0;
    line-height: 20px;
    font-size: 16px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: color 800ms ease-in-out, all 800ms ease-in-out;
    background: linear-gradient(144.74deg, #043E68 0%, #043E68 20%, #81CCA8 40%, transparent 60%, transparent 100%);
    background-size: 300% 100%;
    background-position: 100% 0%;
    cursor: pointer;
    white-space: nowrap;

    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

body.no-touch .button:hover {
    color: var(--white-color);
    background-position: 0% 0%;
    background-size: 600% 100%;
    transition: color 150ms ease-in-out, all 300ms ease-in-out;
}

.button span + i {
    margin-left: 15px;
    margin-right: -2px;
}

.button.white {
    border-color: var(--white-color);
    background-color: var(--white-color);
    color: var(--text-color);
}
body.no-touch .button.white:hover {
    background-color: var(--text-color);
    color: var(--white-color);
}

#footer {
    font-weight: 400;
    /*
    background: url('../images/swirls.svg') no-repeat top right;
    */
    background-size: 50% 150%;
}

#footer-top {
    margin-bottom: 40px;
    padding-top: 100px;
    font-size: 20px;
    line-height: 25px;
}

.footer-title {
    background-color: var(--text-color);
    color: var(--white-color);
    display: inline-block;
    font-size: 10px;
    letter-spacing: 1.25px;
    line-height: 13px;
    padding: 10px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-content {
    display: flex;
    margin-bottom: 50px;
}

.footer-content a {
    display: block;
}
.footer-content a:not(:last-of-type){
    margin-right: 30px;
}
body.no-touch .footer-content a:hover{
    text-decoration: none;
}
body.no-touch .footer-content a:hover span {
    text-decoration: underline;
}
.footer-content a span {
    margin-left: 15px;
}

#footer-bottom {
    padding: 30px 0;
}

#footer-bottom-left ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

#footer-bottom-left ul li:not(:last-of-type) {
    margin-right: 60px;
}

#footer-bottom-right {
    text-align: right;
    font-weight: 300;
}

#footer-bottom-right a {
    white-space: nowrap;
}
