:root {
  --primary: #bf4dd6;
  --secondary: #de4ea4;
  --disabled: #7843b0;
  --accent: #f540c1;
}

* {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
}

body {
  margin: 0;
}

header {
  background: var(--primary, #36007c);
  width: 100%;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
}

header h1 {
  font-size: 2rem;
  color: white;
  margin: 0;
}

h1 small {
  display: inline-block;
  font-size: small;
  text-align: center;
}

button {
  font: inherit;
  font-size: 1.25rem;
  background: var(--secondary, #36007c);
  color: white;
  border: 1px solid var(--secondary, #36007c);
  border-radius: 6px;
  padding: 0.5rem 1.5rem;
  margin: 0.5rem 0;
  cursor: pointer;
}

button:focus {
  outline: none;
}

button:hover,
button:active {
  background: var(--accent, #55007c);
  border-color: var(--accent, #55007c);
}

button:disabled,
button:disabled:hover,
button:disabled:active {
  background: transparent;
  color: var(--disabled, #9b9b9b);
  border-color: var(--disabled, #9b9b9b);
  cursor: not-allowed;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10;
}

.modal {
  position: fixed;
  top: 25vh;
  left: 10%;
  width: 80%;
  background: white;
  z-index: 20;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
}

.modal__content {
  padding: 1rem;
  min-height: 10rem;
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}
.lds-dual-ring:after {
  content: ' ';
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid var(--primary, #36007c);
  border-color: var(--primary, #36007c) transparent var(--primary, #36007c) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .modal {
    left: calc(50% - 15rem);
    width: 30rem;
  }
}
