.participants {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.participants-container__title {
    margin-bottom: 3rem;
    color: #2b3378;
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}

.participant {
    max-width: calc(50% - 2.5rem);
    text-align: center;
    color: #2b3377;
}

.participant__thumb {
    margin-bottom: 0.5rem;
}

.participant__img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #2b3377;
}

.participant__name {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
}

.participant__descr {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.1;
}

.participants-container,
.programme {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.programme__title {
    margin-bottom: 1.8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: white;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    background-color: #2b3377;
}

.description {
    color: white;
    background-color: #2b3377;
}
.description__header {
    background-image: url(../images/jpg/conference_banner.webp);
    background-position: center;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.description__header h1 {
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
}

.description__title {
    color: white;
    font-size: 2.8rem;
    text-align: center;
}

.description p {
    font-size: 1.2rem;
}

.schedule-event {
}

.schedule-event__time {
    color: #2b3377;
    font-size: 1.3rem;
    font-weight: 800;
}

.schedule-event__title {
    color: #2b3377;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
}

.schedule-event__title:has(+ p) {
    margin-bottom: 0.5rem;
}

.conference-modal.modal {
    background-color: rgba(3, 51, 119, 0.75);
}

.participant-modal {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.participant-modal .participant__thumb {
    padding: 10px;
}

.participant-modal .participant__name {
    color: #2b3377;
    font-size: 2rem;
    font-weight: 800;
}

.participant-modal .participant__descr {
    color: #2b3377;
    font-size: 1.3rem;
}

@media (max-width: 767.5px) {
    .conference-modal .modal-dialog {
        /* max-width: 70vw; */
    }

    .participant-modal .participant__thumb {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .participant-modal .participant__img {
        width: 50vw;
        border-width: 9px;
    }

    .participant-modal .participant__name,
    .participant-modal .participant__descr {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .participant {
        max-width: calc(33.3% - 2.5rem);
    }

    .conference-modal .modal-dialog {
        max-width: 70vw;
    }

    .conference-modal .modal-dialog {
        top: 100px;
    }
}

@media (min-width: 992px) {
    .participant {
        max-width: calc(20% - 2.5rem);
    }
    .participant-modal .participant__name {
        margin-top: 3rem;
    }
}

body:has(.modal-backdrop.show) .modal-backdrop.show {
    z-index: -1;
}
