body {
  margin: 0;
}

#subject-type {
  background: var(--main-gradient);
  min-height: 100%;
  background-size: cover;
  overflow-x: hidden;
}

#index {
  background: var(--main-gradient);
  min-height: 100%;
  background-size: cover;
  overflow: hidden;
}

#test {
  background: var(--main-gradient);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

:root, html[data-theme="blue"] {
  --main-gradient: linear-gradient(45deg, #029fe3, #0273e3 20%, #ab01c5);
  --text-color: #0273e3;
  --next-border: #8ec6ff;
  --feedback-color: white;
  --version-color: white;
  --list-background: linear-gradient(135deg, #97d3ed, #9bc5fd, #d5b4ff);
  --list-color: -webkit-linear-gradient(45deg, #0273e3, #5d14aa);
  --ready-color: white;
  --start-button-background: #00c26e;
  --question-color: white;
  --answer-color: white;
  --active: #dadada;
  --drop-box-color: #c7d8fd;
  --draggable-color: rgba(85, 85, 85, 0.8);
  --correct-color: #00c26e;
  --correct-text: #006c3a;
  --incorrect-color: #ff5252;
  --highlight-color: #ff00a6;
  --notification-gradient: linear-gradient(90deg, #00c6ff, #0072ff);
}

html[data-theme="orange"] {
  --main-gradient: linear-gradient(45deg, #ec8129, #ec4c29, #a70dda);
  --text-color: #d33e66;
  --next-border: #fa97b0;
  --feedback-color: white;
  --version-color: white;
  --list-background: linear-gradient(135deg, #ffc698, #e0a5f4);
  --list-color: -webkit-linear-gradient(45deg, #ec8129, #a70dda);
  --ready-color: white;
  --start-button-background: #00834a;
  --question-color: white;
  --answer-color: white;
  --active: #dadada;
  --drop-box-color: #ffffff;
  --correct-color: #00c26e;
  --incorrect-color: #ff5252;
  --highlight-color: #0075fa;
  --notification-gradient: linear-gradient(90deg, #ec4c29, #a70dda);
}

html[data-theme="bluegray"] {
  --main-gradient: linear-gradient(45deg, #142a45, #204771);
  --text-color: #295b91;
  --next-border: #69839e;
  --feedback-color: white;
  --version-color: white;
  --list-background: linear-gradient(135deg, #c7d5e4, #919aa5);
  --list-color: -webkit-linear-gradient(45deg, #142a45, #204771);
  --ready-color: white;
  --start-button-background: #00c26e;
  --question-color: white;
  --answer-color: white;
  --active: #dadada;
  --drop-box-color: #c7d5e4;
  --correct-color: #00c26e;
  --incorrect-color: #ff5252;
  --highlight-color: #ffff00;
  --notification-gradient: linear-gradient(90deg, #204771, #3D80CA);
}

html[data-theme="magenta"] {
  --main-gradient: linear-gradient(45deg, #6617CB, #CB218E);
  --text-color: #a200ae;
  --next-border: #ad62b3;
  --feedback-color: white;
  --version-color: white;
  --list-background: linear-gradient(135deg, #e38eff, #d0aaff);
  --list-color: -webkit-linear-gradient(45deg, #a200ae, #5d0093);
  --ready-color: white;
  --start-button-background: #00c26e;
  --question-color: white;
  --answer-color: white;
  --active: #dadada;
  --drop-box-color: #f5befb;
  --correct-color: #00c26e;
  --incorrect-color: #ff5252;
  --highlight-color: #bfff00;
  --notification-gradient: linear-gradient(90deg, #6617CB, #CB218E);
}

html[data-theme="lime"] {
  --main-gradient: linear-gradient(45deg, #0bac81, #108388, #2d5eab);
  --text-color: #008c85;
  --next-border: #7db6b2;
  --feedback-color: white;
  --version-color: white;
  --list-background: linear-gradient(135deg, #93d1ce, #92d3bd);
  --list-color: -webkit-linear-gradient(45deg, #008c85, #00764e);
  --ready-color: white;
  --start-button-background: #00834a;
  --question-color: white;
  --answer-color: white;
  --active: #dadada;
  --drop-box-color: white;
  --correct-color: #00c26e;
  --incorrect-color: #ff5252;
  --highlight-color: #ff00a6;
  --notification-gradient: linear-gradient(90deg, #008c85, #00764e);
}

html[data-theme="pink"] {
  --main-gradient: linear-gradient(45deg, #622774, #c53364);
  --text-color: #c53364;
  --next-border: #c57d95;
  --feedback-color: white;
  --version-color: white;
  --list-background: linear-gradient(135deg, #e8bbf6, #f6c1d3);
  --list-color: -webkit-linear-gradient(45deg, #622774, #c53364);
  --ready-color: white;
  --start-button-background: #00c26e;
  --question-color: white;
  --answer-color: white;
  --active: #dadada;
  --drop-box-color: #ffccf3;
  --correct-color: #00c26e;
  --incorrect-color: #8a2c2c;
  --highlight-color: #bfff00;
  --notification-gradient: linear-gradient(90deg, #622774, #c53364);
}

#header-container {
  height: 110px;
  display: flex;
  flex-direction: column;

  @media only screen and (max-width: 1000px) {
    height: 70px;
  }

  @media only screen and (max-width: 800px) {
    height: 110px;
  }
}

#header, #header-alt {
  background-color: white;
  position: fixed;
  top: 0;
  height: 80px;
  display: flex;
  z-index: 100;
  transition: 200ms ease-in-out;
  width: 0;
  justify-content: right;
  align-items: center;

  @media only screen and (max-width: 1000px) {
    height: 50px;
  }

  @media only screen and (max-width: 800px) {
    height: 80px;
  }
}

#header-alt {
  width: 100%;
}

#header-bar {
  width: 100%;
  background-color: #393939;
  color: white;
  overflow: hidden;
  position: fixed;
  top: 80px;
  display: flex;
  align-items: center;
  z-index: 99;

  @media only screen and (max-width: 1000px) {
    top: 50px;
  }

  @media only screen and (max-width: 800px) {
    top: 80px;
  }
}

#lang-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 20px;
  justify-content: space-evenly;
  width: 90px;
  height: 50%;
  color: #393939;
  font-weight: bold;
  cursor: pointer;
  font-family: Sansation-Regular, sans-serif;
  margin-right: 50px;
  padding: 5px 0 5px 10px;
  border-radius: 20px;
  transition: 200ms ease-in-out;

  .sign-in-icon:nth-of-type(2) {
    padding-left: 10px;
  }
}

#lang-button:hover {
  background-color: #f0f0f0;
  transition: 200ms ease-in-out;
}

#lang-menu {
  display: none;
  flex-direction: column;
  gap: 15px;
  padding: 10px 10px 20px 10px;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  box-shadow: 0 2px 15px rgba(0,0,0,0.5);
  color: #393939;
  background: #f0f0f0;
  border-radius: 10px;
  top: 70%;
  transition: 200ms ease-in-out;
  z-index: 100000;
  animation: menuActive 200ms ease reverse;
}

#lang-menu.active {
  display: flex;
  transition: 200ms ease-in-out;
  animation: menuActive 200ms ease;
}

#en, #de, #hu {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: inset 0 0.0625em 0 0 #e4e4e4, 0 0.0625em 0 0 #dfdfdf,
  0 0.125em 0 0 #dcdcdc, 0 0.25em 0 0 #d0d0d0, 0 0.3125em 0 0 #cecece,
  0 0.375em 0 0 #cccccc, 0 0.425em 0 0 #bababa, 0 0.425em 0.5em 0 #bebebe;
  font-family: Sansation-Regular, sans-serif;
  transition: 200ms ease-in-out;
}

#en.active, #de.active, #hu.active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef,
  0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede,
  0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
  transition: 200ms ease-in-out;
}

#lang-menu::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #f0f0f0 transparent;
}

.flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}

#current-flag {
  margin-right: 5px;
}

#ready-container {
  display: flex;
  flex-direction: column;
}

#ready-bar {
  opacity: 0;
  margin-top: 15vh;
  width: 100%;
  background-color: white;
  padding: 10px 0;
  color: white;
  overflow: hidden;
  position: fixed;
  top: 80px;
  display: flex;
  align-items: center;
  z-index: 998;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    margin-top: 5vh;
  }
}

.ready {
  display: flex;
  white-space: nowrap;
  z-index: 999;
  animation: scroll-right 60s linear infinite;
}

.ready-content {
  display: flex;
  background-color: #393939;
  color: white;
  font-weight: bold;
  z-index: 1000;
  font-family: Sansation-Regular, sans-serif;
  padding: 3px 0;
  font-size: 150px;
  letter-spacing: 3px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 100px;
  }
}

.ready-content span {
  margin-right: 500px;
  user-select: none;
}

.marquee {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  z-index: 999;
}

.marquee-content, .index-marquee-content {
  display: flex;
  background-color: #393939;
  color: white;
  font-weight: bold;
  z-index: 1000;
  font-family: Sansation-Regular, sans-serif;
  padding: 3px 0;
  font-size: 24px;
  letter-spacing: 1px;

  @media only screen and (max-width: 1000px) {
    letter-spacing: 1px;
    font-size: 15px;
  }

  @media only screen and (max-width: 800px) {
    font-size: 24px;
  }
}

.marquee-content {
  animation: scroll-left 30s linear infinite;
}

.index-marquee-content {
  animation: scroll-left 60s linear infinite;
}

.marquee-content span, .index-marquee-content span {
  margin-right: 200px;
  user-select: none;

  @media only screen and (max-width: 1000px) {
    margin-right: 200px;
  }
}

#header-logo {
  display: none;
  padding-right: 100px;
  width: 220px;

  @media only screen and (max-width: 1000px) {
    width: 150px;
    right: 50px;
  }

  @media only screen and (max-width: 800px) {
    padding-right: 50px;
  }
}

#animation-container {
  position: fixed;
  display: grid;
  grid-template-rows: repeat(10, 1fr);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.animation-line {
  position: relative;
  width: 0;
  height: 100%;
  background-color: white;
  transition: 200ms ease-in-out;
}

#logo-container {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#info-and-logo {
  display: flex;
  flex-direction: column;
}

.copyright {
  font-family: Sansation-Regular, sans-serif;
  font-size: 30px;
  color: white;
  text-align: center;
  opacity: 0;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 50px;
  transition: 200ms ease-in-out;

  span {
    font-weight: bold;
    color: #393939;
  }

  #divider {
    font-weight: unset;
    color: white;
    margin: 0 50px;
  }
}

#logo {
  top: 250px;
  z-index: 1000;
  position: fixed;
  transform: none;
  width: 60%;

  @media only screen and (max-width: 800px) {
    width: 250px;
  }
}

#container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
  justify-items: center;
  margin-top: 190px;

  @media only screen and (max-width: 1000px) {
    margin-top: 0;
  }
}

#container.animate {
  animation: fadein 200ms ease-in-out;
}

#container.animate-reverse {
  animation: fadein 200ms ease-in-out;
  animation-direction: reverse;
}

