/*голубой текст акцент, фон активный элемент  2196f3
  черный тескт Лого 000000
  навигации, фильтры цвет текста черный, заголовки картинок 212121
  контакты цвет серый, подписи картинок 757575
  белый цвет текста основной FFFFFF 100%
  белый цвет текста контакты FFFFFF 60%
  фон подвал, фон герой - 2F303A
  фон неактивные фильтры - F5F4FA
  Лого шрифт Raleway 700
  Roboto- 400, 500, 700, 900
  фон футтер, фон герой 2F303A
  фон наша команда F5F4FA
  фон белый FFFFFF
  фон белый E5E5E5
  убрать точки в списке глобально
  ul {
  list-style: none;
}заголовки секций шрифт цвет - 212121
  */

:root {
  --title-text-color: #212121;
  --accent-color: #2196f3;
  --primary-white-color: #ffffff;
  --primary-text-color: #757575;
  --logo-text-color: #000000;
  --secondary-bg-color: #2f303a;
  --button-accent-color: #188ce8;
  --third-bg-color: #f5f4fa;
  --botom-header-br-color: #ececec;
  --primary-icon-color: #afb1b8;
}

body {
  background-color: var(--primary-white-color);
  color: var(--primary-text-color);
  font-family: Roboto, monospace;
  letter-spacing: 0.03em;
}
.no-scroll {
  overflow: hidden;
}
/* Container index*/
.container {
  width: 1200px;
  padding-right: 15px;
  padding-left: 15px;
  margin-left: auto;
  margin-right: auto;
}
/* Section padding*/
.section {
  padding-top: 94px;
  margin: 0px;
}
/* List without dots design*/
ul {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0px;
}
a {
  text-decoration: none;
}
img {
  display: block;
}
h1,
h2,
h3 {
  margin: 0px;
}
p {
  margin: 0px;
}
.visualy-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}
/*WebStudio Logo header*/
.header {
  background-color: #ffffff;
}
.logo {
  display: block;
  padding-top: 24px;
  padding-bottom: 25px;
  margin-right: 93px;

  font-family: Raleway, sans-serif;
  color: var(--logo-text-color);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;
}
.accent {
  font-family: Raleway, sans-serif;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;
}
/*nav*/
.header {
  border-bottom: 1px solid var(--botom-header-br-color);
}
.main-nav {
  width: 1200px;
  padding-right: 15px;
  padding-left: 15px;
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.nav {
  display: flex;
}
.nav-list {
  display: flex;
}
.nav-list-item:not(:last-child) {
  margin-right: 50px;
}
.nav-link {
  display: block;
  padding-top: 32px;
  padding-bottom: 32px;

  color: var(--title-text-color);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;

  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover,
.nav-link:focus {
  color: var(--accent-color);
}
.nav-link-active {
  position: relative;
  display: block;
  padding-top: 32px;
  padding-bottom: 32px;

  color: var(--accent-color);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
}
/*підкреслювання лінку поточної сторінки*/
.nav-link-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;

  display: block;
  width: 100%;
  height: 4px;

  border-radius: 2px;
  background-color: #2196f3;

  /*opacity: 0;*/
}
/*.nav-link-active:hover::after {
  opacity: 1;
}*/

/*contact information font color*/
.contact-list {
  display: flex;
  margin-left: auto;
  gap: 30px;
}
.contact-list .item + .item {
  margin-left: 50px;
  align-items: center;
}
.contact-link {
  display: flex;
  color: var(--primary-text-color);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  align-items: center;

  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-list .link:hover,
.contact-list .link:focus {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.contact-icon {
  display: flex;
  margin-right: 10px;
  fill: currentColor;
}
/*h2 section font color*/
.section-title {
  margin-top: 0px;
  margin-bottom: 50px;
  color: var(--title-text-color);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
}

.hero {
  text-align: center;
}
/*Hero*/
.hero section {
  align-content: center;
  padding-top: 200px;
  padding-bottom: 200px;
  background-color: var(--secondary-bg-color);
  background-image: linear-gradient(
      to right,
      rgba(47, 48, 58, 0.4),
      rgba(47, 48, 58, 0.4)
    ),
    url(../images/css/office\ meeting.webp);
  background-repeat: no-repeat;
  background-size: cover;
  height: 600px;
  max-width: 1600px;
  background-position: center;
  margin-right: auto;
  margin-left: auto;
}
.hero-title {
  margin-top: 0px;
  margin-bottom: 30px;
  color: var(--primary-white-color);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.36;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.button-primary {
  display: inline-block;
  padding: 10px 32px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  color: var(--primary-white-color);
  background-color: var(--accent-color);
  border-color: transparent;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.06em;
  border-radius: 4px;
  cursor: pointer;

  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button-primary:focus,
.button-primary:hover {
  background-color: var(--button-accent-color);
}
/*Особенности*/
.section-feature {
  padding-top: 94px;
  padding-bottom: 94px;
}
.visually-hidden {
  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;
}
.feature-list {
  display: flex;
  /*flex-wrap: wrap;*/
  margin-left: 0;
  margin-right: 0;
  align-items: center;
  padding-right: 0px;
  padding-left: 0px;
  gap: 30px;
}
.feature-list-item {
  margin-bottom: 0px;
}
.feature-icon {
  display: flex;
  height: 120px;
  align-items: center;
  justify-content: center;
  background-color: #f5f4fa;
}
/*.feature-list-item::before {
  display: block;
  content: "";
  height: 120px;
  background-color: #f5f4fa;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 0px;
}*/
/*.icon-antenna::before {
  background-image: url("../images/css/antenna\ 1.svg");
}
.icon-clock::before {
  background-image: url("../images/css/clock\ 1.svg");
}
.icon-diagram::before {
  background-image: url("../images/css/diagram\ 1.svg");
}
.icon-astronaut::before {
  background-image: url("../images/css/astronaut\ 1.svg");
}*/
.feature-list-item .title {
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--title-text-color);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14;
  text-transform: uppercase;
}
.feature-list-item .text {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 14px;
  line-height: 1.71;
}
/*Чем мы занимаемся*/
.section-doing {
  padding-bottom: 94px;
}
.list {
  display: flex;
  gap: 30px;
}

.doing-foto {
  position: relative;
}

.overlay-doing {
  position: absolute;
  bottom: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 70px;

  background-color: rgba(47, 48, 58, 0.8);
}
.overlay-doing-text {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}
/*Наша команда*/
.section-team {
  padding-top: 94px;
  padding-bottom: 94px;
  background: var(--third-bg-color);
}
.team-list {
  display: flex;
}
.card {
  margin-right: 30px;
}
.card:last-child {
  margin-right: 0px;
}
.team-card-description {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #ffffff;
  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: 0px 0px 4px 4px;
}
.team-list .title {
  padding-bottom: 10px;
  color: var(--title-text-color);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.19;
  text-align: center;
}
.team-list .card-name {
  font-size: 16px;
  line-height: 1.19;
  text-align: center;
}
.team-list.card-name:last-child.card-description:last-child {
  margin-right: 0px;
}
/*Socials link*/
.socials-list {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}
.socials-link {
  display: flex;
  align-items: center;
  justify-content: center;
  /*outline: 1px solid #000000;*/
  background-color: var(--primary-white-color);
  color: var(--primary-icon-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;

  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.socials-icon {
  fill: currentColor;
}
.socials-link:hover,
.socials-link:focus {
  color: var(--primary-white-color);
  background-color: var(--button-accent-color);
}
/*Спосіб перший зміна кольору іконки при ховері*/
/*.socials-link:hover {
  background-color: var(--accent-color);
}
.socials-link:hover .socials-icon {
  fill: var(--primary-white-color);
}/*
/*Клієнти*/
.section-clients {
  padding-bottom: 94px;
  padding-top: 94px;
}
.clients-list {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.clients-link {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 1px solid #afb1b8;
  background-color: var(--primary-white-color);
  color: var(--primary-icon-color);
  width: 170px;
  height: 92px;
  border-radius: 4px;

  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    outline-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.clients-icon {
  fill: currentColor;
}
.clients-link:hover,
.clients-link:focus {
  color: var(--button-accent-color);
  outline-color: var(--button-accent-color);
}
/*Подвал*/
.footer {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--secondary-bg-color);
}
.footer-container {
  display: flex;
  align-items: baseline;
}
.footer-left {
  display: flex;
  flex-direction: column;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-text {
  /*margin-bottom: 9px;*/
  color: var(--primary-white-color);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.71;
}
/*WebStudio Logo footer*/
.footer .logo {
  display: block;
  padding-top: 0px;
  padding-bottom: 20px;
  margin: 0px;
  font-family: Raleway, sans-serif;
  color: var(--primary-white-color);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;
}
/*contacts footer*/
.footer-link {
  display: block;
  /*margin-bottom: 9px;*/
  font-size: 14px;
  line-height: 1.71;
  color: rgba(255, 255, 255, 0.6);

  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-link:hover,
.footer-link:focus {
  color: var(--accent-color);
}
/*Footer Socials links*/
.footer-right {
  display: flex;
  flex-direction: column;
  margin-left: 70px;
}
.join-text {
  padding-bottom: 20px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}
.footer-socials-list {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.footer-socials-link {
  display: flex;
  align-items: center;
  justify-content: center;
  /*outline: 1px solid #ffffff;*/
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-text-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;

  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-socials-icon {
  fill: #ffffff;
}
.footer-socials-link:hover,
.footer-socials-link:focus {
  color: var(--primary-white-color);
  background-color: var(--accent-color);
}
.logo-footer {
  display: inline;
}
/*Footer subscribe form*/
.footer-subscribe {
  margin-left: auto;
}
.footer-subscribe-title {
  margin-bottom: 20px;

  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;

  color: #FFFFFF;
}
.footer-subscribe-email {
  min-height: 50px;
  width: 358px;
  padding: 16px 15px;
  margin-right: 12px;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 4px;
  background-color: var(--secondary-bg-color);
  outline: none;
  color: var(--primary-white-color);
}
.footer-subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  color: var(--primary-white-color);
  background: var(--accent-color);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  border: none;
  
  font-weight: 700;
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.06em;

  cursor: pointer;

  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-subscribe-btn:hover,
.footer-subscribe-btn:focus {
  background-color: var(--button-accent-color);
}
.footer-btn-icon {
  margin-left: 10px;
  fill: var(--primary-white-color);
}
/*Фильтры Портфолио Наши работы*/
.button-list {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.button-list .button {
  border-color: transparent;
  padding: 6px 22px;
  font-weight: 700;
  color: var(--title-text-color);
  background-color: var(--third-bg-color);
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0.03em;
  border-radius: 4px;
  cursor: pointer;
  border-color: transparent;

  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button-list .button:hover,
.button-list .button:focus {
  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);
  background-color: var(--button-accent-color);
  color: var(--primary-white-color);
}
.button-item {
  display: flex;
  margin-right: 8px;
}
.button .active {
  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);
  background-color: var(--button-accent-color);
  color: var(--primary-white-color);
  border-color: transparent;
}
.container .portfolio {
  display: flex;
  flex-wrap: wrap;
  width: 1200px;
  padding-right: 15px;
  padding-left: 15px;
  display: flex;
  flex-wrap: wrap;
}
.portfolio-list {
  display: flex;
  flex-wrap: wrap;
}
.portfolio-item:nth-child(3n + 3) {
  margin-right: 0px;
}
.portfolio-item {
  margin-right: 30px;
  margin-bottom: 30px;
}
.portfolio-foto {
  position: relative;
  overflow: hidden;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;

  transform: translateY(100%);

  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 24px;
  padding-right: 24px;

  width: 100%;
  height: 101%;
  background-color: rgba(33, 150, 243, 0.9);

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.overlay-text {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.56;

  letter-spacing: 0.03em;
  user-select: none;

  color: var(--primary-white-color);
}
.portfolio-link {
  display: block;
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
/*.portfolio-item:hover .overlay*/
.portfolio-link:hover,
.portfolio-link:focus {
  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:hover .overlay,
.portfolio-link:focus .overlay {
  transform: translateY(0%);
}
.portfolio-border {
  background: var(--primary-white-color);
  border-bottom: 1px solid #eeeeee;
  border-left: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 24px;
  padding-right: 24px;
}
.portfolio .title {
  margin-bottom: 4px;
  margin-top: 0px;
  color: var(--title-text-color);
  font-weight: 700;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
}
.portfolio .card-description {
  margin-bottom: 0px;
  color: var(--primary-text-color);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.88;
}
/*Modal window*/
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  /*display: flex;
align-items: center;
justify-content: center;*/

  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.2);

  opacity: 1;
  visibility: visible;
  pointer-events: initial;

  transition: opacity 600ms ease-out, visibility 600ms ease-out;
}
.backdrop.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1) rotate(0);

  width: 528px;
  padding: 40px;

  background: #ffffff;
  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;
  opacity: 1;
  transition: transform 400ms ease-in-out 200ms, opacity 400ms ease-in-out 200ms;
}
.backdrop.is-hidden .modal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3) rotate(1turn);
}
.modal-checkbox {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;

  letter-spacing: 0.03em;
}
.modal-btn {
  position: absolute;
  top: 8px;
  right: 8px;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;

  background: #ffffff;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;

  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-btn:focus,
.modal-btn:hover {
  fill: #2196f3;
}
.form {
  justify-items: center;
  text-align: center;
}
.form-wrap {
  margin-bottom: 25px;
}
.form-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin-bottom: 10px;
}
.form-field:last-child {
  margin-bottom: 0;
}
.form-group {
  position: relative;
  display: block;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}
.form-title {
  display: block;
  margin-bottom: 12px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 23px;
  text-align: center;
  letter-spacing: 0.03em;
  color: var(--title-text-color);
}
.form-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  text-align: left;
}
.form-input,
.textarea {
  width: 100%;
  margin: 0;
  padding: 11px 42px;
  height: 40px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  outline: transparent;

  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input:focus,
.form-input:hover {
  border-color: var(--accent-color);
}
.textarea {
  height: 120px;
  padding: 12px;
  resize: none;
  outline: transparent;

  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.textarea::placeholder {
  font-size: 12px;
  color: var(--primary-icon-color);
}
.textarea:focus,
.textarea:hover {
  border-color: var(--accent-color);
}
.form-icons {
  position: absolute;
  bottom: 11px;
  left: 15px;

  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input:focus + .form-icons, 
.form-input:hover + .form-icons {
  fill: var(--accent-color);
}
.form-checkbox-group {
  display: flex;
  align-items: center;
  justify-content: center;
  }
.form-policy {
  font-size: 14px;
  line-height: 1.71;
  user-select: none;
  margin-left: 8px;
}
.checkbox-link {
  margin-top: 10px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.71;
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-position: under;
  letter-spacing: 0.03em;
}
.form-checkbox-input:checked + .form-checkbox-icons .form-checkbox-icon-uncheck {
opacity: 0;
transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-checkbox-icon-check {
  opacity: 0;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-checkbox-input:checked + .form-checkbox-icons .form-checkbox-icon-check {
  opacity: 1;
  }
.form-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  
  padding: 10px 56px;
  text-align: center;
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1.88;
  background: #2196f3;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  border: transparent;
  color: var(--primary-white-color);

  cursor: pointer;

  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-btn:focus,
.form-btn:hover {
  background-color: var(--button-accent-color);
}

