@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans", sans-serif;
}

p{
    margin: 0;
}

.speakerscards::-webkit-scrollbar{
    display: none;
}

.speakermainsection{
    background: #FFFFFFE5;
    padding: 36px 40px 42px 40px;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 36px;
    box-shadow: 0px 4px 6px 0px #0000001A;
    position: relative;

}

.speakersectitletext{
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    color: #121212;
}

.speakerscardsec{
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.speakerscards{
    display: flex;
    gap: 10px;
}

.speakercardindv{
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    max-width: 161px;
    min-width: 132px;
    text-align: center;
}

.speakerimg{
    height: 64px;
    width: 64px;
    object-fit: cover;
    border-radius: 50%;
}

.speakernametext{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #121212;
}

.speakerdesctext{
    color: #6B7280;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    font-family: Roboto;
}

.speakerscredit{
    color: #6B7280;
    font-family: Roboto;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    text-align: end;
}


.scrollbarthumb{
    width: 160px;
    height: 2px;
    background-color: #B32B26;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(0);
    display: none;
}

@media (max-width: 1200px){
    .speakerscards{
        overflow-x: scroll;
        scroll-behavior: smooth;
    }

    .scrollbarthumb{
        display: flex;
    }
}



@media (max-width: 500px){
    .speakermainsection{
        padding: 32px 16px ;
        gap: 16px ;
        max-height: 274px;
    }

    .speakersectitletext{
        font-size: 20px ;
        font-weight: 400 ;
    }

    .speakerdesctext{
        font-size: 10px ;
        line-height: 12px ;
    }
    
    .speakerscredit{
        font-size: 8px;
        margin-top: -12px;
    }

    .speakerscards{
        overflow-x: scroll;
        scroll-behavior: smooth;
    }

    .scrollbarthumb{
        display: flex;
    }
}