/* Overall Styling */

:root {
    --black: #000000;
    --white: #FFFFFF;
    --red: #c9082A;
    --blue: #17408B;
    --graphite: #202020;
    --grey: #463B3F;
    font-size: 62.5%;
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-y: scroll;
    background-color: var(--white);
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-align: center;
}

h2 {
    font-size: 3.5rem;
}

.east h2 {
    color: var(--blue);
}

.west h2 {
    color: var(--red);
}

p {
    font-size: 1.8rem;
    line-height: 2.8rem;
    text-align: justify;
}

a {
    cursor: pointer;
    font-size: 1.8rem;
}

.main-wrapper {
    width: 70vw;
    max-width: 1152px;
    min-height: calc(100vh - 140px - 217.5px - 6rem);
    margin: 0 auto;
}

.content {
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    row-gap: 7rem;
}

.content h1 {
    margin-bottom: -3rem;
}

@media only screen and (max-width: 992px) {

    h1 {
        font-size: 3rem;
        font-weight: bold;
        letter-spacing: 0.1rem;
    }
    
    h2 {
        font-size: 2.1rem;
    }
    
    p {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .main-wrapper {
        width: 85vw;
        min-height: calc(100vh - 5rem - 405px);
        margin: 0 auto;
    }

    .content {
        padding-top: 2rem;
        padding-bottom: 2rem;
        display: flex;
        flex-direction: column;
        row-gap: 6rem;
    }

}

/* Scroll Bar */
::-webkit-scrollbar {
    display: none;
}

/* Button */

button {
    cursor: pointer;
    padding: 1rem;
    background-color: var(--white);
    border: solid 2px var(--red);
    color: var(--red);
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 3px;
}

button:hover {
    transition: ease-in-out 0.2s;
    background-color: var(--red);
    border: solid 2px var(--red);
    color: var(--white);
}

/* Links */

.link-border ul li a {
    border-bottom: solid 1px rgba(0, 0, 0, 0);
}

.link-border ul li a:hover {
    color: var(--red);
    border-bottom: solid 1px var(--red);
    transition: ease-in-out 150ms;    
}

/* Tables General */

table {
    width: 100%;
    background-color: var(--white);
    font-size: 1.8rem;
    border-collapse: separate;
    border-spacing: 0;
}

td, th {
    height: 5.5rem;
    text-align: center;
    vertical-align: middle;
}

@media only screen and (max-width: 992px) {

    table {
        font-size: 1.5rem;
    }

}

/* Tables Header */

thead th {
    font-weight: 700;
    letter-spacing: 0.1rem;
    vertical-align: middle;
    color: var(--white);
    border-top: solid 2px var(--black);
    border-bottom: solid 2px var(--black);
    position: sticky;
    top: 6rem;
    z-index: 2;
}

.east thead th {
    background-color: var(--blue);
}

.west thead th {
    background-color: var(--red);
}

thead th:first-child {
    border-left: solid 2px var(--black);
}

thead th:last-child {
    border-right: solid 2px var(--black);
}

@media only screen and (max-width: 992px) {

    thead th {
        top: 0;
    }

}

/* Tables Body */

tbody td {
    border-bottom: solid 1px var(--grey);
}

tbody td:first-child {
    border-left: solid 2px var(--black);
}

tbody td:last-child {
    border-right: solid 2px var(--black);
}

tbody tr:last-child td {
    border-bottom: solid 2px var(--black);
}

.reveal {
    background-color: var(--white);
    opacity: 100;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reveal-show {
    opacity: 0;
}