html, body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #eee;
}

.page {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 100vh;
}

.container {
    width: 1020px;
    padding: 40px 15px;
    padding-top: 50px;
    margin: 0 auto;
    background-color: #fff;
    text-align: center;
}

.title {
    font-size: 25px;
    margin-bottom: 30px;
    font-weight: bold;
}

.card {
    position: relative;
}

.timer {
    position: absolute;
    right: 6px;
    top: -30px;
    font-weight: bold;
    padding: 10px;
    background-color: #eee;
}

.status {
    position: absolute;
    left: 6px;
    top: -30px;
    padding: 10px;
}

.image {
    position: relative;
    display: inline-block;
}

.image img {
    height: 450px;
}

.answers {
    position: absolute;
    width: 100%;
    bottom: 17px;
    left: -2px;
    display: flex;
    flex-wrap: wrap;
}

.answer {
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
}

.answer.active:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 100%;
    background-color: #fff;
    font-size: 25px;
    background-image: url('./check-icon.png');
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
}

#app {
    min-height: 350px;
}

.button-container {
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #eee;
    color: #a2a1a1;
    text-decoration: none;
    cursor: default;
}

.button.active {
    background-color: green;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button.active:hover {
    background-color: #009f00;
}

.login-form {
    width: 400px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.input-label {
    font-size: 20px;
    white-space: nowrap;
    width: 120px;
    text-align: left;
}

.input-container {
    width: 280px;
}

input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    font-size: 20px;
    outline: none;
    width: 100%;
    background-color: #fff;
}

.login-form .title {
    margin-bottom: 50px;
}

.d-block {
    display: block;
}

.mt-20 {
    margin-top: 20px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-15 {
    padding-top: 15px;
}

.age-options {
    display: flex;
    margin-top: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 25px;
}

.age-option {
    border: 1px solid #ccc;
    padding: 10px 15px;
    font-size: 18px;
    user-select: none;
    cursor: pointer;
    margin-bottom: 10px;
    margin-right: 10px;
    width: 80px;
    white-space: nowrap;
}

.age-option.active {
    border-color: green;
    outline: 2px solid green;
}

.intro-text {
    padding: 0 40px;
    text-align: left;
    line-height: 24px;
}

.time-down {
    color: #b1b1b1;
    margin-bottom: 20px;
}

.result .title {
    margin-top: 0;
    margin-bottom: 10px;
}

.restart {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    cursor: pointer;
    z-index: 9;
}

.downloadPDF {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    cursor: pointer;
    z-index: 9;
}

.result-desc {
    color: #484848;
    width: 80%;
    margin: 0 auto;
    text-align: left;
    line-height: 24px;
}

.result .sub-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.result section {
    margin-bottom: 30px;
}

.result section:last-child {
    margin-bottom: 0;
}

#result-body {
    background-color: #fff;
    padding-top: 0;
}

#result-body.pdf {
    padding-top: 80px;
}
