html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

.standings {
    padding-block: 40px 40px;
}

.standingsNav {
	padding-inline: 40px;
}

.standingsNav__list {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 20px 40px;
} 

.standingsNav__item a {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--colorWhite);
	transition: all 0.3s;
	line-height: 1.3;
}

@media (hover: hover) {
	.standingsNav__item a:hover {
		background: var(--colorWhite);
		color: var(--colorBlack);
	}
}

.standingsTable__list {
	margin-top: 40px;
	display: grid;
	gap: 20px;
}

.standingsTable__title {
	font-size: 36px;
}

.standingsTable__link {
	color: var(--colorGold);
	text-decoration: underline;
}

.standingsTable__wrap {
	margin-top: 20px;
}

.standingsTable {
    width: 100%;
    border-collapse: collapse;
}

.standingsTable th,
.standingsTable td {
    border: 1px solid var(--colorGray);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.8;
}

.standingsTable th {
    background: var(--colorBlack);
    color: var(--colorWhite);
    height: 54px;
		font-size: 18px;
    text-align: center;
}

.standingsTable th:nth-child(1) {
    width: 10%;
}

.standingsTable th:nth-child(2) {
		width: 60%;
}

.standingsTable th:nth-child(3) {
    width: 15%;
}

.standingsTable th:nth-child(4) {
    width: 15%;
}

.standingsTable td {
    background: var(--colorWhite);
    color: var(--colorBlack);
    height: 70px;
    text-align: center;
}

.standingsTable tbody tr:nth-child(2n) td {
    background: #efefef;
}

.standingsTable td:nth-child(2) {
    padding-inline: 20px;
    text-align: start;
    position: relative;
}

.standingsTable td:nth-child(2) img {
    width: 47px;
    height: 47px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
		html {
			scroll-padding-top: 40px;
		}

    .standings {
        padding-block: 30px 40px;
    }

		.standingsNav {
			padding: 0;
		}

		.standingsNav__list {
			grid-template-columns: 1fr 1fr;
			gap: 10px;
		}

		.standingsNav__item a {
			font-size: 11px;
			height: 52px;
		}

    .standingsTable__item {
        overflow: visible;
    }
		
    .standingsTable__wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 40px;
        width: calc(100vw - 40px);
        box-sizing: border-box;
    }

    .standingsTable__wrap::-webkit-scrollbar {
        height: 12px;
    }

    .standingsTable__wrap::-webkit-scrollbar-track {
        background: var(--colorWhite);
        border-radius: 10px;
    }

    .standingsTable__wrap::-webkit-scrollbar-thumb {
        background: var(--colorGray);
        border-radius: 10px;
    }

    .standingsTable {
        min-width: 768px;
    }

    .standingsTable th,
    .standingsTable td {
        font-size: 14px;
        height: 50px;
    }
}