#hearing-test-container {
    background: url("../img/bg.png") no-repeat;
    color: white;
    position: relative;
    height: 900px;
    width: 100vw;
    margin: 0 auto;
    background-size: cover;
    padding: 0 64px; 
	box-sizing: border-box;
    line-height: normal;
}

#hearing-test-container:has(.shadow) {
    box-shadow: inset 0 -175px 25px 0 #0000004f
}

#hearing-test-container .title {
    background: url("../img/titile.png") no-repeat center 68px;
    background-size: 340px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding-top: 64px;
}

.result-page.result-page-last h3 {
    margin-top: 65px;
}

.result-page.result-page-last h2 {
    margin-top: 110px;
}

.result-page.result-page-last .content {
    margin-top: 50px;
    font-size: 34px;
}

.result-page.result-page-last .action-container {
    margin-bottom: 80px;
}

.test-page h3 {
    font-size: 32px;
    text-align: center;
    margin-top: 65px;
}

.test-page h4 {
    font-size: 25px;
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
}

.test-page .content {
    display: flex;
    justify-content: center;
}

.test-page .content > div {
    text-align: center;
    justify-items: center;
    font-size: 20px;
    max-width: 382px;
    width: 100%;
    margin: 145px 30px 70px;
}
.test-page .content > div p {
margin: auto;
}
.first-page .content > div > p {
    width: 190px;
}

.test-page .content img {
    height: 160px;
    margin-bottom: 20px;
}

.test-page .content-volume {
    display: grid;
    justify-content: center;
}

.test-page .content-volume .volume {
    max-width: 312px;
    /*margin-top: 50px;*/
    margin-top: 110px;
}

.test-page .content-volume .play {
    max-width: 53px;
    margin: 0 0 0 -64px;
    cursor: pointer;
}

.test-page .content-volume img {
    max-width: 320px;
}

.test-page .action-container {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    bottom: 0;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    margin-bottom: 75px;
}

.test-page .action-container p {
    margin: 0 auto 55px auto;
}

.test-page .questionnaire-action-container p {
    margin: 0 auto 35px auto;
    max-width: 855px;
}

.test-page .action-container button {
    background: white;
    border: 0;
    font-size: 27px;
    border-radius: 20px;
    padding: 6px 44px;
    font-weight: bold;
    color: #750a39;
    cursor: pointer;
}

.test-page .play-container {
    display: flex;
    margin-top: 20px;
    position: relative;
}

.play-bar {
    position: absolute;
    top: 23px;
    left: -2px;
    height: 7px;
    background-color: #ffffff;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 5px;
}

.result-page h3 {
    font-size: 41px;
    text-align: center;
    margin-top: 65px;
}

.result-page h2 {
    font-size: 50px;
    text-align: center;
    margin-top: 24px;
}

.result-page .action-container {
    text-align: center;
    font-size: 31px;
    font-weight: unset;
}

.result-page .action-container p {
    margin: 0;
    line-height: 38px;
}

.statistic-page p.count strong {
    font-size: 158px;
}

.statistic-page p.count {
    font-size: 98px;
}

.statistic-page h3 {
    font-size: 38px;
    margin-top: 65px;
}

.statistic-page .content {
    justify-content: space-around;
}

.statistic-page h4 {
    font-size: 30px;
    margin-top: 18px;
}

.statistic-page .content > div {
    margin: 45px 0 0 0;
    max-width: unset;
}

.statistic-page .content .count-info {
    font-size: 26px;
    margin-top: 42px;
    max-width: 400px;
}


