@import url(reset.css);

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #101313;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.Firstpage, .Secondpage, .Thirdpage {
    background-color: #222;
    border: #fff solid;
    border-radius: 13px;
    color: #fff;
    padding: 30px;
    width: 43vh;
    height: 40vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.Secondpage, .Thirdpage {
    width: 75vh;
    height: 45vh;
}

input, option, select {
    background-color: #444;
    border-radius: 5px;
    border: none;
    color: #fff;
    padding: 5px;
    text-align: center;
}

button, .Right, .Wrong, .Percent {
    background-color: #2a9f96;
    border-radius: 7px;
    border: none;
    color: #fff;
    padding: 5px;
    width: 150px;
    transition: transform 0.15s ease-in-out;
}

.Right, .Wrong, .Percent {
    background-color: #2a9f96;
    width: 80px;
    display: flex;
    justify-content: center;
}

.Wrong {
    background-color: #9f362a;
}

.Percent {
    background-color: #4b2a9f;
}

button:hover {
    transform: scale(1.05);
}

button:active {
    background-color: #1f6660;
    transform: scale(0.95);
}

.lastButton {
    margin-top: 20px;
}

h1 {
    font-size: x-large;
}

header {
    font-size: xx-large;
}

.Timer {
    display: flex;
    align-items: center;
}

.QuestionBox {
    border: #444 solid;
    border-radius: 13px;
    background-color: #444;
    padding: 20px;
    width: 60vh;
    height: 15vh;
    display: flex;
    flex-direction: column;
    justify-items: left;
}

.MathEquation {
    padding-block: 35px;
}

.Rt_Wg_Pt {
    background-color: #444;
    border-radius: 13px;
    padding: 15px;
    width: 40vh;
    display: flex;  
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
}

#QuestionNum {
    font-size: large;
}

.Result_Time {
    padding: 15px;
    width: 47vh;
    display: flex;  
    justify-content: space-evenly;
}

.hidden {
    display: none;
}
