@font-face {
  font-family: "Open Sans Bold";
  src: url("assets/Open-Sans-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Open Sans Regular";
  src: url("assets/Open-Sans-Regular.ttf") format("truetype");
}

:root {
  --page-width: 50vw;
  --primary: rgb(17, 17, 18);
  --secondary: rgb(30, 215, 96);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans Bold", sans-serif;
  font-weight: 500;
}

p {
  font-family: "Open Sans Regular", sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0 0 1rem 0;
}

body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif, monospace;
  background-color: var(--primary);
  color: white;
}

.pgcenterer {
  position: relative;
  display: flex;
  justify-content: center;
  width: var(--page-width);
  margin: auto;
  flex-wrap: wrap;
}

header {
  position: relative;
  margin-bottom: 1rem;
  width: 100%;
  /* background-color: #222228; */
  padding: 1rem;
  box-sizing: border-box;
}
header img {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  vertical-align: middle;
}
header h3 {
  margin: 0 0 0 1rem;
  display: inline;
  vertical-align: middle;
}

article {
  width: 100%;
  padding: 1rem;
  background-color: #222228;
  border-radius: 1rem;
  margin: 2rem 0 2rem 0;
  /* border: 1px solid #222228; */
  transition-duration: 0.3s;
}
.hidden {
  display: none;
  opacity: 0;
}
article p {
  margin: 0;
}

main {
  width: 100%;
  padding: 1rem;
  /* background-color: #222228; */
  border-radius: 1rem;
  /* border: 1px solid #222228; */
}

/* input { */
/* display: block; */
/* margin: 0 0 2rem 0; */
/* } */

input {
  border: none;
  background-color: rgb(24, 24, 28);
  color: white;
  /* font-size: 2.1rem; */
  font-size: 1rem;
  width: 100%;
  /* letter-spacing: 5px; */
  /* text-transform: uppercase; */
  font-family: "Open Sans Regular", sans-serif;
  /* font-weight: 500; */
  border-radius: 6px;
  padding: 8px 16px;
  box-sizing: border-box;
  margin: 0 0 1.25rem 0;
}

select {
  border: none;
  background-color: rgb(24, 24, 28);
  color: white;
  /* font-size: 2.1rem; */
  font-size: 1rem;
  width: 100%;
  /* letter-spacing: 5px; */
  /* text-transform: uppercase; */
  font-family: "Open Sans Regular", sans-serif;
  /* font-weight: 500; */
  border-radius: 6px;
  padding: 8px 16px;
  box-sizing: border-box;
  margin: 0 0 1.25rem 0;
  -webkit-appearance: none;
}

button {
  margin-top: 1.5rem;
  border: none;
  width: 100%;
  background-color: #1e2e29;
  color: var(--secondary);
  height: 40px;
  font-family: "Open Sans Bold", sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition-duration: 0.3s;
}
button:disabled {
  cursor: default;
  opacity: 0.2;
}

#overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: progress;
}
.loader,
.loader:before,
.loader:after {
  background: var(--secondary);
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  border-radius: 10px;
  width: 1em;
  height: 4em;
}
.loader {
  color: var(--secondary);
  text-indent: -9999em;
  /* margin: 88px auto; */
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: "";
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}

@media screen and (max-width: 80rem) {
  :root {
    --site-width: 70vw;
  }
}

@media screen and (max-width: 60rem) {
  :root {
    --page-width: 95vw;
  }
}

@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 3em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 4em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 3em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 4em;
  }
}
