/* Import Google Font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 10px;
  background: #171717;
  flex-direction: column;
}
.wrapper {
  height: 340px;
  width: 420px;
  border-radius: 7px;
  background: #444444;
  padding: 30px 30px 35px;
  transition: height 0.2s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

button {
  color: #fff;
  cursor: pointer;
  margin: 0.5em 0;
  padding: 0.5em 0;
  font-size: 17px;
  background: #da0037;

  width: 100%;
  border: none;
  outline: none;
  border-radius: 5px;
  transition: 0.1s ease;
}

.wrapper.active {
  height: 100%;
}
.wrapper form {
  height: 210px;
  display: flex;
  cursor: pointer;
  user-select: none;
  text-align: center;
  border-radius: 7px;
  background: #ededed;
  align-items: center;
  justify-content: center;
  transition: height 0.2s ease;
}
.wrapper.active form {
  height: 225px;
  pointer-events: none;
}
form img {
  display: none;
  max-width: 148px;
}
.wrapper.active form img {
  display: block;
}
.wrapper.active form .content {
  display: none;
}
form .content i {
  color: #444444;
  font-size: 55px;
}
form .content p {
  color: #444444;
  margin-top: 15px;
  font-size: 16px;
}
.wrapper .details {
  opacity: 0;
  margin-top: 25px;
  pointer-events: none;
}
.wrapper.active .details {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s 0.05s ease;
}
.details textarea {
  width: 100%;
  height: 128px;
  outline: none;
  resize: none;
  color: #fff;
  font-size: 18px;
  background: none;
  border-radius: 5px;
  padding: 10px 15px;
  border: 1px solid #fff;
}
textarea::-webkit-scrollbar {
  width: 0px;
}
textarea:hover::-webkit-scrollbar {
  width: 5px;
}
textarea:hover::-webkit-scrollbar-track {
  background: none;
}
textarea:hover::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 8px;
}
.details .buttons {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
}
.buttons button {
  height: 55px;
  outline: none;
  border: none;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  background-color: #da0037;
  border-radius: 5px;
  transition: transform 0.3s ease;
  width: calc(100% / 2 - 10px);
}
.buttons button:active {
  transform: scale(0.95);
}

@media (max-width: 450px) {
  .wrapper {
    padding: 25px;
    height: 260px;
  }
  .wrapper.active {
    height: 520px;
  }
}
