/* CONTACT */
#contact_form{
  overflow: hidden;
  margin-top: min( 10%, 5rem);
}

#contact_form form{
  overflow: hidden;

  display: flex;
  flex-direction: column;
  gap: 4dvh;
}

label {
  color: #00005a;
  font-family: sans-serif;
}

/* input[type="checkbox"] {
  
} */

#contact_input {
  display: flex;
  flex-wrap: wrap;
  gap: max( 5%, 25px);
}

#formal-input{
  display: flex;
  flex-direction: column;
  gap: 4dvh;
  max-width: 100%;
  overflow: hidden;

  flex: 1 0 20em;
  /* width: max( 50%, min( 20em, 100%)); */
}

#contact_email-animation {
  position: relative;
  display: flex;
}

#contact_checkbox-container {
  transition: all 1s;
}
#contact_email-container {
  /* z-index: 5; */
  position: absolute;
  left: 100%;
  visibility: hidden;
  width: 100%;
  transform: translateY(-25%);

  transition: all 1s;
}
#contact_email-container.show {
  left: 0%; /* 5% */
  visibility: visible;
}


#concern-input{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;

  flex: 1 1 300px;
  /* width: 50%;
  height: 100%; */
}
#concern {
  /* position: relative; */
  width: 100%;
  height: 100%;

  background-color: aliceblue;  /* white */
  border: 2px solid #00005a;
  border-radius: 0.5em;
  outline: none;
  padding: 0.35rem 1em;
}

/* #send-button {
  background-color: #00005a;
  color: white;
  font-size: 100%;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  overflow: hidden;
  
  width: 40%;
  height: 50px;
  align-self: center;
  margin-top: 5%;
  z-index: 0;

  position: relative;
}
#send-button::after {
  content: '';
  top: 0px;
  right: 0px;
  height: 100%;
  width: 0px;
  background: linear-gradient(to left, white, 60%, #e9e067);
  border: none;
  border-radius: 0.75rem;
  z-index: -1;
  transition: 150ms ease-in-out;

  position: absolute;
}
#send-button:hover::after {
  width: 100%;
}
#send-button:hover {
  color: #00005a;
  background-color: rgba(0, 0, 0, 0); /* da sonst noch die hintergrundfarbe erkennbar ist
}


@media (hover: hover){
  .form__input:hover {
    border: 2px solid rgba(0, 0, 90, 0.6);
  }
} */

/*  */
.form__elem {
  /* width: 90%; */
  max-width: 510px; /* 20em */
  height: 2.5em;
  position: relative;
}

.form__input {
    position: absolute;
    height: 100%;
    width: 100%;
    background: aliceblue;
    border: 2px solid #00005a;  /* 1px */
    border-radius: 0.5em;
    outline: none;
    color: #e9e067;
    padding-left: 1em;
}

.form__elem label {
    position: absolute;
    background: aliceblue;
    color: #00005a;
    font-family: sans-serif;
    /* font-size: large; */
    left: 1em;
    top: 0.75em;
    cursor: text;
    transition: top 350ms ease-in, font-size 350ms ease-in;
}

.form__input:focus {
    border: 1px solid #e9e067;  /* e6db4e */
    /* background-color: rgba(0, 0, 90, 0.6); */
}

input[type="text"]:focus ~ label,
input[type="email"]:focus ~ label,
input[type="date"]:focus ~ label,
.form__input:not(:placeholder-shown).form__input:not(:focus) ~ label {
    top: -0.5em;
    font-size: 0.75rem;
    padding: 0 0.125em;
}

input[type="text"],
input[type="email"],
textarea {
  font-size: 16px;
}

/* .box{
    width: 100%;
    /* background-color: deeppink;/* aliceblue, white, azure
    color: #00005a;
    padding: 3rem;
    padding-top: 1.5rem;
    border-radius: 1.75rem;
}
.box--title{
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    font-size: 1rem;
}

.main__main{
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;   /* 35rem
    padding: 3rem;
    border-radius: 1.75rem;
}

.main__message h2{
    margin-top: 1rem;
}
.main__message form{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
} */