.dark-theme {
  background-color: #121212;
  color: #ededed;
}

html {
  overflow-y: scroll;
}

.spectrum {
  display: none;
  position: relative;
  vertical-align: top;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  user-select: none;
}

@media screen and (max-width: 600px) {
  .spectrum {
    margin: 0;
  }
}

.dark-theme .spectrum {
  filter: brightness(0.93) invert(1) hue-rotate(300deg);
}

#molEdit {
  background-color: white;
  border-color: lightgray;
  padding: 10px;
  margin: 0px;
  border-width: 1px;
  vertical-align: top;
}

body,
input,
textarea,
button {
  padding: 0;
  margin: 0;
  font-family: arial;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.footer {
  height: auto;
  /* color: #fff; */
  color: #b2bbcd;
  font-size: 16px;
  font-weight: 200;
  background-color: #00205b;
  padding: 24px 6px;
}

.footer .content-container {
  margin: auto;
  justify-content: space-around;
  white-space: nowrap;
  flex-wrap: wrap;
  vertical-align: bottom;
  gap: 20px;
  align-items: center;
}

.dark-theme .footer .content-container {
  opacity: 0.7;
}

.footer .logo {
  height: 56px;
}

.footer .links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  margin-bottom: 6px;
}

.footer a {
  opacity: 1;
  transition: opacity 0.2s;
}

.icon-social {
  /* background-color: white; */
  display: inline-block;
  width: 26px;
  height: 26px;
  padding: 2px;
  opacity: 1;
  transition: opacity 0.4s;
}

@media (hover: hover) {
  .footer a:hover {
    opacity: 0.7;
  }

  .icon-social:hover {
    opacity: 0.7;
  }
}

.icon-social svg {
  width: 100%;
  height: 100%;
  filter: invert(1);
}

@media screen and (max-width: 600px) {
  .footer .content-container {
    white-space: normal;
    gap: 16px;
  }

  .footer .logo {
    height: 42px;
  }
}

.img-link {
  line-height: 0;
}

.mail-link {
  color: inherit;
  white-space: nowrap;
}

section {
  margin: 30px 2%;
}

nav {
  min-width: 200px;
  padding: 0;
  display: flex;
  align-items: center;
  border-bottom: solid 1px #bcbcbc;
  justify-content: space-between;
  margin: 0 -5px;
}

nav.secondary {
  border: none;
  justify-content: left;
  padding: 12px 6px;
}

.dark-theme nav {
  border-bottom-color: #414141;
}

nav > .nav-link {
  font-size: 18px;
}

nav > .nav-link:first-child {
  flex-shrink: 5;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nav-arrow {
  border: solid #2b2c30;
  border-width: 3px 3px 0 0;
  display: inline-block;
  padding: 4px;
  margin: 0 8px 0px 4px;
  transform: rotate(45deg);
}

.dark-theme .nav-arrow {
  border-color: #ededed;
}

@media screen and (max-width: 600px) {
  nav > .nav-link {
    font-size: 16px;
  }

  .nav-arrow {
    padding: 3px;
    margin: 0 7px 1px 3px;
  }
}

.nav-link {
  display: inline-block;
  color: #2b2c30;
  font-size: 18px;
  text-decoration: none;
  font-weight: 300;
  white-space: nowrap;
}

.dark-theme .nav-link {
  color: #ededed;
}

@media (hover: hover) {
  .nav-link:hover {
    text-decoration: underline;
  }

  .dark-theme .nav-link:hover {
    color: #ededed;
  }
  .dark-theme .nav-menu:hover {
    color: #ededed;
  }
  .nav-menu:hover {
    color: black;
  }
}

.nav-menu {
  color: #888888;
  white-space: nowrap;
  font-style: normal;
  text-decoration: none;
  font-size: 18px;
  padding: 12px 6px 4px 6px;
  margin-right: 20px;
  position: relative;
  transition: color 0.3s;
  border-bottom: solid 4px transparent;
  transition: border 0.3s, color 0.3s;
}

.dark-theme .nav-menu {
  color: #bbbbbb;
}

nav i::after {
  content: '';
}

.nav-menu.active {
  color: black;
  border-bottom-color: #00205b;
}

@media (hover: hover) {
  .nav-menu:hover {
    border-bottom-color: #888888;
  }
}

.dark-theme .nav-menu.active {
  color: #ededed;
  border-bottom-color: #ededed;
}

.dark-theme .nav-menu.active:after {
  background-color: #5a5a5a;
}

@media screen and (max-width: 600px) {
  .nav-menu span.collapsible {
    display: none;
  }
  .nav-menu {
    font-size: 18px;

    margin-right: 0px;
  }
  nav .flex-separator {
    flex-grow: 0;
  }
  section {
    margin: 30px 0;
  }
}

h2 {
  font-size: 24px;
  color: #00205b;
}

.dark-theme h2 {
  color: #ededed;
}

@media screen and (max-width: 600px) {
  h2 {
    font-size: 22px;
  }
}

#page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  min-width: 320px;
}

