/* FORM CONTACT */
.contact {
  margin: 15vh auto 0;
  width: 60%;
  min-height: 78vh;
}

.contact h1, .contact h3, .contact p {
  color: #000;
}

.contact h1 {
  font-size: 2.5em;
}

.contact h3 {
  font-size: 1.5em;
}

.contact p {
  font-size: 1.3em;
  margin-bottom: .5em;
}

/* DANK */
.dank {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90vh;
  width: 50%;
}

.dank h1 {
  margin-bottom: 1.5rem;
}

.dank p {
  text-align: center;
  margin-bottom: 0;
}

/* FORM */
form {
  margin: 0 auto;
  width: 100%;
}

label {
  color: #484848;
  display: block;
  font-size: 1em;
  margin: .5em 0;
  text-align: left;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 4px;
  border: solid 1px #eee;
  background-color: #dadada;
  color: inherit;
  display: block;
  outline: 0;
  padding: 0.75em 1em;
  width: 100%;
  font-size: 1.3em;
  font-weight: 700;
  color: #6b6b6b !important;
}

input:invalid,
select:invalid,
textarea:invalid {
  background-color: #dadada;
}

input:focus,
select:focus,
textarea:focus {
border-color: #e2b674;
}

input::placeholder,
textarea::placeholder {
  font-size: 1em;
  opacity: 1.0;
  color: #6b6b6b !important;
}

/* Form Layout */
form div#flexbox {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-senden {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

form .kon-coltab50 {
  width: 49%;
  margin-bottom: 0.8em;
}

form .kon-coltab100, form .kon-coltab100-2 {
  width: 100%;
  margin-bottom: 0.8em;
}

/* SUBMIT BUTTONS */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
  appearance: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  background-color: #9d9d9c;
  border-radius: 2px;
  font-family: 'Lato';
  font-size: 1.3em;
  font-weight: 400;
  color: #fff !important;
  border: 0;
  cursor: pointer;
  display: block;
  height: 2.6em;
  padding: 0 2.2em;
  margin: 2.3em 0 0 2em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
  background-color: #f9a273; /* Mouse-over-Farbe */
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
  background-color: #faf29d;
}

input[type="submit"]:disabled,
input[type="reset"]:disabled,
input[type="button"]:disabled,
button:disabled,
.button:disabled {
  pointer-events: none;
  background-color: #666 !important;
  opacity: 0.25;
}

/* CHECKBOX STYLING */
.container-kon {
  position: relative;
  padding-left: 35px;
  margin-bottom: 14px;
  cursor: pointer;
}

input[type="checkbox"] {
  display: none;
}

.container-kon .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border-radius: 4px;
  background-color: #eee;
  border: 1px solid #000;
}

.container-kon:hover .checkmark {
  background-color: #ccc;
}

.container-kon input:checked ~ .checkmark {
  background-color: #f9a273;
}

.container-kon .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container-kon input:checked ~ .checkmark:after {
  display: block;
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* MEDIA QUERIES */
@media screen and (max-width: 1366px) {
  .contact {
    width: 80%;
  }
}

@media screen and (max-width: 1024px) {
  .contact {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .contact {
    width: 70%;
  }

  form .kon-coltab50 {
    width: 100%;
    margin-bottom: 1em;
  }

  input[type="submit"] {
    margin: .7em 0 0 0;
  }
}

@media screen and (max-width: 736px) {
  .contact {
    width: 80%;
  }
}

@media screen and (max-width: 480px) {
  form .kon-coltab50 {
    width: 100%;
    margin-bottom: 1em;
  }
}
