@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --background-color: #FFFFFF;
  --bg-hero: #c4c4c4;
  --footer-background-color: #2F303A;
  --footer-link-text-color: #FFFFFF;
  --footer-last-text-color: #757575;
  --footer-title-text-color: #FFFFFF;
  --mobile-background-color: #FFFFFF;
  --title-text-color: #FFFFFF;
  --first-text-color: #212121;
  --last-text-color: #757575;
  --focus-text-color: #2196F3;
  --backgound-color: #2F303A;
  --hero-button-color-focus: #188CE8;
  --portfolio-border: #EEEEEE;
  --background-team-sec: #F5F4FA;
  /* svg */
  --hover-color: #2196F3;
  --primary-colo: #AFB1B8;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul {
  list-style-type: none;
  padding: 0px;
  margin: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 480px) {
  .container {
    width: 480px;
  }
}
@media screen and (min-width: 768px) {
  .container {
    width: 768px;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}

.section {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .section {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}

body {
  background-color: var(--background-color);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--first-text-color);
  letter-spacing: 0.03em;
}

.logo {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.19;
  text-decoration: none;
  color: inherit;
  margin-top: 15px;
  margin-bottom: 15px;
}

.logo__header {
  margin-left: 15px;
}

.logo__web--color {
  color: var(--focus-text-color);
}

.logo__footer--color {
  color: var(--title-text-color);
}

@media screen and (min-width: 768px) {
  .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.navigation-hide {
  align-items: flex-start;
  justify-content: space-around;
}
@media (max-width: 767px) {
  .navigation-hide {
    display: none;
  }
}

.header {
  border-bottom: 1px solid #ECECEC;
}

.header__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header--aligment {
  display: flex;
}

.header__link {
  position: relative;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
  display: block;
  padding-top: 32px;
  padding-bottom: 32px;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header__link:not(:last-child) {
  margin-right: 50px;
}
.header__link::after {
  position: absolute;
  content: "";
  left: 0;
  top: 96%;
  background-color: var(--focus-text-color);
  width: 100%;
  height: 4px;
  border-radius: 2px;
  opacity: 0;
}
.header__link:focus, .header__link:hover {
  color: var(--focus-text-color);
}

.header__item + .header__item {
  margin-left: 50px;
}

.header__menu {
  margin-left: 93px;
}

.header__link--current {
  color: var(--focus-text-color);
  opacity: 1;
}
.header__link--current::after {
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .address {
    display: flex;
    flex-direction: column-reverse;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .address {
    margin-left: 84px;
    display: flex;
    flex-direction: column;
  }
}
@media screen and (min-width: 1200px) {
  .address {
    display: flex;
    justify-content: start;
    height: 100%;
  }
}

.address__item {
  display: flex;
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .address__item + .address__item {
    margin-top: 10px;
  }
}
@media screen and (min-width: 1200px) {
  .address__item + .address__item {
    margin-left: 30px;
    height: 100%;
  }
}

.address__link {
  padding: 0;
  margin: 0;
  display: flex;
  width: 100%;
  flex-grow: 1;
  align-items: center;
  justify-content: start;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: var(--last-text-color);
  text-decoration: none;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.address__link:hover, .address__link:focus {
  color: var(--focus-text-color);
}
@media screen and (max-width: 1199px) {
  .address__link {
    display: flex;
    align-items: center;
    justify-content: start;
    font-size: 12px;
  }
}

.address__svg {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  fill: currentColor;
}

.footer {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--footer-background-color);
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer__container {
  text-align: center;
}
@media screen and (min-width: 1200px) {
  .footer__container {
    margin: 0 auto;
    display: flex;
    justify-content: start;
    align-items: baseline;
    text-align: left;
  }
}

.container__aligment {
  width: 100%;
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .container__aligment {
    display: flex;
    justify-content: start;
    align-items: baseline;
    margin-bottom: 60px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1200px) {
  .container__aligment {
    display: flex;
    justify-content: start;
    align-items: baseline;
  }
}

@media screen and (max-width: 767px) {
  .footer__adress {
    margin-bottom: 60px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .footer__adress {
    width: 354px;
    margin-bottom: 0;
    max-width: 354px;
    margin-right: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .footer__adress {
    margin-right: 70px;
  }
}

/* address */
.footer__address {
  margin-top: 20px;
}

.address__item:not(:last-child) {
  margin-bottom: 9px;
}

.footer__link {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--footer-link-text-color);
  text-decoration: none;
  display: inline-block;
}

.footer__link--color {
  font-style: normal;
  font-size: 14px;
  line-height: 1.17;
  color: var(--footer-last-text-color);
  text-decoration: none;
  display: inline-block;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer__link--color:hover, .footer__link--color:focus {
  color: var(--focus-text-color);
}

/* footer svg link */
@media screen and (min-width: 768px) and (max-width: 1190px) {
  .social {
    width: 354px;
    margin-bottom: 0;
    max-width: 354px;
    margin-right: 30px;
  }
}

.social__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--footer-title-text-color);
  margin-bottom: 20px;
}
@media screen and (min-width: 1200px) {
  .social__title {
    text-align: start;
  }
}

.social__list {
  display: flex;
  text-align: center;
  justify-content: center;
}

.social__item + .social__item {
  margin-left: 10px;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--title-text-color);
  text-decoration: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social__link:hover, .social__link:focus {
  background-color: var(--hover-color);
}

.social__svg {
  fill: currentColor;
}

.footer__form {
  color: var(--title-text-color);
}
@media screen and (min-width: 1200px) {
  .footer__form {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-left: auto;
  }
}

.footer__title {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.14;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 60px;
}
@media screen and (min-width: 1200px) {
  .footer__title {
    margin-top: 0;
    text-align: start;
  }
}

@media screen and (max-width: 1199px) {
  .footer__form--container {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
  }
}
@media screen and (min-width: 1200px) {
  .footer__form--container {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 30px;
  }
}

.footer__label {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--title-text-color);
}

.footer__input {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 0 auto;
  width: 450px;
  height: 50px;
  padding: 0;
  padding-left: 16px;
  font-size: 16px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.6);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
@media screen and (max-width: 479px) {
  .footer__input {
    width: 100%;
  }
}
@media screen and (max-width: 1199px) {
  .footer__input {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 1200px) {
  .footer__input {
    width: 358px;
    margin-right: 12px;
  }
}

.footer__submit--container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.footer__submit {
  width: 200px;
  height: 50px;
  padding: 0;
  overflow: hidden;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  background-color: var(--focus-text-color);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.88;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--title-text-color);
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer__submit:hover, .footer__submit:focus {
  background-color: var(--hero-button-color-focus);
}

.footer__send {
  margin-left: 20px;
}

.mobile_menu_button {
  display: flex;
  margin: 0 auto;
  padding: 0;
  border-color: transparent;
  background-color: transparent;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}
.mobile_menu_button:focus, .mobile_menu_button:hover {
  color: var(--hover-color);
}
@media (min-width: 768px) {
  .mobile_menu_button {
    display: none;
  }
}

.mobile__close {
  position: absolute;
  right: 8px;
  top: 8px;
  min-height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  outline: none;
}
.mobile__close:focus, .mobile__close:hover {
  color: var(--hover-color);
}

.mobile__button--color {
  fill: currentColor;
}

.mobile__model {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 32px;
  background-color: var(--mobile-background-color);
  z-index: 999;
  overflow-y: scroll;
  transform: translateX(100%);
  transition: transform 250ms ease-in-out;
}
.mobile__model.is-open {
  transform: translateX(0);
}

.mobile {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.mobile__item {
  margin-left: 10%;
}
.mobile__item:not(:last-child) {
  margin-bottom: 32px;
}

.mobile__link {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.18;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: var(--first-text-color);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile__link:focus, .mobile__link:hover {
  color: var(--focus-text-color);
}
.mobile__link.selected {
  color: var(--focus-text-color);
}

.mobile__address {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-top: 302px;
  margin-bottom: 10%;
}

.mobile__list {
  margin-left: 10%;
}

.mobile__phone {
  text-decoration: none;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--focus-text-color);
}

.mobile__mail {
  text-decoration: none;
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: 0.02em;
  color: #757575;
}

.mobile__social {
  display: inline-flex;
  flex-wrap: wrap;
  margin-left: 10%;
  margin-top: auto;
}

.mobile__social-item--border::after {
  border-right: 1px solid rgba(33, 33, 33, 0.2);
  content: "";
  margin-right: 10px;
  margin-left: 10px;
}

.mobile__social--link {
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.02em;
  color: #2196F3;
}

.hero {
  max-width: 1600px;
  height: 400px;
  background-position: center;
  background-size: cover;
  background-color: var(--bg-hero);
  color: var(--title-text-color);
  text-align: center;
  padding-top: 118px;
  padding-bottom: 118px;
}
@media screen and (max-width: 479px) {
  .hero {
    max-width: 480px;
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url("../images/hero-480.jpeg");
  }
}
@media screen and (max-width: 479px) and (min-device-pixel-ratio: 2), screen and (max-width: 479px) and (-webkit-min-device-pixel-ratio: 2), screen and (max-width: 479px) and (min-resolution: 192dpi), screen and (max-width: 479px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url("../images/hero-960.jpeg");
  }
}
@media screen and (min-width: 480px) and (max-width: 767px) {
  .hero {
    max-width: 768px;
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url("../images/hero-768.jpeg");
  }
}
@media screen and (min-width: 480px) and (max-width: 767px) and (min-device-pixel-ratio: 2), screen and (min-width: 480px) and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 480px) and (max-width: 767px) and (min-resolution: 192dpi), screen and (min-width: 480px) and (max-width: 767px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url("../images/hero-1536.jpeg");
  }
}
@media screen and (min-width: 768px) {
  .hero {
    max-width: 1600px;
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url("../images/hero-1600.jpeg");
  }
}
@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2), screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 768px) and (min-resolution: 192dpi), screen and (min-width: 768px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url("../images/hero-3200.jpeg");
  }
}
@media screen and (min-width: 1200px) {
  .hero {
    padding-top: 200px;
    padding-bottom: 200px;
    height: 600px;
  }
}

.hero__title {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.36;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--title-text-color);
  margin-bottom: 30px;
}
@media screen and (min-width: 1200px) {
  .hero__title {
    font-size: 44px;
  }
}

