@import url('https://fonts.googleapis.com/css2?family=Baloo+2&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Baloo 2", cursive;
}
html{
    font-size: 60%;
}
body{
    height: 100vh;
    display: grid;
    padding: 1.5rem;
    place-items: center;
    background-color: rgb(248, 188, 76);
    background-image: linear-gradient(40deg,#fec8a0 30%,rgb(251, 244, 235) 100%); 
    background-image: linear-gradient(0deg,#c99d7c 10%,rgb(241, 231, 219) 80%, rgb(240, 234, 226) 100%);
}

.topnav {
    position: absolute;
    top: 0;
    /* background-color: rgb(255, 236, 225); */
    background-color: transparent;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;

  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    color: rgb(38, 38, 38);
    text-align: center;
    padding: 14px 28px;
    text-decoration: none;
    font-size: 20px;
    /* background-color: whitesmoke; */
    /* font-family: aquire; */
  }
  
  .topnav a:hover {
    /* background-color: #ddd; */
    color: rgb(158, 158, 158);
  }
  .topnav a.active {
    background-color: #04AA6D;
    color: white;
  }
  .topnav .icon {
    display: none;
  }

.quiz-section{
    width: 100%;
    height: auto;
    max-width: 550px;
    border-radius: 1rem;
    background: #fff;
    box-shadow:  0 0 10px rgba(0, 0, 0, 0.225);
}

.quiz-section hr {
    border: 2px solid #9999994c;
    border-radius: 0.5rem;
    background-color: rgb(255, 255, 255);
    box-shadow:  0 0 30px rgb(105, 76, 8);
}

#question{
    font-size: 2.5rem;
    padding: 2rem 3rem;
}
ul{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
    padding: 4rem 3rem;
}
li{
    list-style: none;
    width: 100%;
    border-radius: .5rem;
    border: 0.1rem solid rgb(210, 210, 210);
    padding: 1.5rem 1rem;
    font-weight: 600;
    min-width: 40%;
    min-height: 5rem;
    border-radius: 7rem;
    border: 0.2rem solid rgb(158, 107, 78);
    padding: 0 7rem 0 3rem;
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}
label{
    cursor: pointer;
    font-size: 1.7rem;
    padding-left: 0.5rem;
}
input[type="radio"]{
    width: 15px;
    height: 15px;
    margin-right: .5rem;
}
input[type="radio"]:checked{
    background-color: rgb(233, 195, 113);
    border-color: orange;
}
.btn{
    padding: 2rem 4rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
    height: 9rem;
}
button{
    width: 13rem;
    height: 4.6rem;
    border: none;
    border-radius: 5rem;
    font-size: 1.2rem;
    background-color: rgb(238, 178, 131);
    font-size: 2rem;
    box-shadow:  0 0 4px rgba(0, 0, 0, 0.225);
    font-weight: 580;
    cursor: pointer;
    color: white;
    transition: ease-in-out 0.4s;
}
button:hover{
    /* height: 4rem; */
    /* margin-top: .5rem;
    height: 4rem; */
    text-align: center;
    background-color: rgb(251, 223, 204);
}
.result{
    width: 100%;
    height: auto;
    padding: 5rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgb(105, 76, 8);
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    align-items: center;
    box-shadow:  0 0 10px rgba(0, 0, 0, 0.225);
}

.result h3,.score{
    font-size: 3.4rem;
}
.result p{
    font-size: 2rem;
}

/* @media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  /* @media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
  } */ 


/* 

@media (min-width: 200px) and (max-width: 450px) {
    .quiz-section{
        width: 95%;
    }
    ul{
        padding: 2rem 1rem;
    }
}
@media (min-width: 451px) and (max-width: 600px) {
    .quiz-section{
        width: 90%
    }
}
@media (min-width: 700px) and (max-width: 1000px) {
    .quiz-section{
        width: 80%;
    }
    #question{
        font-size: 3rem;
        padding: 3rem 5rem;
    }
    ul{
        gap: 3rem;
    }
    button{
        font-size: 2.5rem;
    }
    label{
        font-size: 3rem;
        padding-left: 2.5rem;
    }
} */