a {
  text-decoration: none;
}

#date-table {
  position: fixed;
  left: 100px;
  z-index: 100;
  font-family: Sansation-Regular, sans-serif;
  border-collapse: collapse;
  border: none;
  user-select: none;
  display: none;
  transition: 200ms ease-in-out;
  transform: translateX(-10px);

  @media only screen and (max-width: 1000px) {
    left: 50px;
  }

  @media only screen and (max-width: 800px) {
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
  }
}

#year {
  font-size: 50px;
  font-weight: bold;
  color: #393939;
  padding-right: 10px;

  @media only screen and (max-width: 1000px) {
    font-size: 30px;
  }
}

#month-day {
  color: var(--text-color);
  font-size: 20px;
  padding-top: 5px;
  font-weight: bold;
  padding-bottom: 0;

  @media only screen and (max-width: 1000px) {
    font-size: 12px;
  }
}

#weekday {
  font-size: 20px;
  padding-bottom: 7px;
  padding-top: 0;

  @media only screen and (max-width: 1000px) {
    font-size: 12px;
  }
}

#header-separator {
  display: none;
  position: absolute;
  left: 420px;
  transition: 200ms ease-in-out;
  height: 50%;
  width: 3px;
  border: none;
  border-radius: 5px;
  background-color: #393939;
  transform: translateX(-10px);

  @media only screen and (max-width: 1000px) {
    height: 40%;
    width: 2px;
    left: 250px;
  }

  @media only screen and (max-width: 800px) {
    opacity: 0;
  }
}

#time-table {
  display: none;
  position: absolute;
  left: 500px;
  user-select: none;
  z-index: 100;
  font-family: Sansation-Regular, sans-serif;
  border-collapse: collapse;
  border: none;
  transition: 200ms ease-in-out;
  transform: translateX(-10px);

  @media only screen and (max-width: 1000px) {
    left: 300px;
  }

  @media only screen and (max-width: 800px) {
    opacity: 0;
  }
}

#hours {
  font-size: 50px;
  color: #393939;
  font-weight: bold;

  @media only screen and (max-width: 1000px) {
    font-size: 30px;
  }
}

#minutes {
  font-size: 50px;
  color: var(--text-color);
  font-weight: bold;

  @media only screen and (max-width: 1000px) {
    font-size: 30px;
  }
}

#seconds {
  font-size: 20px;

  @media only screen and (max-width: 1000px) {
    font-size: 15px;
  }
}

#empty {
  height: 20px;

  @media only screen and (max-width: 1000px) {
    height: 10px;
  }
}

#index-bottom-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  position: fixed;
  transition: 200ms ease-in-out;
  z-index: 100;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 70px;
}

#index-bottom-menu-content {
  background: white;
  border: none;
  display: grid;
  height: 70px;
  bottom: -100px;
  grid-template-columns: 70% 30%;
  justify-content: space-evenly;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
  align-items: center;
  transition: 400ms ease-in-out;
  right: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  position: fixed;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    grid-template-columns: 55% 45%;
  }

  @media only screen and (max-width: 800px) {
    height: 150px;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: unset;
  }
}

#index-bottom-menu-grid1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    padding: 0 20px;
  }

  @media only screen and (max-width: 800px) {
    padding: 0;
    justify-content: space-evenly;
  }
}

#index-bottom-menu-grid2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 50px;
  border-left: 2px solid #dddddd;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    padding: 0 20px;
  }

  @media only screen and (max-width: 800px) {
    padding: 5px 0;
    border-left: none;
    border-top: 2px solid #dddddd;
  }
}

#bottom-menu-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  transition: 200ms ease-in-out;
}

#profile-pic {
  width: 50px;
  background: linear-gradient(45deg, #009cc1, #b800a9);
  height: 50px;
  margin-left: 10px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

#profile-name {
  font-size: 18px;
  font-family: Sansation-Regular, sans-serif;
  color: var(--text-color);
  padding-right: 10px;
  text-align: right;
  transition: 200ms ease-in-out;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 15px;
  }
}

#my-profile {
  font-family: Sansation-Regular, sans-serif;
  display: flex;
  justify-self: right;
  align-items: center;
  font-size: 15px;
  text-align: center;
  color: #393939;
  transition: 200ms ease-in-out;
  border-radius: 10px;
  cursor: pointer;
  width: fit-content;
  padding: 2px 10px;
}

#my-profile:hover {
  background: #f0f0f0;
  transition: 200ms ease-in-out;
}

#version {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: var(--version-color);
  font-size: 25px;
  font-family: Sansation-Regular, sans-serif;
  animation: soft-resize 500ms;

  @media only screen and (max-width: 800px) {
    position: fixed;
    font-size: 20px;
    bottom: 10px;
    right: 10px;
  }
}

#feedback, #help, #credits, #sign-in, #add, #register, #sign-out {
  display: none;
  align-items: center;
  flex-direction: column;
  color: #393939;
  font-size: 18px;
  font-family: InriaSans-Regular, sans-serif;
  background: none;
  border: none;
  padding: 5px 20px;
  transition: 200ms ease-in-out;

  @media only screen and (max-width: 1000px) {
    font-size: 15px;
  }
}

#sign-in, #my-profile {
  opacity: 0.5;
  pointer-events: none;
}

#button-section {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 50px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    gap: 20px;
  }

  @media only screen and (max-width: 800px) {
    gap: 20px;
  }
}

#search-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    display: none;
  }

  @media only screen and (max-width: 800px) {
    display: none;
  }
}

#search-filter {
  color: #393939;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  padding: 5px;
  transition: 200ms ease-in-out;
}

#search-filter:hover {
  cursor: pointer;
  background: #f0f0f0;
  transition: 200ms ease-in-out;
}

#search-filter-inside {
  display: flex;
  flex-direction: row;
}

#search-filter-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  position: absolute;
  min-width: 150px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
  color: #393939;
  background: #f0f0f0;
  border-radius: 10px;
  bottom: 80%;
  transition: 200ms ease-in-out;
  animation: menuActiveAlt 200ms ease reverse;
}

#search-filter-menu.active {
  display: flex;
  animation: menuActiveAlt 200ms ease;
}

#search-filter-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #f0f0f0 transparent transparent transparent;
}

#search-filter-menu li {
  all: unset;
  display: flex;
  align-items: center;
  width: 100%;
  font-family: Sansation-Regular, sans-serif;
  list-style: none;
  border-radius: 10px;
  transition: 200ms ease-in-out;
}

#search-filter-menu li:first-of-type {
  border-bottom: 1px solid #bdbdbd;
  border-radius: 0;
  padding-bottom: 10px;
}

#search-container {
  display: flex;
  width: 100%;
  border-radius: 30px;
  height: 40px;
  color: #393939;
  justify-content: space-around;
  background-color: #f0f0f0;
  border: 1px solid #bdbdbd;
  padding: 0 5px 0 20px;
  font-size: 20px;
  align-items: center;
  font-family: Sansation-Regular, sans-serif;
  transition: 200ms ease-in-out;
  overflow: hidden;
}

#search-container:focus-within {
  border: 1px solid #f0f0f0;
  transition: 200ms ease-in-out;
  box-shadow: 0 0 0 3px var(--text-color);
}

#search {
  all: unset;
}

.search-icon {
  padding: 5px;
  border-radius: 50px;
  color: #393939;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease-in-out;
}

