* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: Arial, Helvetica, sans-serif;
}

input {
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f2f3f7;
}

#main {
    padding: 20px;
    margin-left: 0;
    margin-top: 50px;

    transition: margin-left .2s;
}

#simulators__ {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

#simulators {
    text-align: center;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 24px;
    justify-content: center;
}


.simulator-entry {
    background-color: #dfdfdf;
    border-radius: 10px;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 0;
    width: min(400px, 100%);
    height: calc(min(205px, 40vw) + 45px);
    padding: 10px;
    cursor: pointer;
    position: relative;
    transition: scale .2s ease-in-out;
}

.simulator-entry:hover {
    scale: 1.02;
}

.simulator-entry img {
    height: min(200px, 40vw);
    border-radius: 5px;
}

.simulator-entry p {
    margin: 0 auto;
    width: 100%;
    font-size: min(1.1rem, 4vw);
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
}


.page-section {
    width: max(75%, 400px);
    margin: 0 auto;
    background-color: #eef0f1;
    padding: 10px;
    padding-bottom: 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgb(199, 199, 199);
    margin-bottom: 30px;
}

.sec-title {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.sec-subtitle {
    margin-top: 10px;
    padding: 0 40px;
    font-size: 1.1rem;
    overflow-wrap: break-word;
    text-align: justify;
    text-decoration: underline;
}

.sec-text {
    margin-top: 10px;
    text-align: justify;
    padding: 0 40px;
    overflow-wrap: break-word;
}

.sec-text~.sec-title {
    margin-top: 30px;
}

ol {
    padding: 0 40px;
    margin-left: 20px;
    margin-top: 2px;
    text-align: justify;
    overflow-wrap: break-word;
}

mjx-container * {
    font-family: unset;
}

@media screen and (max-width: 700px) {
    .page-section {
        width: 96%;
    }
}

.side-by-side {
    width: 100%;
    text-align: center;
    margin-top: 4px;
}

.side-by-side>* {
    display: inline-block;
    vertical-align: top;
}

.side-by-side textarea {
    max-width: calc(100% - 300px);
    width: calc(100% - 300px);
    height: 200px;
}

textarea {
    resize: vertical;
    padding: 2px;
    text-align: justify;
    min-height: 54px;
}

.full-tx {
    width: 85%;
    margin-top: 4px;
    height: 80px;
}

.cntr {
    text-align: center;
    margin: 0 auto;
    padding-top: 20px;
}

table[data-state-table="student-info"] {
    width: 90%;
}

table[data-state-table="student-info"] td:nth-child(1) {
    max-width: 80px;
}

table[data-state-table="student-info"] td:not(:nth-child(1)) {
    min-width: 35%;
}

table[data-state-table="student-info"] td input {
    width: 100%;
}