.geolocationText {
    text-align: center;
    align-items: center;
    padding: 10px;
    text-decoration: underline;
    font-size: 15px;
    /* color: <?php echo $mainColor ?>; */
    font-weight: 500;
}

/* .startQuizButton {
    background-color: <?php echo $subColor ?>;
    background-color: <?php echo $mainColor ?>;
    border: 3px solid <?php echo $subColor ?>;
    border: 3px solid <?php echo $subColor ?>;
} */


.message-container {
    padding-right: 20px;
    padding-left: 20px;
}

.warningText {
    padding-bottom: 20px;
}

.buttonContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding-bottom: 20px;
}

.backButton {
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, gray, darkgray);
    width: 80%;
    max-width: 320px;
    height: 50px;
    max-height: 50px;
    aspect-ratio: 4 / 1;
    border: 0px #fff;
    border-radius: 5px;
    padding: 5px;
    box-sizing: border-box;
    flex-wrap: wrap;
    font-size: 18px;
}


.backButton:disabled {
    background: linear-gradient(to right, gray, darkgray);
    pointer-events: none;
    cursor: not-allowed;
    transform: none;
}


.backButton:active {
    /* Styles for when the button is clicked */
    transform: scale(0.95);
    /* Slightly scale down the button */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    /* Optionally, change the shadow for depth effect */
}

.backButton::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: 2px solid #fff;
    border-radius: 4px;
    pointer-events: none;
    flex-direction: column;
}

.warning-holder {
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    -moz-box-shadow: 0 0 3px #ccc;
    -webkit-box-shadow: 0 0 3px #ccc;
    box-shadow: 0 0 3px #ccc;
    margin-top: 20px;
    margin-bottom: 25px;
    /* border: 1px lightgray solid; */
}


.fontNotoSans {
    font-family: "Noto Sans JP";
}

.page-content {
    background-size: auto auto;
    background-color: #fff;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, #e1f3fd 5px, #e1f3fd 10px);
    /* padding: 10px; */
    position: relative;
}

.answerScreen,
.certificateScreen {
    background: url("<?php echo $eventDirectory ?>/img/bg.jpg") bottom center;
    background-size: 100%;
    background-repeat: repeat-y;
    padding: 10px;
}

.certificateScreen .title {
    font-family: 'Noto Sans JP';
    width: 90%;
    margin: auto;
    line-height: 1.5;
    font-size: 25px;
    font-weight: 800;
    font-family: 'Noto Sans JP';
    /* color: <?php echo $subColor ?>; */
    text-align: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

.certificateScreen p {
    font-family: 'Noto Sans JP';
    font-size: 20px;
    text-align: left;
    color: black;
}

.answerBackground {
    /* width: 90%; */
    margin: auto;
    /* border: 8px solid #0089d0; */
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    /* -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px); */
    padding: 10px;
}




.backToTop {
    background-color: gray;
    border: 3px solid #c1c2c2;
}


.confirmButton {
    min-width: 50%;
}

.patternRedButton {
    background: url("<?php echo $eventDirectory ?>/img/button_bg2.png");
    background-repeat: repeat;
    background-size: 50%;
    /* background-color: <?php echo $mainColor ?>;
    border: 3px solid <?php echo $subColor ?>; */
}

.grayButton {
    border: 3px solid darkgray !important;
    background: gray !important;
    color: #bbb !important;
    cursor: unset !important;

}
.grayButton::before {
    background: gray !important;
}

.greenButton {
    border: 3px solid #00BF63;
    background: #007B17;
}

.optionSelect {
    color: white;
    background-color: #00a0e9;
    /* border: 3px solid <?php echo $subColor ?>; */
}

/* .options-container .selected {
    background: #fff;
	color: #ff74b8;
} */

.options-container .selected {
    background: #ff74b8;
	color: #fff;
}

.quiz-question-answer__dl.selected .quiz-question-answer__dt{
    color: #ff74b8 !important;
    background: #fff !important;
}

/* .quiz-question-answer__dt {
    color: #fff;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    background: #ff74b8;
    width: 30px;
    height: 26px;
    padding-top: 4px;
} */


.quiz-container {
    position: relative;
    /* Allows absolute positioning relative to this container */
}

.corner-img {
    position: absolute;
    width: 80px;
    height: 80px;
}

.corner-img img {
    width: 100%;
    height: 100%;
}


.top-left {
    top: 0;
    left: 0;
    transform: rotate(0deg);
}

.top-right {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

.bottom-left {
    bottom: 0;
    left: 0;
    transform: rotate(-90deg);
}

.textBalloon {
    font-family: 'Noto Sans JP';
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 10px;
    /* min-width: 200px; */
    width: 90%;
    color: #252525;
    font-size: 22px;
    background: #FFF;
    /* border: solid 3px <?php echo $subColor ?>; */
    border-radius: 20px;
    box-sizing: border-box;
}

.redBalloon {
    /* border: solid 3px <?php echo $subColor ?>; */
}

.textBalloon:before {
    content: "";
    position: absolute;
    bottom: -23px;
    left: 50%;
    margin-left: -15px;
    border: 12px solid transparent;
    border-top: 12px solid #FFF;
    z-index: 2;
}

.textBalloon:after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -17px;
    border: 14px solid transparent;
    /* border-top: 14px solid <?php echo $subColor ?>; */
    z-index: 1;
}

.redBalloon:after {
    /* border-top: 14px solid <?php echo $subColor ?>; */
}

.textBalloon p {
    margin: 0;
    padding: 0;
}


.quizModal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.resultAlert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    z-index: 10;
}

