@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: rgb(12, 75, 129);
    --secondary-color: rgb(210, 210, 210);
    --text-color: rgb(255,255,255);
    --field-color: rgb(255,255,255);
}



body
{
    font-family: "Jost";
    width: 100%;
}
main
{
    background-image: url(../images/bg.png);
    background-color: rgb(26, 59, 137);
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}




.step-bar
{
    display: flex;
    justify-content: space-between;
    height: auto;
    width: 100%;
    background-color: rgb(26, 59, 137);
}
.step-bar .bar
{
    background-color: var(--secondary-color);
    width: 18%;
    height: 30px;
    overflow: hidden;
      
}
.step-bar .bar .fill
{
    background-color: var(--primary-color);
    transition: 0.5s linear;
    width: 0;
    height: 100%;
}
form
{
    
    display: grid;
    height: 100%;
}
.wrapper
{
    padding: 150px 0 50px 0;
    width: 85%;
    margin: 0 auto;
    height: 100%;
}
.steps
{
    display: flex;
    flex-direction: column;
    height: 100%;
}


.quiz-question
{
    border: SOLID 2px var(--field-color);
    border-radius: 10px;
    background-color: transparent;
    width: 100%;
    height: 200px;
    position: relative;
    font-size: 50px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 0 40px 0 0;
}
.quiz-question::before
{
    content: "";
    display: inline-block;
    height: 102%;
    min-width: 25px;
    border-radius: 20px;
    background-color: var(--field-color);
    position: relative;
    left: -2px;
    margin-right: 40px;
}
fieldset
{
    margin-top: 70px;
    flex: 1;
    overflow: hidden;
}

.radio-field
{
    width: 100%;
    height: 110px;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 20px;

}
.radio-field input
{
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    border: solid 2px transparent;
    transition: 0.5s;
}
.radio-field label
{
    font-size: 30px;
    color: var(--secondary-color);
    font-weight: bold;
    position: relative;
    z-index: 10;
    pointer-events: none;
    display: flex;
    height: 100%;
    align-items: center;
    transition: 0.5s;
}
.radio-field label::before
{
    content: "X";
    width: 120px;
    height: 100%;
    display: inline-block;
    background-color: var(--secondary-color);
    overflow: hidden;
    margin-right: 50px;
    font-size: 50px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    display: grid;
    place-items: center;
    transition: 0.5s;
}
.radio-field .op1::before
{
    content: "A";
}
.radio-field .op2::before
{
    content: "B";
}
.radio-field .op3::before
{
    content: "C";
}
.radio-field .op4::before
{
    content: "D";
}
.radio-field input:checked
{
    border-color: var(--primary-color);
}
.radio-field input:checked::before
{
    content: "";
    position: absolute;
    border-left: solid 3px var(--primary-color);
    border-bottom: solid 3px var(--primary-color);
    top: 50px;
    right: 30px;
    width: 25px;
    height: 15px;
    transform: rotate(-45deg);
    opacity: 0;
    z-index: 1000;
}
.radio-field input:checked~label
{
    color: var(--primary-color);
}
.radio-field input:checked~label::before
{
    background-color: var(--primary-color);
}




.next-prev
{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}
.next-prev button
{
    border: solid 1px var(--field-color);
    border-radius: 6px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 2px 21px 0px rgba(0, 0, 0, 0.03);
    min-width: 234px;
    height: 72px;
    font-size: 18px;
    color: rgb(124, 120, 120);
    font-weight: bold;
    text-transform: uppercase;
}
.next-prev .next
{
    background-color: var(--primary-color);
    color: rgb(255,255,255);
    border-color: transparent;
}
.next-prev button i
{
    margin: 0 10px;
    position: relative;
    top: 1;
}











.avatar
{
    width: auto;
    margin-top: 70px;
}
#error div
{
    position: fixed;
    top: 20px;
    left: 20px;
}