#overlayContent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.formRow {
    margin-bottom: 15px;
}

.halfWidth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.fullWidth {
    display: block;
    width: 100%;
}

label {
    display: block;
    font-family: "Nunito";
    font-size: 10px;
    color: #ccc;
    margin: 0px 0 6px 1px;
}

input, select, textarea{
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background-color: rgba(255,255,255,0.06);
    color: #ccc;
    padding: 10px;
    outline: none;
    font-family: "Nunito";
    font-size: 12px;
}

select {
    cursor: pointer;
}

input {
    cursor: text;
}

.textarea-wrapper {
    border-radius: 14px;
    overflow: hidden;
}

textarea {
    display: block;
    width: 100%;
    outline: none;
    resize: none;
    overflow: auto;
}

textarea::-webkit-scrollbar {
    width: 2px;
    height: 8px;
}

textarea::-webkit-scrollbar-track {
    background: transparent;
}

textarea::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

select,
::picker(select) {
  appearance: base-select;
}

option {
    display: flex;
    justify-content: flex-start;
    gap: 5px;

    border-width: 0 1px 0 1px;
    border-style: solid;
    border-color: rgba(255,255,255,0.12);

    background: rgba(255,255,255,0.06);
    color: #ccc;
    font-family: "Nunito";
    font-size: 12px;

    padding: 4px;
    transition: 0.2s;

    cursor: pointer;
}

option:hover,
option:focus {
  background: rgba(0,0,0,0.06);;
}

option:first-of-type {
  border-radius: 10px 10px 0 0;
  border-width: 1px 1px 0 1px;
}

option:last-of-type {
  border-radius: 0 0 10px 10px;
  border-width: 0 1px 1px 1px;
}

::picker(select) {
    margin-top: 4px;
    background-color: rgba(255,255,255,0.06);
    border: none;
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

#formButtons {
  display: flex;
  justify-content: end;
  flex-direction: row;
}

button {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #ccc;
  font-family: "Nunito";
  font-size: 14px;
  padding: 10px 20px;
  cursor: pointer;
  background: #05070E;
  display: flex;
  align-items: center;
  justify-content: center;
}

button span {
  position: relative;
  z-index: 2;
  font-weight: bold;
  transition: 0.2s;
}

button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    radial-gradient(110px 70px at 20% 15%, rgba(124, 92, 255, .35), transparent 60%),
    radial-gradient(90px 70px at 80% 20%, rgba(45, 227, 166, .22), transparent 55%),
    radial-gradient(90px 70px at 60% 95%, rgba(255, 92, 122, .16), transparent 55%),
    linear-gradient(180deg, #060812, #05070E 60%, #04050B);

  z-index: 0;
}

button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    radial-gradient(120px 80px at 10% 10%, rgba(124, 92, 255, .4), transparent 60%),
    radial-gradient(100px 80px at 90% 20%, rgba(45, 227, 166, .3), transparent 55%),
    radial-gradient(100px 80px at 70% 90%, rgba(255, 92, 122, .25), transparent 55%),
    linear-gradient(180deg, #f5f7ff, #e9ecff 60%, #dde2ff);

  opacity: 0;
  background-size: 200% 200%;
  z-index: 1;

  color: #222;

  transition: opacity 0.4s ease;
}

button:hover::after {
  opacity: 1;
  animation: moveLight 3s ease infinite alternate;
  color: #222;
}

button:hover span {
  color: #222;
}

@keyframes moveLight {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.invisible {
  display: none;
}

@media screen and (max-width:992px) {
  label {
      font-size: 18px;
  }

  input, select, textarea{
      font-size: 20px;
  }

  option {
      font-size: 20px;
  }

  button {
    font-size: 28px;
  }
}