html {
  box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: inherit;
}

body {
  color: #212121;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.03em;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
}
:root {
  --white-color: #fff;
  --grey-color: #757575;
}
.container {
  width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.decor-off {
  text-decoration: none;
}
.link:hover,
.link:focus {
  color: #2196f3;
}
.header-background {
  padding-top: 25px;
  padding-bottom: 25px;
}
.grey-backround {
  background-color: #f5f4fa;
  padding-top: 95px;
  padding-bottom: 95px;
}
.dark-background {
  background-color: #2f303a;
  padding-top: 200px;
  padding-bottom: 200px;
}

.header-link,
.header-contact {
  color: #212121;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.header-contact {
  color: var(--grey-color);
}
.web-studio {
  font-family: "Raleway", sans-serif;
  color: #2196f3;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;
  text-decoration: none;

  display: inline-block;
  padding: 24px auto;
  padding-right: 95px;
}
.header-logo {
  color: #212121;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.border {
  border: 1px solid #ececec;
}
.nav-list {
  display: flex;
  padding: 0;
  list-style: none;
}

.nav-list .item + .item {
  margin-left: 50px;
}
.auth-nav .item + .item {
  margin-left: 50px;
}
.auth-nav {
  list-style: none;
  display: flex;
  margin-left: auto;
}
.hero-title {
  width: 700px;
  text-align: center;
  margin: 0 auto;

  color: var(--white-color);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 44px;
  line-height: 1.36;
  letter-spacing: 0.06em;
}
.order {
  color: var(--white-color);
  background-color: #2196f3;

  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.87;
  letter-spacing: 0.06em;

  min-width: 200px;
  padding: 10px 32px;
  border-radius: 4px;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
  display: block;
}
.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}
.dignitys-content {
  padding-top: 95px;
  padding-bottom: 95px;
}
.dignitys {
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.features {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14;
  text-transform: uppercase;

  margin-bottom: 10px;
}
.dignity-subtitle {
  font-size: 14px;
  line-height: 1.71;
  color: var(--grey-color);
}
.dignitys .item {
  width: 270px;
}
.dignitys .item + .item {
  margin-left: 30px;
}
.programing-section {
  padding-bottom: 95px;
}
.programing {
  list-style: none;
  display: flex;
  margin-top: 50px;
}
.programing .item + .item {
  margin-left: 30px;
}
.headline {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
}
.team-list {
  list-style: none;
  display: flex;
  margin-top: 50px;
  text-align: center;
}
.team-subtitle-pading {
  padding-bottom: 30px;
  padding-top: 30px;
}
.team-list .item + .item {
  margin-left: 30px;
}
.team-list .item {
  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: 0px 0px 4px 4px;
}

.team-developers {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.19;
}
.team-subtitle {
  color: var(--grey-color);
  font-size: 16px;
  line-height: 1.19;
  margin-top: 10px;
}

/* portfolio */
.project-buttons {
  list-style: none;
  display: flex;
  justify-content: center;
}
.project-buttons .item + .item {
  margin-left: 10px;
}
.button-title {
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.62;

  border-radius: 4px;
  padding: 6px 22px;
  text-align: center;
}
.project {
  list-style: none;
  display: flex;
  flex-wrap: wrap;

  margin-top: 50px;
}
.project .item {
  margin-right: 30px;
  margin-bottom: 30px;

  background: #ffffff;
  border: 1px solid #eeeeee;
  box-sizing: border-box;
  width: 370px;
}
.project .item:nth-child(3n) {
  margin-right: 0;
}
.project .item:nth-last-child(-n + 3) {
  margin-bottom: 0;
}
.subtitle-padding {
  padding: 20px 24px;
}
.projects-subtitle {
  color: var(--grey-color);
  font-size: 16px;
  line-height: 1.87;

  width: 320px;
}
.projects-names {
  color: #212121;
  font-weight: 700;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
}
.footer-background {
  background-color: #2f303a;
  padding-bottom: 60px;
  padding-top: 60px;
}
.footer-logo {
  color: var(--white-color);
}
.footer-webstudio {
  font-family: "Raleway", sans-serif;
  color: #2196f3;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;
  text-decoration: none;

  display: inline-block;
}

.footer-location {
  color: var(--white-color);
  margin-top: 20px;
}
.footer-contact {
  list-style: none;
  margin-top: 10px;
}
.footer-contact .item {
  margin-top: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.footer-link,
.footer-location {
  font-size: 14px;
  line-height: 1.71;
  font-style: normal;
}
