html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* END RESET */

@keyframes slideInFromBottom {
    0% {
        transform: translate(-50% ,-70%);
        opacity: 0;
    }
    50% {
        opacity: 35%;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 100%;
    }
}

@keyframes shake {
    0% {
        transform: translate(0, 0);
        box-shadow: inherit;
    }
    25% {
        transform: translate(20px, 0);   
        box-shadow: rgba(255, 0, 0, 0.8) 4px 4px 5px;
    }
    50% {
        transform: translate(-20px, 0);
        box-shadow: rgba(255, 0, 0, 0.8) 4px 4px 5px;
    }
    75% {
        transform: translate(20px, 0);
        box-shadow: rgba(255, 0, 0, 0.8) 4px 4px 5px;
    }
    100% {
        transform: translate(0, 0);
        box-shadow: inherit;
    }
}

@keyframes slideFromTop {
    0% {
        transform: translate(0 ,50px);
        opacity: 0;
    }
    50% {
        opacity: 35%;
    }
    100% {
        transform: translate(0, 0);
        opacity: 100%;
    }
}

.shake {
    animation: shake 0.5s ease-in-out !important;
}

.hidden {
    display: none !important;
}

#userPrompt {
    position: fixed;
    z-index: 4;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.452);
    backdrop-filter: blur(4px);
}

#signUpInterface {
    margin: auto;
    background-color: rgb(67, 67, 74);
    width: 500px;
    height: 660px;
    border-radius: 1em;
    padding: 150px 20px;
    padding-top: 20px;
    box-shadow: rgba(0, 0, 0, 0.527) 5px 5px 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: 0.5s ease-out 0s 1 slideInFromBottom;
}

#signUpInterface h1 {
    text-align: center;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 50px;
    margin: 30px 0;
    font-weight: bold;
}

#bottomText {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px;
    text-align: center;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

#signUpInput, #firstChoice {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 300px;
    margin: 40px auto;
}

label {
    color: white;
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 20px 0;
    font-weight: bold;
}

#signUpInput input, #signUpInput input:active, #signUpInput input:focus {
    width: 200px;
    height: 35px;
    font-size: 16px;
    background-color: rgb(50, 50, 55);
    color: white;
    border-radius: 0.15em;
    outline: none;
    padding: 0 10px;
    margin: auto;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    cursor: default;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
}

.button {
    width: 70px !important;
    height: 70px !important;
    margin: 10px 10px;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    transition: 100ms;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 40px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}

.button:hover {
    width: 70px;
    height: 70px;
    margin: 10px 10px;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    transform: translate(-2px,-2px);
}

.button:active {
    width: 70px;
    height: 70px;
    margin: 10px 10px;
    background-color: rgb(45, 45, 50);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    transform: translate(4px,4px);
}

#nothing {
    width: 160px;
    height: 70px;
    margin: 10px auto;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    transition: 100ms;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 25px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}

#nothing:hover {
    width: 160px;
    height: 70px;
    margin: 10px auto;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    transform: translate(-2px,-2px);
}

#nothing:active {
    width: 160px;
    height: 70px;
    margin: 10px auto;
    background-color: rgb(45, 45, 50);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    transform: translate(4px,4px);
}

.selected {
    width: inherit;
    height: inherit;
    margin: inherit;
    background-color: rgb(45, 45, 50) !important;
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(46, 230, 0, 0.9) 0px 0px 15px !important;
    transform: translate(4px,4px) !important;
}

#buttonContainer {
    display: flex;
    width: 180px;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
}

#continue {
    display: block;
    margin: auto;
    height: 60px;
    width: 160px;
    border-radius: 0.15em;
    background-color: rgb(50, 50, 55);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    transition: 100ms;
}

#continue:hover {
    display: block;
    margin: auto;
    height: 60px;
    width: 160px;
    border-radius: 0.15em;
    background-color: rgb(50, 50, 55);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    transform: translate(-2px,-2px);
}