.search-icon:hover {
  cursor: pointer;
  transition: background-color 200ms ease-in-out;
  color: #393939;
  background: var(--list-background);
}

#add {
  display: flex;
  align-items: center;
  flex-direction: row;
  padding: 10px 30px;
  border: none;
  font-family: Sansation-Regular, sans-serif;
  bottom: -40px;
  position: fixed;
  justify-content: center;
  background: var(--list-background);
  color: var(--text-color);
  font-weight: bold;
  cursor: pointer;
  transition: bottom 1000ms ease-in-out, box-shadow 200ms ease-in-out;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#add:hover {
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.5) inset, 0 0 15px rgba(0,0,0,0.5);
  transition: box-shadow 200ms ease-in-out;
}

#not-available-warning {
  display: none;
  background: #393939;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  padding: 10px 20px;
  color: white;
  font-family: Sansation-Regular, sans-serif;
  font-size: 20px;
  border-radius: 10px;
  position: relative;
  bottom: 100%;
  transition: 200ms ease-in-out;
  z-index: 10000;
}

#not-available-warning::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #393939 transparent transparent transparent;
}

#not-available-warning.active {
  cursor: pointer;
  transition: 200ms ease-in-out;
  display: flex;
}

.sign-in-icon {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
  transition: font-variation-settings 0.3s;
  cursor: pointer;
}

#feedback:hover .sign-in-icon,
#credits:hover .sign-in-icon,
#help:hover .sign-in-icon,
#sign-in:hover .sign-in-icon,
#add:hover .sign-in-icon,
#register:hover .sign-in-icon,
#sign-out:hover .sign-in-icon,
#my-profile:hover .sign-in-icon,
#search-filter:hover .sign-in-icon {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
  transition: font-variation-settings 0.3s;
  cursor: pointer;
}

li .sign-in-icon,
#my-profile .sign-in-icon,
#add .sign-in-icon,
#lang-container .sign-in-icon,
#restart .sign-in-icon,
.restart2 .sign-in-icon,
#back-to-menu .sign-in-icon,
.back-to-menu2 .sign-in-icon,
.order-check-btn .sign-in-icon,
#reset-button .sign-in-icon,
.order-check-btn2 .sign-in-icon {
  padding-right: 5px;
}

#login-screen, #register-screen {
  background: white;
  width: 600px;
  overflow: hidden;
  border-radius: 20px;
  border: 5px solid #393939;
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: InriaSans-Regular, sans-serif;
  font-size: 30px;
  transition: 200ms ease-in-out;
}

#login-username, #login-password, #reg-password, #reg-realname, #reg-username {
  width: 450px;
  font-size: 25px;
  padding: 3px 20px;
  margin-bottom: 10px;
  border: none;
  background: #f0f0f0;
  border-radius: 20px;
}

#reg-school {
  background: #f0f0f0;
  border: none;
  font-size: 25px;
  padding: 3px 20px;
  border-radius: 50px;
}

#login-submit, #register-submit {
  border: none;
  background: #393939;
  color: white;
  font-family: Sansation-Regular, sans-serif;
  font-size: 20px;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 20px;
  transition: 200ms ease-in-out;
}

#login-submit:hover, #register-submit:hover {
  color: var(--text-color);
  cursor: pointer;
  transition: 200ms ease-in-out;
}

#register-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  font-size: 20px;
  bottom: 50px;
  right: 50px;
}

#register-button {
  border: none;
  border-radius: 20px;
  font-size: 20px;
  font-family: 'Sansation-Regular', sans-serif;
  padding: 5px 15px;
  background: var(--list-background);
  transition: 200ms ease-in-out;
}

#register-button:hover {
  cursor: pointer;
  box-shadow: #393939 0 0 3px;
  color: var(--text-color);
  transition: 200ms ease-in-out;
}

#login-close, #register-close {
  position: absolute;
  display: flex;
  align-items: center;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  border: none;
  background: none;
  border-radius: 50px;
  padding: 3px;
  transition: 200ms ease-in-out;
}

#login-close:hover, #register-close:hover {
  color: var(--text-color);
  transition: 200ms ease-in-out;
}

#login-message {
  position: absolute;
}

li .sign-in-icon {
  padding-left: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.material-symbols-rounded {
  align-items: center;
  transition: 200ms ease-in-out;
}

#feedback.animate, #help.animate, #credits.animate, #search.animate {
  animation: slide 500ms;
}

#feedback:hover, #help:hover, #credits:hover, #sign-in:hover, #sign-out:hover {
  color: var(--text-color);
  cursor: pointer;
  transition: 200ms ease-in-out;
}

#themes-container {
  top: 100px;
  right: -210px;
  position: fixed;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: 200ms ease-in-out;
  z-index: 10000;

  @media only screen and (max-width: 1000px) {
    top: 55px;
  }

  @media only screen and (max-width: 800px) {
    top: 100px;
  }
}

#themes-container.animate {
  animation: slidein 1s forwards;
}

#themes-container.animate-reverse {
  animation: slidein 1s forwards;
  animation-direction: reverse;
}

#themes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  top: 100px;
  right: -90px;
  background-color: white;
  padding: 15px;
  z-index: 41;
}

#themes-slider {
  top: 100px;
  right: 0;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  background-color: #dddddd;
  height: 260px;
  align-content: center;
  justify-content: center;
  cursor: pointer;
  transition: 200ms ease-in-out;
  z-index: 40;
}

#blue, #orange, #bluegray, #magenta, #pink, #lime {
  width: 60px;
  height: 30px;
  border-radius: 10px;
  box-shadow: #555555 1px 1px 3px;
  cursor: pointer;
}

#blue {
  background: linear-gradient(45deg,#029fe3, #0273e3, #7d01c5);
}

#orange {
  background: linear-gradient(45deg, #ec8129, #ec4c29, #a70dda);
}

#bluegray {
  background: linear-gradient(45deg, #142a45, #204771);
}

#magenta {
  background: linear-gradient(45deg, #6617CB, #CB218E);
}

#pink {
  background: linear-gradient(45deg, #622774, #c53364);
}

#lime {
  background: linear-gradient(45deg, #0bac81, #108388, #2d5eab);
}

a {
  all: unset;
}

#schools-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 100px;
  padding: 50px 100px;
  justify-items: center;
  margin-bottom: 100px;

  @media only screen and (max-width: 800px) {
    padding: 50px 50px;
  }
}

.schools {
  display: grid;
  opacity: 0;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
}

.schools:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.schools:active {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background: #bdbdbd;
}

.schools img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;

  @media only screen and (max-width: 800px) {
    display: none;
  }
}

.schools:hover img {
  transform: scale(1.05);
}

.school-name {
  font-family: Sansation-Regular, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin: 10px 0 5px 0;
  line-height: 1.3;
  padding: 0 10px;
}

.school-location {
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  color: #7f8c8d;
  margin: 0;
}

.class {
  color: var(--text-color);
  font-size: 40px;
  font-weight: bold;
  font-family: InriaSans-Regular, "sans-serif";
  background-color: #ffffff;
  background-size: 300px;
  background-position: center;
  text-align: center;
  height: 150px;
  width: 300px;
  border-radius: 30px;
  box-shadow: 0 0 10px #393939;
  align-content: center;
  transition: 0.2s ease-in-out;
  margin: 50px 20px 0 20px;

  @media only screen and (max-width: 1000px) {
    width: 220px;
    height: 100px;
    font-size: 25px;
    background-size: 220px;
    margin: 40px 20px 0 20px;
  }

  @media only screen and (max-width: 800px) {
    width: 250px;
    height: 120px;
    font-size: 30px;
    background-size: 250px;
    margin: 40px 20px 0 20px;
  }
}

.class:last-of-type {
  @media only screen and (max-width: 1000px) {
    margin-bottom: 100px;
  }
}

.class.english,
.class.german {
  background-image: url("../img/subject-icons/lang.png");
}

.class.maths {
  background-image: url("../img/subject-icons/maths.png");
}

.class.history {
  background-image: url("../img/subject-icons/history.png");
}

.class.german,
.class.maths,
.class.history {
  pointer-events: none;
  opacity: 0.5;
}

.class.fadeInUp, .schools.fadeInUp {
  animation: fadeInUpwards 0.5s forwards;
  animation-fill-mode: forwards;
}

.class.fadeInUp:hover {
  transform: scale(1.1);
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.class.fadeInUp:active {
  transform: scale(1.02);
  transition: 0.05s ease-out;
}

.class:hover {
  transform: scale(1.1);
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.class:active {
  transform: scale(1.02);
  transition: 0.05s ease-out;
}

a.quiz-link,
a.quiz-link * {
  background: var(--list-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 200ms ease-in-out;
}

a.quiz-link:visited {
  text-decoration: none;
}

fieldset {
  border-radius: 20px;
  text-align: center;
  border: 5px white double;
  margin: 20px 50px 50px 50px;
  transition: 200ms ease-in-out;

  @media only screen and (max-width: 800px) {
    margin: 20px 10px 20px 10px;
  }
}

legend {
  color: white;
  font-family: InriaSans-Regular, sans-serif;
  text-align: center;
  font-size: 20px;
  padding: 0 10px;
  transition: 200ms ease-in-out;
}

#email-subject {
  height: 450px;
  width: 80%;
  margin: 50px auto;
  font-family: InriaSans-Regular, sans-serif;
  font-size: 20px;
  background-color: rgba(255, 255, 255, 0.52);
  color: #424242;
  border-radius: 20px;
  border: 3px white dashed;
  padding: 20px;
  transition: 200ms ease-in-out;
}

#email-subject::placeholder {
  color: var(--text-color);
  transition: 200ms ease-in-out;
}

#email-send-container {
  display: flex;
  justify-content: center;
}