.hero__button {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.06em;
  color: var(--title-text-color);
  background-color: var(--focus-text-color);
  border-radius: 4px;
  border: none;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  min-width: 200px;
  height: 50px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__button:hover, .hero__button:focus {
  background-color: var(--hero-button-color-focus);
}

@media screen and (min-width: 1200px) {
  .benefits {
    padding-bottom: 0;
  }
}

.benefits__titile {
  visibility: hidden;
  font-size: 0;
}

@media screen and (min-width: 768px) {
  .benefits__table {
    display: flex;
    flex-wrap: wrap;
    margin-left: -30px;
    margin-top: -30px;
  }
}

@media screen and (max-width: 479px) {
  .benef__item {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .benef__item + .benef__item {
    margin-top: 30px;
  }
}
@media screen and (min-width: 480px) and (max-width: 767px) {
  .benef__item {
    width: 450px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .benef__item {
    flex-basis: calc(50% - 30px);
    margin-left: 30px;
    margin-top: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .benef__item {
    flex-basis: calc(25% - 30px);
    margin-left: 30px;
    margin-top: 30px;
  }
}

.benefits__parahraph {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .benefits__parahraph {
    text-align: left;
  }
}

.benefits__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--last-text-color);
  text-align: left;
}

.benefits__svg {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  height: 120px;
  background-color: var(--background-team-sec);
}

.work {
  padding-top: 0;
}
@media screen and (max-width: 1199px) {
  .work {
    display: none;
  }
}

.work__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
  margin-bottom: 50px;
}

.work__table {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.work__item {
  position: relative;
}
.work__item + .work__item {
  margin-left: 30px;
}

.work__text {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  left: 0;
  bottom: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background-color: rgba(47, 48, 58, 0.8);
  color: var(--title-text-color);
}

.team {
  background-color: var(--background-team-sec);
}

.team__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
  margin-bottom: 50px;
}

@media screen and (min-width: 768px) {
  .team__table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-left: -30px;
    margin-top: -30px;
  }
}

