/* Basic styles */
gridbody {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    ooverflow-y: scroll;
    justify-content: center;
}

.speaker-grid {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 90%;
    justify-content: center;
    }

.speaker {
    width: 310px;
    background-color: #f2f3fe;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.speaker h2 {
    font-size: 1.2em;
    margin: 2px 0;
    color: black !important;
}

.speaker-img-panel {
    background-color: #222;
    display: flex;
    justify-content: center;
}

.speaker-img {
    mask-image: radial-gradient(ellipse, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

.speaker p {
    font-size: 1em;
    color: #555;
}

/* Responsive Layout */
@media (max-width: 1600px) {
    .speaker-grid {
        grid-template-columns: repeat(auto-fit, 1fr);
    }
}

@media (max-width: 1000px) {
    .speaker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .speaker-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 480px) {
    .speaker-grid {
        grid-template-columns: 1fr;
    }
}