#email-send {
  all: unset;
  font-family: InriaSans-Regular, sans-serif;
  font-size: 25px;
  padding: 10px 30px;
  text-align: center;
  border-radius: 10px;
  background: white;
  color: var(--text-color);
  font-weight: bold;
  transition: 200ms ease-in-out;
}

#email-send:hover {
  background: #e4e4e4;
  transition: 200ms ease-in-out;
  cursor: pointer;
}

.question {
  font-family: "Sansation-Regular", "sans-serif";
  font-size: 50px;
  text-align: center;
  color: var(--question-color);
  font-weight: bold;
  margin-top: 300px;
  transition: 1000ms ease-in-out;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 30px;
    margin-top: 120px;
  }
}

.question.animate {
  animation: resize 0.5s;
}

.question.animate-reverse {
  animation: resize 0.5s;
  animation-direction: reverse;
}

sup {
  font-size: 30px;
}

.question-number {
  display: none;
  font-family: InriaSans-Regular, "sans-serif";
  font-size: 80px;
  font-weight: bold;
  text-align: center;
  background-color: white;
  user-select: none;
  border-bottom-right-radius: 20px;
  align-content: center;
  width: 190px;
  height: 90px;
  color: var(--text-color);
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    width: 170px;
    height: 80px;
  }

  @media only screen and (max-width: 800px) {
    font-size: 20px;
    padding: 25px 20px;
  }
}

#question-number-text {
  font-size: 25px;
  font-weight: bold;
  transition: 200ms ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
}

#question-number-number {
  font-size: 100px;
  font-weight: bold;
  transition: 200ms ease-in-out;
  opacity: 0.2;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  height: 100%;
  width: 100%;
  font-family: "Sansation-Regular", "sans-serif";
  color: var(--text-color);

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 90px;
  }
}

.question-number.animate {
  animation: upper 0.5s;
}

.question-number.animate-reverse {
  animation: upper 0.5s;
  animation-direction: reverse;
}

.answer {
  margin-top: 200px;
  padding: 10px 50px;
  max-width: 300px;
  align-content: center;
  text-align: center;
  font-size: 40px;
  color: var(--answer-color);
  font-family: "Sansation-Regular", "sans-serif";
  transition: 0.2s ease-in-out;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 25px;
    padding: 8px 20px;
    margin-top: 80px;
  }
}

.answer.animate {
  animation: fadein 500ms;
}

.answer.animate-reverse {
  animation: fadein 500ms;
  animation-direction: reverse;
}

.answer:hover {
  transform: scale(1.1);
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.container {
  display: none;
  flex-direction: row;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: space-around;
  margin: 0 200px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    margin: 0;
  }
}

#checkmark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 300px;
  color: #00ff80;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
}

#start-button {
  opacity: 0;
  bottom: 100px;
  box-shadow: #393939 0 2px 5px;
  font-size: 1.5rem;
  padding: 10px 30px;
  background-color: #00c26e;
  position: fixed;
  color: white;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  z-index: 1000;
  transition: 0.2s ease-in-out;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    bottom: 50px;
  }
}

#start-button:hover {
  background-color: #00a75f;
  color: #006c3a;
  transition: 0.2s ease-in-out;
}

.matching-card {
  display: none;
  transform: translateY(10px);
  background-color: #f0f0f0;
  border: 3px solid #aaaaaa;
  font-family: Sansation-Regular, sans-serif;
  font-size: 30px;
  text-align: center;
  min-width: fit-content;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
  color: var(--text-color);
  border-radius: 20px;
  padding: 15px;
  transition: 200ms ease-in-out;
  font-weight: bold;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 20px;
    padding: 5px;
    border-radius: 15px;
    border: 2px solid #aaaaaa;
  }
}

.matching-container {
  display: none;
  grid-template-columns: 1fr 10px 1fr;
  justify-items: center;
  gap: 40px;
  margin: 80px 30px 30px 30px;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}

.matching-left, .matching-right {
  align-items: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: fit-content;
  min-width: 35%;
  max-width: 100%;
  height: fit-content;
  color: var(--drop-box-color);
  font-family: NewAmsterdam-Regular, sans-serif;
  padding: 20px 70px;
  background: repeating-linear-gradient(45deg,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 50px,
    transparent 50px,
    transparent 100px);
  border-radius: 40px;
  border: none;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    padding: 10px 70px;
    border-radius: 30px;
    gap: 5px;
  }
}

.matching-title {
  text-align: center;
  font-weight: bold;
  font-size: 50px;
  letter-spacing: 5px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 30px;
    letter-spacing: 3px;
  }
}

.true-false-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 100px;
  transition: 0.2s ease;
  max-width: 80%;
  min-width: 50%;
}

.true-false-row {
  display: flex;
  align-items: center;
  border: 3px solid #ccc;
  border-radius: 20px;
  transition: 0.2s ease;
  overflow: hidden;
  color: var(--text-color);
  font-size: 30px;
  font-weight: bold;
  font-family: Sansation-Regular, sans-serif;
  background: aliceblue;
  opacity: 0;
  transform: translateY(20px);
}

.true-btn, .false-btn {
  flex: 1;
  font-size: 30px;
  background: none;
  transition: background 0.2s ease;
  border: none;
  color: #373737;
  cursor: pointer;
  border-radius: 10px;
  margin: 10px 13px;
}

#x {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 300px;
  color: #c83e3e;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
}

.block {
  display: inline-block;
  background: var(--list-background);
  box-shadow: 0 0 5px #393939;
  border-radius: 20px;
  max-width: 90%;
  width: fit-content;
  height: 100%;
  padding: 20px 0;
  text-align: center;
  vertical-align: center;
  font-family: InriaSans-Regular, "sans-serif";
  font-size: 25px;
  animation: fadein 500ms;
  transition: 200ms ease-in-out;

  @media only screen and (max-width: 1000px) {
    width: 90%;
    padding: 15px 0;
  }

  @media only screen and (max-width: 800px) {
    width: 90%;
    margin-bottom: 180px;
    padding: 15px 0;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: fit-content;
  gap: 20px;
  padding: 0 20px;

  @media (max-width: 1700px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 1300px) {
    grid-template-columns: 1fr;
  }

  @media only screen and (max-width: 1000px) {
    grid-template-columns: 1fr 1fr;
    padding: 0 15px;
    gap: 15px;
    width: unset;
  }

  @media only screen and (max-width: 800px) {
    width: unset;
    padding: 0 15px;
    gap: 15px;
    grid-template-columns: 1fr;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: center;

  @media only screen and (max-width: 1000px) {
    grid-template-columns: 30% 70%;
  }
}

.quiz-card {
  position: relative;
  background-color: #f0f0f0;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  min-width: 500px;
  color: var(--text-color);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  @media only screen and (max-width: 1000px) {
    min-width: unset;
  }
}

.quiz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.quiz-card:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #bdbdbd;
  transition: 200ms ease-in-out ;
}

.quiz-card.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.quiz-background-number {
  background-color: #393939;
  text-align: center;
  font-size: 100px;
  font-weight: bold;
  color: #d5d5d5;
  z-index: 0;

  @media only screen and (max-width: 1000px) {
    font-size: 70px;
  }
}

.quiz-title {
  position: relative;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;

  @media only screen and (max-width: 1000px) {
    font-size: 20px;
  }
}

.quiz-date {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  color: #666;

  @media only screen and (max-width: 1000px) {
    font-size: 15px;
  }
}

.teachers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 50px 200px;
  border-radius: 25px;
  background: var(--list-background);
  padding: 25px;

  @media (max-width: 1400px) {
    grid-template-columns: 1fr;
  }

  @media only screen and (max-width: 1000px) {
    grid-template-columns: 1fr 1fr;
    margin: 20px 40px;
    padding: 15px;
    gap: 10px;
  }

  @media only screen and (max-width: 800px) {
    grid-template-columns: 1fr;
    margin: 20px 10px;
    padding: 15px;
    gap: 10px;
  }
}

.teacher-container {
  opacity: 0;
  margin-bottom: 100px;

  @media only screen and (max-width: 800px) {
    margin-bottom: 180px;
  }
}

.teacher-container.animate {
  animation: fadein 200ms forwards;
  animation-direction: normal;
}

.teacher-container.animate-reverse {
  animation: fadein 200ms forwards;
  animation-direction: reverse;
}

.teacher-card {
  position: relative;
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: center;
  font-family: Sansation-Regular, sans-serif;
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  background-color: #f0f0f0;
  font-size: 35px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;

  @media only screen and (max-width: 1000px) {
    font-size: 25px;
  }

  @media only screen and (max-width: 800px) {
    font-size: 25px;
  }
}

.teacher-card.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.teacher-card:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background-color: #bdbdbd;
  transition: 100ms ease-in-out ;
}

