.headerr {
  box-sizing: border-box;
  background-color: #ffffff;
  border-bottom: 1px solid #e7e9fc;
  box-shadow:
    0px 2px 1px 0 rgba(46, 47, 66, 0.08),
    0px 1px 1px 0 rgba(46, 47, 66, 0.16),
    0px 1px 6px 0 rgba(46, 47, 66, 0.08);
}

img {
  display: block;
}
.container {
  max-width: 1158px;
  /*padding-left: 0;
  padding-right: 0;*/
  padding: 0 15px;
  margin: auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: normal;
}
.nav {
  display: flex;

  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 0px;

  font-family: 'Roboto', sans-serif;
  color: #4d5ae5;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  margin-right: 76px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}
.logo-accent {
  color: #2e2f42;
}
.header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 40px;
  padding-top: 0;
  padding-bottom: 0;
}
.nav-list {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 40px;
}
.nav-link {
  font-family: 'Roboto', sans-serif;
  color: #404bbf;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link-active {
  position: relative;
}
.nav-link-active::after {
  content: '';
  position: absolute;
  width: 100%;
  border-radius: 2px;
  height: 4px;
  color: #404bbf;
  background-color: #404bbf;
  left: 0;
  bottom: -1px;
}
.nav-link:hover {
  color: #404bbf;
}
.nav-link:focus {
  color: #404bbf;
}
.contacts {
  font-style: normal;
  color: #434455;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  align-items: center;
  justify-content: center;
}
.contacts-link {
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contacts-link:hover,
.contacts-link:focus {
  color: #404bbf;
}
.contacts-list {
  display: flex;
  gap: 40px;
  padding: 24px 0;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
  color: #4d5ae5;
  font-family: inherit;
  font-size: 16px;
  background-color: #4d5ae5;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;

  display: block;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 10px;
  border: none;
  border-radius: 4px;
  min-width: 169px;
  height: 56px;
  margin: 48px auto 0;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
button:hover,
button:focus {
  background-color: #404bbf;
}

.main-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #2e2f42;
  background-image:
    linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
    url('../images/img-name.jpg');
  background-size: cover;
  max-width: 1440px;
  margin: 0 auto;
  padding: 188px 0 188px;
  background-position: center;
  background-repeat: no-repeat;
}
.main-title {
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  line-height: 1.07;
  letter-spacing: 0.02em;
  font-size: 56px;
  color: #ffffff;
  margin: 0 auto 0;
  max-width: 496px;
}
.services-list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: row;
  gap: 24px;
}
ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}
.service-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 112px;
  background-color: #f4f4fd;
  border: 1px solid #8e8f99;
  border-radius: 4px;
  margin-bottom: 8px;
}
.services-item {
  width: calc((100% - 72px) / 4);
}
.services {
  padding: 120px 0 120px;
}
.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;
}

.services-subtitle {
  color: #2e2f42;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.services-description {
  color: #434455;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
}
.our-team {
  font-weight: 400;
  font-size: 36px;
  color: #2e2f42;
  line-height: 1.5;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: capitalize;
  margin-bottom: 72px;
}
.our-team-member {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.team-description {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.portrets-img {
  background-color: #ffffff;
  box-sizing: content-box;
  border-bottom: 0 solid #ffffff;
  border-radius: 4px;
  overflow: hidden;
}
.team-list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: row;
  gap: 24px;
}
li {
  list-style: none;
}
.team {
  background-color: #f4f4fd;
  padding: 120px 0 120px;
}
.portrets {
  background-color: #ffffff;
  width: calc((100% - 72px) / 4);
  border-radius: 0px 0px 4px 4px;
  box-shadow:
    0px 2px 1px 0 rgba(46, 47, 66, 0.08),
    0px 1px 1px 0 rgba(46, 47, 66, 0.16),
    0px 1px 6px 0 rgba(46, 47, 66, 0.08);
  background: #fff;
}

.team-blok {
  padding: 32px 0;
}

.our-team-member {
  color: #2e2f42;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 8px;
}
.team-description {
  color: #434455;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 8px;
}
.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.social-link {
  width: 100%;
  height: 100%;
  background-color: #4d5ae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social-link:hover,
.social-link:focus {
  background-color: #404bbf;
}

.social-link-ico {
  width: 16px;
  height: 16px;
  fill: #f4f4fd;
}

.social-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #404bbf;
  border-radius: 50%;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social-item:hover,
.social-item:focus {
  background-color: #31d0aa;
}
.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  max-width: 1158px;
  justify-content: space-between;

  column-gap: 24px;
  row-gap: 48px;
}

.portfolio-item {
  width: calc((100% - 48px) / 3);
  cursor: pointer;
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-item:hover {
  box-shadow:
    0px 1px 6px rgba(46, 47, 66, 0.08),
    0px 1px 1px rgba(46, 47, 66, 0.16),
    0px 2px 1px rgba(46, 47, 66, 0.08);
}
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--light-color);
  padding: 40px 32px;
  background-color: #4d5ae5;

  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  color: #f4f4fd;
}
.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0%);
}
.portfolio-item:hover .overlay-text {
  transform: translateY(0%);
}

.portfolio-section {
  padding-top: 120px;
  padding-bottom: 120px;
}
.section-title {
  line-height: 1.11;
  color: #2e2f42;
  letter-spacing: 0.02em;
  font-size: 36px;
  text-align: center;
  text-transform: capitalize;
  margin-bottom: 72px;
}

.portfolio-blok {
  border-left: 1px solid #e7e9fc;
  border-right: 1px solid #e7e9fc;
  border-bottom: 1px solid #e7e9fc;
  padding: 32px 16px;
}

.portfolio-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
}

.portfolio-description {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}
a {
  color: currentColor;
  display: inline-block;
  text-decoration: none;
}

address {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}
body {
  background-color: #ffffff;
  font-family: 'Roboto', sans-serif;
  color: #434455;
  font-size: 16px;
  margin: 0;
}

.footer {
  background-color: #2e2f42;
  padding: 100px 0;
  align-items: baseline;
}
.footer-box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: row;
  gap: 48px;
  align-items: baseline;
}
.footer-logo-wrapper {
  margin-right: 120px;
}
.footer-social-wrapper {
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-social-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-social-list {
  display: flex;
  gap: 16px;
}
.footer-social-link {
  display: block;
  width: 24px;
  height: 24px;
  fill: #f4f4fd;
}
.footer-social-link-item {
  width: 100%;
  height: 100%;
  background-color: #4d5ae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-social-link-item:hover,
.footer-social-link-item:focus {
  background-color: #31d0aa;
}
.footer-logo-accent {
  color: #f4f4fd;
}
.footer-list-link {
  width: 100%;
  height: 100%;
  background-color: #4d5ae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-description {
  color: #f4f4fd;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  max-width: 264px;
}

.footer-logo {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  color: #4d5ae5;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
