body,
html {
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: "Open Sans";
  font-weight: 600;
  display: flex;
  flex-direction: column;
  background-color: #222222;
}

::-webkit-scrollbar {
  display: none;
}

* {
  box-sizing: border-box;
}

.alertBox {
  user-select: none;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  min-width: 25vw;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fafafa;
  position: fixed;
  background-color: #5fd068;
  z-index: 5;
  border-radius: 10px;
  padding: 16px;
  font-size: 1em;
}

.container {
  flex: 1;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #222222;
}

.box {
  width: 33%;
  height: auto;
  background-color: #fafafa;
  display: flex;
  padding: 32px 16px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.box span {
  font-size: 2em;
  margin-bottom: 16px;
  user-select: none;
}

.group {
  display: flex;
  align-items: center;
  justify-content: center;
}

input[type="text"]:focus {
  background: linear-gradient(#986d8e, #986d8e) center bottom 0px /
    calc(100% - 10px) 2px no-repeat;
}

input[type="button"]:hover {
  transform: translateY(-3px);
}

input[type="text"],
input[type="button"] {
  user-select: none;
  all: unset;
  border: none;
  background-image: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  caret-color: transparent;
  outline: none;
}

input[type="button"] {
  user-select: none;
  color: #fafafa;
  width: 33%;
  height: 2.5em;
  padding: 0.2em;
  margin-top: 20px;
  border-radius: 5px;
  text-align: center;
  transition: 0.2s;
  background-color: #986d8e;
}

input[type="text"] {
  transition: 200ms all;
  min-width: 50%;
  text-align: center;
  padding: 16px;
  margin: 8px;
  padding-bottom: 12px;
  background-color: #fafafa;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(255, 255, 255, 0.3) 0px 0px 16px 0px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)) center
    bottom 5px / calc(100% - 10px) 2px no-repeat;
}

@media only screen and (max-width: 30em) {
  .box {
    width: 88%;
  }

  .alertBox {
    min-width: 88%;
  }
}

@media only screen and (min-width: 100em) {
  .box {
    width: 22%;
  }

  .alertBox {
    min-width: 22%;
  }
}


@media only screen and (min-width: 30em) and (max-width: 50em) {
  .box {
    width: 66%;
  }

  .alertBox {
    min-width: 66%;
  }
}

@keyframes showAlert {
  from {
    transform: translateX(-50%) translateY(200%);
  }
  to {
    transform: translateX(-50%) translateY(0%);
  }
}

@keyframes hideAlert {
  from {
    transform: translateX(-50%) translateY(0%);
  }
  to {
    transform: translateX(-50%) translateY(200%);
  }
}