#page-container > .content-container {
  flex-grow: 1;
  flex-direction: column;
}

.content-container {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  margin: 0 auto;
  max-width: 970px;
  padding: 0 10px;
}

@media screen and (min-width: 750px) {
  .content-container {
    width: 80vw;
  }
}

@media screen and (max-width: 750px) {
  .content-container {
    max-width: 600px;
  }
}

.task-group {
  padding: 10px 3px 10px 3px;
  border: 0px solid lightgray;
  border-bottom-width: 1px;
}

.dark-theme .task-group {
  border-color: #292929;
}

.task-group:last-child {
  border-bottom-width: 0;
}

.set-group:last-of-type .task-group:last-child {
  border-bottom-width: 1px;
}

.task-group-header {
  display: block;
  border-radius: 2px;
  font-size: 22px;
  color: #00205b;
  font-weight: 600;
  padding: 5px;
  overflow: hidden;
  line-height: 35px;
  padding-left: 0px;
  padding-right: 0px;
}

.dark-theme .task-group-header {
  color: #739ded;
}

@media screen and (max-width: 600px) {
  .task-group-header {
    cursor: pointer;
    padding: 0px;
  }
  .task-group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s linear;
  }

  .task-group-header.collapsible > .collapsible-arrow {
    display: inline-block;
    width: 0px;
    height: 0px;
    border: solid 7px transparent;
    margin: 1px 3px 1px 3px;
    border-right: solid 4px transparent;
    border-left: solid 10px gray;
    transition: transform 0.2s linear;
    transform-origin: 5px 50%;
  }

  .task-group-header.collapsible.expanded > .collapsible-arrow {
    transform: rotate(90deg);
  }
}
.task-btn.solved {
  border-color: #78a808;
  background: linear-gradient(to top left, #0000 85%, #78a808 85.1%) top
      right/40px 40px no-repeat,
    #f5f6f9;
}
.dark-theme .task-btn.solved {
  border-color: #78a808;
}

.task-btn {
  height: 40px;
  width: 40px;
  line-height: 40px;
  color: #5a5a5a;
  text-align: center;
  padding: 0;
  border: 1px solid grey;
  border-radius: 2px;
  background-color: #f5f6f9;
  margin: 3px;
  font-size: 18px;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.dark-theme .task-btn {
  background-color: #414141;
  border-color: #595959;
  color: #ededed;
}

@media (hover: hover) {
  .task-btn:hover {
    color: #1956c7;
    border-color: #1956c7;
    font-weight: 600;
  }

  .dark-theme .task-btn:hover {
    color: #ededed;
    border-color: #a0a0a0;
  }
}

.task-group-header > .nav-link {
  padding: 0 10px 0 20px;
}

@media screen and (max-width: 600px) {
  .task-group-header > .nav-link {
    float: right;
    line-height: 39px;
    padding: 0px;
  }
}

.set-group-header {
  margin: 20px -5px 0 -5px;
  border-radius: 2px;
  padding: 10px;
  font-size: 24px;
  color: white;
  display: block;
  background-color: #00205b;
}

@media screen and (max-width: 600px) {
  .set-group-header {
    margin: 0px -5px 0 -5px;
  }
}

.dark-theme .set-group-header {
  background-color: #00205b;
}

.header {
  position: relative;
  background-color: #00205b;
  height: auto;
}

.header a {
  text-decoration: none;
  display: inline-block;
  line-height: 0;
}

.header img {
  position: relative;
  height: 80px;
  padding: 20px 5px;
}

.dark-theme .header img {
  filter: brightness(0.9);
}

.text-section {
  margin-left: 30px;
  margin: 30px 6%;
}

@media screen and (max-width: 600px) {
  .text-section {
    margin: 20px 1%;
  }
}

.text-section a {
  color: #2b2c30;
}

.dark-theme .text-section a {
  color: #cfcfcf;
}

.text-section p,
.text-section li {
  font-family: Arial, serif;
  color: #2b2c30;
  font-size: 16px;
  line-height: 1.5;
  padding: 0 5px 0 5px;
}

.dark-theme .text-section p,
.dark-theme .text-section li {
  color: #cfcfcf;
}

@media screen and (max-width: 600px) {
  .header {
    height: 100px;
  }

  .header img {
    padding: 16px 5px;
    height: 68px;
  }

  p {
    font-size: 16px;
  }

  p span {
    padding-bottom: 5px;
    font-size: 18px;
  }
}

li.paper {
  list-style: none;
  background: url('./img/paper-icon.svg') no-repeat left center;
  padding-left: 2em;
  background-size: 1.5em 1.5em;
  margin: 4px 6px;
  border: solid 4px transparent;
}

.dark-theme li.paper {
  filter: invert(1);
}

.dark-theme li.paper a {
  filter: invert(1);
}

#intro {
  font-family: Arial, serif;
  color: #2b2c30;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  padding: 0 5px 0 5px;
  margin: -15px 0 0 0;
}

.dark-theme #intro {
  color: #cfcfcf;
}

