/* GENERAL STUFF */

:root {
    --bg: #F8F8F8;
    --primary: #3B65B7;
    --primary_light: #D7EDF5;
    --accent: #F8BAB1;
    --accent_light: #FCE3E0;
    --black: #13283F;
    --black20: #D9DDE0;
    --black40: #A1A9B2;
}

*,
::after,
::before {
    box-sizing: border-box;
}

::selection {
    background-color: var(--accent);
    color: var(--black);
}

body {
    margin: 0;
    padding: 0;
    font-family: "Nunito", sans-serif;
    background-color: var(--bg);
    color: var(--black);
}

section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

h1,
h2,
h3,
h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.17rem;
}

h3 {
    font-size: 1rem;
}

h4 {
    font-size: 0.875rem;
}

img {
    width: 100%;
}

video {
    width: 100%;
}

a {
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
}

#site_wrapper {
    width: 100%;
    padding-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    scroll-behavior: smooth;
}


.body_med {
    font-size: 0.875rem !important;
}

.body_small {
    font-size: 0.75rem !important;
}

.hide_overflow {
    overflow: hidden;
}

/* NAV */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#logo {
    fill: var(--primary);
    width: 50px;
    z-index: 10;
}

.nav_bttn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 0.5rem;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 2000;
}

.nav_bttn_fix {
    margin-bottom: 0.5rem;
}

.line1,
.line2 {
    display: block;
    height: 3px;
    background-color: var(--black);
    transition: 0.5s;
    border-radius: 24px;
}

.line1 {
    width: 30px;
}

.line2 {
    width: 20px;
}

.line1_x {
    transform: rotate(45deg) translate(7.5px, 8px);
}

.line2_x {
    width: 30px;
    transform: rotate(-45deg);
}

.nav_container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 2000;
    transition: 0.5s;
}

.nav_open {
    opacity: 1;
}

.nav_bg {
    display: none;
    background-color: transparent;
    width: 100vw;
    height: 100vh;
    position: unset;
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s;
}

.nav_bg_open {
    display: block;
    position: absolute;
    background-color: var(--bg);
    opacity: 1;
}

.links {
    display: none;
    flex-direction: column;
    position: relative;
    font-size: 1.5rem;
}

.links_active {
    display: flex;
    gap: 1.5rem;
}

.links a {
    text-decoration: none;
    font-size: 2rem;
}

.lang {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: center;
}

.lang_en,
.lang_fr {
    font-size: 1.5rem !important;
}

.lang_en {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
    margin: 0.5rem 0;
    transition: all 0.5s;
}

.lang_en p {
    margin: 0;
}

.arrow_container {
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.arrow_down {
    transition: all 0.5s;
    transform-origin: center center;
}

.arrow_down_rotate {
    transform: rotate(180deg);
}

.lang_fr {
    display: none;
    font-weight: 400;
    position: absolute;
    margin-top: 3.5rem !important;
    transition: all 0.5s;
}

.lang_fr_appear {
    display: block;
}

/* FOOTER */

footer {
    margin-top: 4rem;
}

footer img {
    width: 200px;
    display: block;
    margin: auto;
}

.footer_container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 2rem 1rem 2rem 1rem;
    border-radius: 16px 16px 0 0;
}

.contact_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.contact_info h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.contact_info a,
.footer_links a {
    color: white;
    font-weight: 400;
}

#linkedin {
    align-self: flex-end;
}

#linkedin svg {
    display: block;
    height: auto;
    fill: white;
    width: 32px;
}

.line_separator3 {
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 50%);
    border-radius: 24px;
}

.footer_text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer_links {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}

.footer_links p {
    margin: 0;
}

.copyrights {
    font-size: 0.875rem;
    margin: 0;
}

/* MODAL */

.zoomable {
    cursor: zoom-in;
}

#modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 80%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}


#modal svg {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 2rem;
    right: 1rem;
    cursor: pointer;
}

#modal svg path {
    stroke: var(--black);
}

#modal_img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}


/* MEDIA QUERIES */

@media (min-width: 992px) {

    /* GENERAL STUFF */
    section {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.17rem;
    }

    h4 {
        font-size: 1rem;
    }

    #site_wrapper {
        padding-left: 6rem;
        padding-right: 6rem;
    }

    /* NAV */
    #logo {
        width: 80px;
    }

    .nav_bttn {
        display: none;
    }

    .nav_container {
        height: unset;
        opacity: 1;
        position: unset;
        transform: translate(0%, 0%);
    }

    .links {
        display: flex;
        flex-direction: row;
        gap: 3rem;
        justify-content: flex-end;
        align-items: center;
        position: unset;
        transform: unset;
        text-align: unset;
    }

    .links a {
        font-size: 1.2rem;
        transition: all 0.5s;
    }

    .links a:hover {
        box-shadow: inset 0 -8px 0 0 var(--accent);
    }

    .lang_en,
    .lang_fr {
        font-size: 1.125rem !important;
    }


    .lang_en:hover {
        box-shadow: inset 0 -8px 0 0 var(--accent);
    }

    /* FOOTER */
    footer img {
        width: 220px;
    }

    .footer_container {
        padding: 2rem 6rem 2rem 6rem;
    }

    .contact_info {
        display: flex;
        flex-direction: row;
        gap: 3rem;
        justify-content: center;
        align-items: center;
    }

    .contact_info h2 {
        margin-bottom: 0;
    }

    .footer_text {
        flex-direction: row;
        justify-content: space-between;
    }
}


@media (min-width: 1200px) {

    /* GENERAL STUFF */
    #site_wrapper {
        padding-left: 10rem;
        padding-right: 10rem;
    }
}

@media (min-width: 1400px) {

    /* GENERAL STUFF */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.17rem;
    }

    #site_wrapper {
        padding-left: 12rem;
        padding-right: 12rem;
    }
}