* {
  box-sizing: border-box;
  font-family: 'IBM Plex Sans', sans-serif;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #F7F7F7;
}

/* Layouts */
.box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.screen {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  background-color: inherit;
}

.screen > .header {

}

.screen > .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.screen > .footer {

}

/* Overlays */
.overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  transition-duration: 500ms;
}

.overlay.active {
  visibility: visible;
  z-index: 100;
}

.overlay:not(.active) {
  z-index: -1;
}

.overlay.drawer.active {
  transform: translateY(0);
}

.overlay.drawer:not(.active) {
  transform: translateY(100%);
}

.overlay.modal.active {
  transform: translateX(0);
}

.overlay.modal:not(.active) {
  transform: translateX(-100%);
}

/* Elements */
a {
  text-decoration: none;
}

.button {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 32px;
  height: 56px;
  margin: 20px 0;
  padding: 10px 32px;
  font-size: 18px;
  line-height: 24px;
  border-color: transparent;
  font-weight: bold;
}
.button.primary {
  color: #FFFFFF;
  background-color: #0085AB;
}
.button.secondary {
  color: #FFFFFF;
  background-color: #E30404;
}

.button:disabled {
  opacity: 0.6;
}

.field {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.field > label {
  margin-bottom: 8px;
}

.field > input {
  width: 100%;
  min-height: 40px;
  text-align: center;
  padding: 10px 32px;
  font-size: 18px;
  border: 1px solid #D0D0D0;
  border-radius: 32px;
}

.field > input::placeholder {
  font-style: italic;
}

.text {
  text-align: center;
}

/* Components */
.card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: #0085AB;
  border: 1px solid transparent;
  border-radius: 8px;
  margin: 20px 0;
  padding: 10px;
  box-shadow: 5px 5px 5px 5px #232323;
}

.card > .header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #FFFFFF;
  margin: 10px;
  padding: 20px 10px;
  border-radius: 8px;
}

.card > .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #FFFFFF;
  margin: 10px;
  padding: 10px;
  border-radius: 8px;
}

/* Animations */
/* See https://codepen.io/foxeisen/pen/YZxGed */
@keyframes spinner-scale {
  0% {
    transform: scale(1);
    border-style: solid;
  }
  100% {
    transform: scale(0);
    border-style: dashed;
  }
}

.spinner {
  --bg-color: #FFFFFF; /* container background-color */
  --basic-dark-color: #232323; /* color of the spinner */
  --border-width: 4px; /* width of spinners border */
  --basic-spinner-dimensions: 125px; /* width and height of spinner */
  --main-spinner-dimensions: calc(var(--basic-spinner-dimensions) - var(--border-width) * 2); /* width and height of bigger circle */
  --small-spinner-dimensions: calc(var(--main-spinner-dimensions) * 0.7);
  position: relative;
  width: var(--basic-spinner-dimensions);
  height: var(--basic-spinner-dimensions);
}
.spinner:before,
.spinner:after {
  content: "";
  display: block;
  position: absolute;
  border-width: 4px;
  border-style: solid;
  border-radius: 50%;
  width: var(--main-spinner-dimensions);
  height: var(--main-spinner-dimensions);
  border-color: var(--basic-dark-color);
  top: 0;
  left: 0;
}
.spinner:before {
  animation: spinner-scale 1s linear 0s infinite alternate;
}
.spinner:after {
  animation: spinner-scale 1s linear 0s infinite alternate-reverse;
}

.admin-table tbody tr:nth-of-type(even) {
  background-color: #e0dfdf;
}
