* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    height: auto;
    background-color: #2a3489;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .logo {
    margin: 0 20px;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

nav .logo img {
    width: 75px;
    height: auto;
}

.nav-links ul {
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    list-style-type: none;
    display: flex;
    flex-grow: 1;
}

.nav-links li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-links a {
    font-size: 23px;
    height: 100%;
    margin: 0 80px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
    padding: 10px 20px;
    border-radius: 10px;
}

.nav-links a:hover {
    color: #2a3489;
    transform: scale(1.1);
    background-color: #ffffff;
    border-radius: 50px;
}

.navbar .menu-hamburger {
    display: none;
    position: absolute;
    top: 15px;
    right: 40px;
    width: 70px;
    z-index: 1100;
    cursor: pointer;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

.chemin {
    background-color: #ffffff;
    padding: 20px 50px;
}

.chemin p {
    color: gray;
}

.chemin a {
    text-decoration: none;
    color: black;
}

.chemin a:hover {
    text-decoration: underline;
}

footer {
    position: relative;
    background-color: #2a3489;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.footer-content .logo {
    margin: auto;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.footer-content .logo img {
    width: 150px;
    height: auto;
}

.scroll-top {
    position: absolute;
    bottom: 330px;
    right: 20px;
}

.scroll-top a {
    color: #ffffff;
    font-size: 24px;
    background-color: #2a3489;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.scroll-top a:hover {
    background-color: #ffffff;
    color: #2a3489;
    transform: scale(1.1);
}

.social {
    display: flex;
    border: #ffffff solid 1px;
    border-radius: 35px;
    margin: 0 100px;
    margin-top: 5px;
    margin-bottom: 50px;
    padding: 10px 10px;
    width: 260px;
    height: auto;
}

.social .facebook-btn {
    padding: 0 5px;
    bottom: 100px;
    left: 100px;
}

.social .facebook-btn a {
    color: #ffffff;
    font-size: 24px;
    background-color: #2a3489;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social .facebook-btn a:hover {
    background-color: #ffffff;
    color: #2a3489;
    transform: scale(1.1);
}

.social .instagram-btn {
    padding: 0 5px;
    bottom: 100px;
    left: 100px;
}

.social .instagram-btn a {
    color: #ffffff;
    font-size: 24px;
    background-color: #2a3489;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social .instagram-btn a:hover {
    background-color: #ffffff;
    color: #2a3489;
    transform: scale(1.1);
}

.social .x-btn {
    padding: 0 5px;
    bottom: 100px;
    left: 100px;
}

.social .x-btn a {
    color: #ffffff;
    font-size: 24px;
    background-color: #2a3489;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social .x-btn a:hover {
    background-color: #ffffff;
    color: #2a3489;
    transform: scale(1.1);
}

.social .linkedin-btn {
    padding: 0 5px;
    bottom: 100px;
    left: 100px;
}

.social .linkedin-btn a {
    color: #ffffff;
    font-size: 24px;
    background-color: #2a3489;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social .linkedin-btn a:hover {
    background-color: #ffffff;
    color: #2a3489;
    transform: scale(1.1);
}

.important {
    text-align: center;
    padding: 10px;
    background-color: white;
}

.important a {
    text-decoration: none;
    color: #2a3489;
    margin: 0 200px;
}

.important a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1220px) {
    .navbar {
        padding: 0;
    }

    .navbar .menu-hamburger {
        display: block;
    }

    .nav-links {
        top: 0;
        left: 0;
        position: fixed;
        background-color: rgb(0, 0, 0, 0.37);
        backdrop-filter: blur(7px);
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all 0.5s ease;
        z-index: 1000;
    }

    .nav-links.mobile-menu {
        margin-left: 0;
    }

    .nav-links ul {
        position: absolute;
        flex-direction: column;
        align-items: center;
    }

    .navbar .nav-links ul li {
        margin: 25px 0;
    }

    .social {
        display: flex;
        border: #ffffff solid 1px;
        border-radius: 35px;
        margin: 0 100px;
        margin-top: 5px;
        margin-bottom: 50px;
        padding: 10px 10px;
        width: 260px;
        height: auto;
    }

    .social div {
        padding: 0 5px;
    }
}

.terms-container {
    max-width: 90%;
    margin: 50px auto;
    padding: 20px;
    background-color: rgb(211, 211, 211, 0.41);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.terms-header {
    text-align: center;
    margin-bottom: 30px;
}

.terms-header h1 {
    font-size: 36px;
    color: #2a3489;
    font-weight: bold;
    margin-bottom: 10px;
}

.terms-header p {
    font-size: 18px;
    line-height: 1.6;
}

.terms-content {
    font-size: 18px;
    line-height: 1.8;
}

.terms-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgb(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.terms-section:hover {
    transform: translateY(-5px);
    background-color: rgb(255, 255, 255, 1);
    box-shadow: 0 6px 8px rgb(0, 0, 0, 0.15);
}

.terms-section h2 {
    font-size: 24px;
    color: #2a3489;
    margin-bottom: 10px;
}

.terms-section p {
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.legal-container {
    margin: 20px auto;
    max-width: 900px;
    padding: 20px;
    background-color: rgb(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.1);
}

.legal-header h1 {
    text-align: center;
    color: #2a3489;
    font-size: 36px;
    margin-bottom: 10px;
}

.legal-header p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.section h2 {
    color: #2a3489;
    font-size: 24px;
    margin-bottom: 10px;
    border-bottom: 2px solid #2a3489;
    padding-bottom: 5px;
}

.section p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.profile-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.profile {
    text-align: center;
    flex: 1 1 calc(50% - 20px);
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.1);
}

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.2);
}

.profile h3 {
    font-size: 20px;
    color: #2a3489;
    margin-bottom: 5px;
}

.profile p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.formulaire-button {
    font-size: 23px;
    height: 100%;
    margin: 0 80px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2a3489;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
    padding: 10px 20px;
    border-radius: 10px;
}

.formulaire-button:hover {
    color: #2a3489;
    transform: scale(1.1);
    background-color: #f9f9f9;
    border-radius: 50px;
}