.head-carousel-container {
    width: 100%;
    height: 90vh;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--lx-gap);
}
.head-carousel {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden
}
.head-item {
    opacity: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: none;
    transition: opacity .5s ease-in-out;
}
.head-item.active {
    opacity: 1;
    display: block;
}
.head-item-caption {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    padding: 6rem 8rem 6rem 4rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display:flex;flex-direction:column;justify-content:end
}
.head-title {
    text-transform: uppercase;
    font-size: 48px;
}
.head-overview {
    font-size: 20px;
    display: block;
    width: 70%;
}
.head-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 10px;
    align-self: center;
}
.head-dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    background-color: #fff;
    transition: background-color 0.2s ease;
}
.head-dot.active, .head-dot:hover {
    background-color: #FEBF00;
}


.event {
    background-color: #FEBF00;
    padding: 6rem;
    text-align: center;
    box-shadow: 0px 2px 8px 0 #888888;
}
.event-title {
    text-transform: uppercase;
    font-size: 36px;
    color: #000
}
.event-overview {
    font-size: 16px;
}
.event-content{
    display: flex;
}
.event-item {
    background-color: #D9D9D9;
    border-radius: 10px;
    margin: 4rem 2rem;
    position: relative;
}
.event-date {
    background-color: #082F40;
    color: #fff;
    padding: 4px 12px;
    position: absolute;
    right: 0;
}
.event-item-content {
    padding: 1rem 1rem 2rem 1rem;
    height: 200px;
}
.event-image {
    height: 170px;
    width: 100%;
    background-color: #fff;
    object-fit: cover;
}
.event-item-title {
    font-size: 24px;
    font-weight: bold;
}

.section {
    display: flex;
    margin: 4rem 6rem;
}
.section > div > .image {
    margin: 2rem;
    height: 350px;
    width: 91%;
    background-color: #D9D9D9;
    object-fit: cover;
}
.section > .content {
    padding: 2rem;
    position: relative;
}
.section > .content > .title {
    font-size: 36px;
    font-weight: bold;
}
.section > .content > .overview {
    font-size: 20px;
}
.section > .content > .bull1 {
    position: absolute;
    background-color: #FEBF00;
    width: 250px;
    height: 250px;
    border-radius: 250px;
    top: 10px;
    right: 40px;
    z-index: -1;
}
.section > .content > .bull2 {
    position: absolute;
    background-color: #415479;
    opacity: .5;
    width: 250px;
    height: 250px;
    border-radius: 250px;
    bottom: 10px;
    left: 40px;
    z-index: -1;
}
.section2 {
    margin: 4rem 0;
}
.section2 > .content-left {
    padding: 6rem 4rem;
    background-color: #082F40;
    color: #fff;
}
.section2 > .content-right {
    padding: 6rem 4rem;
    background-color: #FEBF00;
    color: #fff;
}

/* Page Event */
.event-head {
    height: 92vh;
    display: flex;
    align-items: center;
    color: #fff;
    background-image: url("/src/view/home/image/img.jpg");
    background-color: #cccccc;
    background-position: center;
    background-size: cover;
}
.event-event {
    margin: 4rem 6rem;
}
.event-title {
    font-size: 36px;
    color: #000;
    font-weight: bold;
}
.event-container {
    display: flex;
    text-align: center;
    margin: 0 4rem;
}
.event-container > div > .item {
    position: relative;
    background-color: #F5F5F5;
    border-radius: 1rem 1rem 0 0;
    margin: 2rem;
} 
.event-container > div > .item > .date {
    position: absolute;
    background-color: #FEBF00;
    color: #000;
    padding: 4px 12px;
    right: 0;
} 
.event-container > div > .item > .content {
    padding: 1rem 1rem 2rem 1rem;
}
.event-container > div > .item > .image {
    height: 170px;
    width: 100%;
    background-color: #D9D9D9;
    border-radius: 1rem 1rem 0 0;
    object-fit: cover;
}
.event-container > div > .item > .content > .title {
    font-size: 24px;
    font-weight: bold;
}
.events-video-container {
    position: relative;
    height: 90vh;
}
.events-video {
    height: 100%;
    width: 100%;
    min-height: 40vh;
    object-fit: fill; 
    position: absolute;
}
/* Styles pour le bouton flottant */
#scrollButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FEBF00;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#scrollButton:hover {
    background-color: #082F40;
}