.alertContainer {
    position: relative;
    width: 100%;
    margin: auto;
    background: white;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.5);
    background-color: white;
    /* border: 5px solid <?php echo $subColor ?>; */
    border-radius: 50px;
    padding: 15px;
    /* color: <?php echo $mainColor ?>; */
    font-weight: bold;
    text-align: center;
    align-items: center;
    font-size: 20px;
}

.alertContainer p {
    font-family: 'Noto Sans JP';
}

.alertContainer img {
    display: block;
    margin: auto;
    width: 60%;
}

.offWhiteBackground {
    background-color: #f1f1f1;
}

.answerList .title {
    font-family: 'Noto Sans JP';
    width: 90%;
    margin: auto;
    line-height: 1.5;
    font-size: 25px;
    font-weight: 800;
    font-family: 'Noto Sans JP';
    /* color: <?php echo $subColor ?>; */
    text-align: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

.answerList p {
    font-family: 'Noto Sans JP';
    font-size: 20px;
    text-align: left;
    color: black;
}

.wrongAnswerSummary {
    text-align: center;
    /* color: <?php echo $subColor ?>; */
}

.wrongAnswer {
    line-height: 1;
    padding: 0px;
}

.score {
    font-family: 'Noto Sans JP';
}

.certificateContainer {
    position: relative;
    display: inline-block;
}

.certificateContainer img {
    display: block;
    /* This removes any extra space beneath the image. */
    width: 100%;
}


.certificateContainer .playIcon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* This centers the icon perfectly. */
    width: 50%;
    /* Adjust based on your preference */
    height: auto;
    /* Maintain aspect ratio */
    transition: transform 0.2s ease;
    /* Smooth transition for transform changes */
}

.certificateContainer .playIcon:active {
    transform: translate(-50%, -50%) scale(0.9);
    /* Slightly reduce size when pressed */
    /* Note: We combine the translate and scale to ensure both are applied together */
}

#waiting-card {
    display: none;
    position: fixed;
    /* Makes it stay on top */
    top: 0;
    /* Start from the top */
    left: 0;
    /* Start from the left */
    right: 0;
    /* Stretch to the right */
    bottom: 0;
    /* Stretch to the bottom */
    background-color: rgba(0, 0, 0, 0.8);
    /* Semi-transparent black */
    z-index: 1000;
    /* Ensure it's above everything else */
    /* display: flex; */
    /* Use flexbox to center its content */
    justify-content: center;
    /* Center content horizontally */
    align-items: center;
    /* Center content vertically */
    flex-direction: column;
    /* Stack child elements vertically */
}

.card-icon-wrapper {
    width: 60%;
    height: auto;
    max-width: 400px;
}

.card-subtext {
    color: #fff;
    text-align: center;
    font-size: 1em;
    margin: 10px 0;
}

.calculateSpeed {
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 2em;
}

.grayIcon {
    filter: grayscale(100%);
}