.speaker-grid {
    margin-top: 10em;
    display: grid;
    border-top: 1px solid #ffed00;
    border-bottom: 1px solid #ffed00;
    grid-template-columns: repeat(6,1fr);
    grid-template-rows: repeat(3,18.75em);
}
.the-speakers {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
}

.grid-column-span-3 {
    grid-column: span 3;
}
.grid-column-span-2 {
    grid-column: span 2;
}
.speaker-img img {
    width: 100%;
    object-fit: cover;
    min-height: 18.75em;
    max-height: 18.75em;
}

.speaker-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    padding: 1em;
    text-align: center;
}

.background-yellow {
    background-color: #ffed00;
    color: black;
}
.background-black  {
    background-color: black;
    color: #ffed00;
}
.twitter-img {
    display: flex;
    min-width: 3.5em;
    min-height: 3.5em;
    justify-content: center;
    background-color: #ffed00;
    border-radius: 50%;
}

.speaker-name {
    font-size: 32px;
}

.speaker-description-text {
    max-width: 20em;
}

@media screen and (max-width: 1260px) {
    .speaker-grid {
        grid-template-columns: repeat(4,1fr);
        grid-template-rows: repeat(3,220px);
    }
    .grid-column-span-3 {
        grid-column: span 2;
    }
    .grid-column-span-2 {
        grid-column: span 1;
    }
    .speaker-img img {
        width: 100%;
        object-fit: cover;
        min-height: 220px;
        max-height: 220px;
    }
    .speaker-description {
        font-size: 16px;
    }

    .twitter-img img{
        display: flex;
        max-width: 50px;
        max-height: 50px;
        justify-content: center;
    }
    .background-black .twitter-img {
        min-width: none;
        min-height: none;
        max-width: 50px;
        max-height: 50px;
        align-items: center;
    }
    .twitter-img img {
        width: 100%;
    }
}