/*
/////////////////////////////////////////////////////////////
///////////////////////    FONTS    /////////////////////////
/////////////////////////////////////////////////////////////
*/

@font-face {
    font-family: 'HKGrotesk';
    font-weight: 400;
    src: url('../fonts/HKGrotesk-Regular.woff2');
}

@font-face {
    font-family: 'HKGrotesk';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/HKGrotesk-Italic.woff2');
}

#font-face {
    font-family: 'HKGrotesk';
    font-weight: 600;
    src: url('../fonts/HKGrotesk-SemiBold.woff2');
}

@font-face {
    font-family: 'HKGrotesk';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/HKGrotesk-SemiBoldItalic.woff2');
}

@font-face {
    font-family: 'HKGrotesk';
    font-weight: bold;
    src: url('../fonts/HKGrotesk-Bold.woff2');
}

@font-face {
    font-family: 'HKGrotesk';
    font-weight: bold;
    font-style: italic;
    src: url('../fonts/HKGrotesk-BoldItalic.woff2');
}

/*
/////////////////////////////////////////////////////////////
/////////////////////    GENERAL    /////////////////////////
/////////////////////////////////////////////////////////////
*/

* {
    box-sizing: border-box;
    font-family: 'HKGrotesk', sans-serif;
}

html, body, #page-content {
    margin: 0;
    padding: 0;
    outline: none;
    overflow-x: hidden;
}

#page-content {
    min-height: calc(100vh - 100px);
}

.content-width {
    margin: auto;
    width: 1400px;
}

.content-width.larger {
    width: 2000px;
}

.content-width.smaller {
    width: 1000px;
}

.spacer {
    height: 150px;
}

/*
/////////////////////////////////////////////////////////////
//////////////////    NAVIGATION MENU    ////////////////////
/////////////////////////////////////////////////////////////
*/

#navigation-container {
    height: 130px;
    position: relative;
    z-index: 99;
}

#navigation-menu-container {
    height: inherit;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    transition: height 0.2s ease-in;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

#navigation-menu {
    display: flex;
    height: inherit;
    align-items: center;
    justify-content: space-between;
    width: 1500px;
    margin: auto;
}

#navigation-menu .nav-menu-logo {
    height: 125px;
    transition: height 0.2s ease-in;
}

#navigation-menu > .nav-menu-logo > img {
    height: 100%;
}

#navigation-menu > .nav-menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

#navigation-menu .nav-menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;

    padding: 10px;
    margin: 0 20px;
    color: black;
    text-decoration: none;
    overflow: hidden;

    transition: color 0.1s ease-out;
}

.nav-menu-item::after {
    content: '';
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: -100%;
    background: #0a4974;
    transition: left 0.1s ease-out;
}

.nav-menu-item.without-underline::after {
    content: none;
}

#navigation-menu .nav-menu-item:hover {
    color: #0a4974;
}

#navigation-menu .nav-menu-item:hover::after {
    left: 0;
}

#navigation-menu .nav-menu-item.selected,
#navigation-menu .nav-menu-dropdown-item.selected {
    font-weight: bold;
    color: #0a4974;
}

.nav-menu-dropdown {
    position: relative;
}

#navigation-menu .nav-menu-dropdown:hover .nav-menu-item {
    color: #0a4974;
}

.nav-menu-dropdown:hover .nav-menu-item::after {
    left: 0;
}

.nav-menu-dropdown-items {
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    height: 0;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0 20px;
    min-width: 150px;
}

.nav-menu-dropdown::after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 0px;
    background: url('../media/imgs/fleche_bleu.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(calc(-50% - 2px));
}

.nav-menu-dropdown:hover .nav-menu-dropdown-items {
    height: auto;
}

.nav-menu-dropdown-item {
    color: black;
    text-decoration: none;
    background: white;
    padding: 10px;
    position: relative;
    overflow-x: hidden;
}

#navigation-menu .nav-menu-dropdown-item:hover {
    color: #0a4974;
}

/*
/////////////////////////////////////////////////////////////
//////////////////////    QUOTE    //////////////////////////
/////////////////////////////////////////////////////////////
*/

#footer {
    height: 300px;
    background: #064872;
    display: flex;
    justify-content: center;
}