.radio-group {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.radio-option {
    position: relative;
    color: white;
    font-size: 26px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.radio-option.error {
    color: red;
}

.radio-option input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 60px;
    height: 60px;
    border: 3px solid white;
    border-radius: 50%;
    margin-bottom: 10px;
    position: relative;
    transition: background-color 0.3s;
}

.radio-option.error .custom-radio {
    border: 3px solid red;
}

.radio-option input[type="radio"]:checked + .custom-radio::after {
    content: "";
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.questionnaire-page .content {
    justify-content: space-between;
    position: absolute;
    bottom: 250px;
    left: 50%;
    transform: translate(-50%);
    width: 100%;
    max-width: 960px;
}

.questionnaire-page .content .radio-group {
    max-width: unset;
    margin: 0;
}

.questionnaire-page h3 {
    font-size: 40px;
    text-align: center;
}

.result-page .alert {
    font-size: 20px;
    line-height: 24px;
    margin-top: 42px;
}

.questionnaire-page h4 {
    max-width: 1040px;
    margin: 20px auto 150px auto
}

.result-page .content img {
    margin-top: 90px;
}

@media (max-width: 1640px) {

    .statistic-page p.count {
        font-size: 70px;
    }

    .statistic-page p.count strong {
        font-size: 128px;
    }
}

@media (max-width: 1300px) {

    .statistic-page p.count {
        font-size: 60px;
    }

    .statistic-page p.count strong {
        font-size: 90px;
    }

    .result-page.statistic-page-medium .content img {
        height: 125px;
        margin-top: 30px;
    }
}

@media (max-width: 1024px) {

    #hearing-test-container {
        padding: 0 40px;
    }

    .result-page.statistic-page-medium .content img {
        height: 125px;
        margin-top: 30px;
    }

    .statistic-page p.count {
        font-size: 38px;
    }

    .statistic-page p.count strong {
        font-size: 66px;
    }

    .test-page .content > div {
        margin: 165px 10px;
    }

    .test-page .content img {
        height: 120px;
    }

    .questionnaire-page h3, .test-page h3 {
        font-size: 28px;
        margin-top: 50px;
    }

    .result-page h2 {
        font-size: 32px;
    }

    .test-page h4 {
        font-size: 22px;
    }

    .test-page .action-container {
        font-size: 28px;
        width: 100%;
    }

    .test-page .action-container button {
        font-size: 24px;
        padding: 6px 32px;
    }

    .radio-group {
        gap: 30px;
        flex-wrap: wrap;
    }

    .questionnaire-page .content {
        flex-direction: column;
        gap: 16px;
        bottom: 155px;
    }

    .result-page.result-page-last .content {
        font-size: 26px;
    }

    .radio-option {
        font-size: 18px;
    }

    .custom-radio {
        width: 40px;
        height: 40px;
    }

    .radio-option input[type="radio"]:checked + .custom-radio::after {
        width: 20px;
        height: 20px;
    }

    .questionnaire-page h4 {
        margin: 20px auto 35px auto;
        font-size: 20px;
    }
}

@media (max-width: 768px) {

    .test-page .content-volume .volume {
        margin-top: 25px;
    }

    #hearing-test-container {
        padding: 0 20px;
    }

    .test-page .content {
        flex-direction: column;
        align-items: center;
    }

    .test-page .content > div {
        margin: 5px 0;
    }

    .test-page .content img {
        height: 88px;
        margin-bottom: 5px;
        margin-top: 10px;
    }

    .result-page.result-page-last h3 {
        margin-top: 65px;
    }

    .result-page.result-page-last h2 {
        margin-top: 110px;
    }


    .test-page .content-volume .play {
        margin-left: 0;
    }

    .play-bar {
        position: absolute;
        top: unset;
        bottom: 23px;
        left: -2px;
        height: 7px;
        background-color: #ffffff;
        width: 0%;
        transition: width 0.1s linear;
        border-radius: 5px;
    }

    .test-page .play-container {
        flex-direction: column;
        align-items: center;
    }

    .test-page h3 {
        font-size: 24px;
    }

    .test-page h4 {
        font-size: 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 20px;
    }

    .result-page h2 {
        font-size: 26px;
        margin-top: 15px;
    }

    .result-page h3 {
        font-size: 26px;
    }

    .statistic-page p.count strong {
        font-size: 50px;
    }

    .statistic-page .content .count-info {
        font-size: 15px;
        margin-top: 4px;
    }

    .statistic-page p.count {
        font-size: 40px;
    }

    .statistic-page h3,
    .statistic-page h4 {
        font-size: 24px;
    }

    .statistic-page .content {
        flex-direction: column;
        align-items: center;
    }

    .questionnaire-page .content {
        /*margin: 0 20px;*/
    }

    .questionnaire-page h3 {
        font-size: 30px;
    }

    .questionnaire-page h4 {
        font-size: 18px;
    }

    .test-page .action-container button {
        font-size: 22px;
        padding: 6px 24px;
    }

    .test-page .action-container p {
        margin: 0 auto 20px auto;
    }

    .questionnaire-page h4 {
        margin: 20px auto 50px auto;
    }

    .questionnaire-page .content {
        gap: 30px;
        align-items: start;
        width: auto;
        bottom: 190px;
		width: 70%;
    }

    .radio-option {
        font-size: 18px;
        flex-direction: row;
        align-items: center;
    }

    .custom-radio {
        margin-bottom: unset;
        margin-right: 10px;
        width: 40px;
        height: 40px;
    }

    .result-page .content img {
        margin-top: 50px;
    }

    .result-page .content {
        flex-direction: unset;
        align-items: unset;
    }

    .result-page .action-container p {
        font-size: 20px;
        line-height: 32px;
    }

    .radio-option input[type="radio"]:checked + .custom-radio::after {
        width: 20px;
        height: 20px;
    }

    .result-page .action-container p.alert {
        font-size: 14px;
        line-height: 20px;
    }
}