@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
}

main {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  background-color: #e4f1fd;
}

.wrapper {
  width: 420px;
  height: 270px;
  border-radius: 5px;
  background-color: #0a74fe;
  padding: 30px 30px 35px;
  transition: height 0.2s ease;
}

.wrapper.active {
    height: 525px;
}

.wrapper form {
    height: 210px;
    display: flex;
    text-align: center;
    justify-content: center;
    border-radius: 7px;
    cursor: pointer;
    align-items: center;
    background-color: #f5f5f5;
    transition: height 0.2s ease;
}

.wrapper.active form {
    height: 225px;
    pointer-events: none;
}

.wrapper form img {
    display: none;
  max-width: 148px;
}

.wrapper.active form img {
    display: block;
}

.wrapper.active form .content {
    display: none;
}

form .content i {
  font-size: 55px;
  color: #0a74fe;
}

form .content p {
  color: #0a74fe;
  font-size: 16px;
  margin-top: 15px;
}

.wrapper .details {
  margin-top: 25px;
  opacity: 0;
  pointer-events: none;
}

.wrapper.active .details {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}

.wrapper .details textarea {
  width: 100%;
  height: 128px;
  outline: none;
  color: #f5f5f5;
  font-size: 18px;
  background: none;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #f5f5f5;
}

.details .buttons {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
}

.buttons button {
    height: 55px;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: none;
    width: calc(100% / 2 - 10px);
    cursor: pointer;
    font-size: 16px;
    color: #0a74fe;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.buttons button i {
    font-size: 21px;
}