body {
    background-color: #ffffff;
}

section {
    margin: 0 75px;
}

section.title {
    margin-top: 50px;
    margin-bottom: 30px;
}

section.title h1 {
    color: var(--main-blue);
    font-size: 85px;
}

section.filters {
    gap: 52px;
    margin-bottom: 85px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    max-width: 70%;
}


section.jobs-table table {
    width: 100%;
    margin-bottom: 50px;
}

section.jobs-table table th {
    text-align: left;
    padding-bottom: 40px;
    font-size: 18px;
}

section.jobs-table table tr td a:not(.role) {
    color: #000;
    transition: all 400ms;
}

section.jobs-table table tr:hover td a:not(.role) {
    color: var(--main-blue);
}

section.jobs-table table tr td a.role {
    text-align: right;
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-family: 'Poppins-Regular';
    color: #004F5C;
    font-size: 14px;
    transition: all 400ms;
    position: relative;
    width: fit-content;
}

tr td {
    border-bottom: 1px solid rgba(33, 78, 90, 0.3);
    padding-bottom: 15px;
    padding-top: 15px;
    border-spacing: 0px !important;
    font-family: 'Poppins-Medium';
    font-size: 16px;
}

section.jobs-table table td span {
    background-color: #004F5C;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    margin-left: 10px;
}

.page-numbers:not(.prev, .next) {
    display: none;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
}

.page-numbers {
    padding: 0;
    color: #004F5C;
}

span.prev.inactive,
span.next.inactive {    
    color: rgba(0, 79, 92, 0.2);
}

.buttons {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.buttons .button-container {
    display: flex;
    padding-top: 0px;
    padding-bottom: 5px;
    transition: all 400ms;
}

.buttons .button-container a {
    position: relative;
    padding: 5px 0;
    font-family: 'Poppins-SemiBold';
    font-size: 14px;
    color: #004F5C;
}

.buttons .button-container a:after {
    content: '';
    height: 2px; 
    width: 100%; 
    position: absolute;
    background-color: var(--main-blue);
    bottom: 0;
    left: 0;
    transition: all 400ms;
}

@media only screen and (min-width: 990px) {
    .buttons .button-container:hover {
        padding-top: 5px;
        padding-bottom: 0px;
    }

    .buttons .button-container:hover a:after {
        bottom: 100%;
    }

    section.jobs-table table tr td a.role {
        padding-right: 20px;
    }

    section.jobs-table table tr:hover td a.role {
        padding-left: 20px;
        padding-right: 0px;
    }

    section.jobs-table table tr td a.role:before {
        content: '';
        background-color: var(--main-blue);
        height: 10px;
        width: 10px;
        display: block;
        border-radius: 50px;
        opacity: 0;
        transition: all 400ms;
    }
    
    section.jobs-table table tr:hover td a.role:before {
        opacity: 1;
    }
}

@media only screen and (max-width: 989px) {
    section.title {
        margin-top: 30px;
        margin-left: 30px;
        margin-bottom: 20px;
    }

    section.title h1 {
        font-size: 45px;
    }

    section.filters {
        margin: 0 30px;
        margin-bottom: 50px;
        max-width: 100%;
        gap: 30px;
    }

    section {
        margin: 0 30px;
    }

    section.jobs-table table thead tr th {
        display: none;
    }

    section.jobs-table table thead tr th:first-child {
        display: block;
        padding-bottom: 20px;
        font-size: 16px;
    }

    tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
    }

    tbody tr td:first-child {
        grid-row: 1;
        border-bottom: 0;
        grid-column: 1/4;
        font-size: 17px;
        padding-bottom: 10px;
        padding-top: 20px;
        font-family: 'Poppins-SemiBold';
    }

    tbody tr td {
        grid-row: 2;
        font-size: 12px;
        padding-top: 0px;
        padding-right: 5px;
        font-family: 'Poppins-SemiBold';
    }

    section.jobs-table table tr td a.role {
        font-size: 12px;
        column-gap: 5px;
    }

    select {
        font-size: 16px;
    }

    tbody tr td.tag {
        display: none;
    }

    section.jobs-table table tr td a.role:before {
        content: '';
        background-color: #A68533;
        height: 7px;
        width: 7px;
        display: block;
        border-radius: 50px;
    }

    tbody tr td:last-child {
        position: relative;
    }

    .buttons .button-container a .mobile {
        display: flex;
    }
    .buttons .button-container a:after {
        display: none;
    }
}