@charset "utf-8";

@font-face {
  font-family: 'OpenSans';
  src: url('font/OpenSansd41d.eot?#iefix') format('embedded-opentype'),
    url('font/OpenSans.woff') format('woff'),
    url('font/OpenSans.ttf') format('truetype'),
    url('font/OpenSans.svg#OpenSans') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-Semibold';
  src: url('font/OpenSans-Semiboldd41d.eot?#iefix') format('embedded-opentype'),
    url('font/OpenSans-Semibold.woff') format('woff'),
    url('font/OpenSans-Semibold.ttf') format('truetype'),
    url('font/OpenSans-Semibold.svg#OpenSans-Semibold') format('svg');
  font-weight: normal;
  font-style: normal;
}

:root {
  --clr--brand: #ad271b;
  --clr--brand--light: #e14f46;
  --clr--border: #79878e;
}

body {
  margin: 0 auto;
  font-family: 'OpenSans';
  font-size: 20px;
}

a {
  color: white;
  text-decoration: none;
}

body > .logo {
  margin: 1em 0.5em;
}

input,
button {
  height: 2.5em;
  box-sizing: border-box;
  border-radius: 1.25em;
  -moz-border-radius: 1.25em;
  -webkit-border-radius: 1.25em;
  font-size: inherit;
}

input {
  padding: 0px 0.75em;
  border: 1px solid var(--clr--border);
  outline: none;
}

input:focus {
  border: 2px solid var(--clr--brand--light);
}

input::-webkit-validation-bubble-message {
  display: none;
}

button {
  background-color: var(--clr--brand--light);
  border: none;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

button:hover {
  background-color: var(--clr--brand);
}

.desktop > .title {
  margin: 1em auto;
  padding: 1em;
  background-color: var(--clr--brand--light);
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.desktop > .content > * {
  width: clamp(340px, 50%, 500px);
  margin: 1em auto;
}

/* loading animation */
.lds-roller {
  margin: auto;
  position: relative;
  width: 4em;
  height: 4em;
  font-size: 10px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 2em 2em;
}
.lds-roller div:after {
  content: ' ';
  display: block;
  position: absolute;
  width: 0.35em;
  height: 0.35em;
  border-radius: 50%;
  background: #fff;
  margin: -0.2em 0 0 -0.2em;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 3.15em;
  left: 3.15em;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 3.4em;
  left: 2.8em;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 3.55em;
  left: 2.4em;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 3.6em;
  left: 2em;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 3.55em;
  left: 1.6em;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 3.4em;
  left: 1.2em;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 3.15em;
  left: 0.85em;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 2.8em;
  left: 0.6em;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.lds-facebook {
  display: inline-block;
  position: relative;
  width: 4em;
  height: 4em;
  font-size: 14px;
}
.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 0.4em;
  width: 0.8em;
  background: #fff;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
  left: 0.4em;
  animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
  left: 1.6em;
  animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
  left: 2.8em;
  animation-delay: 0;
}
@keyframes lds-facebook {
  0% {
    top: 0.4em;
    height: 3.2em;
  }
  50%,
  100% {
    top: 1.2em;
    height: 1.6em;
  }
}
.lds-facebook.end {
  vertical-align: middle;
  font-size: 7px;
}
.lds-facebook.end div {
  background: var(--clr--border);
}
/* loading animation */
