.contacts {
  background: rgba(242, 242, 242, 0.9);
  height: 100vh;
  position: absolute;
  width: 100vw;
}

.contacts-page {
  position: relative;
  top: 90px;
  transform: translate(0px, 90px);
}

.contacts-left-block-title {
  font-weight: 200;
  font-size: 30px;
  line-height: 40px;
  letter-spacing: 1.23px;
  color: #222;
  margin-bottom: 42px;
}

.contacts-left-side-wrapper {
  width: 50%;
  float: left;
  border: none;
  border-right: 1px solid #b3b3b3;
  height: 376px;
  text-align: end;
  padding-right: 64px;
}

.contacts-left-block li:first-child {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 1.23px;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 8px;
}

.contacts-left-block li:last-child {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 1.23px;
  color: #101010;
}

.contacts-left-block li a {
  text-decoration: none;
  color: #222;
}

.contacts-right-block {
  margin-left: 65px;
}

.contacts-right-block ul {
  display: none;
}

.contacts-right-block .about-links-contacts {
  display: none;
}

.contacts-right-side-wrapper {
  width: 50%;
  float: right;
  position: relative;
}

.about-links-contacts {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 1.23px;
  text-transform: uppercase;
  margin-top: 42px;
}

.about-links-contacts a {
  text-decoration: none;
  color: #222;
  position: relative;
}

ul {
  list-style: none;
}

.about-links-contacts a:not(:last-child) {
  margin-right: 31px;
}

.about-links-contacts a:not(:last-child)::after {
  position: absolute;
  content: '';
  width: 1px;
  background-color: #b3b3b3;
  height: 11px;
  top: 4px;
  margin-left: 15.5px;
}


.contacts-right-block form {
  width: 580px;
}

.contacts-right-block input {
  border: none;
  outline: none;
  background: none;
  border-bottom: 1px solid #525252;
  padding-bottom: 7px;
  padding-top: 20px;
  width: 100%;

  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 1.23px;
  color: #101010;
}

.contacts-right-block input[type="submit"] {
  text-align: start;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 1.23px;
  text-transform: uppercase;
  color: #222;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  position: relative;
}

.contacts-submit {
  position: relative;
}

.contacts-submit p {
  position: relative;
}

.contacts-submit-label::after {
  position: absolute;
  content: url("../img/arrow.svg");
  width: 15px;
  top: 50%;
  transform: translate(-5px, -50%);
}

.contacts-right-block textarea {
  border: none;
  outline: none;
  background: none;
  border-bottom: 1px solid #525252;
  padding-bottom: 7px;
  margin-top: 20px;
  resize: none;
  min-height: 30px;
  height: 30px;
  max-height: 120px;
  width: 100%;
}

.contacts-wrapper {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.contacts-right-side-wrapper label {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 1.23px;
  text-transform: uppercase;
  color: #222;
}

/* scroll bar for textarea */

.contacts-right-block textarea::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.contacts-right-block textarea::-webkit-scrollbar {
  height: 2px;
  background-color: #f5f5f5;
}

.contacts-right-block textarea::-webkit-scrollbar-thumb {
  background-color: #525252;
  border: 1px solid #555555;
}

@media (max-width: 1280px) {
  .contacts-right-block form {
    width: 480px;
  }
}

@media (max-width: 1024px) {
  .contacts-page {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    position: relative;
  }

  .contacts-left-block-title {
    position: absolute;
    top: -70px;
  }

  .contacts-left-block {
    width: 480px;
  }

  .contacts-right-block {
    margin: 0;
  }

  .contacts-left-side-wrapper {
    width: 100%;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    padding: 0;
  }
  .contacts-right-side-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .contacts-submit-label::after {
    transform: translate(-5px, -70%);
  }

  .contacts-wrapper {
    flex-direction: column;
  }

  .contacts-right-block input {
    padding-bottom: 5px;
    padding-top: 8px;
  }

  .contacts-right-block textarea {
    padding-bottom: 5px;
    margin-top: 5px;
  }

  .contacts-left-side {
    margin-top: -250px;
  }
}

@media (max-width: 769px) {
  .contacts-left-side-wrapper {
    padding-top: 200px;
    height: 200px;
  }
}

@media (max-width: 567px) {
  .contacts {
    height: auto;
    padding-bottom: 50%;
  }

  .contacts-left-block-title {
    font-size: 20px;
  }

  .contacts-right-side-wrapper,
  .contacts-left-side-wrapper {
    align-items: flex-start;
    padding: 0 30px;
  }

  .contacts-left-side-wrapper {
    padding-top: 200px;
  }

  .contacts-left-block {
    width: 100%;
  }

  .contacts-right-block form {
    width: 100%;
  }
  .contacts-page {
    margin-top: -30px;
  }
}
