@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;family=Sen:wght@400;700;800&amp;display=swap');

:root
{
    --primary-color: linear-gradient(90deg, rgb(80 106 103) 0%, rgb(211 190 171) 0%, rgb(1 51 48) 0%, rgb(6 68 64) 100%);
    --secondary-color: #013330;
    --text-color: rgb(0, 0, 0);
    --field-color: rgb(202, 202, 202);
}
main.quest-display{
    background: #dfe2e2;
}
.quest-display main
{
    background-size: cover;
    width: -webkit-fill-available;
    display: grid;
    position: relative;
    padding-top: 20px;
}
.timer
{
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-image: var(--primary-color);
    width: 120px;
    height: 100px;
    position: absolute;
    top: -75px;
    right: 60px;
    display: grid;
    place-content: center;
    text-align: center;
}
.timer h2
{
    font-size: 16px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1;
}
.timer h2 span
{
    display: block;
    font-size: 20px;
}

.step-bar
{
    background-color: #ffffff;
    height: 13px;
    margin-top: -35px;
    width: 82%;
    text-align: left;
    border-radius: 50px;
    margin-right: auto;
    padding: 3px;
}
.step-bar.no-timer
{
    width: 100%;
}
.step-bar .fill
{
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background-color: #013330;
    transition: 0.5s;
}
.quest-display form
{
    margin-top: -22vh;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.move
{
    position: relative;
    top: 166px;
}

.avatar
{
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    width: 120px;
    height: 120px;
    margin: 0 auto;
    text-align: center;
}
.avatar img
{
    width: 100%;
}
.step-count
{
    font-size: 16px;
    color: rgb(70, 70, 70);
    font-weight: bold;
    margin: 20px 0;
}
.steps
{
    background-color: rgb(255, 255, 255);
    width: 100%;
    flex: 1;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding-top: 160px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.quiz-question
{
    background:#fff;
    font-weight: 500;
    margin: 20px auto;
    font-size: 16px;
    color: var(--text-color);
    line-height: 20px;
    width: 90%;
}




fieldset
{
    position: relative;
    z-index: 20;
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    flex: 1;
}
.radio-field
{
    width: 97%;
    min-height: 57px;
    height: auto;
    position: relative;
    display: grid;
    align-items: center;
    justify-content: start;
    margin-bottom: 20px;
    padding-left: 14px;
}
.radio-field input
{
    -webkit-appearance: none;
    position: absolute;
    top: 0px;
    left: 0;
    border: solid 2px rgb(219, 219, 219);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: 0.5s;
}

.radio-field input[type="radio"]:before
{
    content: "";
    position: absolute;
    top: 11px;
    right: 20px;
    border-radius: 50%;
    background-color: rgb(201, 201, 201);
    width: 25px;
    height: 25px;
}
.radio-field input[type="checkbox"]:before {
    content: "";
    position: absolute;
    top: 11px;
    right: 20px;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    background-color: rgb(0 0 0 / 3%);
    width: 25px;
    height: 25px;
}
.radio-field input[type="checkbox"]:checked:before {
    content: "✔";
    position: absolute;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    text-align: center;
    color: #fff;
    top: 11px;
    right: 20px;
    border: 1px solid #013330;
    border-radius: 3px;
    background-color: rgb(1 51 48);
    width: 25px;
    height: 25px;
}


.radio-field input[type="radio"]:checked:before
{
    content: "";
    position: absolute;
    top: 11px;
    right: 20px;
    border-radius: 50%;
    background-color: #013330;
    width: 25px;
    height: 25px;
}
.radio-field input:checked:after
{
    content: "";
    position: absolute;
    /*background-image: url(../images/check.png);*/
    width: 40px;
    height: 36px;
    top: 0px;
    right: 7px;
    opacity: 0;
}
.radio-field label
{
    font-size: 16px;
    color: var(--text-color);
    font-weight: 400;
    text-align: left;
    pointer-events: none;
    position: relative;
    z-index: 10;
    transition: 0.5s;
    align-items: center;
    align-self: center;
    padding-right: 50px;
    line-height: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 0;
}
.radio-field input:checked
{
    border-color: var(--secondary-color);
}
.radio-field input:checked~label
{
    color: var(--secondary-color);
}
.next-prev
{
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
}
.next-prev.right
{
    justify-content: end !important;
}
.next-prev button
{
    background-color: rgb(202, 202, 202);
    width: 260px;
    height: 50px;
    border-top-right-radius: 20px;
    font-size: 18px;
    color: var(--text-color);
    font-weight: bold;
    border: 0;
    text-transform: uppercase;
}
.next-prev button i
{
    position: relative;
    top: 1px;
    margin: 0 10px;
}
.next-prev .next
{
    color: rgb(255, 255, 255);
    background-image: var(--primary-color);
    border-radius: 0;
    border-top-left-radius: 20px;
}

.next:first-child {
    border-radius: 0;
    border-top-left-radius: 20px;
}




#error div
{
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999999999;
}
