img.latex {
    display: inline-block;
}
img.latexcenter {
    display: block;
    margin: auto;
    padding: 10px;
    text-align: center;
}
.problem {
    font-family: "Computer Modern Bright", sans-serif;
    font-size: 24px;
    display: inherit;
}

.katex { 
    font-size: 1.0em; 
}

h1 {
    font-family: Arial, sans-serif;
}

h1.problem-header {
    font-size: 1.75em;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    color: #1B365D;
}

.solution-link {
    font-family: "Computer Modern Bright", sans-serif;
    font-size: 1.35em;
}


.ui-button {
    text-align: center;
    font-size: 1.2em;
    padding: 5px 40px;
    margin: 20px;
    cursor: pointer;
    background-color: rgb(122, 203, 230);
    border: none;
    border-radius: 5px;
    color: black;
}

.ui-button:hover {
    background-color: lightblue;
}

input {
    width: 40px;
    height: 30px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: all 0.3s ease-in-out;
    font-family: "Computer Modern Bright", sans-serif;
    font-size: 1.6em;
    text-align: center;
}

input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.arrow {
    height: 20px;
    padding-top: 5%;
    padding-bottom: 0%;
}

#controls {
    display: block;
    text-align: center;
}

#test-container {
    display: block;
    text-align: center;
    margin: 0% 5%;
}

#check {
    padding: 10px 20px;
}

#feedback {
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 1.6em;
    padding-bottom: 10px;
}

#score {
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 1.6em;
}