main {
    padding-block: 16px;
}

main .sports {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    padding: 16px;
}

main .sports::-webkit-scrollbar {
    display: none;
}

main .sports .sport {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9CA0AB;
    cursor: pointer;
}

main .sports .sport:hover {
    opacity: .5;
}

main .sports .sport.active {
    color: #E41827;
    font-weight: bold;
}

main .sports .sport span {
    white-space: nowrap;
}

main .matches {
    display: flex;
    flex-direction: column;
}

main .matches .tabbars {
    display: flex;
    gap: 16px;
    background: #353A45;
    padding: 8px 16px;
    color: #9CA0AB;
}

main .matches .tabbars .tabbar {
    cursor: pointer;
}

main .matches .tabbars .tabbar:hover {
    opacity: .5;
}

main .matches .tabbars .tabbar.active {
    color: white;
    opacity: 1;
}

main .matches .matches-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

main .matches .matches-list .match {
    background: #1B1E25;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    display: block;
    color: #9CA0AB;
    text-decoration: none;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

main .matches .matches-list .match .m-header {
    display: flex;
    gap: 16px;
}

main .matches .matches-list .match .m-header .time {
    color: #32CE62;
}

main .matches .matches-list .match .m-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

main .matches .matches-list .match .m-teams .left,
main .matches .matches-list .match .m-teams .right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 35%;
}

main .matches .matches-list .match .m-teams .left img,
main .matches .matches-list .match .m-teams .right img {
    width: 50px;
    height: 50px;
}

main .matches .matches-list .match .m-teams .center {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

main .matches .matches-list .match .m-teams .center p {
    color: #32CE62;
}

main .matches .matches-list .match .m-teams .center h3 {
    font-size: 16px;
}

main .matches .matches-list .match .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #353A45;
    padding-top: 16px;
}

.loading {
    text-align: center;
    padding-block: 32px;
    color: #9CA0AB;
}

@media(min-width: 768px) {
    main {
        padding-top: 80px;
        display: flex;
        flex-direction: row;
        gap: 16px;
        align-items: start;
        padding-inline: 48px;
    }

    main .sports {
        width: 200px;
        flex-direction: column;
        background: #1B1E25;
    }

    main .sports .sport {
        padding-block: 4px;
    }

    main .matches {
        width: 100%;
        background: #24272E;
    }
}

@media(min-width: 930px) {
    body {
        background-image: url(../images/hero.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    main {
        padding-top: 132px;
        padding-inline: 20%;
    }
}