.team__item {
  background-color: var(--title-text-color);
  border-radius: 0px 0px 4px 4px;
  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);
}
@media screen and (max-width: 479px) {
  .team__item {
    width: 100%;
  }
}
@media screen and (min-width: 480px) and (max-width: 767px) {
  .team__item {
    width: 450px;
  }
}
@media screen and (max-width: 767px) {
  .team__item + .team__item {
    margin-top: 30px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .team__item {
    flex-basis: calc(50% - 30px);
    margin-left: 30px;
    margin-top: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .team__item {
    flex-basis: calc(25% - 30px);
    margin-left: 30px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 479px) {
  .team__card {
    width: 100%;
  }
}
@media screen and (min-width: 480px) {
  .team__card {
    width: 450px;
  }
}
@media screen and (min-width: 768px) {
  .team__card {
    width: 354px;
  }
}
@media screen and (min-width: 1200px) {
  .team__card {
    width: 270px;
  }
}

.team__names {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.19;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 10px;
}

.team__job {
  font-size: 16px;
  line-height: 1.19;
  text-align: center;
  color: var(--last-text-color);
  margin-bottom: 16px;
}

.team__social {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 24px;
}

.team__meta + .team__meta {
  margin-left: 10px;
}

.team__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-colo);
  text-decoration: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: color, background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.team__link:hover, .team__link:focus {
  color: var(--title-text-color);
  background-color: var(--focus-text-color);
}

.team__svg {
  fill: currentColor;
}

.clients__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 50px;
  color: var(--first-text-color);
  font-size: 28px;
}

.client__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-left: -30px;
  margin-top: -30px;
}

