@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap");

@keyframes show {
  from {
    height: 10px;
  }
  to {
    height: 100px;
  }
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  margin: 0;
  background-color: #101010;
  user-select: none;
}

body > div > div > div {
  text-align: center;
  width: 100px;
  background-color: #303030;
  flex-grow: 1;
}

body > div > div > div:nth-child(1) {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}

body > div > div > div:nth-child(3) {
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
}

body > div > div > div > p {
  color: white;
  font-family: DM Sans;
  width: max-content;
  border-bottom: 1px solid #202020;
  padding: 5px 0;
  width: 100%;
  margin: 0;
  font-size: 10px;
}

h1 {
  font-family: DM Sans;
  text-align: center;
  color: #ecf0f1;
  user-select: none;
  font-weight: 700;
  margin: 0;
  font-size: 23px;
}

input {
  border: none;
  background-color: transparent;
  color: white;
  font-size: 15px;
  text-align: center;
  width: 100%;
  font-family: arial;
  padding: 0;
  transition: all 50ms linear;
  padding: 5px 0;
}

input:focus {
  outline: none;
  background-color: #252525;
  outline: none;
}

body > div > div > div:nth-child(1) input {
  border-bottom-left-radius: 6px;
}

body > div > div > div:nth-child(3) input {
  border-bottom-right-radius: 6px;
}

textarea {
  resize: none;
  height: 10px;
  font-family: arial;
  width: calc(100% - 20px);
  border: none;
  padding: 10px;
  border-radius: 5px;
  color: white;
  background-color: #303030;
  font-size: 8px;
}

textarea:focus {
  outline: 2px solid #0984e3;
}

button {
  transition: all 0.1s ease;
  background-color: #0984e3;
  border: none;
  color: white;
  font-family: DM Sans;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  width: 100%;
}

button:hover {
  filter: brightness(90%);
}

button:active {
  filter: brightness(90%);
  transform: scale(0.95);
}

body > span:last-of-type {
  position: fixed;
  bottom: 10px;
  font-size: 10px;
  padding: 0;
  font-family: DM Sans;
  border: none;
  color: #444;
  user-select: none;
  margin: 0;
}

body > span:last-of-type a {
  color: #555;
  text-decoration: none;
}

body > span:last-of-type a:hover {
  text-decoration: underline;
}

body > div > div {
  display: flex;
  flex-direction: row;
  flex-align: center;
  justify-content: center;
  box-shadow: 0 5px 10px #00000030;
  margin: 10px 0;
  background-color: #303030;
  border-radius: 6px;
}

body > div > div:nth-child(3) {
  flex-direction: column;
}

body > div > div:nth-child(3) > p {
  width: calc(100% - 20px);
  text-align: left;
  padding: 10px 10px;
  font-family: DM Sans;
  color: white;
  margin: 0;
  border-bottom: 1px solid #202020;
}

body > div > div:nth-child(3) > p::before {
  content: "=";
  color: #0984e3;
  border-radius: 100%;
  font-family: DM Sans;
  margin-right: 5px;
  padding: 0 5px;
}

body > div {
  background-color: #202020;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 5px 10px #00000030;
}

.success {
  background-color: #27ae60 !important;
}

.action {
  background-color: #202020;
  float: right;
  padding: 0px;
  font-size: 10px;
  transition: all 0.1s ease, background-color 100ms linear !important;
  border-radius: 100%;
  height: 21px !important;
  width: 21px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action img {
  height: 15px;
}