.footer-top-decoration {
    margin-top: auto;
    width: 100%;
    transform: translateY(5px);
}

.footer-container {
    display: grid;
    height: 200px;
    grid-template-columns: 500px repeat(2, 200px) 100px;
    grid-gap: 50px;
    justify-content: center;
    width: 1500px;
    margin: auto;
    color: white;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 400px;
    margin: auto;
}

.footer-logo > img {
    width: 100%;
}

.footer-menu {
    font-size: 20px;
}

.footer-menu > * {
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer-menu > a:hover {
    text-decoration: underline;
}

.footer-menu-item {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer-menu-subitem {
    display: block;
    color: white;
    text-decoration: none;
    padding-left: 10px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
/////////////////////////////////////////////////////////////
//////////////////////    QUOTE    //////////////////////////
/////////////////////////////////////////////////////////////
*/

.quote {
    display: inline-block;
}

.quote-sentence {
    position: relative;
}

.quote-author {
    font-size: 0.8em;
    text-align: right;
    line-height: 2em;
    font-weight: 600;
    font-style: italic;
    margin-right: 15px;
}

.quote-sentence::before {
    content: '';
    position: absolute;
    width: 1em;
    height: 1em;
    top: -0.4em;
    left: -2em;
    background: url('../media/imgs/guillemet_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.quote-sentence::after {
    content: '';
    position: absolute;
    width: 1em;
    height: 1em;
    bottom: -0.4em;
    right: -2em;
    background: url('../media/imgs/guillemet_2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.white.quote .quote-sentence::before {
    background-image: url('../media/imgs/guillemet_1_blanc.png');
}

.white.quote .quote-sentence::after {
    background-image: url('../media/imgs/guillemet_2_blanc.png');
}

/*
/////////////////////////////////////////////////////////////
//////////////////////    SECTION    ////////////////////////
/////////////////////////////////////////////////////////////
*/

.section-title {
    font-size: 50px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #0a4974;
    text-align: center;
}

.dark-section {
    width: 100%;
    color: white;
    padding: 20px 0;
    background: #0a4a74;
    text-align: center;
}

.lighten-section {
    width: 100%;
    color: white;
    padding: 20px 0;
    background: #f4934c;
    text-align: center;
}

.split-sections {
    display: flex;
    flex-wrap: nowrap;
}

.split-section {
    text-align: justify;
    color: white;
    padding: 30px;
}

.split-section:nth-child(odd) {
    background: #0a4a74;
}

.split-section:nth-child(even) {
    background: #f4934c;
}

.split-sections.reverse-colors .split-section:nth-child(even) {
    background: #0a4a74;
}

.split-sections.reverse-colors .split-section:nth-child(odd) {
    background: #f4934c;
}

.highlighted-section {
    padding: 40px 0;
    line-height: 2em;
    font-size: 1.4em;
    font-style: italic;
    font-weight: bold;
}

/*
/////////////////////////////////////////////////////////////
/////////////////////    BUTTON    //////////////////////////
/////////////////////////////////////////////////////////////
*/

.button {
    display: inline-block;
    padding: 10px 15px;
    color: white;
    background: #0a4a74;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid #0a4a74;
    cursor: pointer;
    transition: background 0.2s ease-out, color 0.2s ease-out;
}

.button:hover {
    background: transparent;
    color: #0a4a74;
}

.button.lighten {
    background: #f4934c;
    border-color: #f4934c;
}

.button.lighten:hover {
    background: transparent;
    color: #f4934c;
}

.button.light {
    background: transparent;
    color: #0a4a74;
}

.button.light:hover {
    background: #0a4974;
    color: white;
}

.button.light.lighten {
    background: transparent;
    color: #f4934c;
}

.button.light.lighten:hover {
    background: #f4934c;
    color: white;
}

.button.white {
    background: white;
    border-color: white;
    color: #0a4974;
}

.button.white:hover {
    background: transparent;
    color: white;
}

.button.white.lighten {
    color: #f4934c;
}

.button.white.light {
    background: transparent;
    color: white;
}

.button.white.light:hover {
    background: white;
    color: #0a4974;
}

.button.white.light.lighten:hover {
    color: #f4934c;
}

.button:disabled {
    background: #6d6d6d !important;
    color: white !important;
    border-color: #6d6d6d !important;
}