.contacts-page {
  position: relative;
}

.cont-welc-img-cont {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
}

.cont-welc-img {
  object-fit: cover;
  width: 50%;
  margin-left: 50%;
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.h1 {
  position: absolute;
  left: calc(6vw + 25px);
  top: 30px;
  text-transform: uppercase;
  font-family: Bold;
  font-size: min(5.2vw, 100px);
  line-height: 1.15;
}
.h1 .cont-h1-1 {
  color: #7CC34D;
  display: flex;
}
.h1 .cont-h1-2 {
  display: flex;
  margin-left: min(10vw, 200px);
}

.form-container {
  color: #1a1714;
  background: white;
  padding: 50px;
  position: absolute;
  left: 20%;
  top: 36%;
  filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.2));
  max-width: 600px;
  z-index: 1;
}

.sol-contacts-header {
  color: #1a1714;
  margin-bottom: 20px;
  font-size: 38px;
  font-family: Bold;
  text-align: center;
}

.cont-subheader {
  text-align: center;
  margin-bottom: 20px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input, .textarea {
  background: rgba(124, 195, 77, 0.05);
  color: #1a1714;
  line-height: 1.3;
  border: 1.5px solid rgba(124, 195, 77, 0.35);
  padding: 14px;
  font-size: 16px;
  font-family: Semi;
  outline: none;
  transition: ease 0.3s;
  width: 100%;
}

#submit-wrapper-contactForm {
  width: fit-content;
  margin: 0 auto;
}

.input::placeholder, .textarea::placeholder {
  opacity: 1;
  transition: ease 0.3s;
  color: #1a1714;
  font-family: Semi;
  line-height: 1.3;
  font-size: 16px;
}

.input:focus::placeholder, .textarea:focus::placeholder {
  opacity: 0;
}

.input:focus, .textarea:focus {
  border: 1.5px solid #7CC34D;
}

.submit-btn {
  background: #7CC34D;
  padding: 21px 62px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 20px;
  font-family: Semi;
  outline: none;
  border: 0;
  width: fit-content;
  margin: 0 auto;
  transition: ease 0.3s;
}

.submit-btn:hover {
  cursor: pointer;
}

.alert-success {
  text-align: center;
  font-size: 20px;
  font-family: Semi;
  color: #7CC34D;
}

.contact-map {
  height: 500px;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .sol-contacts-header {
    font-size: 25px;
    text-align: center;
    margin-bottom: 10px;
  }
  .form {
    gap: 16px;
  }
}
.contacts-body {
  background: white;
  width: 100%;
}

.cont-blocks {
  max-width: 820px;
  margin: 0 auto;
  padding: 320px 0 120px;
  display: flex;
  justify-content: space-between;
}

.cont-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #1a1714;
  font-family: Semi;
}
.cont-block svg {
  margin-bottom: 20px;
}

.cont-link {
  color: #1a1714;
  text-decoration: none;
  transition: ease 0.3s;
}

.cont-link:visited {
  color: #1a1714;
}

.cont-link:hover {
  color: #7CC34D;
}

@media (max-width: 1500px) {
  .form-container {
    left: 50%;
    transform: translateX(-50%);
  }
  .h1 {
    left: unset;
    transform: unset;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }
  .h1 .cont-h1-1 {
    justify-content: center;
  }
  .h1 .cont-h1-2 {
    margin-left: unset;
  }
  .cont-welc-img-cont {
    min-height: 630px;
  }
  .cont-welc-img {
    position: absolute;
    bottom: -70px;
    margin-left: 35%;
  }
  .cont-blocks {
    padding-top: 380px;
  }
}
@media (max-width: 1200px) {
  .h1 {
    top: 70px;
  }
  .cont-welc-img {
    display: none;
  }
}
@media (max-width: 1000px) {
  .h1 {
    font-size: 36px;
  }
  .form-container {
    top: 30%;
  }
  .cont-blocks {
    padding: 300px 30px 80px;
  }
}
@media (max-width: 768px) {
  .form-container {
    padding: 60px 15px 30px;
    width: 100%;
  }
  .submit-btn {
    font-size: 18px;
    padding: 16px 50px;
  }
  .contacts-img {
    display: none;
  }
  .cont-blocks {
    padding: 300px 15px 80px;
    flex-direction: column;
    gap: 50px;
    justify-content: space-around;
  }
}