
:root {
    --table-border-width: 2px;
    --table-border-colour: #444444;
    --table-border-seperator-colour: #333333;
}

.regular-table,
.styled-table {
    overflow-x: auto;
}

.styled-table::-webkit-scrollbar {
    height: 8px;
}

.styled-table::-webkit-scrollbar-thumb {
    border-radius: 40px;
}

.styled-table::-webkit-scrollbar-track {
    background: var(--white);
    border-radius: 40px;
}

.styled-table table {
    margin: 50px 20px 20px;
    border-collapse: separate;
    text-align: left;
    border-spacing: 0;
}

.styled-table table th,
.styled-table table td {
    padding: 10px;
    min-width: 175px;

    border-color: #D9DDE4;
}

.styled-table table tr {
    transition-duration: 300ms;
}

.styled-table table th {
    border-top: var(--table-border-width) solid var(--table-border-colour);
    border-bottom: var(--table-border-width) solid var(--table-border-colour);
    font-weight: 600;
}

.styled-table table th:first-child {
    padding-left: 20px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

    border-left: var(--table-border-width) solid var(--table-border-colour);
}

.styled-table table tbody tr>*:first-child {
    padding-left: 20px;
}

.styled-table table tbody tr>*:last-child {
    padding-right: 20px;
}

.styled-table table th:last-child {
    padding-right: 20px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

    border-right: var(--table-border-width) solid var(--table-border-colour);
}

.styled-table table td {
    padding: 20px;
    min-width: 75px;
    border-color: var(--table-border-seperator-colour);
    border-bottom: 1px solid var(--table-border-seperator-colour);
}

.styled-table table tr:hover {
    transform: scale(1.05);
}

.styled-table table td:first-child {
    grid-template-columns: 25px 1fr;
    grid-gap: 10px;
    text-align: left;
}

.country-container p {
    flex: 1 0 21%;
}

@media (max-width: 408px) {
    .country-container p {
        flex: 1 0 31%;
    }
}

.regular-table table th {
    font-weight: 500;
}

/* make lines between all rows on regular table */

.regular-table table tr {
    border-bottom: 1px solid #D9DDE4;
}


.regular-table table td,
.regular-table table th {
    padding: 10px 10px;
    min-width: 75px;
}