.teacher-monogram {
  background-color: #393939;
  text-align: center;
  align-content: center;
  font-size: 40px;
  height: 100%;
  padding: 10px 0;
  font-weight: bold;
  color: #d5d5d5;
  z-index: 0;

  @media only screen and (max-width: 1000px) {
    font-size: 30px;
  }

  @media only screen and (max-width: 800px) {
    font-size: 30px;
  }
}

.teacher-name {
  height: 100%;
  align-content: center;
}

.teacher-separator {
  all: unset;
  height: 5px;
  background-color: #393939;
  border-radius: 10px;
  width: 100%;
}

#countdown {
  position: fixed;
  justify-self: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 200px;
  font-weight: bold;
  color: var(--ready-color);
  z-index: 9999;
  display: none;
  pointer-events: none;
  font-family: Sansation-Regular, sans-serif;
}

#countdown.animate {
  animation: scaleFade 1s;
}

.block-container {
  position: relative;
  text-align: center;
  margin: 50px 0;

  @media only screen and (max-width: 1000px) {
    margin: 20px 0;
  }

  @media only screen and (max-width: 800px) {
    margin: 20px 0;
  }
}

.block-container.animate {
  animation: fadein 200ms forwards;
  animation-direction: normal;
}

.block-container.animate-reverse {
  animation: fadein 200ms forwards;
  animation-direction: reverse;
}

.quiz-list {
  list-style-type: none;
}

.hover {
  height: 50px;
  align-content: center;
  padding: 5px 20px 5px 20px;
}

.hover:hover {
  background-color: #e6e6e6;
  cursor: pointer;
}

.grid-item {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
}

#bottom-menu {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  z-index: 1000;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    bottom: 0;
  }
}

#restart {
  display: none;
  color: var(--version-color);
  background: none;
  align-items: center;
  border: 2px solid var(--version-color);
  border-radius: 10px;
  font-size: 20px;
  padding: 10px 40px;
  cursor: pointer;
  animation: fadein 500ms;
  transition: 0.2s ease-in-out;
}

#restart:hover {
  background-color: var(--version-color);
  color: var(--text-color);
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

#restart.animate, #back-to-menu.animate {
  animation: fadein 500ms;
}

#restart.animate-reverse, #back-to-menu.animate-reverse {
  animation: fadein 500ms;
  animation-direction: reverse;
}

#back-to-menu {
  display: none;
  color: var(--text-color);
  background: var(--version-color);
  border: 2px solid var(--version-color);
  border-radius: 10px;
  font-size: 20px;
  align-items: center;
  margin-bottom: 50px;
  padding: 10px 40px;
  cursor: pointer;
  font-weight: bold;
  animation: fadein 500ms;
  transition: 0.2s ease-in-out;
}

#back-to-menu:hover {
  background-color: var(--active);
  transition: 0.2s ease-in-out;
}

#back-to-subjects {
  display: block;
  position: fixed;
  top: 17px;
  left: 20px;
  color: var(--text-color);
  padding: 13px;
  background: none;
  border: none;
  border-radius: 40px;
  z-index: 1000;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  animation: fadein 500ms;

  @media only screen and (max-width: 1000px) {
    top: 0;
    left: 0;
    transform: scale(0.8);
  }

  @media only screen and (max-width: 800px) {
    top: 17px;
    left: 20px;
    transform: scale(1);
  }
}

#back-to-subjects:hover {
  background-color: #f0f0f0;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s ease-in-out;
}

#back-to-subjects:active {
  cursor: pointer;
  background-color: #e1e1e1;
}

#top-right-menu {
  display: flex;
  flex-direction: row;
  position: absolute;
  z-index: 10000;
  top: 30px;
  right: 50px;
  font-family: InriaSans-Regular, "sans-serif";
  font-size: 20px;
  text-align: center;

  @media only screen and (max-width: 1000px) {
    top: 20px;
    right: 0;
  }
}

.restart2:hover {
  background-color: white;
  color: #490093;
  transition: 150ms ease-in-out;
}

.restart2:hover {
  background-color: var(--ready-color);
}

.restart2:active {
  background-color: #cfcfcf;
  color: #490093;
  cursor: pointer;
}

button.restart2, button.back-to-menu2 {
  all: unset;
  display: flex;
  margin-right: 20px;
  align-items: center;
  font-size: 20px;
  background: none;
  border: 2px solid white;
  border-radius: 10px;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  transition: 200ms ease-in-out;
  animation: fadein 500ms;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 15px;
    border-width: 1px;

  }

  @media only screen and (max-width: 800px) {
    font-size: 15px;
    padding: 10px 15px;
  }
}

button.back-to-menu2 {
  display: flex;
}

button.restart2 {
  display: none;
}

.back-to-menu2:hover {
  background-color: white;
  color: #490093;
  transition: 150ms ease-in-out;
}

.back-to-menu2:hover, .restart2:hover {
  background-color: var(--version-color);
  color: var(--text-color);
}

.back-to-menu2:active {
  background-color: #cfcfcf;
  color: #490093;
  cursor: pointer;
}

.back-to-menu2:active, .restart2:active {
  background-color: var(--active);
  color: var(--text-color);
  cursor: pointer;
}

#timer-bar-container {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 10px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 3000;
  overflow: hidden;
}

#timer-bar-fill {
  height: 100%;
  width: 0;
  background-color: #00ff80;
  transition: width linear;
}

#message-box {
  position: fixed;
  display: flex;
  background: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  color: var(--question-color);
  width: fit-content;
  align-self: center;
  border-radius: 20px;
  font-weight: bold;
  font-size: 60px;
  text-align: center;
  font-family: InriaSans-Regular, sans-serif;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

#message-box.animate {
  animation: flying 4s ease-in-out;
}

#message-backgrounds {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#message-box-background1, #message-box-background2 {
  background-color: #393939;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 100px;
  width: 0;
  left: 0;
  transition: 0.5s;
  z-index: 100;
  overflow: hidden;
}

#message-box-background1 {
  border-top: 10px solid white;
  transform: translateY(-50%) translateY(-50px);
}

#message-box-background2 {
  border-bottom: 10px solid white;
  transform: translateY(-50%) translateY(50px);
}

#message-box-background1.animate {
  animation: message-background-animation 5s;
  animation-direction: reverse;
}

#message-box-background2.animate {
  animation: message-background-animation 5s;
}

@keyframes message-background-animation {
  0% {
    width: 0;
  }
  20% {
    width: 100%;
  }
  80% {
    width: 100%;
  }
  100% {
    right: 0;
    left: unset;
    width: 0;
  }
}

#x.stamp {
  animation: stamp 0.6s ease-out;
}

#checkmark.stamp {
  animation: stamp 0.6s ease-out;
}

.next-button-animate {
  animation: slidein 0.5s ease-in-out;
}

.nextButton {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px;
  font-size: 20px;
  align-items: center;
  color: var(--text-color);
  background: white;
  border-radius: 100px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  touch-action: manipulation;
  border: 5px inset var(--next-border);
  cursor: pointer;
  box-shadow: 0 0 10px #393939;
  display: none;
  z-index: 10000;
}

.nextButton:hover {
  background-color: #bdbdbd;
  cursor: pointer;
  box-shadow: 0 3px 10px #393939;
  transition: 200ms ease-in-out;
  transform: scale(1.05) rotate(-1deg);
}

.nextButton:active {
  opacity: 0.8;
}

.top-right-menu-animate {
  animation: fadein 0.5s ease-in-out;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 20px 0;
  margin-top: 200px;
  transition: 0.2s ease-in-out;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.5) 0px, rgba(255, 255, 255, 0.5) 40px, transparent 40px, transparent 80px);

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    margin-top: 50px;
  }
}

.input-container.animate {
  animation: left-to-right 1s ease;

  @media only screen and (max-width: 800px) {
    animation: left-to-right-mobile 1s ease;
  }
}

.input-container.animate-reverse {
  animation: left-to-right 0.5s ease;
  animation-direction: reverse;
}

.input-content {
  height: 80px;
  display: flex;
  justify-content: space-between;
  padding: 0 20px 0 30px;
  border-radius: 50px;
  border: 5px solid #bdbdbd;
  align-content: center;
  background-color: white;
  font-size: 40px;
  width: 0;
  opacity: 0;
  margin: 0 auto;
  overflow: hidden;
  transition: 0.2s ease-in-out;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    height: 60px;
    font-size: 30px;
  }
}

.input-content.animate {
  animation: width-growth 0.5s ease;
  animation-fill-mode: forwards;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    animation: width-growth-mobile 0.5s ease;
    animation-fill-mode: forwards;
  }
}

.input-content.animate-reverse {
  animation: width-growth 0.5s ease;
  animation-direction: reverse;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    animation: width-growth-mobile 0.5s ease;
    animation-direction: reverse;
  }
}

.input-answer {
  all: unset;
  width: 100%;
  background-color: inherit;
  font-family: Sansation-Regular, sans-serif;
  color: var(--text-color);
}

.submit-button {
  all: unset;
  display: flex;
  padding: 5px;
  font-size: 20px;
  border-radius: 50px;
  background: none;
  color: #393939;
  align-self: center;
  cursor: pointer;
  align-items: center;
  transition: 200ms ease-in-out;

  .material-symbols-rounded {
    font-size: 50px;
  }
}

