:root {
  --primary--color: #757575;
  --white--title--color: #ffffff;
  --title--color: #212121;
  --button--bg--color: #2196f3;
  --button--active--bg--color: #188ce8;
  --portfolio--button--active--bg--color: #2196f3;
  --portfolio--button--bg--color: #f5f4fa;
  --logo--primary--color: #2196f3;
  --logo--secondary--color: #000000;
  --hero--bg--color: #2f303a;
  --team--bg--color: #f5f4fa;
  --footer--text-color: rgba(255, 255, 255, 0.6);
  --border--color: #ececec;
  --client--color: #afb1b8;
  --primary--fonts: "Roboto", sans-serif;
  --logo--fonts: "Raleway", sans-serif;
  --transition--time: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --gradient: linear-gradient(
    to right,
    rgba(47, 48, 58, 0.4),
    rgba(47, 48, 58, 0.4)
  );
}

ul,
ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.visually-hidden {
  color: rgba(0, 0, 0, 0);
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;

  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.backdrop {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 250ms linear, visibility 250ms linear;
}

.backdrop.is-hidden .modal {
  transform: translate(-50%, -50%) scale(0.5);
}

.modal {
  width: 90%;
  min-height: 381px;
  background-color: var(--white--title--color);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14),
    0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 300ms linear;
}

@media screen and (max-width: 600px) {
  .modal {
    width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  .modal {
    width: 528px;
  }
}

.close-button {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon {
  fill: #000000;
  cursor: pointer;
  transition: fill var(--transition--time);
}

.modal-icon:hover {
  fill: var(--button--bg--color);
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

textarea {
  resize: none;
}

.form {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px 40px 40px;
}

@media screen and (max-width: 600px) {
  .form {
    padding: 0 25px 25px 25px;
  }
}

.form-title {
  font-weight: 700;
  font-size: 20px;
  line-height: calc(30 / 20);
  text-align: center;
  letter-spacing: 0.03em;
  color: var(--title--color);
  margin: 40px 20px 12px 20px;
}

.form-title2 {
    font-weight: 700;
    font-size: 20px;
    line-height: calc(30 / 20);
    text-align: center;
    letter-spacing: 0.03em;
    color: var(--title--color);
    margin: 10px 20px 12px 20px;
  }

@media screen and (max-width: 600px) {
  .form-title {
    margin: 40px 40px 12px 40px;
  }
}

@media screen and (min-width: 1024px) {
  .form-title {
    line-height: calc(23 / 20);
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.input-wrap {
  position: relative;
}

.form-field input {
  width: 100%;
  margin: 0;
  padding: 11px 16px 11px 42px;
  border-radius: 4px;
  border: 1px solid rgba(33, 33, 33, 0.2);
}

.form-field textarea {
  width: 100%;
  margin: 0;
  padding: 11px 16px;
  margin-bottom: 20px;
  border-radius: 4px;
  border: 1px solid rgba(33, 33, 33, 0.2);
}

.form-field textarea::placeholder {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}

.form-label {
  font-size: 12px;
  line-height: calc(14 / 12);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.form-button {
  padding: 10px 52px;
  min-width: 200px;
  display: flex;
  margin: 0 auto;
}

.form-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  display: inline-block;
  fill: var(--title--color);
}

.form-input:focus + .form-icon {
  fill: var(--button--bg--color);
}

.form-input:focus {
  border: 1px solid var(--button--bg--color);
  outline: transparent;
}

.check {
  justify-content: center;
  margin-bottom: 30px;
  line-height: calc(24 / 14);
}

.check-label {
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.03em;
  font-size: 8px;
  line-height: calc(14 / 12);
}

@media screen and (max-width: 600px) {
  .check-label {
    font-size: 12px;
  }
}

@media screen and (min-width: 1024px) {
  .check-label {
    font-size: 14px;
    line-height: calc(24 / 14);
  }
}

.check-link {
  text-decoration-line: underline;
  color: var(--button--bg--color);
}

.checkbox {
  margin-right: 7px;
  width: 16px;
  height: 15px;
  border: 2px solid var(--title--color);
  border-radius: 2px;
  background-color: var(--white--title--color);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0;
  transition: background-color var(--transition--time),
    background-size var(--transition--time), border var(--transition--time);
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  align-content: center;
}

.checkbox:checked {
  background-color: var(--button--bg--color);
  border: 2px solid var(--button--bg--color);
  background-image: url(../images/check.svg);
  background-size: contain;
}
.h1_title {
  font-size: 24px;
    line-height: 1;
}

@media screen and (min-width: 1024px) {
  .h1_title {
    font-size: 62px;
    line-height: 34px;
  }
}

@media screen and (max-width: 678px) {
  .t183__uptitle {
    display: none;
  }
}