#intro span {
  display: block;
  padding-bottom: 10px;
  letter-spacing: 0.4px;
  font-size: 20px;
  font-weight: 600;
}

@media screen and (max-width: 600px) {
  .header {
    height: 100px;
  }

  .header img {
    padding: 16px 5px;
    height: 68px;
  }

  #intro {
    font-size: 16px;
  }

  #intro span {
    padding-bottom: 5px;
    font-size: 18px;
  }
}

/*light gray:  #f5f6f9 */
/*dark blue:   #00205b */
/*light blue:  #1956c7 */
/*grey         #5a5a5a */
/*text grey:   #2b2c30 */

.text {
  padding: 0;
  padding-top: 0;
  margin: 0;
  color: #2b2c30;
  font-size: 20px;
}

.dark-theme .text {
  color: #b7b7b7;
}

@media screen and (max-width: 600px) {
  .text {
    display: inline-block;
    font-size: 16px;
  }
}

.task-header {
  display: flex;
  align-items: center;
  background-color: #efefef;
  border-radius: 5px;
  margin: 0 -5px 0 -5px;
}

.task-header > h1 {
  margin: 20px 10px 20px 10px;
  font-size: 32px;
  color: #00205b;
  font-weight: 600;
  flex-grow: 1;
}

.dark-theme .task-header {
  background-color: #292929;
}

.dark-theme .task-header > h1 {
  color: #ededed;
}

@media screen and (max-width: 600px) {
  .task-header > h1 {
    font-size: 28px;
    padding: 15px 0 15px 0;
    margin: 10px;
  }
  .optional {
    display: none;
  }
}

.set-group-header > .text-desc {
  white-space: nowrap;
  font-size: 18px;
  min-width: 300px;
  font-weight: normal;
}

.btn {
  background-color: #00205b;
  border: 1px solid #00205b;
  border-radius: 2px;
  padding: 0 10px 0 10px;
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 200;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  font-family: arial;
  line-height: 38px;
  white-space: nowrap;
  margin: 20px;
}

@media (hover: hover) {
  .btn:hover {
    background-color: #1956c7;
    border-color: #1956c7;
  }

  .dark-theme .btn:hover {
    background-color: #595959;
    border-color: #a0a0a0;
  }
}

.dark-theme .btn {
  background-color: #414141;
  border: 1px solid #595959;
}

