body {
    background: #24315e;
    font-family: 'Open Sans', sans-serif;
    font-size: 120%;
}

#site-header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

#site-header .upper {
    background: #374785;
    width: 100%;
    height: 8vw;
    transition: height .2s ease-in-out;
}

#site-header .lower {
    background: #2b3a76;
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    position: relative;
}

#site-header .graph {
    width: 100%;
    position: absolute;
    bottom: -35px;
    z-index: 50;
}

#site-header .logo {
    width: 10vw;
    height: 10vw;
    border-radius: 100%;
    background: #f76d6d;
    display: flex;
    align-items: center;
    position: absolute;
    justify-content: center;
    bottom: -40%;
    z-index: 600;
    transition: all .2s ease-in-out;
}

#site-header .logo-shape {
    width: 70%;
}

#main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 140px 0;
}

#main-content .content-item {
    width: 65vw;
    margin-bottom: 10vh;
    display: flex;
    align-items: center;
    transition: width .2s ease-in-out;
}

#main-content .content-item.section-2 .text h2 {
    text-align: right;
}

#main-content .content-item.section-4 .text h2 {
    text-align: right;
}

#main-content .content-item > *:nth-child(even){
    margin-left: 2vw;
}

#main-content .content-item .picto {
    min-width: 8vw;
}

#main-content h2 {
    color: #f7e9a0;
    font-size: 2rem;
    text-shadow: #141f46 0 2px;
    margin-bottom: 4vh;
}

.introductions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.introductions .blocks {
    display: flex;
    justify-content: center;
    width: 100%;
}

.introductions .profile-pic {
    text-align: center;
    margin-bottom: 20px;
}


.introductions .intro {
    margin: 0 2vw;
    width: 20vw;
    box-sizing: border-box;
}

.introductions .intro h3 {
    font-size: 1.6rem;
    text-shadow: #141f46 0 2px;
    margin-bottom: 10px;
    text-align: center;
    color: #f7e9a0;
}

.introductions .intro h4 {
    color: #f76d6d;
    text-shadow: #141f46 0 2px;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
}

.introductions .intro p {
    text-shadow: #141f46 0 2px;
    font-size: 1.1rem;
}

.introductions .profile-pic img {
    border-radius: 100%;
    max-width: 16vw;
}

p {
    color: #a8d1e7;
    line-height: 2rem;
    text-shadow: #141f46 0 2px;
}

#sign-up {
    display: flex;
    flex-wrap: wrap;
}

#sign-up.sticky-positioned {
    position: sticky;
    bottom: 0;
}

#sign-up.relative-positioned {
    position: relative;
    bottom: 0;
}

#sign-up.sticky-positioned .upper .rocket {
    width: 200px;
}

#sign-up.sticky-positioned .upper {
    height: 20px;
}

#sign-up.sticky-positioned .lower {
    padding: 2vh 0;
}

#sign-up.sticky-positioned h2 {
    font-size: 1.6rem;
    margin-bottom: 2vh;
}

#sign-up .upper {
    width: 100%;
    height: 30px;
    background: #2b3a76;
    display: flex;
    justify-content: center;
    position: relative;
    transition: height .3s ease-in-out;
}

#sign-up .upper .rocket {
    position: absolute;
    width: 350px;
    bottom: -3px;
    transition: width .3s ease-in-out;
}

#sign-up .lower {
    width: 100%;
    background: #374785;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4vh 0;
    transition: all .3s ease-in-out;
}

#sign-up h2 {
    color: #a8d1e7;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: #141f46 0 2px;
    width: 100%;
    text-align: center;
    margin-bottom: 4vh;
    transition: all .3s ease-in-out;
}

#sign-up form #mc-form-inputs {
    display: flex;
    width: 100%;
    justify-content: center;
}

#sign-up.sticky-positioned input[type=email] {
    height: 45px;
}

#sign-up.sticky-positioned input[type=submit] {
    height: 45px;
}

