body {
    margin: 0;
    font-family: sans-serif;
    background: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

header {
    text-align: center;
}

main {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
}

h1 {
    font-size: 20px;
    margin: 20px 0;
}

.container {
    width: calc(98% - 80px);
    max-width: 500px;
    margin: 0 auto;
}

p {
    margin-top: 0;
}

.btn {
    background: #4fe105;
    border: 0;
    padding: 10px 15px;
    border-radius: 20px;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.grey-label {
    color: grey;
    font-size: 15px;
}

#exam-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f3f3;
    padding: 0 0 15px 0;
}

#timer {
    position: relative;
    font-size: 20px;
    background: linear-gradient(0deg, #8400ff 100%, transparent 100%);
    border-radius: 100%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 10px;
    margin: -10px 0 0 0;
    transition: all 0.5s;
}

#timer::before {
    position: absolute;
    content: "";
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: white;
    border-radius: 100%;
    left: 3px;
    top: 3px;
    z-index: 0;
}

#timer-val {
    z-index: 10;
    position: relative;
}

#exam-options {
    display: flex;
    justify-content: center;
}

#question {
    font-size: 25px;
    text-align: center;
}

.btn-exam {
    margin: 0 2px;
    border-radius: 0;
    padding: 12px 30px;
    color: #000;
    background: #ebebeb;
}

.btn-exam.first {
    border-radius: 10px 0 0 10px;
}

.btn-exam.last {
    border-radius: 0 10px 10px 0;
}

input[type=number] {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid grey;
}

.exam-detail-question {
    padding: 8px;
    margin: 5px 0;
    background: #fdfdfd;
    border-radius: 5px;
}

.exam-detail-question-failed {
    background: #fff0f0;
}

#exam-img,
.exam-img {
    width: 300px;
    max-width: 80%;
    margin: 10px auto 0 auto;
    display: block;
}

.exam-img {
    width: 200px;
    margin: 10px 0 5px 0;
}