@media screen and (max-width: 600px) {
  .btn {
    font-size: 18px;
  }
}

.spc-tab-bar {
  display: flex;
  align-items: flex-end;
  margin-left: 5px;
  overflow: hidden;
  scroll-behavior: smooth;
}

@media screen and (max-width: 600px) {
  .btn {
    font-size: 18px;
  }
  .spc-tab-bar {
    margin: 5px 0 5px 0;
  }
}

.radio-btn.btn {
  color: #5a5a5a;
  margin: 0;
  background-color: #efefef;
  border: 1px solid #5a5a5a;
  border-right-width: 0;
  border-radius: 0;
  transition: padding 0.2s;
}

.spc-tab-bar .radio-btn {
  line-height: 32px;
}

.spc-tab-bar-wrapper {
  position: relative;
}

.spc-tab-bar-wrapper > .buttons-overlay {
  position: absolute;
  border-style: none;
  cursor: pointer;
  font-size: 26px;
  color: #5a5a5a;
  top: 0;
  bottom: 0;
  display: none;
  padding: 0 5px 0 5px;
  margin: 0;
}

.dark-theme .spc-tab-bar-wrapper > .buttons-overlay {
  color: #ededed;
}

.spc-container {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  border: none;
  margin: 0 0 -10px 0;
}

.spc-wm-hide {
  position: absolute;
  bottom: 0px;
  width: 20%;
  padding-bottom: 5%;
  background-color: white;
  pointer-events: none;
  user-select: none;
  /* border: solid; */
}

.dark-theme .spc-wm-hide {
  background-color: #121212;
}

@media (hover: hover) {
  .buttons-overlay:hover {
    font-weight: 600;
  }
}

#buttons-overlay-left {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

#buttons-overlay-right {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

.dark-theme #buttons-overlay-left {
  background: linear-gradient(
    90deg,
    rgba(18, 18, 18, 1) 0%,
    rgba(18, 18, 18, 0.9) 60%,
    rgba(18, 18, 18, 0) 100%
  );
}

.dark-theme #buttons-overlay-right {
  background: linear-gradient(
    270deg,
    rgba(18, 18, 18, 1) 0%,
    rgba(18, 18, 18, 0.9) 60%,
    rgba(18, 18, 18, 0) 100%
  );
}

@media (hover: hover) {
  .radio-btn:hover {
    color: #1956c7;
    border-right-width: 1px;
    background-color: #f5f6f9;
    border-color: #1956c7;
  }
}

.radio-btn.active,
.label-radio input:checked + .radio-btn {
  border-color: #00205b;
  border-right-width: 1px;
  color: white;
  background-color: #00205b;
}

@media (hover: hover) {
  .radio-btn:hover + .radio-btn,
  .radio-btn:hover + input + .radio-btn {
    border-left-width: 0;
  }
}

.radio-btn.active + .radio-btn,
.label-radio input:checked + .radio-btn + input + .radio-btn {
  border-left-width: 0;
}

.radio-btn:last-of-type {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  border-right-width: 1px;
}

.radio-btn:first-of-type {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.dark-theme .radio-btn {
  background-color: #292929;
  color: #ededed;
}

@media (hover: hover) {
  .dark-theme .radio-btn:hover {
    background-color: #414141;
    border-color: #707070;
    color: #ededed;
  }
}

.dark-theme .radio-btn.active,
.dark-theme .label-radio input:checked + .radio-btn {
  border-right-width: 1px;
  /*color: white;*/
  background-color: #595959;
  border-color: #888888;
}

/*reset-progress button*/

#reset-progress {
  margin: 10px 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#reset-progress button {
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  font: inherit;
  text-decoration: underline;
  color: #2b2c30;
  padding: 0;
  margin: 1px 6px 1px 6px;
}

.dark-theme #reset-progress button {
  color: #ededed;
}

@media (hover: hover) {
  #reset-progress button:hover {
    color: #1956c7;
  }

  .dark-theme #reset-progress button:hover {
    color: #888888;
  }
}

#confirm-reset {
  line-height: 0px;
  transition: 0.2s;
  color: #2b2c30;
  opacity: 0;
  max-height: 0;
  visibility: hidden;
}