#sign-up form input[type=email] {
    width: 320px;
    height: 55px;
    border: none;
    text-align: center;
    border-radius: 10px;
    outline: none;
    font-size: 1.6rem;
    color: #24315e;
    transition: all .2s ease-in-out;
    box-sizing: border-box;
    z-index: 20;
}

#sign-up form input[type=submit] {
    width: 170px;
    height: 55px;
    border: none;
    text-align: center;
    border-radius: 0 10px 10px 0;
    background: #f76d6d;
    color: #f7e9a0;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    position: relative;
    left: -10px;
    font-weight: 700;
    transition: all .2s ease-in-out;
    box-sizing: border-box;
}

#sign-up input[type=submit]:hover {
    left: -18px;
}

#mce-responses .response {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 2vh 0;
    color: #a8d1e7;
    font-weight: bold;
    text-shadow: #141f46 0 2px;
    transition: all .2s ease-in-out;
}

#mce-error-response {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

#mce-error-response a {
    color: #f76d6d;
    text-decoration: none;
    width: 100%;
    text-align: center;
    margin-top: 1vh;
}

#lang-selector {
    display: flex;
    position: absolute;
    right: 18px;
    top: 18px;
    align-items: center;
    color: #24315e;
    z-index: 500;
}

#lang-selector #globe {
    width: 30px;
}

#lang-selector .lang-pref {
    background: none;
    border: none;
    color: #f76d6d;
    cursor: pointer;
    font-weight: bold;
}

.eupopup-container {
    background-color: rgb(55 71 133);
    box-shadow: rgb(0 0 0) 0 -8vh 50vh;
    color: #efefef;
    padding: 5px 20px;
    font-size: 12px;
    line-height: 1.2em;
    text-align: center;
    display: none;
    z-index: 9999999;
}

.eupopup-head {
    font-size: 1.6em;
    font-weight: bold;
    padding: 12px;
    color: #f7e9a0;
}

.eupopup-body {
    color: #a8d1e7;
    font-size: 1.4em;
    padding: 15px;
}

.eupopup-buttons {
    padding: 20px;
}

.eupopup-button_1 {
    color: #ffffff;
    background: #e96d67;
    padding: 10px 40px;
    font-weight: bold;
    font-size: 1.6em;
    text-decoration: none;
    border-radius: 50px;
    border-bottom: 3px solid #88413d;
}

.eupopup-button_2 {
    color: #e96d67;
    font-size: 1.2em;
    text-decoration: none;
}

.eupopup-button_2:hover {
    text-decoration: underline;
    color: #e96d67;
}

.eupopup-closebutton {
    font-size: 22px;
    font-weight: 100;
    line-height: 1;
    filter: alpha(opacity=20);
    position: absolute;
    font-family: helvetica, arial, verdana, sans-serif;
    top: 0;
    right: 0;
    padding: 5px 10px;
    text-decoration: none;
    font-weight: bold;
    color: #24315e;
}

.eupopup-closebutton:hover, .eupopup-closebutton:active {
    color: #2b3a76;
    text-decoration: none;
}

.eupopup-button_1:hover{
    text-decoration: underline;
    position: relative;
    top: 3px;
    border-bottom: none;
    color: #ffffff;
    text-decoration: none;
}

#site-footer .socials{
    width: 100%;
    background: #2b3a76;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2vh 0;
}

#site-footer .icon {
    margin: 0 14px;
    transition: transform .2s ease-in-out;
}

#site-footer .icon:hover {
    transform: scale(1.2);
}

#site-footer .icon.facebook {
    width: 50px;
    height: 37px;
    background: url('assets/facebook-vector.svg') no-repeat;
}

#site-footer .icon.email {
    width: 50px;
    height: 37px;
    background: url('assets/email-vector.svg') no-repeat;
}

#site-footer .copyright {
    color: #374785;
    background: #2b3a76;
    display: flex;
    justify-content: center;
    padding-bottom: 1vh;
    text-shadow: 0 -1px #24315e;
    font-weight: bold;
    font-size: 1.2rem;
}

.tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60vw;
    margin-bottom: 10vh;
}

.tagline > *:nth-child(even) {
    margin-left: 2vw;
}

#main-content .tagline h2 {
    font-size: 2.2rem;
}

#main-content .tagline p {
    font-size: 1.2rem;
    line-height: 160%;
}

.tagline .illustration img{
    width: 300px;
    height: 300px;
    border-radius: 100%;
}

.fade {
    opacity: 0;
}

/*CORE VALUES SECTION*/

#core-values {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#core-values .blocks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8vh;
}

#core-values .block {
    width: 30vw;
    background: #374785;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 30px;
    margin: 2vw;
    box-shadow: rgba(20,31,70,.75) 0 40px 50px;
}

#core-values .header {
    display: flex;
    margin-bottom: 2vh;
    align-items: center;
}

#core-values .header .icon {
    width: 8%;
    min-width: 25px;
}

#core-values h3 {
    font-size: 1.6rem;
    color: #f7e9a0;
    text-shadow: #141f46 0 2px;
    margin-left: 3%;
}

#core-values p {
    font-size: 1.1rem;
}

#sign-up .gdpr-notification {
    background: #374785;
    width: 100%;
    text-align: center;
    padding-bottom: 1vh;
    font-size: .7rem;
    text-shadow: 0px 2px #24315e;
    color: #a8d1e7;
}

#sign-up.relative-positioned .gdpr-notification {
    display: block;
}

@media screen and (max-width: 992px) {

    #site-header .upper {
        height: 12vw;
    }

    #site-header .logo {
        width: 20vw;
        height: 20vw;
        bottom: -110%;
    }

    #main-content h2 {
        margin-bottom: 4vh;
        margin-top: 4vh;
        text-align: center;
        font-size: 3.6rem;
    }

    .tagline > *:nth-child(even) {
        margin-left: 0;
    }

    p {
        line-height: 160%;
        font-size: 1.6rem;
    }

    .tagline {
        flex-wrap: wrap;
        width: 80vw;
        margin-bottom: 10vw;
    }

    .tagline .content {
        order: 1;
    }

    .tagline .illustration {

        text-align: center;
        order: 2;
    }

    .tagline .illustration img {
        width: 60%;
        height: 60%;
    }

    #core-values .block {
        width: 80vw;
        margin: 4vw 0;
    }

    #core-values h3 {
        font-size: 2rem;
    }

    #core-values p {
        font-size: 1.6rem;
    }

    #main-content .tagline h2 {
        font-size: 2.6rem;
    }
    
    #main-content .tagline p {
        font-size: 1.6rem;
        line-height: 160%;
        margin-bottom: 4vh;
    }

    .introductions .profile-pic img {
        max-width: 50vw;
    }

    .introductions .blocks {
        flex-wrap: wrap;
    }

    .introductions .intro {
        margin: 0;
        width: 80vw;
        margin-bottom: 14vw;
    }

    .introductions .intro h3 {
        font-size: 2.6rem;
    }

    .introductions .intro h4 {
        font-size: 1.6rem;
    }

    .introductions .intro p {
        font-size: 1.6rem;
    }

    #sign-up h2 {
        font-size: 3.2rem;
    }

    #sign-up form input[type=email] {
        width: 60vw;
        height: 80px;
        font-size: 2.4rem;
    }

    #sign-up form input[type=submit] {
        width: 30vw;
        height: 80px;
        font-size: 2rem;
    }

    #sign-up.sticky-positioned form input[type=submit] {
      font-size: 1.6rem;
    }

    #sign-up .upper .rocket {
        width: 70vw;
    }

    .eupopup-body {
        line-height: 150%;
    }

    #lang-selector .globe {
        width: 37px;
    }

    #lang-selector .lang-pref {
        font-size: 2rem;
    }
}

