body {
    background-color: #fff4e0;
    font-family: "Amaranth", sans-serif;
    color: #55361b;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.parent {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    column-gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.div1 {
    width: 100%;
}

/* --- TABLEAU --- */
.rankingTableContainer {
    background-color: #55361b;
    border-radius: 30px;
    padding: 10px;
}

.rankingTableTitle {
    color: #ffefce;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 0px;
    font-weight: normal;
}

.rankingTableContent {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #f2d49f;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #d6b67f;
}

.rankingTableContent th {
    padding: 6px;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #d6b67f;
    border-right: 2px solid #d6b67f;
}

.rankingTableContent td {
    padding: 6px;
    text-align: center;
    border-bottom: 2px solid #d6b67f;
    border-right: 2px solid #d6b67f;
}

.rankingTableContent.is-loading td {
    color: transparent;
}

.rankingTableContent.is-loading td::after {
    content: "";
    display: inline-block;
    width: 70%;
    height: 24.016px;
    box-sizing: border-box;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e8c88f 25%, #f6ddaf 50%, #e8c88f 75%);
    background-clip: content-box;
    background-size: 200% 100%;
    vertical-align: middle;
    animation: table-skeleton-shimmer 1.1s linear infinite;
}

.rankingTableContent.is-loading td.left::after,
.rankingTableContent.is-loading td.bottomLeft::after {
    width: 55%;
}

.rankingTableContent td.is-placeholder {
    color: transparent;
}

.rankingTableContent td.is-placeholder::after {
    content: "";
    display: inline-block;
    width: 70%;
    height: 24.016px;
    box-sizing: border-box;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 999px;
    background: #e8c88f;
    background-clip: content-box;
    vertical-align: middle;
}

.rankingTableContent td.left.is-placeholder::after,
.rankingTableContent td.bottomLeft.is-placeholder::after {
    width: 55%;
}

@keyframes table-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.div2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    height: 100%;
}

.cow-img {
    width: 250px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.welcome-text {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 200;
    margin-bottom: 30px;
}

.welcome-text span {
    font-weight: bold;
    font-size: 3.8rem;
}

/* --- BOUTONS --- */
.button-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    height: 55px;
}

.button-group a {
    color: var(--color-primary);
    text-decoration: none;
}

.button-group a:hover {
    text-decoration: underline;
}

/* --- FOOTER --- */
.footer-container {
    grid-column: 1 / span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    column-gap: 40px;
}

.button-group,
#github {
    margin-top: 30px;
}

.secondary-buttons {
    display: flex;
    gap: 20px;
}

.material-symbols-rounded {
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}

.material-symbols-rounded {
    padding: 0;
    margin-left: 0px;
    vertical-align: middle;
    min-width: 1px;
}

.rankingButton {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0px;
    vertical-align: middle;
    min-width: 1px;
}

.rankingButton .material-symbols-rounded {
    font-size: 18px;
    color: #55361bd8;
    font-weight: bold;
}

.rankingButton:hover .material-symbols-rounded {
    color: #55361b;
}

.rankingButton[active="true"] .material-symbols-rounded {
    color: #55361b;
}

.rankingButton[active="none"] .material-symbols-rounded {
    color: #55361b75;
}
