html {
    font-family: adobe-garamond-pro, serif;
} body {
    margin: 0px;
    text-align: center;
} h1 {
    text-align: center;
    width: 100%;
    /* border: 5px solid yellow; */
    margin: 0px;
}

.container {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
}
body > .container, #overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
}

#overlay {
    background: rgba(189, 189, 189, 0.788);
    z-index: 3;
    display: none;
}

#infomation_popup {
    position: absolute;
    display: none;
    justify-content: center;
    align-items: flex-start;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.76);
} #information_holder {
    width: 100%;
    max-width: 600px;
    text-align: left;
    margin-top: calc(25vh - 78px);
    background-color: rgb(240, 240, 240);
    padding: 20px;
    border-radius: 10px;
    font-family:Arial, Helvetica, sans-serif;
    text-align: justify;
}


#exercise_container{
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    height: 150px;
}

#equation_container {
    display: flex;
    flex-flow: row wrap;
    height: min-content;
    align-items: center;
    justify-content: center;
    background-color: rgb(240, 240, 240);
    border-radius: 10px;
    width: 100%;
} #TheEquation {
    color: rgb(93, 93, 93);
    align-self: center;
}


#TheQuestion {
    font-size: 80px;
    margin: calc(25vh - 78px) 0px;
    color: black;
}


.answer {
    font-size: 130px;
    display: none;
    font-family: roboto-slab, sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0px;
    height: 150px;
} #TheAnswerNegative {
    color: rgb(255, 38, 38);
} #TheAnswerPositive {
    color: green;
}


#ProgressBar {
    width: 100%;
    background-color: rgb(240, 240, 240);
    height: 10px;
    margin-top: 15px;
    border-radius: 5px;
} #ProgressBarProgress {
    width: 1%;
    height: 30px;
    background-color: grey;
    border-radius: 5px 0px 0px 5px;
    height: 10px;
}


#AnswerBox {
    border-radius: 5px;
    padding: 10px 16px;
    margin: 5px;
    font-size: 20px;
    align-self: center;
    border: none;
    color: rgb(87, 87, 87);
    background: white;
    text-align: center;
    flex-shrink: 1;
} #AnswerBox:focus {
    outline: none;
} #AnswerBox::placeholder {
    color: rgb(184, 184, 184);
}


/* Hide the arrows from the number input */
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
} input[type=number] {
    -moz-appearance: textfield;
}


.action_button {
    position: absolute;
    left: 15px;
    font-size: 40px;
    color: rgb(131, 131, 131);
    cursor: pointer;
    z-index: 15;
} #RefreshButton:hover, #InformationButton:hover {
    color: rgb(102, 102, 102);
} #RefreshButton {
    top: 15px;
} #InformationButton {
    top: 60px;
} #CloseButton {
    float: right;
    color: rgb(255, 81, 81);;
}   #CloseButton:hover {
    color: rgb(255, 105, 105);
} #CloseButton:active {
    color: rgb(255, 121, 121);
} 


@media only screen and (max-width: 600px) {
    /* For mobile phones: */
    #equation_container, #ProgressBar, #ProgressBarProgress {
        border-radius: 0px;
    }
    #exercise_container {
        max-width: none;
    }
    #AnswerBox {
        width: 75px;
    }
    #TheQuestion {
        font-size: 40px;
    }
}