@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(236, 69, 80);
    --secondary-color: ;
    --text-color: ;
    --field-color: ;
}



body
{
    font-family: "Jost";
    width: 100%;
}

main
{
    background-image: url(../images/bg.jpg);
    min-height: 100vh;
    width: 100%;
    padding: 80px 80px 35px 80px;
    display: flex;
    flex-direction: column;
    
}
.step-bar
{
    display: flex;
    justify-content: space-between;
    height: auto;
    width: 95%;
    margin: 0 auto;
}
.step-bar .bar
{
    background-color: rgb(226, 226, 226);
    width: 19%;
    height: 14px;
    border-radius: 8px;
    overflow: hidden;
      
}
.step-bar .bar .fill
{
    background-color: var(--primary-color);
    transition: 0.5s linear;
    width: 0;
    height: 100%;
}
form
{
    flex: 1;
    margin-top: 30px;
    display: grid;
}
fieldset
{
    overflow: hidden;
}
.steps
{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.step-inner
{
    flex: 1;
    background-image: url(../images/sbg.png);
    background-size: cover;
    background-color: rgb(0,0,0);
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: grid;
    align-content: end;
    text-align: center;
    padding: 50px 150px;

}
.radio-field
{
    position: relative;
    width: 95%;
    margin: 0 auto;
    height: 92px;
    display: grid;
    place-content: center;
    margin-bottom: 20px;

}
.radio-field input
{
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background-color: rgb(242, 242, 242);
    width: 100%;
    height: 100%;
    transition: 0.5s;
    border: solid 3px transparent;
    cursor: pointer;


}
.radio-field label
{
    font-size: 28px;
    color: rgb(0, 0, 0);
    font-weight: bold; 
    pointer-events: none;
    position: relative;
    transition: 0.5s;
    z-index: 10;
}
.radio-field input:checked
{
    border-color: var(--primary-color);
}
.radio-field input:checked~label
{
    color: var(--primary-color);
}



.quiz-question
{
    font-size: 40px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    width: 55%;
    margin: 0 auto;
    margin-bottom: 80px;
      
}
.step-number
{
    font-size: 20px;
    width: max-content;
    margin: 0 auto;
    color: rgb(236, 69, 80);
    border-bottom: solid 3px var(--primary-color);
    margin-bottom: 30px;
}

  
.next-prev
{
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.next-prev button
{
    border: solid 1px rgb(255,255,255);
    border-radius: 9px;
    background-color: rgb(218, 215, 215);
    box-shadow: 0px 2px 21px 0px rgba(0, 0, 0, 0.03);
    width: 240px;
    height: 82px;
    font-size: 18px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    text-transform: uppercase;
}
.next-prev .next
{
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
}
.next-prev button i
{
    margin: 0 10px;
    position: relative;
    top: 1;
}




#error div
{
    position: fixed;
    top: 20px;
    left: 20px;
}