@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 100%);
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.disable {
  pointer-events: none;
}

.quiz-container {
  background-color: #ffffff;
  border: 2px solid #000000;
  /* border: 2px solid #732d91; */
  /* border-radius: 10px; */
  box-shadow: 0 0 10px rgba(100,100,100,0.1);
  width: 600px;
  height: auto;
  max-height: 100vh;
  min-width: 300px;
  overflow:scroll;
  /* position: relative; */
}

.quiz-header {
  padding: 2rem
  ;
}

.score, .select {
  height: 3rem;
  width: 100%;
  font-size: 1.5rem;
  margin: 0;
  padding: 5px 0;
}

.score {
  text-align: end;
}

.select {
  text-align: start;
  border: 2px solid #000000;
  outline: none;
  margin: 1rem auto;
  padding-left: 1rem;
}

h2 {
  padding: 1rem 0;
  text-align: left;
  margin: 0;
}

ul {
  list-style-type: none;
}

ul li {
  font-size: 1.2rem;
  margin: 1rem 0;
}

ul li label {
  cursor: pointer;
}

button {
  background-color: #8e44ad;
  color: #ffffff;
  border: none;
  display: block;
  width: 100%;
  cursor: pointer;
  font-size: 1.1rem;
  font-family: inherit;
  padding: 1.2rem;
  /* position: absolute; */
  /* bottom: 0; */
}

button:hover {
  background-color: #732d91;
}

button:focus {
  outline: none;
  background-color: #5e3379;
}

@media screen and (max-width: 500px), screen and (max-height: 500px) {
  .quiz-container {
    height: auto;
  }

  .quiz-header {
    padding: 1rem;
  }

  .score, .select, ul li {
    font-size: 1rem;
    height: 2rem;
    margin: .5rem 0;
  }

  h2 {
    font-size: 1rem;
  }

  button {
    padding: 1rem;
  }
}

/* @media screen and (min-width: 320px) and (max-width: 400px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
} */
