h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}
img {
  display: block;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: white;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: #434455;
  margin: 0;
}
.container {
  max-width: 1158px;
  margin: 0 auto;
  padding: 0 15px;
}
.header-section {
  border: 1px solid #e7e9fc;
  box-shadow: 0px 2px 1px rgba(46, 47, 66, 0.08),
    0px 1px 1px rgba(46, 47, 66, 0.16), 0px 1px 6px rgba(46, 47, 66, 0.08);
}
.header-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
a {
  text-decoration: none;
}

.nav-section {
  display: flex;
  align-items: center;
}

.contact-list {
  display: flex;
  gap: 40px;
}
.contact-elem {
  position: relative;
  color: #434455;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-elem:hover {
  color: #404bbf;
}

.contact-elem:focus {
  color: #404bbf;
}

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

.nav-elem {
  font-weight: 500;
  color: #2e2f42;
  padding: 24px 0;
  display: block;
}

.nav-elem:hover {
  color: #404bbf;
}
.nav-elem:focus {
  color: #404bbf;
}
.nav-elem:active {
  color: #404bbf;
  text-decoration: underline;
}
.contact-list {
  font-style: normal;
}
.employee {
  background-color: #ffffff;
  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);
}
.team-p {
  margin-bottom: 8px;
}

.header-one {
  margin: 0 auto;
  max-width: 496px;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.07;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.02em;
}

.header-two {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  color: #2e2f42;
  text-align: center;
  text-transform: capitalize;
}
.benefits-section .header-two {
  margin-bottom: 8px;
  text-align: center;
}
.benefits-section .header-three {
  margin-bottom: 8px;
}

.header-three {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
}
.footer-p {
  font-size: 16px;
  max-width: 264px;
  color: #f4f4fd;
}
.solutions-section {
  max-width: 1440px;
  background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
    url(../images/hero/people-office.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 188px;
  padding-bottom: 188px;
  background-position: center;
}

.button-order {
  display: block;
  min-width: 169px;
  margin: 0 auto;
  height: 56px;
  border: none;
  gap: 10px;
  margin-top: 48px;
  border-radius: 4px;
  padding: 16px 32px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  background-color: #4d5ae5;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button-order:hover {
  background-color: #404bbf;
}
.button-order:focus {
  background-color: #404bbf;
}

.footer-section {
  background-color: #2e2f42;
}
.navy-marker {
  color: #2e2f42;
}
.white-marker {
  color: #f4f4fd;
}

.logo {
  margin-right: 76px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  text-transform: uppercase;
  letter-spacing: 0.54px;
  color: #4d5ae5;
}
.employee {
  background-color: #ffffff;
}

.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;
}

.benefits-section p {
  color: #434455;
}
.benefits-section {
  background-color: #ffffff;
  padding: 120px 0;
}

.benefits-section ul {
  display: flex;
  gap: 24px;
}

.benefits-section li {
  width: calc((100% - 3 * 24px) / 4);
}
.team-section {
  background-color: #f4f4fd;
  padding: 120px 0;
}
.team-section .header-two {
  margin-bottom: 72px;
}
.team-section .header-three {
  margin-bottom: 8px;
  text-align: center;
}
.team-p {
  text-align: center;
}
.team-list {
  display: flex;
  gap: 24px;
}

.employee {
  border-radius: 0 0 4px 4px;
  width: calc((100% - 3 * 24px) / 4);
}

.team-section .card-content {
  padding: 32px 0;
}

.portfolio-section {
  background-color: white;
  padding: 120px 0;
}
.portfolio-section .header-two {
  margin-bottom: 72px;
}
.portfolio-section ul {
  display: flex;
  row-gap: 48px;
  column-gap: 24px;
  flex-wrap: wrap;
}
.portfolio-section li {
  width: calc((100% - 2 * 24px) / 3);
}

.port-card-content {
  border-bottom: 1px solid #e7e9fc;
  border-left: 1px solid #e7e9fc;
  border-right: 1px solid #e7e9fc;
  padding: 32px 16px;
}
.port-card-content h3 {
  margin-bottom: 8px;
}

.footer-section {
  padding: 100px 0;
}

.footer-section .logo-footer {
  margin-bottom: 16px;
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  text-transform: uppercase;
  letter-spacing: 0.54px;
  color: #4d5ae5;
}
.benefits-rectangle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 112px;
  background-color: #f4f4fd;
  border-radius: 4px;
  border: 1px solid #8e8f99;
  margin-bottom: 8px;
}
.team-icon {
  fill: #f4f4fd;
}
.footer-icon {
  width: 24px;
  height: 24px;
  fill: #f4f4fd;
}
.nav-li {
  position: relative;
  transition-property: border;
}
.first-elem::after {
  content: '';
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 4px;
  background-color: #404bbf;
  border-radius: 2px;
}

.thumb {
  position: relative;
  overflow: hidden;
}
.portfolio-item-p {
  position: absolute;
  top: 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--cloud, #f4f4fd);
  padding: 40px 32px;
  background-color: #4d5ae5;
  height: 100%;
  width: 100%;
  transform: translateY(100%);
  transition: transform 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-item:hover .portfolio-item-p {
  transform: translateY(0%);
}
.portfolio-item {
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.links-list {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.footer-link-ellipse {
  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-link-ellipse:hover {
  background-color: #31d0aa;
}
.footer-link-ellipse:focus {
  background-color: #31d0aa;
}
.social-link-ellipse {
  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-ellipse:hover {
  background-color: #404bbf;
}
.social-link-ellipse:focus {
  background-color: #404bbf;
}

.footer-social-text {
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-section .container {
  display: flex;
  align-items: baseline;
}
.footer-list {
  display: flex;
  gap: 16px;
}
.footer-logo-container {
  margin-right: 120px;
}
.first-elem {
  position: relative;
  color: #404bbf;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.item-links {
  width: 40px;
  height: 40px;
}
