.footer-margin-for-tablet-desktop {
  margin-bottom: var(--footer-height-normal);
}

#contact {
  flex-direction: column;
}

#contact-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  margin: 0px var(--slide-side-margin);
  width: var(--slide-max-width);
  z-index: 1;
}

#contact-content .slide-title-style {
  margin-bottom: 44px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 600;
  width: 525px;
}

#contact-form-inputs {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#contact-full-name {
  display: flex;
  width: 100%;
}

.contact-name-sections:first-child {
  margin-right: 32px;
}

.contact-name-sections {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#contact-form-inputs label {
  margin-bottom: 10px;
}

#contact-form-inputs input,
#contact-message {
  background: radial-gradient(ellipse at center, rgb(255, 255, 255) 0%, rgb(238, 238, 238));
  border: 1px solid rgb(156, 156, 156);
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 400;
  width: 100%;
}

#contact-form-inputs input {
  height: 35px;
  margin-bottom: 24px;
  padding: 1px 6px;
}

.contact-phone-number,
#contact-phone-number {
  display: none;
}

#contact-message {
  font-family: "Arial";
  height: 110px;
  line-height: 1.2;
  padding: 6px 6px;
  resize: none;
}

#submit-block {
  display: flex;
  justify-content: center;
  position: relative;
}

#contact-form button {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0, 0.1) 100%), rgb(255, 255, 255);
  border: none;
  border-radius: 60px;
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  margin: auto;
  margin-top: 44px;
  padding: 10px 14px;
}

#contact-errors-form,
#contact-success-form {
  align-items: center;
  border-radius: 12px;
  bottom: 52px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  line-height: 1.4;
  padding: 12px 18px;
  position: absolute;
  z-index: 1;
}

#contact-errors-form {
  background: radial-gradient(ellipse at center, rgba(219, 68, 68, 0.85) 0%, rgba(187, 55, 55, 0.8) 100%);
  max-width: 80%;
}

#contact-success-form {
  background: radial-gradient(ellipse at center, rgba(122, 179, 122, 0.88) 0%, rgba(93, 148, 93, 0.85) 100%);
}

#contact-errors-form img,
#contact-success-form img {
  height: 20px;
  margin-right: 12px;
}

#contact-errors-form hr,
#contact-success-form hr {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: none;
  border-radius: 12px;
  width: 3px;
}

#contact-errors-form-text,
#contact-success-form-text {
  font-size: 17px;
  font-weight: 600;
  hyphens: auto;
  line-height: 1.2;
  overflow-wrap: break-word;
  text-align: left;
}
