:root {
  --color-hover--: #2196f3;
  --color-black--: #212121;
}
body {
  background: #ffffff;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  letter-spacing: 0.03em;
}
*,
::after,
::before {
  box-sizing: border-box;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.section-title {
  color: var(--color-black--);
  font-weight: bold;
  font-size: 36px;
  line-height: 1.16;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.section {
  padding-top: 94px;
  padding-bottom: 94px;
}
.section-work {
  padding-top: 0px;
}
.header-color {
  border-bottom: 1px solid #ececec;
  height: 80px;
}
.works {
  margin-top: 50px;
  display: flex;
}

.works-item:not(:last-child) {
  margin-right: 30px;
}
.section-team {
  background-color: #f5f4fa;
}

.section-team-item {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #ffffff;
  box-shadow: 0px 1px 3px rgb(0 0 0 / 12%), 0px 1px 1px rgb(0 0 0 / 14%),
    0px 2px 1px rgb(0 0 0 / 20%);
  border-radius: 0px 0px 4px 4px;
  text-align: center;
}

.color-web {
  font-family: Raleway;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: #2196f3;
}
.color-studio {
  font-family: Raleway;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--color-black--);
}
.webstudio-header {
  font-family: Raleway;
  font-weight: 700;
  text-decoration: none;
}
.footer-web {
  color: var(--color-hover--);
}
.footer-studio {
  color: #ffffff;
}
.button-nav {
  color: var(--color-black--);
}

.filter {
  display: flex;
  color: #212121;
  font-weight: 500;
  line-height: 1.4;
  justify-content: center;
  margin-bottom: 50px;
}
.filter-item:not(:last-child) {
  margin-right: 8px;
}

.filter-item:hover,
.filter-item:focus {
  color: var(--color-hover--);
  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);
}

.our-command-bg {
  background: #f5f4fa;
}

.features {
  display: flex;
}

.feature-item:not(:last-child) {
  margin-right: 30px;
}

.features-title {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--color-black--);
}
.features-text {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: #757575;
}
.hero-heading {
  color: #ffffff;
  font-weight: 900;
  font-size: 44px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.06em;
  display: block;

  margin-right: auto;
  margin-left: auto;
  margin-top: 0;
  margin-bottom: 0;
}
.hero {
  background-image: linear-gradient(
      rgba(47, 48, 58, 0.4),
      rgba(47, 48, 58, 0.4)
    ),
    url(../images/bg-hero.jpg);
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 200px;
  padding-bottom: 200px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1600px;
}
.hero-button {
  color: #ffffff;
  background: var(--color-hover--);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.9;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 0.06em;
  padding: 10px 32px;
  display: inline-block;
  min-width: 200px;
  border-radius: 4px;
  margin-top: 30px;
  border: transparent;
}

.our-team {
  margin-top: 50px;
  display: flex;
}
.our-team-iteam:not(:last-child) {
  margin-right: 30px;
}
.our-team-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--color-black--);
}