#continue:active {
    display: block;
    margin: auto;
    height: 60px;
    width: 160px;
    border-radius: 0.15em;
    background-color: rgb(45, 45, 50);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    transform: translate(4px,4px);
}

body {
    background-color: rgb(45, 45, 50);
    position: relative;
}

#welcome {
    display: flex;
    text-align: left;
    width: auto;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0px auto;
    padding: 50px;
    font-size: 50px;
    font-weight: bold;
}

h2 {
    display: block;
    text-align: left;
    width: auto;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0 50px;
    font-size: 30px;
    font-weight: bold;
}

.home {
    display: block;
    position: relative;
    width: 1200px;
    height: 800px;
    background-color: rgb(67, 67, 74);
    border-radius: 0.15em;
    margin: 20px auto;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 8px;
}

.buttonBody {
    width: 450px !important;
    height: 70px !important;
    margin: 20px 50px;
    text-align: left;
    padding-left: 30px;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    transition: 100ms;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 40px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}

.buttonBody:hover {
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    transform: translate(-2px,-2px);
}

.buttonBody:active {
    background-color: rgb(45, 45, 50);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    transform: translate(4px,4px);
}

#inputContainer {
    display: flex;
    position: relative;
    justify-content: space-between;
}

#buttonContainerBody {
    width: 600px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#numberButtons {
    display: flex;
    width: 400px;
    height: 200px;
    padding-right: 20px;
    padding-top: 55px;
    align-items: center;
    flex-wrap: wrap;
}

.buttonNum {
    width: 120px !important;
    height: 120px !important;
    margin: 10px 10px;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    transition: 100ms;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 40px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}

.buttonNum:hover {
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    transform: translate(-2px,-2px);
}

.buttonNum:active {
    background-color: rgb(45, 45, 50);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    transform: translate(4px,4px);
}

#start {
    display: block;
    position: absolute;
    right: 150px;
    bottom: 20px;
    margin: auto;
    height: 70px;
    width: 260px;
    border-radius: 0.15em;
    background-color: rgb(50, 50, 55);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    transition: 100ms;
}

#start:hover {
    background-color: rgb(50, 50, 55);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    transform: translate(-2px,-2px);
}

#start:active {
    background-color: rgb(45, 45, 50);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    transform: translate(4px,4px);
}

#questionsLabel {
    display: block;
    position: absolute;
    text-align: right;
    right: 115px;
    top: 150px;
}

.divider {
    display: block;
    position: absolute;
    background-color: rgb(41, 41, 41);
    width: 3px;
    border-radius: 3px;
    height: auto;
    top: 150px;
    bottom: 20px;
    right: 550px;
}

#card {
    display: block;
    position: absolute;
    width: 1200px;
    height: 800px;
    left: 50%;
    transform: translate(-50%, -1220px);
    background-color: rgb(67, 67, 74);
    border-radius: 0.15em;
    margin: 20px auto;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 8px;
    transition: 0.2s;
    opacity: 0;
    pointer-events: none;
}

#card h1 {
    text-align: center;
    padding-top: 50px;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 70px;
    font-weight: bold;
}

#card h2 {
    text-align: center;
    padding-top: 80px;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 90px;
    font-weight: bold;
}

#ansInput, #ansInput:hover, #ansInput:active {
    display: block;
    margin: 50px auto;
    height: 50px;
    font-size: 40px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    color: white;
    width: 350px;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    outline: none;
    padding: 0 10px;
    border: none;
    letter-spacing: 1px;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;

}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

#next {
    width: 250px !important;
    height: 70px !important;
    display: block;
    text-align: center;
    margin: 70px auto;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    transition: 100ms;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 40px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
    animation: name duration timing-function delay iteration-count direction fill-mode;
}

#next:hover {
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    transform: translate(-2px,-2px);
}

#next:active {
    background-color: rgb(45, 45, 50);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    transform: translate(4px,4px);
}

