#beta {
  background-color: white;
  width: 100%;
}

#beta section {
  display: flex;
  flex-direction: column;
}

.beta-form-image {
  width: 100%;
  height: 50%;
  border-radius: 7px;
  margin: 20px;
  overflow: hidden;
  background-image: linear-gradient(
    to right top,
    #d16ba5,
    #c777b9,
    #ba83ca,
    #aa8fd8,
    #9a9ae1,
    #8aa7ec,
    #79b3f4,
    #69bff8,
    #52cffe,
    #41dfff,
    #46eefa,
    #5ffbf1
  );
  /* Da cambiare in view desktop*/
  display: none;
}

.beta-form-image > img {
  width: 100%;
  height: 100%;
}

#beta form {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid lightgray;
  margin: 20px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-radius: 12px;
  background: white;
  z-index: 1;
}

#beta form > label {
  margin: 0;
  margin-top: 1rem;
  width: 80%;
}

#beta form input,
#beta form textarea {
  box-sizing: border-box;
  border: 1px solid lightgrey;
  border-radius: 12px;
  margin: 10px auto;
  width: 80%;
  padding: 1rem 10px;
  font-size: 1rem;
  resize: none;
}

#beta form textarea {
  max-height: 300px;
}

.beta-title {
  margin: 20px;
  margin-top: 30px;
  align-self: center;
  justify-self: center;
}

.beta-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkbox {
  margin: 20px !important;
}

.checkbox > input {
  display: inline-block;
  width: 25px !important;
}

.checkbox-text {
  font-size: small;
  line-height: 0.5;
}

#beta-subscribe-btn {
  font-size: 1.2em;
  background-color: black;
  color: white;
  transition: all 0.1s ease-in-out;
}

#beta-subscribe-btn:active {
  background-color: lightgrey;
  color: black;
}

@media only screen and (min-width: 1024px) {
  .beta-form-image {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
  }

  .beta-content {
    width: 60%;
    margin: 0 auto;
  }
}
