@import url('style.css');
@import url('header.css');

label {
  margin-top: 1rem;
  font-weight: bold;
}
input[type="text"],
input[type="email"],
select,
textarea {
  background-color: var(--primary-background);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 0.4rem;
  padding: 0.5rem;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  width: 20rem;
  max-width: 100%;
  font-family: inherit;
}
textarea {
  width: 100%;
}

fieldset {
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
legend {
  font-weight: bold;
  color: var(--text-color);
  padding: 0 0.5rem;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 0.5rem;
  vertical-align: middle;
}

.form-description {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--note-color);
}
.form-split {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.form-left,
.form-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}
.form-sub{
    display: flex;
    justify-content: center;

    margin-bottom: 1rem;
}
.form-buttons {
    display: flex;
    justify-content:center
}
.form-buttons button {
    margin: 0.2rem 1rem;
}
button[type="reset"] {
  background-color: var(--btn-background-red) !important;
}
button[type="reset"]:hover {
  background-color: var(--btn-background-red-hover) !important;
}

@media (max-width: 992px) {
  .form-split {
    flex-direction: column;
  }
  .form-left,
  .form-right {
    width: 100%;
    padding: 1rem;
  }
  .form-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .form-buttons button {
    margin: 0.2rem auto;
  }
  .btn {
    width: 100%;
  }
}
@media (max-width: 768px){
  .content {
      width: 100%;
  }
}