.our-team-text {
  font-weight: normal;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  color: #757575;
  margin-top: 10px;
}
.webstudio-footer {
  font-family: Raleway;
  font-style: normal;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.address {
  list-style-type: none;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.7;
  color: #ffffff;
}
.address-box {
  margin-right: 70px;
}
.info-footer {
  font-weight: normal;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}

.current {
  color: var(--color-black--);
  list-style-type: none;
}
.current.current {
  color: var(--color-hover--);
}
.cursor {
  cursor: pointer;
}
.pointer-cursor {
  cursor: pointer;

  background-color: #f5f4fa;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  border-radius: 4px;
  border: none;
  padding: 6px 22px;
}

.filter-text {
  color: var(--color-black--);
}
.filter-text:focus,
.filter-text:hover {
  background: #2196f3;
  color: #ffffff;
}
.logo {
  text-decoration: none;
  list-style-type: none;
  color: #2196f3;
  font-family: Raleway;
  font-style: normal;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  margin-right: 0;
}
.main-nav {
  display: flex;
  align-items: center;
}
.navigation-link {
  color: var(--color-black--);
}

.navigation-link:hover,
.navigation-link:focus {
  color: var(--color-hover--);
}
.navigation {
  display: flex;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-left: 90px;
}
.nav-container {
  padding-top: 24px;
  padding-bottom: 25px;
  display: flex;

  align-items: center;
}
.navigation .item:not(:last-child) {
  margin-right: 50px;
}

.flex-filters {
  display: flex;
  flex-wrap: wrap;
}
.flex-element-item {
  padding: 24px 20px;
}
.flex-element {
  flex-basis: calc((100% - 60px) / 3);
  border: 1px solid #eeeeee;
  box-sizing: border-box;
  margin-right: 30px;
  margin-bottom: 30px;
}

.flex-element h2 {
  font-weight: bold;
  font-size: 18px;
  line-height: 2;
  color: #212121;
  margin-bottom: 4px;
  justify-content: center;
}
.flex-element p {
  justify-content: center;

  font-size: 16px;
  line-height: 1.9;
  color: #757575;
}
.flex-element:nth-child(3n) {
  margin-right: 0px;
}
.flex-element:nth-last-child(-n + 3) {
  margin-bottom: 0px;
}
.filter-item button {
  display: inline;
  align-items: center;
  justify-content: center;
  margin-left: 0px;
  margin-right: 0px;
}

.contacts {
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.4;
  color: #757575;
  display: flex;
  margin-left: auto;
}
.contacts .item + .item {
  margin-left: 50px;
}
.contacts-link {
  color: #757575;
  display: flex;
  align-items: center;
}
.contacts-link:hover,
.contacts-link:focus {
  color: var(--color-hover--);
}
.our-command {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.6;
  text-align: center;
  color: var(--color-black--);
  margin-top: 0;
  margin-bottom: 0;
}
.info {
  background: #2f303a;
  padding-top: 60px;
  padding-bottom: 60px;
}
.info-text {
  font-weight: normal;
  font-size: 14px;
  line-height: 1.7;
  display: inline-block;

  color: rgba(255, 255, 255, 0.6);
}
.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}
.address-title:not(:last-child) {
  margin-bottom: 9px;
}

footer {
  display: block;
}
.address li:not(:last-child) {
  margin-bottom: 9px;
}
.auth-nav-icon {
  fill: currentColor;

  width: 16px;
  height: 12px;
}
.auth-nav {
  margin-right: 10px;
  display: block;
}
.feature-svg {
  width: 270px;
  height: 120px;
  display: flex;
  margin-bottom: 30px;
  background-color: #f5f4fa;
  justify-content: center;
  align-items: center;
}
.section-link {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.team-iteam {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #afb1b8;
  cursor: pointer;
}
.team-icon {
  fill: currentColor;
}
.team-link:not(:last-child) {
  margin-right: 10px;
}
.team-iteam:hover,
.team-iteam:focus {
  background: #2196f3;
  color: #ffffff;
  border-radius: 50%;
}
.client-link {
  display: block;
  width: 170px;
  height: 92px;
  border: 1px solid #afb1b8;
  box-sizing: border-box;
  border-radius: 4px;
  color: #afb1b8;
  padding: 16px 32px;
  cursor: pointer;
}
.section-clients {
  margin-top: 50px;
  display: flex;
}
.section-clients-iteam:not(:last-child) {
  margin-right: 30px;
}
.client-link:hover,
.client-link:focus {
  border: 1px solid #2196f3;
  color: #2196f3;
}
.footer-container {
  display: flex;
  align-items: baseline;
}

.social-box-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: #ffffff;
}
.social-box-item {
  display: flex;
  margin-top: 20px;
}
.social-box-link:not(:last-child) {
  margin-right: 10px;
}
.socials-item {
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.main-navigation {
  display: flex;
  align-items: center;
}
.portfolio-work-link:hover,
.portfolio-work-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);
}
.flex-element:hover,
.flex-element: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);
}
