.layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  justify-content: flex-start;
}

.team-section {
  width: 25%;
  height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* visibility: hidden;
  pointer-events: none; */
  display: none;
}

.team-area {
  width: 100%;
  height: 80%;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0px 0px 5px #36394554;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.team-area.active {
  outline: 5px solid var(--theme-first-color);
}

.team-area h1 {
  text-align: center;
  padding: 10px;
  margin: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.5vw;
}

.team-active {
  background-color: var(--theme-first-color);
  color: var(--theme-second-color);
  box-shadow: 0px 0px 5px #36394554;
}

.team-inactive {
  background-color: var(--theme-second-color);
  color: var(--theme-first-color);
}

.team-question-inactive {
  opacity: 0;
  transition: 0.3s opacity linear;
}

.team-score {
  padding: 20px 10px 0 10px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.team-left-log,
.team-right-log {
  width: 100%;
  height: 100%;
  scroll-behavior: auto;
  overflow: auto;
  /* text-align: center; */
}

.log-entry {
  margin: 0;
  padding: 5px 0 5px 5px;
}

.team-left-score,
.team-right-score {
  padding-top: 10px;
  font-size: 30px;
  text-align: center;
  border-top: 2px solid var(--theme-first-color);
}

.question-selection-container {
  width: 100%;
  padding: 20px;
  justify-content: center;
  overflow: hidden;
  max-width: 750px;
  margin-bottom: auto;
  margin-top: 5vh;
  margin: auto;
}

.question-selection-section {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: 0px 0px 5px #36394554;
}

.flex {
  display: flex;
}

.topics-LEC-LAB {
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  padding: 20px;
}

.topics-LEC-LAB-header {
  width: 100%;
  text-align: center;
  margin: 0;
  /* border-bottom: 2px solid var(--theme-second-color); */
}

.topics-LEC-LAB-header h1 {
  margin: 0;
  background-color: var(--theme-second-color);
  border-radius: 10px;
}

.topics-LEC-LAB-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  height: 100%;
  overflow: auto;
}

.topic-bloom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-evenly;
  padding: 10px 10px 0 10px;
  max-width: 650px;
}

.topic-bloom-ready {
  background-color: white;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-top: 2px solid var(--theme-first-color);
  padding: 20px 0 0 0;
  position: sticky;
  bottom: 0;
  width: 100%;
  display: flex;
}

/* .topic-bloom-ready > div:nth-child(1) {
    border-bottom: unset;
    border-right: 2px solid var(--theme-first-color);
    width: unset;
    margin-right: 20px;
    font-size: min(5vw, 3vh);
    font-weight: bold;
} */

.topic-bloom-ready > div:nth-child(1) {
  padding: 0;
}

.select_certs,
.select_topics {
  font-weight: bold;
  font-size: min(7vw, 2em);
  border-bottom: 2px solid var(--theme-first-color);
  width: 100%;
  text-align: center;
  border-radius: unset;
  position: sticky;
  top: 0px;
  background-color: white;
}

.select_topics {
  font-size: 1.5em;
}

.cert_options,
.topic_options {
  justify-content: center;
  gap: 15px;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 20px 0;
}

.cert_options>div,
.topic_options>div:not(.chance) {
  font-weight: bold;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  outline: 1px solid #36394545;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.topic_options>div:not(.chance) {
  min-width: 200px;
}

.topic_options>div>span:nth-child(1) {
  width: 100%;
  padding: 0 10px;
}

.topic_options>div>span:nth-child(2) {
  flex-shrink: 0;
  border-left: 3px solid var(--theme-first-color);
  padding-left: 10px;
  width: 50px;
}

.cert_options>div {
  width: 100px;
}

