body,button,h1,p, input{
    font-family: "Lexend";
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
}

button{
    cursor: pointer;    
}

#page {
    max-width: 1000px;
    margin: auto;
}

.upload{
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 500px;
    align-items: center;
}

.upload button {
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
    font-weight: bold;
    background-color: lightgray;
    border: none;
    transition: background-color 0.3s;
}

.upload button:hover{
    background-color: gray;
}


#inputTypeButtons .selected {
    font-weight: bold;
    border: gray solid 3px;
}

#inputTypeButtons button{
    font-weight: normal;
    width: 200px;
    margin-bottom: 10px;
}


input[type="file"] {
    display: none;
}
  
.custom-file-upload {
    background-color: lightgray;
    border-radius: 10px;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;    
    text-align: center;
    height: 200px;
    width: 400px;
    transition: 0.3s;
    border: none;
    font-family: "Lexend";
    resize: none;
}

#file{
    overflow:auto;
}

.custom-file-upload:hover{
    background-color: gray;
}
.custom-file-upload:first-child{
    font-weight: bold;
}
#textUpload {
    height: 212px;
}

.amount {
    background-color: lightgray;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 200px;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
}

.amount p{
    font-weight: bold;
}



.top{
    display: flex;
    justify-content: space-between;
}

.questionsDiv{
    margin-top: 100px;
    padding: 10px;
    background-color: lightgray;
    border-radius: 20px;
    width: 100%;
}

.question{
    font-weight: bold;
    font-size: larger;
}

.alternativeDiv{
    display: grid;
}

.alternative{
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
}



.resultBoard h1{
    margin: 0px;
    background: lightgray;
    border-radius: 10px 10px 0px 0px;
    width: 200px;
    padding: 10px;
    border-bottom: gray 2px solid;
}

.resultBoard div{
    background: lightgray;
    border-radius: 0px 10px 10px 10px;
    padding: 10px;
}

.explanation{
    margin-left: 20px;
}



.bottomButtonsDiv{
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottomButtonsDiv button {
    width: 600px;
    height: 100px;
    margin-top: 50px;
    font-weight: bold;
    border-radius: 10px;
    background-color: lightgray;
    border: none;
    transition: 0.3s;
}
.bottomButtonsDiv button:hover {
    background-color: gray;
}


.right{
    background-color: green;
}

.wrong{
    background-color: red;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid grey; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    display: none;
    margin-top: 200px;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}