*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
.wrapper {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background-color: #f9fbfd;
}

.wrapper {
  padding-top: 30px;
  padding-left: 20px;
  padding-right: 20px;
  background: radial-gradient(circle at -8.9% 51.2%, rgb(255, 124, 0) 0%, rgb(255, 124, 0) 15.9%, rgb(255, 163, 77) 15.9%, rgb(255, 163, 77) 24.4%, rgb(19, 30, 37) 24.5%, rgb(19, 30, 37) 66%);

}

header {
  text-align: center;
  padding: 20px;
  padding-top: 0px;
  color: hsl(206, 33%, 91%);
  animation-name: bounce;
  animation-duration: 200ms;
  animation-delay: 600ms;
  animation-iteration-count: 6;
  animation-timing-function: ease-in;
  animation-direction: alternate;
}
@keyframes bounce {
  from  {
    transform: translateY(0);
  }
  to {
    transform: translatey(70px);
  }
}

.card {
  background-color: hsl(0, 0%, 100%);
  border-radius: 5px;
  border-width: 1px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px 0px;
  color: hsl(206, 17%, 28%);
  font-size: 18px;
  margin: 0 auto;
  max-width: 800px;
  padding: 30px 40px;
  border: black;
  border-radius: 5vh;
  margin-top: 15vh;
  text-align: center;
}

.card-header::after {
  content: " ";
  display: block;
  width: 100%;
  background: #0d141c;
  height: 2px;
}

.card-body {
  min-height: 100px;
}

.card-footer {
  text-align: center;
}

.card-footer::before {
  content: " ";
  display: block;
  width: 100%;
  background: #0d141c;
  height: 2px;
}

.card-footer::after {
  content: " ";
  display: block;
  clear: both;
}

.btn {
  border: none;
  background-color: #ff5722;
  border-radius: 25px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 6px 0px rgba(0, 0, 0, 0.2) 0px 1px 1px
    0px;
  color: hsl(0, 44%, 95%);
  display: inline-block;
  font-size: 22px;
  line-height: 22px;
  margin: 16px 16px 16px 20px;
  padding: 14px 34px;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  animation: color_and_scale;
  animation-duration: 1s;
  animation-delay: 0, 1s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
}

button.btn:hover {
  background:#ff9776;
  color:#2f3c4f;
  transform: translate(0, 0.375em);
}

button.btn:hover::before {
  transform: translate3d(0, 0.75em, -1em);
}

button.btn:active {
  transform: translate(0em, 0.75em);
}

button.btn:active::before {
  transform: translate3d(0, 0, -1em);

  box-shadow: 0 0 0 2px var(--colorShadeB), 0 0.25em 0 0 #fbb040);
}

@keyframes color_and_scale {
  0% {
    background-color: #e7b3b3;
    transform: scale(0.5);
    color:#3f3b3b;
  }
  50% {
    background-color: rgb(128, 21, 0);
    transform: scale(1);
  }
  100% {
    background-color: #de703c;
    transform: scale(1.5);
  }
}

button[disabled] {
  cursor: default;
  background: #c0c7cf;
}

.float-right {
  float: right;
}

#password {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  display: block;
  width: 100%;
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 85px;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 2px dashed #c0c7cf;
  border-radius: 6px;
  resize: none;
  overflow: hidden;
}

@media (max-width: 690px) {
  .btn {
    font-size: 1rem;
    margin: 16px 0px 0px 0px;
    padding: 10px 15px;
  }

  #password {
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .btn {
    font-size: 0.8rem;
  }
}