#correct {
    pointer-events: none;
    opacity: 0;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background-color: rgba(58, 70, 56, 0.507);
    border-radius: 0.15em;
    margin: 20px auto;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 8px;
    backdrop-filter: blur(7px);
    transition: 0.2s;
}

#correct h1 {
    text-align: center;
    display: block;
    margin: 310px auto;
    color: rgb(28, 238, 0);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 90px;
    font-weight: bold;
}

#incorrect {
    pointer-events: none;
    opacity: 0;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background-color: rgba(70, 56, 56, 0.507);
    border-radius: 0.15em;
    margin: 20px auto;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 8px;
    backdrop-filter: blur(7px);
    transition: 0.2s;
}

#incorrect h1 {
    text-align: center;
    display: block;
    margin: 310px auto;
    color: rgb(238, 0, 0);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 90px;
    font-weight: bold;
}

#incorrect p {
    text-align: center;
    display: block;
    margin: 0 auto;
    transform: translateY(-250px);
    color: rgb(238, 0, 0);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 50px;
    font-weight: bold;
}

#begin {
    pointer-events: none;
    opacity: 0;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 1200px;
    height: 800px;
    background-color: rgba(56, 56, 56, 0.507);
    border-radius: 0.15em;
    margin: 20px auto;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 8px;
    backdrop-filter: blur(15px);
    transition: 0.2s;
}

#begin h1 {
    text-align: center;
    display: block;
    margin: 310px auto;
    color: rgb(226, 226, 226);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 90px;
    font-weight: bold;
}

#results {
    pointer-events: none;
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-110%);
    width: 1200px;
    height: 800px;
    background-color: rgba(65, 65, 65, 0.5);
    border-radius: 0.15em;
    margin: 20px auto;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 8px;
    backdrop-filter: blur(10px);
    transition: 0.2s;
}

#results #finalPercent {
    text-align: center;
    display: block;
    margin: 110px auto;
    margin-bottom: 170px;
    color: rgb(228, 228, 228);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 90px;
    font-weight: bold;
}

#time {
    text-align: center;
    display: block;
    margin: auto;
    color: rgb(228, 228, 228);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 50px;
    transform: translateY(-140px);
    font-weight: bold;
}

#results h1 {
    text-align: center;
    display: block;
    margin: 50px auto;
    color: rgb(228, 228, 228);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 90px;
    font-weight: bold;
}

#date {
    text-align: center;
    display: block;
    margin: auto;
    color: rgb(228, 228, 228);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    transform: translateY(-155px);
    font-weight: bold;
}

#message {
    text-align: center;
    display: block;
    margin: auto;
    position: absolute;
    color: rgb(228, 228, 228);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 50px;
    font-weight: bold;
    left: 50%;
    transform: translate(-50%, -110px);
}

.opaque {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%,0%) !important;
}

#logout {
    width: 70px !important;
    height: 70px !important;
    margin: 10px 50px;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    transition: 100ms;
    color: white;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}

#logout:hover {
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    transform: translate(-2px,-2px);
}

#logout:active {
    background-color: rgb(45, 45, 50);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    transform: translate(4px,4px);
}

#back {
    width: 70px !important;
    height: 70px !important;
    margin: 10px 50px;
    transform: translateY(70px);
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    transition: 100ms;
    color: rgb(255, 74, 74);
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}

#back2 {
    width: 70px !important;
    height: 70px !important;
    margin: 10px 50px;
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 4px 4px 5px;
    transition: 100ms;
    color: rgb(255, 74, 74);
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}

#back:hover {
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    transform: translate(-2px,68px);
}

#back2:hover {
    background-color: rgb(50, 50, 55);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 6px 6px 5px;
    transform: translate(-2px,-2px);
}

#back:active {
    background-color: rgb(45, 45, 50);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    transform: translate(4px,74px);
}

#back2:active {
    background-color: rgb(45, 45, 50);
    border-radius: 0.15em;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 5px;
    transform: translate(4px,4px);
}

.opaqueCard {
    transform: translate(-50%, 0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}