.client__item {
  flex-basis: calc(50% - 30px);
  margin-left: 30px;
  margin-top: 30px;
}
@media screen and (min-width: 768px) {
  .client__item {
    flex-basis: calc(33.3333333333% - 30px);
    margin-left: 30px;
    margin-top: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .client__item {
    flex-basis: calc(16.6666666667% - 30px);
    margin-left: 30px;
    margin-top: 30px;
  }
}

.client__link {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  width: 100%;
  height: 92px;
  color: var(--primary-colo);
  background-color: transparent;
  border: 1px solid var(--primary-colo);
  border-radius: 4px;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.client__link:hover, .client__link:focus {
  color: var(--focus-text-color);
  border: 1px solid var(--focus-text-color);
}

.client__svg {
  fill: currentColor;
}

.backdrop {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
  overflow-y: scroll;
}

.backdrop.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.backdrop.is-hidden .backdrop__modal {
  transform: translate(-50%, -50%) scale(0.9);
}

.backdrop__modal {
  position: absolute;
  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;
  top: 50%;
  left: 50%;
  padding: 40px;
  background-color: var(--title-text-color);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop__button {
  display: block;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  background: var(--title-text-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgb(0, 0, 0);
}
.backdrop__button:focus .backdrop__close, .backdrop__button:hover .backdrop__close {
  fill: var(--hover-color);
}

.backdrop__close {
  fill: currentColor;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0.03em;
  color: var(--first-text-color);
  margin-bottom: 30px;
}

.form {
  width: 370px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 479px) {
  .form {
    width: calc(100vw - 80px);
  }
}
@media (min-width: 1200px) {
  .form {
    width: 448px;
  }
}

.callback {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.callback__field {
  position: relative;
}
.callback__field + .callback__field {
  margin-top: 28px;
}

.callback__label {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-18px);
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.01em;
  color: var(--last-text-color);
}

.callback__input {
  margin: 0;
  width: 100%;
  height: 40px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  outline: none;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
  transition: border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.callback__input:not(:-moz-placeholder-shown) {
  border: 1px solid var(--hover-color);
}
.callback__input:not(:-ms-input-placeholder) {
  border: 1px solid var(--hover-color);
}
.callback__input:not(:placeholder-shown), .callback__input:focus, .callback__input:hover {
  border: 1px solid var(--hover-color);
}
.callback__input:focus ~ .callback__svg, .callback__input:hover ~ .callback__svg {
  fill: var(--hover-color);
}

.callback__svg {
  position: absolute;
  top: 11px;
  left: 12px;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.callback__textarea {
  margin: 0;
  width: 100%;
  height: 120px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  outline: none;
  resize: none;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}
.callback__textarea:not(:-moz-placeholder-shown) {
  border: 1px solid var(--hover-color);
}
.callback__textarea:not(:-ms-input-placeholder) {
  border: 1px solid var(--hover-color);
}
.callback__textarea:not(:placeholder-shown), .callback__textarea:focus, .callback__textarea:hover {
  border: 1px solid var(--hover-color);
}

.checkbox {
  margin: 25px auto;
}

.checkbox__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.checkbox__input:checked + .chackbox__icon {
  border-color: var(--hover-color);
  background-color: var(--hover-color);
  background-image: url(../images/icon-check.svg);
  background-size: contain;
  background-origin: border-box;
}

.chackbox__topic {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.17;
  letter-spacing: 0.01em;
  color: var(--last-text-color);
}

.chackbox__icon {
  display: inline-flex;
  width: 16px;
  height: 15px;
  border: 2px solid var(--first-text-color);
  border-radius: 2px;
  margin-right: 7px;
}

.accept {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}
@media screen and (min-width: 1200px) {
  .accept {
    font-size: 14px;
  }
}

.checkbox__link {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  color: #2196F3;
}

.callback__button {
  margin: 0 auto;
  width: 200px;
  height: 50px;
  border: none;
  background-color: var(--focus-text-color);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.88;
  display: flex;
  letter-spacing: 0.06em;
  align-items: center;
  justify-content: center;
  color: var(--title-text-color);
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.callback__button:focus, .callback__button:hover {
  background-color: var(--hero-button-color-focus);
}

.chapter {
  display: flex;
  justify-content: center;
}
.chapter--chose {
  margin-bottom: 25px;
}
@media screen and (max-width: 767px) {
  .chapter {
    justify-content: start;
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 768px) {
  .chapter--chose {
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 768px) {
  .chapter--chose {
    margin-bottom: 50px;
  }
}

.portfolio__title {
  visibility: hidden;
  font-size: 0;
}

.chapter__button {
  background-color: var(--background-team-sec);
  color: var(--first-text-color);
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.63;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 6px 22px;
  box-shadow: none;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1), background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.chapter__button--accent {
  background-color: var(--hover-color);
  color: var(--title-text-color);
}
.chapter__button:hover, .chapter__button:focus {
  background-color: var(--hover-color);
  color: var(--title-text-color);
  box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.12);
}

.chapter__item:not(:last-child) {
  margin-right: 8px;
}
@media screen and (max-width: 767px) {
  .chapter__item {
    margin-bottom: 15px;
  }
}

.portfolio__table {
  display: flex;
  flex-wrap: wrap;
  margin-left: -30px;
  margin-top: -30px;
  text-align: left;
}

.portfolio__item {
  display: flex;
  flex-direction: column;
  margin-left: 30px;
  margin-top: 30px;
  flex-basis: calc(100vw - 30px);
}
@media screen and (min-width: 480px) {
  .portfolio__item {
    flex-basis: 450px;
  }
}
@media screen and (min-width: 768px) {
  .portfolio__item {
    flex-basis: calc(50% - 30px);
  }
}
@media screen and (min-width: 1200px) {
  .portfolio__item {
    flex-basis: calc(33.3333333333% - 30px);
  }
}

.portfolio__company {
  font-weight: 700;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--first-text-color);
  margin-bottom: 4px;
}

.portfolio__link {
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio__link:focus, .portfolio__link:hover {
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.06), 1px 4px 6px rgba(0, 0, 0, 0.16);
}
.portfolio__link:focus .thubm__container, .portfolio__link:hover .thubm__container {
  transform: translateY(0%);
}

.portfolio__type {
  font-size: 16px;
  line-height: 1.88;
  color: var(--last-text-color);
}

.portfolio__block {
  flex-grow: 1;
  padding: 20px 24px;
  border-left: 1px solid var(--portfolio-border);
  border-right: 1px solid var(--portfolio-border);
  border-bottom: 1px solid var(--portfolio-border);
}

.thumb {
  position: relative;
  overflow: hidden;
}

.thubm__container {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(101%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  height: 100%;
  background: rgba(33, 150, 243, 0.9);
}

.thubm__text {
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--title-text-color);
  padding: 63px 24px;
  margin: 0;
}/*# sourceMappingURL=main.css.map */