.dark-theme #confirm-reset {
  color: #b7b7b7;
}

#confirm-reset.visible {
  line-height: 24px;
  visibility: visible;
  opacity: 1;
  max-height: 100px;
}

.flex-separator {
  flex-grow: 1;
}

#theme-btn {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  float: right;
  border: 1px solid #5a5a5a;
  border-radius: 2px;
  height: 28px;
  margin: 1px;
  margin-left: 15px;
  width: 56px;
  cursor: pointer;
  padding: 1px 6px 1px 6px;
  background-color: #efefef;
  flex-shrink: 0;
}

.dark-theme #theme-btn {
  color: #ededed;
  background-color: black;
}

@media (hover: hover) {
  #theme-btn:hover {
    border-color: #1956c7;
  }

  #theme-btn:hover svg {
    filter: invert(24%) sepia(91%) saturate(2000%) hue-rotate(211deg)
      brightness(86%) contrast(94%);
  }

  .dark-theme #theme-btn:hover {
    border-color: #707070;
  }
}

#theme-btn::after {
  content: '';
  border-radius: 1px;
  position: absolute;
  top: 1px;
  left: 29px;
  background-color: #00205b;
  height: 24px;
  width: 24px;
  transition: transform 0.2s;
}

#theme-btn svg {
  display: inline-block;
  height: 16px;
  width: 16px;
}

.dark-theme #theme-btn svg {
  filter: invert(1) brightness(0.93);
  transform: scale(1);
}

.dark-theme #theme-btn::after {
  transform: translate(-28px);
  background-color: #414141;
}

@media screen and (max-width: 600px) {
  #theme-btn {
    height: 26px;
    width: 56px;
  }
  #theme-btn::after {
    left: 29px;
    height: 22px;
    width: 24px;
  }
  #theme-btn svg {
    height: 16px;
    width: 16px;
  }
  .dark-theme #theme-btn::after {
    transform: translate(-28px);
  }
}

.btn:disabled {
  background-color: #cfcfcf;
  border-color: #cfcfcf;
  color: #888888;
  cursor: default;
}

.dark-theme .btn:disabled {
  background-color: #292929;
  border-color: #292929;
  color: #888888;
}

#submit-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}

#btn-next-hidden {
  max-height: 40px;
  transition: opacity 2s, background-color 0.3s, color 0.3s, border-color 0.3s;
}

#btn-next-hidden.hidden {
  padding: 0;
  opacity: 0;
  width: 0;
  max-height: 0;
  border-width: 0;
  margin: 0;
  transition: none;
}

#response-solution {
  transition: opacity 0.6s ease-out;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 10px;
  flex-grow: 1;
}

#response-solution:empty::after {
  content: '\2714\FE0E \2716\FE0E';
  visibility: hidden;
}

#response-solution:empty {
  opacity: 0;
}

#quiz-content {
  display: flex;
  margin-top: 70px;
  gap: 20px;
  flex-wrap: wrap;
  align-content: baseline;
  transition: opacity 0.5s linear, filter 0.5s linear, height 0.4s ease-out,
    max-height 0.4s ease-out;
}

#quiz-content.topics {
  margin-top: 30px;
}

@media screen and (max-width: 600px) {
  #response-solution {
    margin-left: 0;
  }
  #quiz-content.topics {
    justify-content: center;
  }
}

@media screen and (max-width: 500px) {
  #submit-bar {
    flex-direction: column;
    align-items: center;
  }

  #response-solution {
    width: 100%;
    text-align: center;
  }

  #btn-submit,
  #btn-next-hidden {
    margin: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 85%;
    text-align: center;
  }
  #btn-next-hidden {
    transition: max-height 0.8s, margin 0.8s, opacity 1.5s;
    width: 45%;
  }
}

.quiz-btn {
  height: 80px;
  width: 250px;
  display: inline-flex;
  color: black;
  background-color: white;
  padding: 10px;
  border: 1px solid #00205b;
  border-radius: 4px;
  align-items: center;
  font-size: 18px;
  box-shadow: 3px 4px 4px #cdcdcd;
  transition: 0.2s;
  user-select: none;
}