.submit-button:hover {
  background: var(--list-background);
  cursor: pointer;
  transition: 200ms ease-in-out;
}

.submit-button.animate-reverse {
  animation: fadein 0.5s ease-in-out;
  animation-direction: reverse;
}

#rotate-device-overlay {
  position: fixed;
  color: #393939;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #222222;
  z-index: 10000000;
  display: none;

  .material-symbols-rounded {
    font-size: 100px;
  }

  @media only screen and (max-width: 800px) and (orientation: portrait) {
    display: flex;
  }
}

.drag-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  flex-direction: row;
  margin-top: 100px;
  margin-bottom: 10px;
  justify-content: center;
  transition: 200ms ease-in-out;
}

.drag-container.animate {
  animation: fadein 0.5s ease-in-out;
}

.drag-container.animate-reverse {
  animation: fadein 0.5s ease-in-out;
  animation-direction: reverse;
}

.word-box {
  display: flex;
  position: absolute;
  flex-direction: row;
  font-size: 50px;
  width: 100%;
  height: 100%;
}

.drop-box {
  z-index: -1;
  display: grid;
  width: 100%;
  gap: 10px;
  padding: 10px;
  color: var(--drop-box-color);
  transition: 200ms ease-in-out;
}

.draggable {
  font-family: "Sansation-Regular", "sans-serif";
  font-size: 35px;
  font-weight: bold;
  padding: 10px 20px;
  background: rgba(66, 66, 66, 0.8);
  color: white;
  border-radius: 15px;
  cursor: grab;
  user-select: none;
  text-align: center;
  max-width: 800px;
  position: absolute;
  z-index: 20;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 20px;
    padding: 5px 15px;
    max-width: 200px;
  }
}

.draggable.animate-reverse {
  animation: fadein 0.5s ease-in-out;
  animation-direction: reverse;
}

.draggable.dropped {
  cursor: default;
  background-color: var(--correct-color);
  color: var(--correct-text);
}

.group-box {
  border: 3px dashed var(--question-color);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  font-family: "NewAmsterdam-Regular", "sans-serif";
  letter-spacing: 4px;
  font-size: 50px;
  flex-direction: column;
  align-items: center;
  min-height: 100px;

  @media only screen and (max-width: 1000px) {
    font-size: 30px;
  }
}

.group-title {
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.word-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.search-container {
  background-color: #393939;
  padding: 20px;
  border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: 200ms ease-in-out;
  top: -50px;
  z-index: 10;
}

.search {
  width: fit-content;
  font-size: 30px;
  border-radius: 50px;
  border: 3px solid #bdbdbd;
  padding: 10px 30px;
  height: unset;
  z-index: 11;
}

.order-sequence-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
  gap: 20px;
}

.order-sequence-list {
  position: relative;
  margin-top: 60px;
  opacity: 0;
  padding: 40px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 50px,
    rgba(0, 0, 0, 0) 50px,
    rgba(0, 0, 0, 0) 100px
  );
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  min-width: 500px;
  gap: 20px;
  transition: 200ms ease-in-out;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    margin-top: 0;
    padding: 15px;
    border-radius: 25px;
    gap: 7px;
    min-width: 400px;
  }
}

.order-sequence-card {
  opacity: 0;
  background-color: #f0f0f0;
  border: 3px solid #aaaaaa;
  font-size: 30px;
  font-family: Sansation-Regular, sans-serif;
  font-weight: bold;
  color: var(--text-color);
  text-align: center;
  padding: 10px 20px;
  border-radius: 20px;
  user-select: none;
  transition: 0.5s ease;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    border-width: 2px;
    font-size: 20px;
    padding: 5px 20px;
    border-radius: 15px;
  }
}

.order-sequence-card.dragging {
  opacity: 0.5;
  pointer-events: none;
}

.correct {
  background-color: var(--correct-color);
  color: var(--correct-text);
  border-color: var(--correct-text);
}

.incorrect {
  background-color: var(--incorrect-color);
  color: white;
}

.order-check-btn {
  display: none;
  padding: 10px 20px;
  font-size: 22px;
  background: #393939;
  align-items: center;
  font-family: InriaSans-Regular, "sans-serif";
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 200ms ease-in-out;
  animation: fadein 500ms;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 15px;
  }
}

.order-check-btn:hover {
  background-color: #222222;
  transition: 200ms ease-in-out;
}

.order-check-btn:active {
  background-color: #222222;
  color: var(--text-color);
  cursor: pointer;
}

.order-sequence-card.placeholder {
  opacity: 1;
  background-color: #ddd;
  border: 3px dashed #858585;
  border-radius: 20px;
}

.order-sequence-card,
.order-sequence-card.placeholder {
  box-sizing: border-box;
}

#sentence-bank {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  transition: 0.2s ease-in-out;
  min-height: 60px;
  padding: 10px;
  border: 3px dashed var(--question-color);
  border-radius: 20px;
  background: none;
  width: 100%;
  max-width: 1000px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    min-height: 35px;
    padding: 5px;
  }
}

#sentence-answer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  gap: 10px;
  background-color: white;
  margin-top: 20px;
  transition: 0.2s ease-in-out;
  min-height: 60px;
  width: 100%;
  padding: 10px;
  border: 3px solid #cccccc;
  border-radius: 20px;
  max-width: 1000px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    min-height: 35px;
    padding: 5px;
    margin-top: 10px;
  }
}

.sentence-order-container {
  display: none;
  flex-direction: column;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 50px,
    rgba(0, 0, 0, 0) 50px,
    rgba(0, 0, 0, 0) 100px
  );
  border-radius: 50px;
  padding: 50px;
  width: fit-content;
  min-width: 1000px;
  justify-self: center;
  position: relative;
  transition: 0.2s ease-in-out;
  align-items: center;
  margin-top: 200px;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    margin-top: 25px;
    padding: 25px;
    border-radius: 25px;
    min-width: 700px;
    max-width: 700px;
  }
}

.word-card {
  padding: 8px 14px;
  background: #ddd;
  color: var(--text-color);
  border: 3px solid #bbb;
  border-radius: 20px;
  cursor: grab;
  font-size: 40px;
  font-weight: bold;
  font-family: "Sansation-Regular", sans-serif;
  user-select: none;
  display: inline-block;
  box-sizing: border-box;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 25px;
    padding: 5px 10px;
    border-width: 2px;
    border-radius: 15px;
  }
}

#progress-counter {
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  font-size: 60px;
  background-color: #424242;
  font-family: "Sansation-Regular", sans-serif;
  color: gray;
  width: 200px;
  text-align: center;
  padding: 10px 30px;
  font-weight: bold;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    font-size: 50px;
    padding: 5px 10px;
    width: 200px;
  }
}

.order-check-btn2 {
  padding: 10px 20px;
  background: white;
  color: var(--text-color);
  border: none;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  font-size: 20px;
  transition: 200ms ease-in-out;
  font-weight: bold;
  font-family: InriaSans-Regular, sans-serif;
  border-radius: 10px;
  cursor: pointer;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    padding: 5px 15px;
    font-size: 15px;
    border-width: 2px;
  }
}

.order-check-btn2:hover {
  background-color: #d1d1d1;
  color: var(--text-color);
  transition: 200ms ease-in-out;
}

#reset-button {
  display: flex;
  padding: 10px 20px;
  background: none;
  opacity: 0;
  transform: translateY(20px);
  color: #fff;
  align-items: center;
  transition: 200ms ease-in-out;
  border: white 3px solid;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    padding: 5px 15px;
    font-size: 15px;
    border-width: 2px;
  }
}

#reset-button:hover {
  background-color: white;
  color: var(--text-color);
  transition: 200ms ease-in-out;
}

#maths-container {
  display: none;
  opacity: 0;
  grid-template-columns: fit-content(100%) 50px;
  justify-content: center;
  justify-items: center;
  align-items: center;
  color: #393939;
  margin-top: 250px;
  column-gap: 20px;
  transition: 0.2s ease-in-out;

  @media only screen and (max-width: 1000px) and (orientation: landscape) {
    margin-top: 50px;
  }
}

.maths-check-btn {
  all: unset;
  padding: 10px 15px;
  font-size: 20px;
  font-weight: bold;
  height: fit-content;
  font-family: InriaSans-Regular, sans-serif;
  border-radius: 10px;
  background: none;
  color: #fff;
  transition: 200ms ease-in-out;
  cursor: pointer;
}

.maths-check-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transition: 200ms ease-in-out;
}

.maths-check-btn:active {
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

#cookie-container {
  transition: 0.2s ease-in-out;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #393939;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: rgba(34, 34, 34, 0.8);
  z-index: 10000;
}

.cookie-content {
  background: white;
  position: fixed;
  bottom: 50px;
  border: 5px solid #393939;
  border-radius: 20px;
  font-size: 20px;
  font-family: 'InriaSans-Regular', sans-serif;
  max-width: 600px;
  animation: cookieNotification 0.5s ease-in-out;
}

#cookie-header {
  font-size: 30px;
  font-weight: bold;
  background-color: #393939;
  width: 100%;
  color: white;
  padding: 5px 0;
  text-align: center;
  font-family: "Sansation-Regular", sans-serif;
  text-shadow: 2px 2px 0 var(--text-color);
}

