*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background: #bdc3c7;
    background: linear-gradient(to right, #1c92d2, #f2fcfe);
}

h1{
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
    font-family: system-ui;
    font-weight: 700;
    color: #000000;
}

.mcqbody{
    background-color: #fff;
    margin: 0 90px;
    padding: 15px 20px;
}

.mcq{
  
    display: grid;
    grid-column-gap: 20px;
    grid-template-columns: repeat(1,1fr);
}

.container{
    border-bottom: 5px solid #4c4cff;
    padding:20px;
    border-radius: 5px;
    background-color: lavender;
    margin: 10px 0;
    box-shadow: 0 0 5px #c7c6c6;
}

h2,.question-serial p{
    font-family: system-ui;
    font-weight: 500;
    font-size: 22px;
    margin: 0 0 10px 0;
}

.option{
    display: flex;
    align-items: center;
}

input[type="radio"]{
    cursor: pointer;
}

h6{
    font-size: 18px;
    font-family: system-ui;
    font-weight: 500;
    margin: 0 5px;
}

label{
    font-size: 18px;
    font-family: system-ui;
    font-weight: 500;
}

.question-serial{
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.buttons{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button{
    height: 40px;
    width: 120px;
    border: 1px solid #4c4cff;
    background-color: #4c4cff;
    cursor: pointer;
    font-family: system-ui;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    border-radius: 5px;
    transition: all .3s ease-out;
}

button:active{
    border: 1px solid #4c4cff;
    background-color: #fff;
    color: #4c4cff;
}

.answerSheet{
    height: 100vh;
    position: relative;
    display: none;
}

.answer{
    height: 100px;
    width: 100px;
    border: 1px solid;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50px;
    font-size: 50px;
    background: lavender;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui;
}

h3{
    height: 20px;
    width: 20px;
    border: 1px solid red;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui;
    padding-bottom: 4px;
    background-color: red;
    border-radius: 2px;
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    cursor: pointer;
}

#viewResult{
    display: none;
}

.active{
    color: green;
}

.wrong{
    color: red;
}

@media screen and (max-width:1025px) {
    .question-serial{
        align-items: flex-start;
    }

    .option{
        align-items: baseline;
    }
}

@media screen and (max-width:768px) {
    .mcqbody{
        margin: 0 50px;
    }
}

@media screen and (max-width:479px) {
    .mcqbody{
        margin: 0 20px!important;
    }
}