#contact-header-container {
  padding: 100px 0px 100px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact-content {
  display: flex;
  justify-content: center;
}

#contact-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1440px;
  box-sizing: border-box;
}

#contact-header span {
  color: white;
  font-size: 90px;
  font-weight: 700;
  line-height: 120%;
  grid-column: 2;
  justify-self: center;
}

#contact-seperator {
  grid-column: 3;
  justify-self: stretch;
  width: 100%;
  height: 0;
  border: none;
  border-top: 4px solid #70e61c;
  z-index: 2;
}

#contact-problem-form-div {
  display: flex;
}

#contact-content-container {
  display: flex;
  justify-content: space-between;
}

#contact-left-seperator {
  width: 100px;
  height: 0;
  border: none;
  border-top: 4px solid #70e61c;
  margin-right: 32px;
}

#contact-left-div {
  display: flex;
  align-items: flex-start;
}

#contact-left-div span {
  color: white;
  font-size: 18px;
  font-weight: 400;
  line-height: 120%;
}

#contact-left-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

#contact-left-head {
  display: flex;
  align-items: center;
}

#contact-left-head span {
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
}

#contact-left-description {
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: calc(100px + 32px);
}

#contact-left-description span {
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
}

#contact-right-div {
  display: flex;
  flex-direction: column;
  margin-right: 100px;
  margin-left: 50px;
}

form {
  display: flex;
  flex-direction: column;
}

input,
textarea {
  background-color: transparent;
  border: 1px solid #9747ff;
  border-radius: 10px;
  color: white;
  padding: 16px;
  font-size: 16px;
  line-height: 120%;
  font-weight: 400;
}

.field-with-icon {
  position: relative;
  width: 100%;
  align-self: stretch;
}

.field-with-icon input,
.field-with-icon textarea {
  padding-right: 48px;
}

.validation-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0;
  pointer-events: none;
}

.field-with-icon textarea ~ .validation-icon {
  top: 24px;
  transform: none;
}

.field-with-icon input.input-valid ~ .icon-valid,
.field-with-icon textarea.input-valid ~ .icon-valid {
  opacity: 1;
}

.field-with-icon input.input-error ~ .icon-invalid,
.field-with-icon textarea.input-error ~ .icon-invalid {
  opacity: 1;
}

input:hover,
textarea:hover {
  border-color: #1ce6df;
  transition: border-color 0.2s ease;
}

.required-field {
  color: green;
  font-size: 12px;
  margin-top: 4px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
  z-index: 1;
  margin: 0;
  padding: 0px 8px;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  background-color: rgb(20, 29, 47);
}

#contact-form input.input-error,
#contact-form textarea.input-error {
  border-color: #ff4d4d !important;
}

#contact-form input.input-valid,
#contact-form textarea.input-valid {
  border-color: #70e61c !important;
}

#contact-form #error-name,
#contact-form #error-email,
#contact-form #error-message,
#contact-form #error-checkbox {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  color: #ff4d4d;
  font-size: 12px;
  height: 18px;
  margin-top: 6px;
  overflow: hidden;
  text-align: left;
  margin-bottom: 14px;
}

#contact-form textarea {
  resize: vertical;
  max-height: 400px;
  min-height: 226px;
}

#contact-form-checkbox-bottom {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  color: white;
  box-sizing: border-box;
}

#contact-form-checkbox-bottom input[type="checkbox"] {
  margin: 0 12px 0 0;
  width: auto;
  height: auto;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid #70e61c;
  border-radius: 4px;
  background: transparent;
  box-sizing: border-box;
  cursor: pointer;
  padding-right: 15px;
}

#contact-form-checkbox-bottom input[type="checkbox"]:checked {
  background: #70e61c;
  border-color: #70e61c;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

#contact-form-checkbox-bottom a {
  color: #9747ff;
  text-decoration: none;
  padding: 5px;
}

#contact-form-checkbox-bottom a:hover {
  text-decoration: underline;
}

#form-btn-div {
  display: flex;
  justify-content: center;
  align-self: center;
}

.form-btn:disabled {
  background-color: rgba(88, 88, 88, 0.876);
  cursor: not-allowed;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px 30px;
  font-size: 23px;
  cursor: not-allowed;
}

.form-btn:enabled {
  background-color: rgba(112, 230, 28, 1);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px 30px;
  font-size: 23px;
  cursor: pointer;
}

.form-btn:enabled:hover {
  background-color: rgba(151, 71, 255, 1);
  transition:
    ease,
    transform 0.2s ease;
  transform: scale(1.2);
  transform-origin: left top;
}

#go-up-btn {
  display: flex;
  justify-content: flex-end;
  padding-right: 100px;
  margin-bottom: 60px;
  margin-top: 51px;
}

#go-up-btn a:hover img {
  filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(87deg)
    brightness(119%) contrast(119%);
}

#contact {
  position: relative;
  z-index: 201;
  margin: 0 auto;
  scroll-margin-top: 30px;
  background-image: url("../assets/imgs/contact-purple-shadow1.png");
  background-position: right -250px top -20px;
  background-repeat: no-repeat;
}

@media (max-width: 1285px) {
  #contact-content-container {
    flex-direction: column;
    justify-content: flex-start;
  }

  #contact-left-description {
    max-width: 100%;
  }

  #contact-right-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    margin-top: 40px;
  }

  #contact-span {
    max-width: 350px;
  }

  #contact-left-div {
    z-index: 2;
  }

  #contact-left-seperator {
    width: clamp(40px, 7%, 100px);
    min-width: 40px;
    margin-right: 8px;
  }

  #contact-left-description {
    margin-left: calc(clamp(40px, 7%, 100px) + 8px);
  }

  #contact-left-description span {
    word-break: normal;
  }

  #contact-left-head span {
    font-size: 20px;
  }
  #checkbox-span-one {
    word-wrap: break-word;
    width: 100%;
  }

  #contact-header span {
    font-size: 54px;
    z-index: 2;
  }

  #go-up-btn {
    padding-right: 35px;
  }

  #go-up-btn a img{
    z-index: 2;
    position: relative;
  }
}

@media (max-width: 600px) {
  #commentary span{
    font-size: 16px;
  }

  #commentary-name span{
    font-size: 16px;
  }
}