@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate(100%, 0, 0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate(0, 0, 0)
    }
}

/***** DOM Elements *****/

h1 {
    font-size: 5em !important;
    margin-bottom: 1em;
    font-family: "Phenomena-ExtraBold", Arial, sans-serif !important;
    ;
}

/***** Ids *****/

#first-elem-content {

    position: relative;
    overflow: hidden;

    #myVideo {
        position: absolute;
        bottom: 0;
        min-width: 100%;
        min-height: 100%;
        z-index: 1;
        top: 50%;
        transform: translate(0, -50%);
    }

    .align-middle {
        z-index: 2;
        background: #00000077;
        color: white !important;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

}

#container {
    h1 {
        text-align: center;
        font-size: 3em !important;
        margin: 0;
    }
}

#activite {}

#find_us {
    #find_us_content {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        margin: 10px;

        iframe {
            width: 100%;
            height: 400px;
        }

        div {
            display: flex;

            p {
                display: flex;
                align-items: center;
                font-size: 1.3em;
                text-align: center;

                divider {
                    display: block;
                    content: "";
                    margin-top: 10px;
                    width: 100%;
                }
            }
        }
    }
}

#contact {
    #contact_content {
        align-items: center;
        gap: 10px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
}

/***** Classes *****/
.container-fluid {
    min-height: 100vh;
}

.accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 20px;

    .accordion-header {
        .accordion-button {
            background-image: url(../img/bg-img/app/accordion-2.jpg);
            box-shadow: none !important;
            color: white !important;

            font-size: .6em;
            border-radius: 50px !important;

            transition: background 0.3s;

            &::after {
                display: none;
            }

            i {
                margin-right: .8em;
                color: #1F8D80 !important;
            }

            .accordion-icon-closed {
                display: none;
            }

            .accordion-icon-open {
                display: block;
            }
        }
    }
}

.collapsed {
    background-image: url(../img/bg-img/app/accordion-1.jpg) !important;
}

.linear {
    position: relative;

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.5;
        z-index: 0;
        transition: opacity 0.3s;
    }

    &:hover::before {
        opacity: 0.8;
    }

    h3 {
        font-family: "Academic M54", Sans-serif;
        margin-left: 10px;
        margin-bottom: 0;
    }

    a {
        position: relative;
        z-index: 1;
        color: white !important;
        text-decoration: none;
        width: 100%;
        display: block;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    .fas {
        margin-right: 15px;
    }

}

/***** Components *****/
.activity-card {
    height: 500px;
    border-radius: 24px;
    cursor: pointer;
    transform: rotate(2deg);
    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.activity-card:hover {
    transform: translateY(-10px) rotate(0deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.activity-card:hover img {
    transform: scale(1.05);
}

.activity-card .card-img-overlay {
    background:
        linear-gradient(to top,
            rgba(0, 0, 0, .85) 0%,
            rgba(0, 0, 0, .4) 40%,
            rgba(0, 0, 0, .1) 70%,
            transparent 100%);
    border: 30px white solid;
    padding: 0;
}

.card-content {
    transform: translateY(10px);
    transition: transform .4s ease;
    background-color: #FFF;
    margin: -2px;

    h3 {
        color: var(--main-color) !important;
    }
}

.activity-card:hover .card-content {
    transform: translateY(0);
}

.activity-badge {
    display: inline-block;
    padding: .4rem .8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.activity-card .card-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.activity-card .card-text {
    color: rgba(255, 255, 255, .85);
    font-size: 1rem;
    max-width: 90%;
}

.activity-card .btn {
    border-radius: 50px;
    padding-inline: 1.2rem;
    font-weight: 600;
}

.timeline {

    display: flex;

    justify-content: space-between;

    align-items: stretch;

    position: relative;

    gap: 20px;

}

.timeline::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 16px;

    height: 4px;

    background: #d9d9d9;

    z-index: 0;

}

.timeline-item {

    flex: 1;

    position: relative;

    text-align: center;
    display: flex;
    flex-direction: column;

}

.timeline-card:hover {
    transform: translateY(-10px);
}

.schedule {
    font-weight: 600;
}

.timeline-card {

    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
    margin-bottom: 40px;
    min-height: 190px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;
    height: 100%;

    .badge {
        margin-bottom: 15px;
    }

    .timeline-content {

        flex: 1;

        display: flex;
        flex-direction: column;
        justify-content: center;

        text-align: center;

    }

    h4 {

        margin-bottom: 20px;
        font-weight: 700;

        /* Empêche le titre de se déplacer */
        flex-shrink: 0;

    }
}

.timeline-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 5px solid white;
    margin: auto;
    position: relative;
    z-index: 2;
}

/***** Media querys *****/

/** Max-width **/
@media (max-width: 1399px) {}

@media (max-width: 1199px) {

    .timeline {

        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;

    }

    .timeline::before {
        display: none;
    }

    .timeline-item {

        display: flex;

    }

    .timeline-card {

        width: 100%;
        height: 100%;
        margin-bottom: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .timeline-dot {

        display: none;

    }

}

@media (max-width: 991px) {
    .timeline {

        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

    }

    .timeline::before {

        display: none;

    }

    .timeline-item {

        flex: 0 0 calc(50% - 10px);

    }

    .timeline-card {

        margin-bottom: 0;
        min-height: 200px;
        padding: 20px;

    }

    .timeline-dot {

        display: none;

    }
}

@media (max-width: 767px) {
    .activity-card {
        height: 400px !important;
    }
}

@media (max-width: 575px) {}