* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-slider {
    display: flex;
    width: 500%;
    animation: slide 40s linear infinite;
}

.image-slider img {
    width: 20%;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.speaker-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
    background-size: cover;
    z-index: 5;
    min-width: 100%;
}

.speaker-card {
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url("/assets/custom/images/background-7.jpg") center center;
    background-size: cover;
    padding: 30px;
    border-radius: 10px;
    width: 50%;
    height: 90%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.speaker-card-heading {
    background-color: rgb(145, 20, 20);
    padding: 5px;
    border-radius: 5px;
}

#speakerName {
    white-space: pre-line;
}

#speakerTitle {
    white-space: pre-line;
}

.speaker-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border-color: white;
    border-style: solid;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    z-index: 200;
    align-items: center;
}

.overlay-content {
    /* background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url("/assets/custom/images/background-7.jpg") center center; */
    /* background-size: cover; */

    background: white;

    /* color: white; */
    width: 85vw;
    height: 85vh;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    overflow-y: scroll;
}


.overlay-content img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.4);
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    color: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 5;
}

.arrow:hover {
    color: rgba(0, 0, 0, 1);
    transform: translateY(-50%) scale(1.09);
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

#goToSpeakers {
    display: inline-block;
    color: white;
    background-color: black;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}

#goToSpeakers:hover {
    transform: scale(1.05);
}

#goToSpeakers:active {
    transform: scale(1.05) translateY(2px);
}

#readBioBtn {
    border: none;
    background-color: #222;
    color: white;
    font-weight: 600;
    font-size: 1.2em;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
}

#readBioBtn:hover {
    transform: scale(1.01);
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 80s slide infinite linear;
}

.logos-slide img {
    height: 350px;
    margin: 0 0px;
}

@media (max-width: 900px) {
    .logos-slide img {
        height: 350px;
        margin: 0 0px;
    }

    .speaker-card {
        width: 65%;
    }

    #speakerName {
        font-size: 1.5em;
    }

    #speakerTitle {
        word-wrap: break-word;
        font-size: 1em;
    }

    .overlay-content {
        width: 90vw;
        height: 90vh;
    }
}

@media (max-width: 500px) {
    .speaker-card {
        width: 95%;
    }

    #speakerRole {
        font-size: 1em;
    }

    #speakerName {
        font-size: 1.2em;
    }

    #speakerTitle {
        word-wrap: break-word;
        font-size: 0.8em;
    }

    #readBioBtn {
        font-size: 0.9em;
    }

    .arrow {

        font-size: 15px;

        padding: 6px 10px;
    }

    .arrow:hover {
        color: rgba(0, 0, 0, 1);
        transform: translateY(-50%) scale(1.09);
    }

    .left-arrow {
        left: 10px;
    }

    .right-arrow {
        right: 10px;
    }

    .container {
        padding-left: 0px;
        padding-right: 0px;
    }

}