body {
  font-family: 'Roboto', sans-serif;
  color: #434455;
  background-color: #ffffff;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  display: block;
}

.container {
  max-width: 1158px;
  padding: 0 15px;
  margin: 0 auto;
}
/* header */
.page-header {
  border-bottom: 1px solid #e7e9fc;
}

.head-cont {
  display: flex;
  align-items: center;
}
.header-nav {
  display: flex;
  align-items: center;
}

.logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4d5ae5;
}
.studio {
  color: #2e2f42;
}
.header-logo {
  padding: 24px 0;
  margin-right: 76px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

button {
  cursor: pointer;
}

.nav-link {
  display: block;
  padding: 24px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #2e2f42;
}

.contact {
  margin-left: auto;
  font-style: normal;
}
.contact-list {
  display: flex;
  align-items: center;
  gap: 40px;
}
.contact-link {
  display: block;
  padding: 24px 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}

.nav-link:focus,
.nav-link:hover,
.contact-link:hover,
.contact-link:focus {
  color: #404bbf;
}

.section-hero {
  padding: 188px 0;
  background-color: #2e2f42;
}

/* .hero-cont {
     padding: 188px 0; 
  } */

.hero-txt {
  padding-bottom: 48px;
  max-width: 496px;
  margin: 0 auto;
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ffffff;
}
.order-servise-btn {
  display: block;
  border: none;
  min-width: 169px;
  height: 56px;
  margin: 0 auto;
  border-radius: 4px;

  background: #4d5ae5;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.order-servise-btn:hover,
.order-servise-btn:focus {
  background: #404bbf;
}
.order-btn {
  font-size: 16px;
  color: #ffffff;
}
/* s2 */
.section-future {
  padding: 120px 0;
}
.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;
}
/* h3 */
.f-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
}
/* p */
.f-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}
/* section 2 future */
.section-future {
  padding: 120px 0;
}

.future-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.future-title {
  width: calc((100% - 72px) / 4);
}

/* s3 */
.sec-team {
  background-color: #f4f4fd;
  padding: 120px 0;
}
/* h2 */
.team-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: capitalize;
  color: #2e2f42;
  margin-bottom: 72px;
}
.our-list {
  display: flex;
  gap: 24px;
}

.card-team {
  background-color: #ffffff;
  line-height: 1.2;
  width: calc((100% - 72px) / 4);
  border-radius: 0px 0px 4px 4px;
}

.card-content {
  padding: 32px 0;

  /* experemento */
  min-width: 264px;
  background-color: #ffffff;
}

/* h3 */
.htitle {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
}
.centr {
  text-align: center;
}
.txt-content {
  text-align: center;
}

/* S4 */
.sec-portfolio {
  padding-top: 120px;
  padding-bottom: 120px;
}

.portfolio-ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 48px;
}

.portfolio-items {
  width: calc((100% - 48px) / 3);
}

.portfolio-content {
  padding: 32px 16px;
  border: 1px solid #e7e9fc;
  border-top: none;
}

.foot {
  padding: 100px 0;
  background-color: #2e2f42;
}
.foot-link {
  display: inline-block;
  margin-bottom: 16px;
}
.studio-w {
  color: #f4f4fd;
}
.p-text {
  color: #f4f4fd;
  max-width: 264px;
}
/* Flex */
