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

body {
    display: grid;
    place-items: center;
}

.quiz {
    margin-top:2rem;
    display: flex;
    flex-direction: column;
    border: 1px solid black;
    height: 90vh;
    padding: .5rem;
    gap: 2rem;
    width: 90vw;
}


@media (min-width: 769px) {
    .quiz {
      width: 40rem;
    }
  }

.quiz__header {
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    color: aliceblue;
}

.quiz__header__data {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.quiz__main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz__form {
    line-height: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz__main__option {
    border: 1px solid black;
    padding: .5rem .5rem;
    border-radius: 5px;
}

.quiz__main__option-correct {
    border: 3px solid rgb(92, 204, 92) !important;
}

.quiz__main__option-incorrect {
    border: 3px solid red !important;
}

.quiz__main__option:hover {
    color:aliceblue;
    background-color: black;
}

.quiz__main__submit {
   text-align: center;
   margin-top: 1rem;
}

.quiz__main__submit-btn{
    background-color: black;
    color:aliceblue;
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 5px;
}

.quiz__main__submit-btn:hover {
   opacity: .7;
   cursor: pointer;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-size: 2rem;
}

.overlay__body {
    background-color: rgb(62, 54, 54, .5);
}

.restart {
    display: block;
    padding: 1rem 2rem;
    border-radius: 5px;
}