.dark-theme .quiz-btn {
  background-color: #292929;
  color: white;
  border-color: #414141;
  box-shadow: 3px 4px 4px #060606;
}

@media (pointer: fine) {
  .quiz-btn:hover {
    color: white;
    background-color: #00205b;
    box-shadow: 5px 5px 8px #cdcdcd;
  }

  .dark-theme .quiz-btn:hover {
    background-color: #414141;
    box-shadow: 5px 5px 8px #060606;
  }
}

.quiz-btn div {
  flex: 1;
}

.quiz-prog-circle {
  width: 60px;
  height: 60px;
  background-color: #eaeaea;
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  position: relative;
  flex-shrink: 0;
}

.dark-theme .quiz-prog-circle {
  background-color: #414141;
}

.quiz-progress {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(#78a808 0% 91.9%, #d9534f 00% 100%, white 100%);
}

.quiz-progress.completed {
  background: #78a808;
}

.quiz-prog-inner {
  width: 34px;
  height: 34px;
  background-color: #00205b;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0px solid white;
}

@media screen and (max-width: 600px) {
  .quiz-btn {
    width: 175px;
    height: 75px;
    font-size: 16px;
  }

  .quiz-prog-inner {
    width: 30px;
    height: 30px;
  }

  .quiz-prog-circle {
    width: 54px;
    height: 54px;
  }

  #quiz-content {
    gap: 16px;
  }
}

.quiz-question {
  /*   width: 50%; */
  flex: 1 480px;
  box-sizing: border-box;
  /* border: 1px solid #00205b; */
  border-radius: 4px;
  padding: 10px 0;
  position: relative;
  font-size: 18px;
  line-height: 1.4;
}

.quiz-question p {
  margin: 0;
}

.quiz-question > .quiz-title {
  padding: 12px;
  background-color: #00205b;
  border-radius: 4px;
  color: white;
  position: absolute;
  top: -52px;
  left: -12px;
  font-size: 18px;
}

.quiz-question > img {
  display: block;
  margin: 16px auto;
  width: 100%;
}

#quiz-answers-container {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  flex: 40;
  min-width: 400px;
  align-content: center;
}

#quiz-answers-container > button {
  width: 100%;
  line-height: 1.4;
  background-color: white;
  color: black;
  border-radius: 4px;
  height: auto;
  padding: 12px 32px;
  font-size: 18px;
  border: solid 1px #00205b;
  transition: all 0.3s;
  text-align: center;
  user-select: none;
  box-shadow: 3px 4px 4px #cdcdcd;
}

#quiz-answers-container > button > img {
  vertical-align: middle;
  transition: none 0.3s;
}

.dark-theme #quiz-answers-container > button {
  background-color: #292929;
  border-color: #414141;
  color: #ededed;
  box-shadow: 3px 4px 4px #060606;
  /*   flex: 1; */
}

@media (pointer: fine) {
  #quiz-answers-container > button:hover {
    background-color: #00205b;
    color: #ffffff;
    box-shadow: 5px 5px 8px #cdcdcd;
  }

  .dark-theme #quiz-answers-container > button:hover {
    background-color: #414141;
    color: #ffffff;
    box-shadow: 5px 5px 8px #060606;
  }

  #quiz-answers-container > button:hover > img {
    filter: invert(1) brightness(100%) sepia(0) hue-rotate(180deg);
  }
}

sub,
sup {
  line-height: 0;
}

@media screen and (max-width: 600px) {
  #quiz-answers-container {
    gap: 10px;
    min-width: unset;
  }
  .quiz-question {
    font-size: 16px;
    flex: 1 100%;
  }

  #quiz-answers-container > button {
    font-size: 16px;
    padding: 10px 28px;
    min-height: 50px;
  }
  .quiz-question > img {
    /*     transform: scale(0.88); */
    max-width: 100%;
  }
}

.dark-theme #quiz-answers-container > button > img,
.dark-theme .quiz-question > img {
  filter: brightness(0.93) invert(1) hue-rotate(300deg);
}

