.image-row-wrapper {
    max-width: 1480px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
}

.image-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

#teams {
    padding: 50px 0px;
    display: flex;
    justify-content: center;
}

.image-row img {
    border-radius: 8px;
    height: auto;
    max-width: 100%;
}

.image-row img:nth-child(1),
.image-row img:nth-child(3) {
    width: 45%;
    height: auto;
}

.background-y:hover {
    transform: scale(1.1);
}

.image-row img:nth-child(2) {
    width: auto;
    height: auto;
    max-width: 20%;
    object-fit: contain;
}

@media screen and (max-width: 1650px) and (min-width:768px) {
    .image-row img:nth-child(1),
    .image-row img:nth-child(3) {
        width: 37%;
    }
}

@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
        align-items: center;
    }

    .image-row img:nth-child(2) {
        display: none;
    }

    .image-row img:nth-child(1),
    .image-row img:nth-child(3) {
        width: 90%;
    }
}