#cookie-main {
  padding: 20px 50px;

  @media only screen and (max-width: 800px) and (orientation: portrait) {
    padding: 20px;
  }
}

#cookie-accept, #cookie-decline {
  font-family: Sansation-Regular, sans-serif;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 200ms ease-in-out;
  border: 2px solid #393939;

  .material-symbols-rounded {
    margin-right: 10px;
  }
}

#cookie-accept:hover {
  cursor: pointer;
  animation: gradientAnimation 2s ease-in-out infinite;
  transform: scale(1.1);
}

#cookie-decline:hover {
  cursor: pointer;
  background: #bdbdbd;
  transform: scale(1.1);
}

#cookie-accept {
  background: var(--main-gradient);
  background-size: 200% 200%;
  color: white;
}

#cookie-decline {
  background: #e3e3e3;
}

.notification {
  bottom: 100px;
  right: 20px;
  position: absolute;
  background: white;
  color: #393939;
  border: 5px solid #393939;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 500px;
  max-width: 90%;
  font-family: "InriaSans-Regular", sans-serif;
  transform: translateX(550px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1000000;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-header {
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-family: Sansation-Regular, sans-serif;
  font-size: 25px;
  color: white;
  padding: 10px 20px;
  width: auto;
  align-items: center;
  background: #393939;
}

.notification-title {
  font-size: 20px;
  font-family: Sansation-Regular, sans-serif;
  font-weight: bold;
  padding: 20px 20px 5px 20px;
  color: #393939;
}

.notification-message {
  font-size: 20px;
  padding: 5px 20px 20px 20px;
  opacity: 0.9;
}

.closeNotification, .hide-error, .refresh-error {
  cursor: pointer;
  display: flex;
  align-items: center;
  border: none;
  background: none;

  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
  transition: font-variation-settings 0.3s;
}

.closeNotification:hover {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
  transition: font-variation-settings 0.3s;
  cursor: pointer;
}

.notification-button {
  margin: 0 20px 20px 0;
  font-family: Sansation-Regular, sans-serif;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  width: fit-content;
  transition: 200ms ease-in-out;
  border: 2px solid #393939;

  .material-symbols-rounded {
    margin-right: 10px;
  }

  &:first-child {
    background: var(--list-background);

    &:hover {
      background: var(--list-background);
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    }
  }
}

.notification-button:hover {
  background: #bdbdbd;
}

.notification-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--notification-gradient);
  width: 0;
  transition: width linear;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

#cookieClose {
  cursor: pointer;
  display: flex;
  align-items: center;
  border: none;
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;

  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
  transition: font-variation-settings 0.3s;
}

#cookieClose:hover {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
  transition: font-variation-settings 0.3s;
  cursor: pointer;
}

#folders-container {
  background: var(--notification-gradient);
  display: grid;
  grid-template-columns: repeat(auto-fit, 200px);
  justify-content: space-evenly;
  gap: 50px;
  padding: 50px;
  height: 100%;
  border-radius: 0 0 50px 50px;
}

.folder {
  position: relative;
  width: fit-content;
  height: fit-content;
  transition: 0.2s ease-in-out;

  &:hover {
    transform: scale(1.1);
    transition: 200ms ease-in-out;
    cursor: pointer;
  }
}

#my-profile-container {
  background: white;
  position: absolute;
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 50px;
  width: 100%;
  top: 110px;
  bottom: 70px;
}

#my-profile-upper-left {
  background: #393939;
}

#my-profile-upper-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 100px 100px 100px;
}

#my-profile-upper-middle {

}

#my-profile-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;

  .material-symbols-rounded {
    font-size: 75px;
    margin-bottom: -40px;
    user-select: none;
    color: #393939;
  }

  .material-symbols-rounded:nth-child(1) {
    animation: arrows 2s ease-in-out infinite;
  }

  .material-symbols-rounded:nth-child(2) {
    animation: arrows 2s ease-in-out infinite;
    animation-delay: 0.2s;
  }

  .material-symbols-rounded:nth-child(3) {
    animation: arrows 2s ease-in-out infinite;
    animation-delay: 0.4s;
  }
}

#my-quizzes {
  display: none;
  margin: 50px 0;
}

#my-quizzes-title {
  height: 100px;
  background: #f0f0f0;
  font-size: 100px;
  border-radius: 50px 50px 0 0;
  position: relative;
  font-family: NewAmsterdam-Regular, sans-serif;
  font-weight: bold;
  color: white;
  text-shadow: 3px 4px 0 lightgray, -3px 4px 0 lightgray, 3px -4px 0 lightgray, -3px -4px 0 lightgray;
  overflow: hidden;
  letter-spacing: 5px;
  padding-left: 50px;
}

#sort {
  font-size: 25px;
  text-shadow: none;
  color: #393939;
}

#sort-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  background: white;
  border-radius: 10px;
  padding: 5px 20px;
}

.sort-button {
  min-width: 100px;
  min-height: 25px;
  border: none;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 5px;
  font-family: 'Sansation-Regular', sans-serif;
  background: white;
  transition: 200ms ease-in-out;
}

.sort-button:hover {
  cursor: pointer;
}

.sort-button.active {
  background: #f0f0f0;
}

.sort-button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 5px;
  opacity: 0;
  transition: 200ms ease-in-out;
}

.sort-button.active::before {
  opacity: 1;
}

.friends-container {
  width: 300px;
  height: fit-content;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  gap: 20px;
}

.friends-header {
  display: flex;
  font-size: 20px;
  padding: 20px 20px 0 20px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.friends-header-right {
  display: flex;
  flex-direction: row;
  background: white;
  border-radius: 20px;
  align-items: center;
  padding: 3px 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.friends-header-left {
  display: flex;
  flex-direction: row;
  color: #393939;
  font-size: 25px;
  font-family: "Sansation-Regular", sans-serif;
  font-weight: bold;
}

.friends-search {
  font-size: 20px;
  font-family: "Sansation-Regular", sans-serif;
  border: none;
  border-radius: 20px;
  width: 100%;
  outline: none;
  transition: 200ms ease-in-out;
}

.friends-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding: 0 20px 20px 20px;
}

.friend {
  position: relative;
  width: 100%;
  transition: 0.2s ease-in-out;
  overflow: hidden;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  background: #bdbdbd;
}

.friend-pic {
  max-width: 70px;
  max-height: 70px;
  aspect-ratio: 1;
}

.friend-name {
  font-size: 20px;
  font-family: "Sansation-Regular", sans-serif;
  font-weight: bold;
  align-self: center;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 3px 0;
  text-align: center;
  color: #393939;
}

.folder-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 25px;
  font-family: Sansation-Regular, sans-serif;
  font-weight: bold;
  color: var(--text-color);
}

.item-counter {
  position: absolute;
  left: 20px;
  top: 5px;
  font-family: InriaSans-Regular, sans-serif;
}

.folder-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: white;
  bottom: 10px;
  font-family: Sansation-Regular, sans-serif;
}

#settings-container {
  display: flex;
  font-family: "InriaSans-Regular", sans-serif;
  font-size: 20px;
  flex-direction: column;
  gap: 10px;
  margin-top: 50px;
  transition: 0.2s ease-in-out;
}

.settings-title {
  font-weight: bold;
}

#my-profile-picture {
  max-width: 200px;
  max-height: 200px;
  aspect-ratio: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
}

#my-profile-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

#my-profile-name {
  font-size: 30px;
  font-family: "Sansation-Regular", sans-serif;
  font-weight: bold;
}

#works-at, #location {
  font-size: 20px;
  font-family: "Sansation-Regular", sans-serif;
}

#profile-section {
  font-family: "InriaSans-Regular", sans-serif;
  font-size: 20px;
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 20px 100px 0 100px;
  gap: 50px;
  transition: 0.2s ease-in-out;
}

#my-profile-menu {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  color: white;
  font-family: 'InriaSans-Regular', sans-serif;
  margin: 0;
  padding: 10px 20px;
  gap: 10px;
}

.my-profile-menu-item {
  padding: 10px 0;
  display: flex;
  border-radius: 10px;
  transition: 200ms ease-in-out;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 10px;

  &:hover {
    cursor: pointer;
    background: #303030;
  }
}

#settings-container .setting-row {
  width: 100%;

  .setting-input {
    text-align: right;
    color: var(--text-color);
    font-family: "InriaSans-Regular", sans-serif;
    font-weight: bold;
  }
}

.my-profile-menu-item.active {
  background: #292929;
  font-weight: bold;
  color: var(--text-color);
}

.settings-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: #393939;
  gap: 10px;
}

.setting-button {
  border: none;
  background: white;
  border-radius: 20px;
  font-family: 'Sansation-Regular', sans-serif;
  font-size: 15px;
  color: #393939;
  align-self: center;
  padding: 5px 15px;
  transform: translateY(-3px);
  transition: 200ms ease-in-out;
  box-shadow: inset 0 0.0625em 0 0 #e4e4e4, 0 0.0625em 0 0 #dfdfdf,
  0 0.125em 0 0 #dcdcdc, 0 0.25em 0 0 #d0d0d0, 0 0.3125em 0 0 #cecece,
  0 0.375em 0 0 #cccccc, 0 0.425em 0 0 #bababa, 0 0.425em 0.5em 0 #bebebe;
}