#quiz-answers-container > button.incorrect-answer {
  color: rgb(212, 41, 41);
  background-color: rgb(255, 236, 236);
  border-color: rgb(255, 112, 112);
  position: relative;
}

#quiz-answers-container > button::after {
  font-size: 32px;
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  pointer-events: none;
}

#quiz-answers-container > button.incorrect-answer::after {
  content: "\2718\fe0e";
  color: rgb(212, 41, 41);

}

#quiz-answers-container > button.correct-answer {
  color: rgb(27, 179, 27);
  background-color: rgb(238, 255, 238);
  border-color: rgb(78, 207, 78);
  position: relative;
}

#quiz-answers-container > button.correct-answer::after {
  content: "\2714\fe0e";
  color: rgb(27, 179, 27);
}

@media screen and (max-width: 600px) {
  #quiz-answers-container > button.incorrect-answer::after {
    font-size: 28px;
  }
  #quiz-answers-container > button.correct-answer::after {
    font-size: 26px;
  }
}

#quiz-answers-container > button.correct-answer > img {
  filter: brightness(0) saturate(100%) invert(50%) sepia(42%) saturate(1244%)
    hue-rotate(77deg) brightness(96%) contrast(96%);
}

#quiz-answers-container > button.incorrect-answer > img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(47%) saturate(3266%)
    hue-rotate(339deg) brightness(105%) contrast(102%);
}

.dark-theme #quiz-answers-container > button.incorrect-answer {
  color: rgb(255 166 166);
  background-color: rgb(55 21 21);
  border-color: rgb(128, 0, 0);
}

.dark-theme #quiz-answers-container > button.correct-answer {
  color: rgb(166, 255, 166);
  background-color: rgb(20 44 20);
  border-color: rgb(0, 128, 0);
}

.dark-theme #quiz-answers-container > button.correct-answer > img {
  filter: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2354%)
    hue-rotate(64deg) brightness(106%) contrast(100%);
}

.dark-theme #quiz-answers-container > button.incorrect-answer > img {
  filter: brightness(0) saturate(100%) invert(80%) sepia(46%) saturate(7275%)
    hue-rotate(319deg) brightness(99%) contrast(86%);
}

#quiz-answers-container > button.disabled {
  pointer-events: none;
}

#quiz-content.transparent {
  opacity: 0;
  filter: blur(5px);
}

.gallery {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px;
  flex: 1;
  white-space: nowrap;
}

.gallery img {
  height: 180px;
  width: 180px;
  border-radius: 50%;
}

.gallery h4 {
  margin: 10px 0 4px 0;
}

.dark-theme .gallery {
  color: #cfcfcf;
}

.dark-theme .gallery img {
  filter: brightness(0.9);
}

.bullet-list li {
  margin-bottom: 18px;
}

.bullet-list {
  list-style: none;
  padding-left: 1.5em;
}

@media screen and (max-width: 600px) {
  .bullet-list {
    padding-left: 1em;
  }
}

.bullet-list li {
  position: relative;
  margin-bottom: 18px;
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: -0.4em;
  font-size: 32px;
  color: #00205b;
  line-height: 0.8;
}

.dark-theme .bullet-list li::before {
  content: '•';
  position: absolute;
  left: -0.4em;
  font-size: 32px;
  color: #cfcfcf;
  line-height: 0.8;
}

.download-icon {
  background: #e2a82b;
  border-radius: 10%;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  left: -8px;
}

.download-icon > svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.book-link {
  width: 130px;
  height: auto;
}

.download-icon,
.book-link {
  box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.4);
}

.dark-theme .download-icon,
.dark-theme .book-link {
  box-shadow: 4px 6px 8px black;
}

.dark-theme .adaptive-image {
  filter: brightness(0.93) invert(1) hue-rotate(300deg);
}

.dark-theme .adaptive-image-alt {
  filter: brightness(0.8) invert(1) hue-rotate(180deg);
}

.tagline {
  color: #707070;
  text-align: center;
  margin: 30px 0 46px 0;
  font-size: 20px;
}

@media screen and (max-width: 600px) {
  .tagline {
    font-size: 18px;
  }
}

.dark-theme .tagline {
  color: #999999;
}