header {
    width: 100%;
    position: fixed;
    top: -148px;
    transition: all 0.3s ease-in-out;
}

#index-top-section {
    user-select: none;

    height: 100vh;
    width: 100vw;
    overflow: hidden;

    #index-top-section-background {
        position: absolute;
        top: 0;
        z-index: 1;

        height: 100%;
        width: 100%;

        .image-carousel {
            height: calc(100vh / 3);

            display: flex;
            flex-direction: row;
            overflow: hidden;

            img {
                height: 100%;
            }
        }
    }

    #index-top-section-foreground {
        position: absolute;
        top: 0;
        z-index: 10;

        height: 100%;
        width: 100%;
        padding-top: calc(1rem + 76px);
        padding-bottom: 1rem;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;

        .the-logo {
            background: var(--bs-body-bg);
            height: calc(100vh / 3);
            padding: 2rem;
            border-radius: 15rem;

            img {
                height: 100%;
            }
        }

        .scroll-down-indicator {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;

            color: white;

            animation: moveUpDown 2s ease-in-out infinite;

            p {
                margin: 0;
            }

            i.bi {
                font-size: 38pt;
            }
        }
    }
}

@keyframes moveUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* Ajustez cette valeur pour changer l'amplitude du mouvement */
  }
}

#our-mission {
    text-align: center;
    font-size: 28pt;
}

#latest-news {
    padding: 2rem;
}

#latest-news h2 {
    margin-bottom: 2rem;
}

.section-title-emphasis {
    display: inline-block;
    background-color: var(--bs-primary);
    color: white;
    padding: .5rem;
    border-radius: .5rem;
    rotate: -5deg;
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

#sucretteSection {
    background-image: url('/assets/images/exkuisite-korpse/DSC_8922-Exposure.webp');
    background-size: cover;
    background-position: center;
    padding-bottom: 20rem;
    padding-top: 5rem;

    .container {
        padding-left: 41rem;
    }
}


/* Superposer la carte et le contenu */
#want-to-join-us {
    min-height: 500px;
}

#want-to-join-us-map {
    position: absolute;
    min-height: 500px;
    width: 100%;
    z-index: 0;
}

#want-to-join-us-content {
    position: absolute;
    width: 100%;
    z-index: 1;

    padding: 1rem;
    display: flex;
    flex-direction: row;

    >div {
        flex-basis: 50%;
    }
}

@media only screen and (max-width: 1400px) {
    #sucretteSection {
        padding-bottom: 20rem;
        padding-top: 5rem;

        .container {
            padding-left: 35rem;
        }
    }
}

@media only screen and (max-width: 1200px) {
    #sucretteSection {
        padding-bottom: 21rem;
        padding-top: 4rem;

        .container {
            padding-left: 30rem;
        }
    }
}

@media only screen and (max-width: 992px) {
    #sucretteSection {
        padding-bottom: 6rem;
        padding-top: 4rem;

        .container {
            margin-right: 2rem;
            padding-left: 20rem;
        }
    }
}

@media only screen and (max-width: 768px) {
    #sucretteSection {
        padding-bottom: 40rem;
        padding-top: 1rem;

        .container {
            margin-right: auto;
            padding-left: calc(var(--bs-gutter-x) * .5);
        }
    }

    #want-to-join-us-content {
        flex-direction: column;
    }

    #want-to-join-us-map {
        display: none;
    }
}
