html,
body,
#root {
  height: 100%;
  margin: 0;
  --primary-color: #01589B;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

h1 {
  font-size: 4rem;
  margin: unset;
}

.main {
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}



header {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  padding: 1em;
}

header nav {
  background-color: var(--primary-color);
  height: 3em;
  border-radius: 10px;
  overflow: clip;
  display: flex;
  justify-content: space-between;
}

header nav a {
  color: white;
  font-weight: 700;
  text-decoration: none;
  padding-left: 2em;
  padding-right: 2em;
  height: 100%;
  display: flex;
  align-items: center;
}

header nav a:hover {
  background-color: #0005;
}

header nav div.active {
  position: relative;
}

header nav div.active::before {
  content: "";
  display: block;
  height: 2px;
  border-radius: 1px;
  position: absolute;
  left: 20px;
  bottom: 0.5em;
  right: 20px;
  background-color: white;
}

.no-outline-input {
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.no-outline-input:focus {
  outline: none;
  box-shadow: none;
}

/* “TextButton” */
.text-button {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: #0066cc;
}

.text-button:hover {
  text-decoration: none;
}


/* Mobile: ≤1024px */
@media (max-width: 1024px) {
  .mobile-only {
    display: block;
  }

  .hd-only,
  .fullhd-only {
    display: none;
  }
}

/* Desktop HD: 1025–1368px */
@media (min-width: 1025px) and (max-width: 1368px) {
  .hd-only {
    display: block;
  }

  .mobile-only,
  .fullhd-only {
    display: none;
  }
}

/* Desktop FullHD: ≥1369px */
@media (min-width: 1369px) {
  .fullhd-only {
    display: block;
  }

  .mobile-only,
  .hd-only {
    display: none;
  }
}

.small-loader {
  width: 20px;
  height: 20px;
  border: 2px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;

}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}