*,
*::after,
*::before {
    box-sizing: border-box;
}

:root {
    --purple: #B162CB;
    --light-purple: #A44DBF;
    --orange: #FDB975;
    --light-orange: #FEDFC0;
    --dark-blue: #00608F;
    --blue: #01B0DC;
    --light-blue: #A7E2F4;
    --fond: #14003F;
}
body{
    z-index: 0;
    width: 100vw;
    overflow-x: hidden;
    background-color: var(--fond);
    margin: 0;
}

.barlow {
    font-family: 'Barlow', sans-serif;
}

.jost {
    font-family: 'Jost', sans-serif;
}


/* General style */


a{
    text-decoration: none;
    color: black;
}

p{
    font-family: "Barlow", sans-serif;
    font-size: 1rem;
    margin: 0;
}

.fil-ariane{
    color: white;
    font-family: "Barlow", sans-serif;
    font-size: 1rem;
    margin: 20px 40px;
}

.lien-fil-ariane{
    color: white;
    font-family: "Barlow", sans-serif;
    font-size: 1rem;
    margin: 7px;
}

.lien-fil-ariane:hover{
    text-decoration: underline;
}

.fin-fil-ariane{
    margin: 7px;
    color: var(--light-orange);
}

h1{
    color: white;
    text-align: center;
    font-size: 3rem;
    font-family: 'Jost', sans-serif;
}

.h1-section-margin{
    width: 70%;
}

.container-section-margin{
    width: 70vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.container-section-fullpage{
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex:content;
    gap: 20px;
    margin-top: 20px;
}

.section-box{
    height: 25dvh;
    width: 250px;
    min-width: 250px;
    background-color: white;
    color: black;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    border-radius: 15px;
    font-family: "Barlow", sans-serif;
    transition: all 0.3s ease;
}

.section-box:hover{
    background-color: var(--light-orange);
    color: black;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.6);
}


.button{
    cursor: pointer;
    border-style: none;
    background-color: var(--blue);
    color: black;
    padding: 10px;
    border-radius: 20px;
    font-family: "Barlow", sans-serif;
    width: fit-content;
    height: 40px;
    text-align: center;
    text-decoration: none;
    outline: solid 1px white;
    outline-offset: 2px;
    transition: all 0.3s ease;
}

.button:hover{
    outline-offset: 4px;
    box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.3);

}

.flex-vertical{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.flex-horizontal{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}


aside{
    z-index: 1;
    position: absolute;
    top: 10vh;
    right: 0;
    width: 30vw;
    height: 120dvh;
    background-color: var(--dark-blue);
}

aside.closed{
    width: 70px;
    height: 10dvh;
    top: 15vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 15px 0 0 15px;
    background-color: var(--blue);
    cursor: pointer;
}

.content-open{
    display: block;
}

.content-close{
    display: none;
}

.close{
    width: 50px;
    margin: 20px;
    cursor: pointer;
}

aside a{
    text-decoration: none;
}

aside h2{
    text-align: center;
    color: white;
    font-family: "Jost", sans-serif;
    font-size: 2rem;
    margin: 30px;
}



/* Navbar */

.navbar {
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    height: 12vh;
    background-color: var(--fond);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo:hover{
    text-decoration: none;
}

.text-logo {
    color: white;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}


.logo img {
    width: 40px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    font-family: "jost", sans-serif;
    margin-left: 20px;
}

.nav-links a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    text-decoration: underline 1px solid white;
}

.burger {
    display: none;
}

.nav-active {
    display: none;
}

/* Footer */


footer{
    z-index: 3;
    color: white;
    width: 100%;
    position: absolute;
}

.fond-footer{
    z-index: -99;
    background-image: url('img/footer.png');
    background-size: cover;
    height: 100vh;
    width: 130vw;
    position: absolute;
    left: 0;
    top: 0vh;
}

.footer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    color: white;
    padding: 20px 0;
    position: relative;
    bottom:-400px;
}

.footer-left {
    display: flex;
    gap: 40px;
}

.flex-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-left a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-family: "Barlow", sans-serif;
    text-align: left;
}

.footer-left a:hover {
    text-decoration: underline;
}

.footer-left .contacts{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-right {
    text-align: right;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.text-logo {
    line-height: 1.4;
}

.text-logo .barlow {
    font-size: 14px;
    font-weight: bold;
}

.text-logo .jost {
    font-size: 14px;
}

.footer-right p {
    font-size: 12px;
    margin-top: 10px;
}

.footer-right a {
    color: white;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}


@media screen and (max-width: 1200px) {

    .nav-links a:not(.profile-link) {
        display: none;
    }

    .logo {
        margin-left: 20px;
    }

    .burger {
        align-self: center;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 35px;
        cursor: pointer;
    }

    .burger div {
        height: 5px;
        background-color: white;
        margin: 3px;
        transition: all 0.3s ease;
    }

    .nav-active {
        z-index: 9999;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: -100%;
        background-color: var(--fond);
        width: 50%;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .show {
        right: 0;
    }


    .nav-active li {
        margin-left: 0;
        text-align: center;
        list-style: none;
    }

    .nav-active a {
        color: white;
        font-family: "jost", sans-serif;
        text-decoration: none;
        display: block;
        padding: 10px;
        transition: all 0.3s ease;
    }

    .nav-active a:hover {
        background-color: var(--light-blue);
        color: black;
        border-radius: 5px;
        text-decoration: underline 1px solid black;
    }

    .nav-active .profile {
        display: block;
        margin-left: 0;
        margin-top: 20px;
    }

}

@media screen and (max-width: 600px) {
    .nav-active a {
        font-size: 0.8rem;
    }

    .logo img {
        width: 30px;
        height: auto;
    }

    .text-logo {
        color: white;
        font-size: 0.7rem;
    }

    .fond-footer{
        height: 90vh;
    }

    .footer-container {
        gap: 50px;
    }
}

@media screen and (max-width: 400px) {
    .nav-active a {
        font-size: 0.7rem;
    }

    .logo img {
        width: 25px;
        height: auto;
    }

    .text-logo {
        display: none;
    }
}