/* Page Live */
.live-stream-container-parent {
    padding: 0px !important;
}
.live-comment-container-parent {
    padding: 0px !important;
}
.live-stream-container {
    width: 100%;
    height: 92vh;
}
#live-stream {
    width: 100%;
    height: 100%;
}
.live-comment-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 4px;
    position: relative;
    background-color: #D9D9D9;
}
.live-comment-section {
    position: absolute;
    overflow-y: scroll;
    bottom: 0px;
    top: 0px;
    height: 78vh;
    width: 100%;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column-reverse;
}
.live-comment-item {
    display: flex;
    justify-content: flex-start;
    margin: 8px 2px;
}
.live-comment-item.me {
    flex-direction: row;
}
.live-comment-item.other {
    flex-direction: row-reverse;
}
.live-comment-text {
    background-color: #B6B6B6;
    border-radius: 4px;
    padding:  12px 22px 16px 4px;
    position: relative;
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
    min-width: 100px;
}
.live-comment-username {
    position: absolute;
    color: #068880;
    top: 2px;
    left: 4px;
    font-size: 9px;
    font-weight: bold;
}
.live-comment-time {
    position: absolute;
    color: #555555;
    bottom: 2px;
    right: 4px;
    font-size: 12px;
}
.live-message {
    margin-bottom: 10px;
}
.live-comment-media {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.live-comment-close {
    position: absolute;
    top: 4px;
    right: 15px;
    cursor: pointer;
    z-index: 1;
}
.live-comment-open {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    color: #fff;
    cursor: pointer;
    text-align: center;
    z-index: 1;
}



/* Page Verification */
.verification-image {
    height: 28rem;
    width: 100%;
    background-color: #fff;
    object-fit: fill;
}
.verification-content {
    padding: 2rem;
}

/* Page Contact */
.contact-image {
    /*background-image: url("/src/view/home/image/img.jpg");*/
    background-color: #cccccc;
    background-position: center;
    background-size: cover;
    height: 28rem;
    width: 100%;
}
.contact-content {
    padding: 2rem 4rem;
}

/* Page Contact */
.show-event-image {
    height: 32rem;
    width: 100%;
    background-color: #cccccc;
}
.show-event-item {
    margin: 2rem 2rem 4rem 2rem;
}

/* Page program */
.program-container {
    width: 100%;
    height: 90vh;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--lx-gap);
    background-repeat: no-repeat;
    background-size: cover;
}
.program-caption {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    padding: 6rem 8rem 6rem 4rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.program-title {
    text-transform: uppercase;
    font-size: 48px;
}
.program-list-container {
    margin: 4rem 6rem;
}
.program-list-item {
    margin-top: 2rem;
}
.program-list-title {
    font-size: 36px;
    color: #000;
    font-weight: bold;    
}
.program-emission-container {
    display: flex;
    text-align: center;
}
.program-emission-item {
    position: relative;
    background-color: #F5F5F5;
    border-radius: 1rem 1rem 0 0;
    margin: 2rem;
} 
.program-emission-item > .image {
    height: 170px;
    width: 100%;
    background-color: #D9D9D9;
    border-radius: 1rem 1rem 0 0;
}
.program-emission-item > .image {
    height: 170px;
    width: 100%;
    background-color: #D9D9D9;
    border-radius: 1rem 1rem 0 0;
    object-fit: cover;
}
.program-emission-item > .content {
    padding: 1rem 1rem 2rem 1rem;
}
.program-emission-item > .content > .title {
    font-size: 24px;
    font-weight: bold;
}


/* Page emission */
.emission-video-container {
    width: 100%;
    height: 80vh;
    position: relative;
}
.emission-video {
    height: 100%;
    width: 100%;
    min-height: 40vh;
    object-fit: fill; 
    position: absolute;
}
.emission-container {
    padding: 2rem 4rem;
}

/* `md` applies to small devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .head-carousel-container {
        height: 40vh;
    }
    .head-item-caption {
        padding: 4rem;
    }
    .head-title {
        font-size: 36px;
    }
    .head-overview {
        width: 90%;
    }
    .event {
        padding: 4rem 2rem;
    }
    .event > .content > div > .item {
        margin: 2rem 0rem;
    }
    .event-item-content {
        padding: .5rem .5rem 1rem .5rem;
    }
    .event-item-title {
        font-size: 22px;
    }
    .section {
        margin: 2rem;
    }
    .section > div > .image {
        margin: 1rem;
    }
    .section > .content {
        padding: 1rem;
    }
    .section > .content > .bull1 {
        width: 200px;
        height: 200px;
    }
    .section > .content > .bull2 {
        width: 200px;
        height: 200px;
    }
    .section > .content > .title {
        font-size: 32px;
    }
    .section > .content > .overview {
        font-size: 18px;
    }
    .section2 {
        margin: 2rem 0;
    }
    .section2 > .content-left {
        padding: 3rem;
    }
    .section2 > .content-right {
        padding: 3rem;
        color: #000;
    }
    
    /* Page Event */
    .events-video-container {
        height: 40vh;
    }
    .event-event {
        margin: 2rem;
    }
    .event-container {
        margin: 0 1em;
    }
    .event-container > div > .item {
        margin: 0rem;
    }

    /* Page Live */
    .live-container {
        height: 22rem;
    }
    .live-overlay {
        padding: 2rem;
    }

    /* Page programs */
    .program-container {
        height: 40vh;
    }
    .program-title {
        font-size: 36px;
    }
    .program-list-container {
        margin: 2rem;
    }
    .program-list-title {
        font-size: 32px;
    }
    .program-list-item {
        margin-top: 0;
    }
    .program-emission-item {
        margin: 1rem;
    }
    .program-emission-item > .content {
        margin: .5rem;
    }
    .program-emission-item > .content > .title {
        font-size: 20px;
    }
    
    /* Page emission */
    .emission-video-container {
        height: 40vh;
    }
    .emission-container {
        padding: 1rem;
    }
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 767.98px) {
    .head-carousel-container {
        height: 40vh;
    }
    .head-item-caption {
        padding: 4rem 1rem;
    }
    .head-title {
        font-size: 24px;
    }    
    .head-overview {
        font-size: 18px;
        width: 100%;
    }
    .event {
        padding: 1rem;
    }
    .event > .title {
        font-size: 24px;
    }
    .event > .content > div > .item {
        margin: .5rem;
    }
    .event-date {
        padding: 4px 12px;
    }
    .event-item-content {
        padding: .5rem .5rem 1rem .5rem;
    }
    .event-item-title {
        font-size: 22px;
    }
    .section {
        margin: 2rem;
    }
    .section > div > .image {
        margin: 1rem;
    }
    .section > .content {
        padding: 1rem;
    }
    .section > .content > .bull1 {
        width: 200px;
        height: 200px;
    }
    .section > .content > .bull2 {
        width: 200px;
        height: 200px;
    }
    .section > .content > .title {
        font-size: 32px;
    }
    .section > .content > .overview {
        font-size: 18px;
    }
    .section2 {
        margin: 2rem 0;
    }
    .section2 > .content-left {
        padding: 3rem;
    }
    .section2 > .content-right {
        padding: 3rem;
        color: #000;
    }

    /* Page Event */
    .event-event {
        margin: .5rem;
    }
    .event-title {
        font-size: 24px;
    }
    .event-container > div > .item > .content > .title {
        font-size: 22px;
    }
    .event-container > div > .item {
        margin: 1rem 0rem;
    }

    /* Page Contact */
    .verification-image {
        height: 22rem;
    }
    .verification-content {
        padding: 1rem;
    }

    /* Page programs */
    .program-title {
        font-size: 36px;
    }
    .program-list-container {
        margin: 1rem;
    }
    .program-list-title {
        font-size: 24px;
    }
    .program-list-item {
        margin-top: 0;
    }
    .program-emission-item {
        margin: 0;
    }
    .program-emission-item > .content {
        margin: .5rem;
    }
    .program-emission-item > .content > .title {
        font-size: 20px;
    }
}