.cert_options>div.active,
.topic_options>div.active:not(.chance) {
  background-color: var(--theme-second-color);
  color: var(--theme-first-color);
  outline: 2px solid var(--theme-second-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cert_options>div.active:hover,
.topic_options>div.active:hover {
  background-color: var(--theme-first-color);
  color: var(--theme-second-color);
}
.topic_options>div.active:hover > span:nth-child(2) {
  border-left: 3px solid var(--theme-second-color);
}
.cert_options>div:not(.active):hover,
.topic_options>div:not(.active):hover {
  background-color: #36394545;
}

.chance {
  width: 100%;
  text-align: center;
  padding: 10px 10px 0 10px;
  font-weight: bold;
}

.topic-bloom h2 {
  text-align: center;
  padding: 5px;
  margin: 0;
  width: 100%;
}

.topic-bloom h3 {
  text-align: center;
  padding: min(2vh, 5vw);
  margin: 0;
  border-radius: 10px;
  border: 1px solid #36394545;
  display: flex;
  justify-content: center;
  position: relative;
  /* height: 100px; */
  align-items: center;
  font-size: 2em;
  transition: background-color 0.3s, color 0.3s;
  font-size: min(2vh, 5vw);
  font-weight: bold;
  box-shadow: 0px 0px 5px #36394554;
}

.topic-bloom h3:hover {
  background-color: var(--theme-first-color);
  color: var(--theme-second-color);
  cursor: pointer;
}

.already-chosen {
  opacity: 0.3;
  pointer-events: none;
}

.choices-list>li {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.choices-list>li>div {
  text-align: center;
  width: 30px;
  font-weight: bold;
  display: none;
}

.points {
  position: absolute;
  right: 0;
  padding-right: 5px;
  color: white;
}

.quiz-header {
  display: flex;
}

.quiz-header,
.quiz-footer {
  padding: 0 20px;
  border-radius: 20px;
  margin-top: 10px;
  justify-content: center;
  cursor: pointer;
}

.quiz-header {
  background-color: var(--theme-second-color);
  box-shadow: 0px 0px 5px #36394554;
  /* pointer-events: none; */
  transition: 0.3s;
  pointer-events: none;
}

.quiz-header > h1 {
  font-size: min(7vw, 2em);
}

.quiz-header.inProgress {
  margin: 0;
  border-radius: 0 0 20px 20px;
  font-size: 0.4em;
  box-shadow: unset;
  opacity: 0.3;
  pointer-events: none;
}

.quiz-header:hover {
  background-color: var(--theme-first-color);
  color: var(--theme-second-color);
}

.quiz-footer {
  width: 100%;
  /* a */
  pointer-events: none;
}

.quiz-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.quiz-question-section {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px #36394554;
  width: 95%;
  max-width: 800px;
  overflow: auto;
  margin: auto;
  max-height: calc(100vh - 110px);
}

.audio_section {
  padding-top: 20px;
}

audio {
  border-radius: 10px;
}

.start-timer,
.start-timer_audio {
  background-color: var(--theme-second-color);
  padding: 20px;
  margin: 0;
  border-radius: 20px;
}

.start-timer_audio {
  padding: 10px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  ;
}

.start-timer:hover,
.start-timer_audio:hover {
  background-color: var(--theme-first-color);
  color: var(--theme-second-color);
}

.timer-progress {
  justify-content: center;
  position: relative;
  transition: 1s width linear;
}

.timer-progress>div {
  width: 60px;
  padding: 10px;
  background-color: white;
  border-radius: 5px;
  align-self: center;
  position: absolute;
  text-align: center;
  background: var(--theme-second-color);
}

.timer-progress hr {
  width: 100%;
  height: 1px;
  border-radius: 5px;
  border: none;
}

.timer-countDown {
  background: var(--theme-first-color);
  outline: 10px solid var(--theme-first-color);
}

.timer-countUp {
  background: red;
  outline: 20px solid red;
}

.timer-blur {
  filter: blur(4px);
  transition: 1s filter linear;
}

.timer-blur:hover {
  filter: blur(0px);
  transition: 0s filter linear !important;
}

.reset-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  opacity: 0;
  background-color: var(--theme-first-color);
  color: var(--theme-second-color);
  border: none;
  border-radius: 10px;
  box-shadow: 0px 0px 5px #36394554;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.reset-button:hover {
  opacity: 1;
}

.back-Menu {
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
  fill: var(--theme-first-color);
  background-color: var(--theme-second-color);
  border: none;
  border-radius: 10px;
  box-shadow: 0px 0px 5px #36394554;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  padding: 5px;
  scale: 0.5;
  transition: 0.3s;
}

.back-Menu:hover {
  fill: var(--theme-second-color);
  background-color: var(--theme-first-color);
}

@media screen and ( (width <= 550px) or (height <= 550px) ) {
  .quiz-footer {
    display: none;
  }
  .question-selection-container {
    padding-bottom: 20px;
  }
  .question-selection-container {
    margin: unset;
  }
}