* {
    scroll-behavior: smooth;
}

/** -------------------------------- Video backgorund ------------------------------------------------ */

#background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

/** -------------------------------- Header ------------------------------------------------ */

#header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: #0E8CCC;
    padding: 1rem;
    z-index: 100;
    padding-right: 2rem;
}

header .ifg-logo {
    width: 6rem;
    filter: brightness(50);
}

header nav {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

header nav a {
    text-decoration: none;
    color: white;
    transition: 0.4s;
}

header nav a:hover {
    opacity: 0.7;
}

header nav .background-btn {
    background-color: white;
    color: #0E8CCC;
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.menu-btn {
    display: none;
}

@media (max-width: 760px) {

    .menu-btn {
        border: 2px solid white;
        width: 48px;
        height: 48px;
        border-radius: 200px;
        color: white;
        font-size: 1.0em;
        position: fixed;
        top: 1rem;
        right: 2rem;
        z-index: 999999999999999999999999;
        background-color: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 0;
        overflow: hidden;
        z-index: 999;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #0E8CCC;
        transition: 0.4s;
    }

    header .show-nav {
        height: 100vh;
    }
}

/** -------------------------------- Welcome ------------------------------------------------ */

.welcome-container {
    height: 100vh;
    background: linear-gradient(#0E8CCC94, #0e8dcc94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30vh;
    gap: 1rem;
}

.welcome-container h1 {
    color: #F9A826;
    text-shadow: 1px 0.5px 10px #353535;
    font-size: 3.0em;
    font-weight: bold;
    text-align: center;
}

.welcome-container h2 {
    font-weight: 500;
    color: white;
    text-align: center;
}

.welcome-container .button-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
}

.welcome-container .button-container .outline-btn {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: 0.4s;
    text-align: center;
    min-width: 20rem;
    max-width: 100%;
}

.welcome-container .button-container .outline-btn:hover {
    background-color: white;
    color: #0E8CCC;
}

/** -------------------------------- Main Body ------------------------------------------------ */

.main-body {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.main-body .main-body-container {
    width: 1280px;
    max-width: 100vw;
    padding: 4rem;
    bottom: 6rem;
    background: white;
}

p {
    line-height: 1.8em;
    text-align: justify;
    color: #444444;
}

.about-container {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.about-container p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    text-align: start;
    font-weight: bold;
    color: #0E8CCC;
    margin-bottom: 2rem;
}

.about-text {
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    width: 30rem;
    margin-bottom: 8rem;
}

.about-text h2 {
    color: #0E8CCC;
    text-transform: uppercase;
    border-bottom: 4px solid #0E8CCC;
}

.about-text .button {
    background-color: #F9A826;
    font-weight: bold;
    transition: 0.4s;
}

.button:hover {
    opacity: 0.7;
}

.img-container2 {
    min-width: 20rem;
    width: 20rem;
    height: 20rem;
    border-radius: 20rem;
    border-bottom: 4px solid #0E8CCC;
    border-right: 16px solid #0E8CCC;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-container3 {
    min-width: 16rem;
    width: 16rem;
    height: 16rem;
    border-radius: 20rem;
    border-bottom: 4px solid #F9A826;
    border-left: 16px solid #F9A826;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 0.5px 10px #00000025;
    position: relative;
    bottom: 8rem;
    right: 4rem;
}

.img-container3 img {
    width: 30rem;
}

h1 {
    font-size: 16px;
    color: #0E8CCC;
    font-weight: normal;
    font-size: 1.6em;
    margin-bottom: 1.5rem;
    line-height: 2.0em;
    text-align: center;
    font-weight: bold;
}

h1 strong {
    color: #F9A826;
}

.profils {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.profils .profil-center {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    width: 63rem;
    max-width: 100%;
}

.profils .profil-center .profil {
    width: 20rem;
    max-width: 90vw;
    padding: 1rem;
    box-shadow: 1px 2px 20px #cccccc9c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.profils .profil-center .profil img {
    width: 10rem;
}

.profils .profil-center .profil h2 {
    text-align: center;
    color: #0E8CCC;
    font-weight: normal;
    padding: 1rem;
    font-size: 1.2em;
}

.profils .profil-center .profil p {
    text-align: center;
    font-size: 14px;
}

.center-text {
    text-align: center;
}

.center-container {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

/** -------------------------------- Location & Contacts ------------------------------------------------ */

.divider-start {
    margin-top: 4rem;
    padding: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.divider-start img {
    width: 20rem;
}

.event-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 6rem;
    margin-bottom: 10rem;
}

.event-container .mapouter {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.event-container .mapouter .gmap_canvas {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.event-container h3 {
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2rem;
    padding: 0rem 4rem;
}

.contact-container {
    padding: 1rem;
    box-shadow: 1px 2.5px 20px #cccccc9c;
}


/** -------------------------------- Etape ------------------------------------------------ */

.etapes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 8rem;
}

.etape {
    width: 20rem;
    max-width: 100%;
    padding: 2rem;
    background-color: #efefef;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.etape h2 {
    text-transform: uppercase;
    color: #0E8CCC;
}

.etape h3 {
    font-weight: 500;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.etape p {
    color: #777;
    text-align: start;
}

/** -------------------------------- Ameliorer IFG ------------------------------------------------ */

.img-container img {
    width: 30rem;
    max-width: 100%;
}

.departements {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1rem;
}

.idea-container form {
    width: 40rem;
    max-width: 100%;
}

.idea-container {
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}


/** -------------------------------- Responsive Web Design ------------------------------------------------ */

@media (max-width: 760px) {
    .welcome-container {
        padding: 2rem;
        padding-top: 2rem;
        gap: 0rem;
    }

    .welcome-container h1 {
        color: white;
        font-size: 1.2em;
        padding: 1rem;
        margin-top: 4rem;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .welcome-container h2 {
        font-size: 1.0em;
        margin-top: 1rem;
    }

    .welcome-container .button-container {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .welcome-container .button-container .outline-btn {
        color: white;
        text-decoration: none;
        border: 2px solid white;
        padding: 0.5rem;
        flex: 1;
    }

    .main-body .main-body-container {
        padding: 2rem;
    }

    .about-container .about-text p {
        font-size: 16px;
    }
}