@keyframes float {
    0%, 100% {
      transform: translate(-50%, -50%);
    }
    50% {
      transform: translate(-50%, -55%);
    }
}
  
#insertConfirm {
animation: float 2s ease-in-out infinite;
z-index: 9999;
}

#insertConfirm:hover {
    background: white;
    fill: wheat;
    cursor: pointer;
}
  
#insertConfirm:hover:active { /* hover 및 active 동시일 경우 */
    width: 2.9vw;
    height: 2.9vw;
}

#testInfo, #testContinueInfo {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.3); /* Black w/ opacity */
    text-align: center;
}
.modal-test {
    font-family: 'RidiBatang';
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 2vw 3vw;
    border: 1px solid #888;
    border-radius: 1vw;
    width: max-content; /* Could be more or less, depending on screen size */
    font-size: 1.8vw;
}
.quizOptionButtonContainer {
    display: flex;
    gap: 2vw;
    margin-top: 1vw
}
.quizOptionButton {
    font-family: 'RidiBatang';
    font-size: 1.6vw;
    color: white;
    border-radius: 0.5vw;
    padding: 0.3vw 0.5vw;
    background-color: darkslateblue;
    line-height: 1.8vw;
}
.quizOptionButton:hover {
    background-color: rgb(103, 90, 181);
    cursor: pointer;
}
.top-right-buttons {
    position: fixed;
    top: 1vw;
    right: 1vw;
    display: flex;
    gap: 1vw;
}
.top-right-buttons button {
    color: darkslateblue;
    padding: 0.5vw 1vw;
    border: 0.2vw solid #faebd7;
    border-radius: 0.5vw;
    border-color: darkslateblue;
    background-color: #ffffff;
    cursor: pointer;
}
.top-right-buttons button span {
    display: inline-block;
    line-height: 2vw;
    font-size: 1.6vw;
    transform: translateY(-0.05vw);
}
.top-right-buttons button:hover {
    background-color: darkslateblue;
    color: white;
}
#checkAnswers {
    display: block;
    margin: 0 auto;
    border: none;
    outline: none;
    border-radius: 0.5vw;
    padding: 1vw;
    background-color: #9999ff50;
    font-size: 2vw;
    line-height: 2vw;
    cursor: pointer;
}
#checkAnswers:hover {
    background-color: #9999ff80;
}
#result {
    width: 50vw;
    font-family: 'RidiBatang';
    color: white;
    box-sizing: border-box;
    z-index: 20000;
    display: flex;
    gap: 1vw;
    justify-content: center;
    padding: 0.5vw 2vw;
    background: transparent;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.learn-element {
    transition: color 0.3s ease;
}
.learn-element:hover {
    outline: 0.3vw solid darkcyan !important;
}
.quiz-element:hover {
    outline: 0.3vw solid purple !important;
}
.highlight {
    color: green;
}
.insert-element mjx-utext {  /* math-field로부터 insert된 Tex가 아닌 일반 text 조정*/
    font-size: 80% !important;
}
.inTEX mjx-utext {
    transform: translateY(0.11vw);
}
.inTEX, .inHTML {
    position: relative;
}
/* .addLineEl, .elementCL, .addConnectionEl {

} */


/* mathJax {

} */
