@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&family=Sen:wght@400;700;800&display=swap');

:root
{
    --primary-color: rgb(0, 74, 167);
    --secondary-color: rgb(255,255,255);
    --text-color: rgb(255,255,255);
}



body
{
    font-family: "Jost";
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    display: grid;
    padding: 50px 110px 70px 90px;
    overflow-x: hidden;
      
}
main
{

    height: 100%;
    background-color: #000000d4;
    background-size: 100% 100%;
    position: relative;
    padding: 0px 0 80px 0;
}
.avatar
{
    position: absolute;
    left: 50px;
    bottom: 100px;
    pointer-events: none;
}


.step-bar
{
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 20px;
}
.step-bar .fill
{
    background-color: var(--primary-color);
    transition: 0.5s;
    width: 0;
    height: 100%;
}

form
{
    display: grid;
    height: 100%;
    place-content: center;
    text-align: left;
    margin: 0 auto;
    width: 50%;
    padding: 50px 0;
}
.step-number
{
    font-size: 16px;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 20px;

}
.quiz-question
{
    font-size: 52px;
    color: var(--text-color);
    font-weight: bold;
}
fieldset
{
    width: 75%;
    margin: 0 auto;
    margin-top: 30px;
    overflow: hidden;
}
.radio-field
{
    width: 100%;
    height: 95px;
    position: relative;
    display: grid;
    align-content: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 12px;
}
.radio-field input
{
    -webkit-appearance: none;
    position: absolute;
    left: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: solid 3px var(--text-color);
    background-color: var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}
.radio-field input:checked
{
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.12);
    border-color: rgb(51, 178, 54);
}
.radio-field input:checked::before
{
    content: "";
    position: absolute;
    border-left: solid 5px rgb(51, 178, 54);
    border-bottom: solid 5px rgb(51, 178, 54);
    top: 43px;
    right: 50px;
    width: 25px;
    height: 15px;
    transform: rotate(-45deg);
    border-radius: 3px;
    opacity: 0;
    z-index: 1000;
}
.radio-field label
{

    font-size: 26px;
    color: var(--text-color);
    font-weight: bold;
    position: relative;
    z-index: 10;
    pointer-events: none;
}
.next-prev
{
    position: absolute;
    bottom: -34px;
    left: 0;
    display: flex;
    justify-content: space-between; 
    width: 100%;   
    flex-wrap: wrap;
}

.next-prev button
{
    border: solid 2px rgb(186, 186, 186);
    background-color: rgb(255, 255, 255);
    width: 225px;
    height: 76px;
    font-size: 18px;
    color: rgb(0, 0, 0);
    font-weight: bold;
}

.next-prev .next
{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color);
}


.next-prev button i
{
    position: relative;
    top: 3px;
}















#error div
{
    position: fixed;
    top: 20px;
    left: 20px;
}