.setting-button:hover {
  cursor: pointer;
}

.setting-button:active {
  transition: 200ms ease-in-out;
  box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef,
  0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede,
  0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
  translate: 0 0.225em;
}

.setting-button.active {
  color: var(--text-color);
  transition: 200ms ease-in-out;
  box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef,
  0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede,
  0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
  translate: 0 0.225em;
}

#delete-setting-button {
  background: crimson;
  box-shadow: inset 0 0.0625em 0 0 #ae0c0c, 0 0.0625em 0 0 #ae0c0c,
  0 0.125em 0 0 #8a1f1f, 0 0.25em 0 0 #8a1f1f, 0 0.3125em 0 0 #8a1f1f,
  0 0.375em 0 0 #8a1f1f, 0 0.425em 0 0 #8a1f1f, 0 0.425em 0.5em 0 #bebebe;
  color: white;
}

#delete-setting-button:active {
  box-shadow: inset 0 0.03em 0 0 #ae0c0c, 0 0.03em 0 0 #ae0c0c,
  0 0.0625em 0 0 #8a1f1f, 0 0.125em 0 0 #8a1f1f, 0 0.125em 0 0 #8a1f1f,
  0 0.2em 0 0 #8a1f1f, 0 0.225em 0 0 #8a1f1f, 0 0.225em 0.375em 0 #bebebe;
}

#save-setting-button {
  background: #14dc5a;
  box-shadow: inset 0 0.0625em 0 0 #0cae2c, 0 0.0625em 0 0 #0cae3a,
  0 0.125em 0 0 #1f8a38, 0 0.25em 0 0 #1f8a38, 0 0.3125em 0 0 #1f8a38,
  0 0.375em 0 0 #1f8a38, 0 0.425em 0 0 #1f8a38, 0 0.425em 0.5em 0 #bebebe;
}

#save-setting-button:active {
  box-shadow: inset 0 0.03em 0 0 #0cae2c, 0 0.03em 0 0 #0cae2c,
  0 0.0625em 0 0 #1f8a38, 0 0.125em 0 0 #1f8a38, 0 0.125em 0 0 #1f8a38,
  0 0.2em 0 0 #1f8a38, 0 0.225em 0 0 #1f8a38, 0 0.225em 0.375em 0 #bebebe;
}

.setting-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  padding: 5px 10px;
  background: #f0f0f0;
  border-radius: 10px;
  box-shadow: #39393947 0 0 5px;
  transition: 200ms ease-in-out;
}

.setting-input {
  width: 200px;
  border: none;
  border-radius: 20px;
  padding: 2px 10px;
  outline: none;
  background: white;
  color: #393939;
  font-size: 18px;
  transition: 200ms ease-in-out;
}

.setting-input.long {
  width: 300px;
}

.setting-input.extralong {
  width: 500px;
}

#sign-in-container, #sign-up-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  border-radius: 20px;
  background-color: #222222;
  border: 5px solid #393939;
  box-shadow: #222 0 0 0 5px;
  padding: 2rem;
  color: white;
  transition: 1000ms ease;
}

.sign-in-title {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  font-family: "Sansation-Regular", sans-serif;
}

.sign-in-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "InriaSans-Regular", sans-serif;
}

.sign-in-input-group {
  position: relative;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.sign-in-input-group label {
  display: block;
  color: #bdbdbd;
  font-size: 18px;
  margin-bottom: 4px;
}

.sign-in-input-group input {
  width: 300px;
  font-size: 20px;
  font-family: InriaSans-Regular, sans-serif;
  border-radius: 10px;
  border: 1px solid #393939;
  outline: 0;
  background-color: #222;
  padding: 5px 10px;
  color: white;
  transition: 200ms ease-in-out;
}

.sign-in-input-group input:focus {
  border-color: var(--text-color);
}

.input-warning {
  position: absolute;
  display: none;
  top: 2px;
  right: 0;
  text-align: right;
  font-size: 13px;
  color: darkorange;
}

.password-visibility {
  position: absolute;
  right: 10px;
  top: 30px;
  color: #393939;
  cursor: pointer;
  user-select: none;
}

.forgot {
  display: flex;
  justify-content: flex-end;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgba(156, 163, 175,1);
  margin: 8px 0 14px 0;
}

.forgot a {
  color: #bdbdbd;
  text-decoration: none;
  font-size: 14px;
  border-radius: 20px;
  padding: 2px 5px;
  transition: 200ms ease-in-out;
}

.forgot a:hover {
  background: rgba(57, 57, 57, 0.5);
  cursor: pointer;
  transition: 200ms ease-in-out;
}

#forgotten-password {
  display: none;
  gap: 20px;
  background: #222;
  width: 100%;
  height: 100%;
  font-family: 'InriaSans-Regular', sans-serif;
  flex-direction: column;
}

#return {
  width: 150px;
  height: 30px;
  font-size: 20px;
  font-family: 'Sansation-Regular', sans-serif;
  background: #393939;
  border: 2px solid #222;
  box-shadow: 0 0 0 2px #393939;
  border-radius: 20px;
  color: white;
  transition: 200ms ease-in-out;

  &:hover {
    cursor: pointer;
    background: #222;
    transition: 200ms ease-in-out;
  }
}

.sign {
  display: block;
  width: 100%;
  background-color: var(--text-color);
  padding: 8px 10px;
  font-family: Sansation-Regular, sans-serif;
  font-size: 20px;
  text-align: center;
  color: white;
  border: 2px solid #222;
  box-shadow: 0 0 0 3px var(--text-color);
  border-radius: 10px;
  font-weight: bold;
  margin: 20px 0;
  cursor: pointer;
  transition: 200ms ease-in-out;

  &:hover {
    background: rgba(57, 57, 57, 0.5);
    transition: 200ms ease-in-out;
  }
}

.sign-in-social-message {
  display: flex;
  align-items: center;
  padding-top: 1rem;
}

.sign-in-line {
  height: 1px;
  flex: 1 1 0;
  background-color: #393939;
}

.sign-in-social-message .sign-in-message {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 15px;
  font-family: "InriaSans-Regular", sans-serif;
  color: #bdbdbd;
}

.sign-in-social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

.sign-in-social-icons .sign-in-icon {
  border-radius: 0.125rem;
  padding: 0.75rem;
  border: none;
  background-color: transparent;

  &:hover {
    cursor: pointer;
    background: rgba(57, 57, 57, 0.25);
  }
}

#change-to-signup, #change-to-sign-in {
  text-align: center;
  font-size: 15px;
  font-family: "InriaSans-Regular", sans-serif;
  color: #bdbdbd;
  margin-top: 20px;

  button {
    background: var(--list-background);
    padding: 3px 7px;
    border-radius: 10px;
    margin-left: 10px;
    color: #393939;
    font-weight: bold;
    cursor: pointer;
    border: none;

    &:hover {
      box-shadow: #393939 0 0 0 3px;
    }
  }
}


/* --------- Animations ---------- */

@keyframes cookieNotification {
  0% {
    opacity: 1;
    transform: translateY(300px);
  }
  70% {
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrows {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes gradientAnimation {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

@keyframes scaleFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.5);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
}

@keyframes flying {
  0% {
    opacity: 0;
    transform: translateX(-300%) translateY(-50%);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(200%) translateY(-50%);
  }
}

@keyframes stamp {
  0% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
  30% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
  60% {
    transform: translate(-50%, -50%) scale(0.95);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

@keyframes left-to-right {
  from {
    left: 0;
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes left-to-right-mobile {
  from {
    left: 0;
    width: 0;
  }
  to {
    width: 80%;
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes menuActive {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes menuActiveAlt {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


@keyframes width-growth {
  from {
    opacity: 0;
    width: 0;
  }
  to {
    opacity: 1;
    width: 900px;
  }
}

@keyframes width-growth-mobile {
  from {
    opacity: 0;
    width: 0;
  }
  to {
    opacity: 1;
    width: 500px;
  }
}

@keyframes slidein {
  from {transform: translateX(200px);}
  to {transform: translateX(0);}
}

@keyframes fadeInUpwards {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes upper {
  0% {left: -250px;}
  100% {left: 0}
}

@keyframes resize {
  0% {transform: scale(10%)}
  70% {transform: scale(115%)}
  100% {transform: scale(100%)}
}

@keyframes resize-alt {
  0% {
    transform: scale(10%);
    opacity: 0;
  }
  70% {
    transform: scale(115%);
  }
  100% {
    transform: scale(100%);
    opacity: 1;
  }
}

@keyframes slide {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes soft-resize {
  0% {transform: scale(50%)}
  100% {transform: scale(100%)}
}

@keyframes fadein {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

/* --------- Fonts ---------- */

@font-face {
  font-family: "NewAmsterdam-Regular";
  src: url("../fonts/NewAmsterdam-Regular.ttf");
}

@font-face {
  font-family: "Sansation-Regular";
  src: url("../fonts/Sansation-Regular.ttf");
}

@font-face {
  font-family: "InriaSans-Regular";
  src: url("../fonts/InriaSans-Regular.ttf");
}
