.speakers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    margin: 50px 0;
}

.speakers .speakers_title {
    color: --var(--font-color);
    font-family: GothamBlack;
    position: relative;
    margin-bottom: 30px;
    font-size: 48px;
}

.speakers .speakers_title::before {
    content: "";
    position: absolute;
    top: 50%;
    height: 50%;
    width: 100%;
    background-color: #33cc99;
    position: absolute;
    z-index: -1;
}

.slider {
    width: 85vw;
    /* delete */
    /* height: fit-content;
    min-height: 410px; */
    /* add */
    height : 500px;

    box-sizing: content-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* sliders start with the first slide */
    justify-content: center;
}

.slides {
    width: 600%;
    
    /* delete */
    /* height: fit-content; */
    /* add */
    height: 60%;
    display: flex;
    align-items: center;
    margin-top: 5% !important;
}

.slide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* justify-content: flex-end; */
    box-sizing: content-box;
    width: 100vw;
    /* delete */
    /* max-height: 100%; */
    /* add */
    height: 350px;
    /* height: 300px; */
    margin: 0px 2vw;
    /* margin: 0px 12px; */
    background-color: var(--font-color);
    border-radius: 20px;
    color: var(--background-color);
    transition: 0.6s ease;
    position: relative;
    /* top: -10%; */
    /* top: 40px; */
}

.circle {
    /* width: 130px;
    height: 130px; */
    /* delete */
    /* width: 35vw;
    height: 35vw; */
    /* add */
    width: 30vw;
    height: 30vw;
    border: 6px solid #33cc99;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: var(--background-color);
    position: relative;
    top: -15%;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    position: relative;
    font-size: 26px;
    font-family: "GothamBlack", sans-serif;
    top: -15%;
    font-size: 20px;
}

.description {
    position: relative;
    width: 85%;
    font-family: GothamBook;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    
    position: relative;
    top: -15%;
    opacity: 1;
    font-size: 15px;
    /* font-size: small; */
    line-height: normal;
}

@media (max-width:360px){
    .description {
        position: relative;
        width: 85%;
        font-family: GothamBook;
        margin-top: 8px;
        text-align: center;
        justify-content: center;
        position: relative;
        top: -15%;
        opacity: 1;
        font-size: 13px;
    }  
}

.radio-buttons {
    display: none;
}

.navigation {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.navigation_btn {
    padding: 8px;
    background-color: var(--font-color);
    border-radius: 50%;
    margin: 5px 2px 0px 2px;
}

@media (min-width: 812px) {
    .speakers{
        margin: 50px 0 50px 0;
    }
    .slider {
        width: 85vw;
        height: fit-content;
        min-height: 590px;
        max-width: 1100px;
        box-sizing: content-box;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* sliders start with the first slide */
        justify-content: center;
    }

    .slides {
        width: 500%;
        height: fit-content;
        display: flex;
        align-items: center;
    }

    .slide-item {
        margin: 0px 1.5vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 25vw;
        max-width: 310px;
        height: 100%;
        min-height: 350px;
        background-color: var(--font-color);
        border-radius: 20px;
        color: var(--background-color);
        transition: 2s ease;
        position: relative;
    }

    .circle {
        width: 12vw;
        max-width: 150px;
        max-height: 150px;
        height: 12vw;
        border: 6px solid #33cc99;
        box-sizing: border-box;
        border-radius: 50vh;
        background-color: var(--background-color);
        z-index: 99;
        position: relative;
        top: 0px;
        transition: 1s ease;
    }

    .active > .circle,
    .active > .name {
        top: -80px;
    }

    .active > .description {
        top: -80px;
        opacity: 1;
    }

    .name {
        font-size: 20px;
        font-family: "GothamBlack", sans-serif;
        margin-top: 18px;
        position: relative;
        top: 0px;
        transition: all 1s ease;
    }

    .description {
        width: 90%;
        font-family: GothamBook;
        margin: 0;
        text-align: center;
        justify-content: center;
        font-size: small;
        line-height: normal;
        opacity: 0;
        transition: all 1s ease;
        position: relative;
        top: 0px;
    }

    .navigation {
        margin-top: 40px;
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .navigation_btn {
        padding: 8px;
        background-color: var(--font-color);
        border-radius: 50%;
        margin: 5px 2px 0px 2px;
    }
}
