html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

input {
  border: none;
  outline: none;
}

ol,
ul {
  list-style: none;
}

button {
  border: 0;
  outline: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

input {
  text-rendering: auto;
  color: fieldtext;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: start;
  -webkit-appearance: auto;
     -moz-appearance: auto;
          appearance: auto;
  cursor: text;
  background-color: field;
}

body {
  color: var(--colorTextTitle);
  font-weight: 400;
  line-height: 1.625;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 14px;
}

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

.clients__title, .team__title, .services__title {
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 36px;
  text-align: center;
}

.container {
  min-width: 480px;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.header {
  padding: 16px 0;
  border-bottom: 1px solid #EEEEEE;
}
.header__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 92px;
}
.header__contact {
  display: none;
}
.header__contact-list, .header .contact-block {
  display: none;
}
.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.header__nav-link {
  padding: 8px 16px;
  text-align: center;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0s;
}
.header__nav-link:hover, .header__contact-item:hover {
  fill: #2196f3;
  color: #2196f3;
}
.header__contact-link {
  justify-content: center;
}
@media (min-width: 768px) {
  .header__container {
    flex-direction: row;
    justify-content: space-between;
  }
  .header__logo {
    max-width: 135px;
  }
  .header__contact-list {
    display: flex;
    gap: 60px;
  }
  .header .contact-block {
    display: flex;
  }
  .header__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .header__nav {
    margin: auto 0;
  }
  .header__nav-list {
    flex-direction: row;
  }
  .header__nav-item {
    position: relative;
  }
  .header__contact-item {
    margin: auto 0;
    display: flex;
    justify-content: space-between;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
  }
  .header__contact-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .header__contact-icon {
    max-width: 14px;
    max-height: 14px;
  }
}

@media (min-width: 1200px) {
  .header {
    padding: 25px 0;
  }
  .header__container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
  .header__contact {
    display: flex;
    flex-direction: row;
    gap: 30px;
  }
}
.hero {
  background-color: #2f303a;
  padding-top: 200px;
  padding-bottom: 200px;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  background-image: url(../img/hero/backbackground-hero.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  opacity: 0.55;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.hero__title {
  line-height: 1.363;
  font-size: 26px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.hero__button {
  line-height: 1.875;
  background-color: #2196f3;
  color: #fff;
  padding: 10px 32px;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__button:hover {
  border-radius: 0px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 36px;
    text-align: center;
  }
}
@media (min-width: 1200px) {
  .hero__title {
    font-size: 44px;
    text-align: center;
  }
}
.about {
  padding-top: 5vh;
  padding-bottom: 5vh;
}

.about__container {
  max-width: 100%;
}

.about__list {
  gap: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.about__item {
  width: 100%;
}

.about__photo {
  background-color: #f5f4fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__img {
  max-width: 70px;
  height: auto;
  padding: 25px 0px;
}

.about__title {
  padding-top: 30px;
  padding-bottom: 10px;
  font-weight: 700;
  text-align: center;
}

.about__description {
  color: #757575;
  font-weight: 400;
}

@media (min-width: 768px) {
  .about__list {
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 35vw);
    justify-content: center;
  }
  .about__title {
    text-align: left;
  }
}
@media (min-width: 1200px) {
  .about__list {
    gap: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .about__title {
    text-align: left;
  }
}
.services {
  padding-top: 94px;
  display: none;
}

.services__cards {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 30px;
}

.services__card {
  position: relative;
}

.services__img {
  width: 100%;
  height: 100%;
  display: block;
}

.services__card-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  background: rgba(47, 48, 58, 0.8);
  letter-spacing: 0.42px;
  padding: 27px 0;
  line-height: 100%;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.team {
  background-color: #f5f4fa;
  padding-top: 5vh;
  padding-bottom: 5vh;
}

.team__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.team__item {
  background-color: #fff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
  width: 100%;
  text-align: center;
}

.team__photo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.team__img {
  max-width: 100%;
  height: auto;
}

.team__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 30px;
}

.team__name {
  font-weight: 500;
  font-size: 16px;
}

.team__position {
  color: #757575;
  font-weight: 400;
  font-size: 16px;
}

.team__socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.team__icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.team__icon:hover {
  background-color: #2196f3;
}

.team__icon:hover .team__icon-svg {
  fill: #fff;
}

.team__icon-svg {
  width: 20px;
  height: 20px;
  fill: #AFB1B8;
  transition: fill 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .team__list {
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(2, 354px);
    justify-content: center;
  }
}
@media (min-width: 1200px) {
  .team__list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
}
.clients {
  padding-top: 94px;
  padding-bottom: 94px;
}

.clients__cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.clients__card {
  padding: 22px 64px;
  border: 1px solid #AFB1B8;
  border-radius: 4px;
  transition: border 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 292px;
  display: flex;
  justify-content: center;
}

.clients__card:hover {
  border-color: #2196f3;
}

.clients__icon {
  width: 65px;
  height: 50px;
  fill: #AFB1B8;
  transition: fill 0.25s linear;
}

.clients__card:hover .clients__icon {
  fill: #2196f3;
}

@media (min-width: 768px) {
  .clients__cards {
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(3, 226px);
    justify-content: center;
  }
}
@media (min-width: 1200px) {
  .clients__cards {
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(6, 170px);
    justify-content: center;
    padding: 0;
  }
  .clients__card {
    padding: 16px 32px;
  }
  .clients__icon {
    width: 106px;
    height: 60px;
    fill: #AFB1B8;
    transition: fill 0.25s linear;
  }
}
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 1;
  transition-property: opacity;
  transition-duration: 0.25s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

.backdrop.is-hidden .modal {
  transform: translate(-150%, -50%) perspective(2500px) rotateY(-90deg);
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 450px;
  min-height: 609px;
  transform: translate(-50%, -50%) perspective(2500px) rotateY(0);
  padding: 40px;
  border-radius: 4px;
  background-color: #fff;
  transition-property: transform;
  transition-duration: 0.25s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 20px;
  color: #212121;
}

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

.modal__form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.group-input {
  position: relative;
  display: flex;
  flex-direction: column;
}

.group-input__icon {
  position: absolute;
  top: 55%;
  left: 10px;
  width: 12px;
  height: 12px;
  fill: #212121;
  transition: fill 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-input__label {
  font-weight: 400;
  font-size: 12px;
  color: #757575;
}

.group-input__input {
  width: 370px;
  height: 40px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  transition: border-color 0.25s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1px 42px;
}

.group-input__input:focus,
.group-input__input:hover {
  border-color: #2196f3;
  outline: none;
}

.group-input__input:focus + .group-input__icon,
.group-input__input:hover + .group-input__icon {
  fill: #2196f3;
}

.group-input:nth-of-type(4) .group-input__input {
  height: 120px;
  padding: 12px 16px 90px 15px;
  font-size: 12px;
  resize: none;
}

.group-input:nth-of-type(4) .group-input__input::-moz-placeholder {
  position: absolute;
  top: 20px;
  left: 16px;
  font-size: 12px;
  color: rgba(117, 117, 117, 0.5);
  transform: translateY(-50%);
}

.group-input:nth-of-type(4) .group-input__input::placeholder {
  position: absolute;
  top: 20px;
  left: 16px;
  font-size: 12px;
  color: rgba(117, 117, 117, 0.5);
  transform: translateY(-50%);
}

.modal__form-checkbox {
  display: flex;
  flex-direction: row;
  gap: 8.38px;
  margin-top: 25px;
}

.form-checkbox__label {
  font-weight: 400;
}

.form-checkbox__link {
  color: #2196f3;
  text-decoration: underline;
}

.modal__form-submit {
  margin-top: 30px;
}

.form-submit__button {
  padding: 16px 52px;
  color: #fff;
  background-color: #2196f3;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.3);
}

.modal__btn-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
}

.modal__btn-close .modal__icon {
  width: 30px;
  height: 30px;
  transition: transform 0.25s ease;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__btn-close:hover .modal__icon {
  transform: rotate(360deg);
  fill: #2196f3;
}

.no-scroll {
  overflow: hidden;
}

.checkbox-link {
  color: #2196f3;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (min-width: 1200px) {
  .modal {
    width: 528px;
    min-height: 581px;
  }
}
.footer {
  background-color: #2f303a;
  padding-top: 5vh;
  padding-bottom: 5vh;
}

.footer__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer__photo {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.footer__lists {
  display: flex;
  gap: 70px;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.footer__info-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__info-item,
.footer__info-address {
  color: #fff;
  font-weight: 400;
}

.footer__info-link {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.footer__social-network {
  display: flex;
  flex-direction: column;
  transform: translateY(-30px);
}

.footer__social-network-title {
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer__icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer__icon-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(175, 177, 184, 0.2);
  transition: background-color 0.25s, fill 0.25s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__icon-block:hover {
  background-color: #2196f3;
}

.footer__icon {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.footer__newsletter {
  display: flex;
  flex-direction: column;
  transform: translateY(-30px);
}

.footer__newsletter-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer__newsletter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__newsletter-outline {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: -15px;
  transition: border-color 0.25s linear;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__newsletter-outline:focus-within,
.footer__newsletter-outline:hover {
  outline: none;
  border-color: #2196f3;
}

.footer__newsletter-input {
  width: 450px;
  padding: 15px 16px;
  font-size: 16px;
  line-height: 1.25;
  color: #fff;
  background-color: transparent;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 4px;
  border: none;
  outline: none;
}

.footer__newsletter-button {
  font-weight: 700;
  font-size: 16px;
  padding: 13px 28px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  background-color: #2196f3;
  border-radius: 4px;
  color: #fff;
}

.footer__newsletter-icon {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.footer__photo {
  display: flex;
  justify-content: center;
}

.footer__logo,
.footer__logo-image {
  width: 150px;
  height: 20px;
}

@media (min-width: 768px) {
  .footer__container {
    margin: 0 auto;
    padding: 0 20px;
  }
  .footer__lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: start;
    text-align: left;
    width: 100%;
  }
  .footer__info-list {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
  }
  .footer__social-network {
    padding-top: 30px;
    grid-column: 2;
    grid-row: 1;
  }
  .footer__photo {
    display: flex;
    justify-content: center;
  }
  .footer__logo,
  .footer__logo-image {
    width: 150px;
    height: 20px;
  }
  .footer__newsletter {
    grid-column: 1/3;
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
  }
  .footer__social-network {
    transform: translateY(0px);
  }
  .footer__info-list {
    transform: translateY(30px);
  }
  .footer__newsletter-title, .footer__social-network-title {
    text-align: center;
  }
}
@media (min-width: 1200px) {
  .footer {
    padding: 60px 0px;
  }
  .footer__lists {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
  .footer__photo {
    display: flex;
    justify-content: left;
  }
  .footer__info-list {
    text-align: left;
  }
  .footer__newsletter {
    max-width: 570px;
  }
  .footer__newsletter {
    transform: translateY(-6px);
  }
  .footer__social-network {
    transform: translateY(-25px);
  }
  .footer__info-list {
    transform: translateY(0px);
  }
  .footer__newsletter-item {
    gap: 12;
    flex-direction: row;
    justify-content: center;
  }
  .footer__newsletter-title, .footer__social-network-title {
    text-align: left;
  }
  .footer__newsletter-input {
    width: 358px;
  }
}