* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  height: 100vh;
  font-size: 1rem;
  overflow-x: hidden;
}


body {
  height: 100%;
  background-color: #121214;
  color: #fff;
  position: relative;
  overflow: hidden;
}

h1 {
  color: #ccc;
  width: 100%;
  margin: 1.6rem 0;
  text-align: center;
  font-size: 1.3rem;
}

p {
  line-height: 30px;
}

.contentContainer {
  margin: auto;
}

.left h1 {
  margin: 0px 0px 1.6rem 0;
}

.left h2 {
  color: #ccc;
  width: 100%;
  margin: 0 0 1.6rem 0;
  font-size: 1.1rem;
}

button {
  width: 50%;
  height: 50px;

  margin: 2.2rem auto;
  background-color: #8257e5;
  border: 0;
  border-radius: 5px;

  font-size: 1.2rem;
  color: #ccc;
  font-weight: bold;

  animation: move 1s ease 0.35s;
  animation-fill-mode: backwards;

  z-index: 1;
}

button:hover {
  filter: brightness(0.9);
  cursor: pointer;
}

input {
  width: 50%;
  height: 50px;
  background-color: #1d1b15;

  margin-bottom: 1rem;
  border-radius: 5px;
  border-color: transparent;
  font-size: 1.2rem;
  color: #ccc;
  margin: 0 15px;

  z-index: 1;
}

input::placeholder {
  color: #ccc;
  font-size: 1.2rem;
}

input:focus {
  outline: none;
  border-color: #ac8bc7;
}

.decNumber {
  animation-name: move;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-delay: 0.35s;
  animation-fill-mode: backwards;
}

.base {
  animation-name: move;
  animation-duration: 1s;
  animation-timing-function: ease;
}

p {
  font-size: 1.2rem;
  color: #ccc;
}

.container {
  width: 100%;
  height: 100%;
  padding-top: 50px;
  display: flex;
  margin: auto auto;
  
  overflow-y: auto;
  overflow-x: hidden;
}


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

.left,
.right {
  width: 40%;
  display: flex;
  justify-content: center;
}

.right {
  flex-direction: column;
  background-color: #202024;
  border-radius: 8px;
  align-items: center;
  height: 100%;

  /* overflow: hidden; */

  position: relative;
  animation-name: fade;
  animation-duration: 1s;
  animation-timing-function: ease;
}

.right div {
  display: flex;
  flex-direction: row;
}

.left {
  display: flex;
  flex-direction: column;
  text-align: justify;
  z-index: 1;
}

.result {
  background-color: #29292e;
  width: 70%;
  height: 150px;
  border-radius: 8px;

  margin-bottom: 2.2rem;

  display: flex;
  align-items: center;
  justify-content: center;

  /* animation: moveReverse 1s ease both; */
  animation: moveReverse 1s ease ;
}

.result p {
  opacity: 0.2;
}

.line {
  position: absolute;
  content: "";
  width: 90%;
  height: 1px;
  left: 5%;
  top: 53%;
  background-color: rgba(255, 255, 255, 0.062);
}

.ulNumbers li {
  position: absolute;
  font-size: 2rem;
  list-style: none;
  animation: up 5s infinite ease;
  color: #5b5b5f31;
  animation-fill-mode: backwards;
  animation-direction: alternate;

  cursor: default;
}

/* <ANIMATIONS> */
@keyframes fade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes move {
  from {
    transform: translateX(-35%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes moveReverse {
  from {
    transform: translateX(35%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

/* nono */
.validateError {
  animation: nono 0.2s linear 2, fade paused;
}

@keyframes nono {
  0% {
    transform: translateX(0%);
  }
  35% {
    transform: translateX(-10%);
  }
  70% {
    transform: translateX(10%);
  }
  100% {
    transform: translateX(0%);
  }
}

@keyframes up {
  from {
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  to {
    transform: translateY(-1100px) rotate(960deg);
    opacity: 0.2;
  }
}

/* </ANIMATIONS> */
