.container-contacts {
  padding: 120px 0 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  background-color: var(--lgray);
}

.title-contacts {
  color: var(--black);
  font-family: var(--montserrat);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 54px;
  text-align: center;
  text-transform: uppercase;
}

.form-container {
  width: 1160px;
  height: 640px;
  border-radius: 30px;
  background: var(--white);
  padding: 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.left-form-container {
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.left-form-container > h2 {
  color: var(--black);
  font-family: var(--montserrat);
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 45px; /* 128.571% */
}

.left-form-container > h2 > span {
  color: rgba(24, 28, 36, 0.5); /* 128.571% */
}

.left-image-container {
  width: 500px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
}

.left-image-container > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.small-image-container {
  display: none;
}

.form-block {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 20px;
}

.form-block > input {
  width: 480px;
  height: 60px;
  border-radius: 10px;
  background: var(--gray);
  border: 1px solid var(--gray);
  padding: 20px;
  box-sizing: border-box;
  font-family: var(--nunito);
  color: var(--black);
  font-size: 16px;
}

.form-block > input::placeholder {
  color: var(--black);
  font-family: var(--nunito);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  opacity: 0.8;
}

.form-block > textarea {
  width: 480px;
  height: 130px;
  border-radius: 10px;
  background: var(--gray);
  border: 1px solid var(--gray);
  padding: 20px;
  box-sizing: border-box;
  font-family: var(--nunito);
  color: var(--black);
  font-size: 16px;
  resize: none;
}

.form-block > textarea::placeholder {
  color: var(--black);
  font-family: var(--nunito);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  opacity: 0.8;
}

.form-block > button {
  width: 480px;
  height: 60px;
  border-radius: 10px;
  background: var(--green);
  border: 1px solid var(--green);
  padding: 20px;
  box-sizing: border-box;
  font-family: var(--nunito);
  color: var(--white);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 10px;
  width: 100%;
}

#checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--white) !important;
  opacity: 0.9;
  background-color: transparent;
  cursor: pointer;
}

.checkbox-text {
  color: var(--black);
  font-family: var(--nunito);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

footer {
  width: 1160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--black);
  font-family: var(--nunito);
  font-size: 14px;
  font-style: 20px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

footer > a {
  color: var(--black);
}

.container-info {
  width: 1160px;
  margin: 0px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.form-container-info {
  width: 570px;
  height: 574px;
  background-color: var(--black);
  border-radius: 30px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 46px;
  padding: 60px 35px;
  box-sizing: border-box;
}

.title-info {
  width: 480px;
  color: var(--white);
  font-family: var(--monstserrat);
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 20px;
}

.info-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-title {
  color: var(--white);
  font-family: var(--nunito);
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 11px;
}

.contact {
  color: var(--white);
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.contact-link {
  color: var(--white);
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

#map {
  width: 570px;
  height: 574px;
  border-radius: 30px;
  background: #d7d7d7;
}

@media (max-width: 1400px) and (min-width: 1024px) {
  .container-contacts {
    padding: 100px 0 40px 0;

    gap: 40px;
  }

  .title-contacts {
    font-size: 38px;

    line-height: 50px;
  }

  .form-container {
    width: 960px;
    height: 640px;

    padding: 30px;

    gap: 60px;
  }

  .left-form-container {
    width: 400px;

    gap: 20px;
  }

  .left-form-container > h2 {
    font-size: 28px;
  }

  .left-image-container {
    width: 400px;
    height: 280px;
  }

  .form-block > input {
    width: 380px;
    height: 60px;
    font-size: 14px;
  }

  .form-block > input::placeholder {
    font-size: 14px;
  }

  .form-block > textarea {
    width: 380px;
    height: 130px;
    font-size: 14px;
  }

  .form-block > textarea::placeholder {
    font-size: 14px;
  }

  .form-block > button {
    width: 380px;
    height: 60px;

    padding: 20px;

    font-size: 14px;
  }

  .checkbox-container {
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  #checkbox {
    width: 20px;
    height: 20px;
  }

  .checkbox-text {
    font-size: 14px;
  }

  footer {
    width: 960px;

    font-size: 12px;
  }

  .container-info {
    width: 960px;
  }

  .form-container-info {
    width: 470px;
    height: 534px;

    gap: 36px;
    padding: 60px 35px;
  }

  .title-info {
    width: 380px;
    font-size: 28px;
    margin-bottom: 20px;
  }

  .info-container {
    gap: 16px;
  }

  .contact-title {
    font-size: 14px;
  }

  .row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 11px;
  }

  .contact {
    color: var(--white);
    font-family: var(--montserrat);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
  }

  .contact-link {
    color: var(--white);
    font-family: var(--montserrat);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
  }

  #map {
    width: 470px;
    height: 534px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .container-contacts {
    padding: 80px 0 20px 0;

    gap: 30px;
  }

  .title-contacts {
    font-size: 34px;

    line-height: 50px;
  }

  .form-container {
    width: 760px;
    height: 600px;

    padding: 30px;
    gap: 20px;
  }

  .left-form-container {
    width: 380px;
    gap: 20px;
  }

  .left-form-container > h2 {
    font-size: 22px;
    line-height: 39px;
  }

  .left-image-container {
    width: 360px;
    height: 240px;
  }

  .form-block > input {
    width: 340px;
    height: 50px;
    font-size: 12px;
  }

  .form-block > input::placeholder {
    font-size: 12px;
  }

  .form-block > textarea {
    width: 340px;
    height: 100px;
    font-size: 12px;
  }

  .form-block > textarea::placeholder {
    font-size: 12px;
  }

  .form-block > button {
    width: 340px;
    height: 50px;

    padding: 20px;

    font-size: 12px;
  }

  .checkbox-container {
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  #checkbox {
    width: 20px;
    height: 20px;
  }

  .checkbox-text {
    font-size: 12px;
  }

  footer {
    width: 760px;

    font-size: 12px;
  }

  .container-info {
    width: 760px;
  }

  .form-container-info {
    width: 370px;
    height: 494px;

    gap: 26px;
    padding: 40px 30px;
  }

  .title-info {
    width: 380px;
    font-size: 26px;
    margin-bottom: 10px;
  }

  .info-container {
    gap: 14px;
  }

  .contact-title {
    font-size: 14px;
  }

  .row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 11px;
  }

  .contact {
    font-size: 14px;
  }

  .contact-link {
    font-size: 14px;
  }

  #map {
    width: 370px;
    height: 494px;
  }
}

@media (max-width: 768px) {
  .container-contacts {
    padding: 40px 0 20px 0;

    gap: 10px;
  }

  .title-contacts {
    font-size: 24px;

    line-height: 50px;
  }

  .form-container {
    width: 345px;
    height: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 30px 15px;
    gap: 20px;
  }

  .left-form-container {
    width: 340px;
    gap: 20px;
    padding: 10px;
    box-sizing: border-box;
  }

  .left-form-container > h2 {
    font-size: 16px;
    line-height: normal;
  }

  .left-image-container {
    width: 330px;
    height: 240px;
    display: none;
  }

  .small-image-container {
    width: 315px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
  }
  .small-image-container > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .form-block > input {
    width: 315px;
    height: 60px;
    font-size: 14px;
  }

  .form-block > input::placeholder {
    font-size: 14px;
  }

  .form-block > textarea {
    width: 315px;
    height: 130px;
    font-size: 14px;
  }

  .form-block > textarea::placeholder {
    font-size: 14px;
  }

  .form-block > button {
    width: 315px;
    height: 60px;

    padding: 20px;

    font-size: 12px;
    margin-bottom: 20px;
  }

  .checkbox-container {
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 0px;
  }

  #checkbox {
    width: 20px;
    height: 20px;
  }

  .checkbox-text {
    font-size: 12px;
  }

  footer {
    width: 345px;

    font-size: 8px;

    text-align: center;
  }

  .container-info {
    width: 345px;
    flex-direction: column;
  }

  .form-container-info {
    width: 345px;
    height: 450px;

    gap: 26px;
    padding: 40px 30px;
  }

  .title-info {
    width: 345px;
    font-size: 18px;
    margin-bottom: 5px;
  }

  .info-container {
    gap: 14px;
  }

  .contact-title {
    font-size: 14px;
  }

  .row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 11px;
  }

  .contact {
    font-size: 14px;
  }

  .contact-link {
    font-size: 14px;
  }

  #map {
    width: 345px;
    height: 300px;
  }
}
