:root {
    --lightblue: #C5D5EE;
    --lightblue_background: #c5d5eea4;
    --blue: #83ACDA;
    --darkblue: #4C7598;
    --navyblue: #00007F;
    --purple: #8383da;
    --gray: #687182;
    --lightgray: rgb(190, 190, 190);
    --green: rgb(112, 213, 171);
    --red: rgb(240, 155, 155);
    --textColor: rgb(23, 23, 23);
    --mainFont: "PT Serif", Helvetica, Arial, Verdana, sans-serif;
    --sansFont: 'Inter', sans-serif;
    --headerColor: #050a08;
    --headerColorTransparent: #050a08d0;
    --darkGreen: #274C3B;
    --lightGreen: #6abb95;
}

html,
body {
    font-family: var(--mainFont);
    line-height: 4vh;
    margin: 20px;
    text-align: center;
    color: var(--textColor);
    scroll-behavior: smooth;
    font-size: max(2vh, 16px);
    /*-moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -o-user-select: none;*/
}

/* Contains the questions and their respective answers */
.questionBox {
    background-color: rgba(0, 0, 0, 0.0);
    border: solid 0px black;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 100px;
}

/* Horizontal section lines between questions */
hr {
    margin-top: 200px;
    margin-bottom: 200px;
}

/* Contains the answer choices */
.answerSection {
    margin-left: 15px;
    width: 100%;
}

/* Answer buttons */
.answer {
    width: 64px;
    height: 64px;
    border: solid 4px rgb(50, 50, 50);
    border-radius: 100%;
    cursor: pointer;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    transition: background-color 0.2s ease;
}

/* Completion percentage at the top of the page */
#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background-color: rgb(51, 164, 116);
    height: 1.5vh;
    transition: width 0.5s ease;
    width: 100%;
}

/* Displays the completion percentage as a percent */
#percentage {
    position: fixed;
    top: 1.5vh;
    left: 10px;
    margin: 0;
    padding: 0;
    color: rgb(51, 164, 116);
    font-size: 2vh;
    font-weight: bold;
}

/* General button preset CSS */
button {
    font-size: 2.5vh;
    padding: 1.5vh;
    margin: 1.5vh;
    border: solid 3px var(--darkGreen);
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-weight: bold;
    background-color: var(--lightGreen);
    color: black;
    transition: filter, box-shadow 0.2s ease;
}

button:hover {
    filter: brightness(110%);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.cancelButton {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    background-color: var(--lightgray);
    border-color: rgb(76, 76, 76);
}

.enterButton {
    background-color: var(--blue);
    border-color: #304a60;
    font-size: 2.2vh;
    padding: 1vh;
}

/* A general purpose popup window that can contain any content */
.panel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 45%;
    min-width: 250px;
    transform: translate(-50%, -50%);
    border: none 3px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    padding: 40px;
    background: linear-gradient(45deg, var(--lightblue_background) 0, #dee0ed82 58%);
    color: var(--textColor);
    z-index: 9;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(10px);
    filter: none;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease;
    font-family: var(--sansFont);
}

.exitButton {
    background-color: rgba(255, 255, 255, 0.35);
    border: none 3px rgba(0, 0, 0, 0.401);
    border-radius: 100px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 5px;
    right: 5px;
    width: 3.5vh;
    height: 3.5vh;
    font-size: 2.2vh;
    font-weight: bold;
    padding: 0;
}

table {
    font-size: 24px;
    margin: auto;
    border-collapse: collapse;
}

th,
td {
    border: solid 4px black;
    padding: 20px;
    margin: 0;
    color: black;
}

th {
    font-weight: bold;
    background-color: darkslateblue;
    color: aliceblue;
}

input {
    font-size: 2.2vh;
    padding: 1vh;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-family: Arial, Helvetica, sans-serif;
    border: solid 3px black;
    border-radius: 8px;
    outline: none;
}

/* General site header styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background-color: var(--headerColor);
    font-family: "Poppins", Helvetica, Arial, Verdana, sans-serif;
    backdrop-filter: blur(16px);
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
    transition: background-color 0.5s ease;
    z-index: 10;
}

/* Logo on the left of the header */
.header-logo {
    width: 500vh;
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Contains the navigation in the header */
.header-links {
    font-size: 2.5vh;
    color: white;
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

/* Links on the right of the header */
.header-links a {
    cursor: pointer;
    margin-left: 6vh;
}

/* Use this on a div, and it will slide in when its parent element is hovered over */
.text-underline {
    position: absolute;
    background-color: white;
    width: 47%;
    height: 2%;
    bottom: -3px;
    left: 0%;
    transform: translateX(20%);
    width: 0%;
}