.teams-header {
    margin-bottom: 20px;
    text-align: center;
}

.teams-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.team-card {
    background-color: #444;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.team-card:hover {
    transform: scale(1.05);
    text-decoration: none;
}
.team-logo
{
    width: 40%;
}
.team-logo img {
    height: 64px;
    margin-right: 15px;
}

.team-info {
    flex: 1;
    color: #fff;
}

.team-name {
    font-size: 1.2em;
    margin: 0 0 10px;
    color: #f9c51c;
    font-weight: bold;
}

.team-members {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: #fff;
}

/* Адаптивність для планшетів */
@media (max-width: 1024px) {
    .teams-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
    .team-card
    {
        display: inherit;
    }
    .team-logo{
        width: inherit;
        text-align: center;
    }
    .teams-container {
        grid-template-columns: repeat(2, 1fr);
    }
}