:root {
  --black-color: #212121;
  --white-color: #ffffff;
  --blue-color: #7a9deb;
  --grey-color: #757575;
  --dark-color: #2f303a;
  --background-color: #e5e5e5;
}

header {
  background-color: var(--white-color);
}
.navigation .link {
  color: var(--black-color);
  font-size: 14px;
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.item:not(:last-child) {
  margin-right: 30px;
}
.item {
  display: block;
  padding-top: 32px;
  padding-bottom: 32px;
}

.link.current {
  color: var(--blue-color);
}

.link:hover,
.link:focus,
.link-address:hover,
.link-address:focus {
  color: var(--blue-color);
}

.link-address {
  color: var(--grey-color);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  text-decoration: none;
  font-style: normal;
}

.banner {
  background-color: var(--dark-color);
  text-align: center;
  padding-top: 200px;
  padding-bottom: 200px;
}

.hero {
  font-weight: 900;
  font-size: 44px;
  line-height: 1.36;
  color: var(--white-color);
  margin-bottom: 20px;
  margin-top: 0;
}

.button {
  font-size: 16px;
  height: 30px;
  color: var(--white-color);
  background-color: var(--blue-color);
  border-radius: 4px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border: 1px solid transparent;
  padding: 0 32px 0 32px;
}

.button-portfolio {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.62;
  text-align: center;
  letter-spacing: 0.03em;
  border-radius: 4px;
  border: 1px solid transparent;
}

.button-portfolio:hover,
.button-portfolio:focus {
  background-color: var(--blue-color);
  color: var(--white-color);
}

.about-header {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.03em;
  color: var(--black-color);
  margin-top: 0;
  margin-bottom: 12px;
}

.team-name {
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
  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;
}

.portfolio-name {
  padding: 30px;
  border: 1px solid #eeeeee;
}

.section-header {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.16;
  text-align: center;
  letter-spacing: 0.03em;

  margin: 0;
}

.portfolio-header {
  font-weight: 700;
  font-size: 18px;
  line-height: 0.88;
  letter-spacing: 0.03em;
  line-height: 36px;
  color: var(--black-color);
  margin: 0;
}
.portfolio-link {
  text-decoration: none;
}

body {
  font-family: Roboto, sans-serif;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  color: var(--grey-color);
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 0;
}

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

.team-section {
  background-color: var(--background-color);
  padding-bottom: 92px;
  padding-top: 92px;
}

footer {
  background-color: var(--dark-color);
  padding-top: 60px;
  padding-bottom: 60px;
}
.footer-address {
  color: var(--white-color);
  font-size: 14px;
  line-height: 1.71;
  text-decoration: none;
  font-style: normal;
  margin-top: 9px;
  margin-bottom: 9px;
}
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 1200px;
}
.menu-nav {
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
}
.logo {
  margin-right: 93px;
}

.contacts-nav {
  display: flex;

  align-items: center;
  margin-left: auto;
}
.points {
  padding-bottom: 94px;
  margin: 0;
}

.top {
  padding-top: 94px;
}

.points-list {
  display: flex;
  margin-top: 50px;
}

.team-list {
  display: flex;
  margin-top: 50px;
}

.item-points:not(:last-child) {
  margin-right: 30px;
}
.portfolio-page {
  padding-top: 94px;
  padding-bottom: 94px;
}
.portfolio-button {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  margin-top: 0;
}
.item-button + .item-button {
  margin-left: 8px;
}

.item-button-portfolio {
  margin-right: 30px;
  margin-bottom: 30px;
}
.item-button-portfolio:nth-child(3n) {
  margin-right: 0;
}

.item-button-portfolio:nth-child(n + 7) {
  margin-bottom: 0px;
}

.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.points-list .item {
  width: calc((100% - 90px) / 4);
}
.points-list .item-points {
  width: calc((100% - 60px) / 3);
}
.team-list .item-points {
  width: calc((100% - 90px) / 4);
}
.portfolio-list .item-button-portfolio {
  width: calc((100% - 60px) / 3);
}
