body {
  font-family: "Roboto", sans-serif;
  color: #434455;
  background-color: #ffffff;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
a {
  text-decoration: none;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
img {
  display: block;
}
.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;
}
.container {
  max-width: 1158px;
  padding: 0 15px;
  margin: 0 auto;
}
.section {
  padding: 120px 0;
}

.header {
  border-bottom: 1px solid #e7e9fc;
}
.header-container {
  display: flex;
  align-items: center;
}
.header-nav {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.logo-header {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #4d5ae5;
  font-size: 18px;
  letter-spacing: 0.03em;
  font-weight: 700;
  line-height: 1.17;
  margin-right: 76px;
}
.logo-part {
  color: #2e2f42;
}
.address {
  font-style: normal;
}
.menu {
  display: flex;
  gap: 40px;
}
.menu-link {
  color: #2e2f42;
  font-weight: 500;
  font-size: 16px;
  padding: 24px 0;
  display: block;
}
.menu-link:hover,
.menu-link:focus {
  color: #404bbf;
}
.address {
}
.address-list {
  display: flex;
  gap: 40px;
}
.address-link {
  font-size: 16px;
  color: #434455;
}
.address-link:hover,
.address-link:focus {
  color: #404bbf;
}
.title-section {
  background-color: #2e2f42;
  padding: 188px 0;
}
.title {
  color: #ffffff;
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 496px;
  margin: 0 auto;
  margin-bottom: 48px;
}
.button {
  font-family: "Roboto", sans-serif;
  cursor: pointer;
  color: #ffffff;
  background-color: #4d5ae5;
  letter-spacing: 0.04em;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  display: block;
  border-radius: 4px;
  padding: 16px 32px;
  min-width: 169px;
  height: 56px;
  margin: 0 auto;
  align-items: center;
  border: none;
}
.button:hover,
.button:focus {
  background-color: #404bbf;
}
.features-list {
  display: flex;
  gap: 24px;
}

.features-item-title {
  color: #2e2f42;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  line-height: 1.2;
  letter-spacing: 0.02em;
  width: 264px;
  margin-bottom: 8px;
}
.features-text {
  font-size: 16px;
}
.team-section {
  background-color: #f4f4fd;
}
.team-list {
  display: flex;
  gap: 24px;
}
.team-title {
  color: #2e2f42;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  margin-bottom: 72px;
}
.team-item {
  background-color: #ffffff;
  width: 264px;
  border-radius: 0 0 4px 4px;
}
.team-item-title {
  font-weight: 500;
  font-size: 20px;
  color: #2e2f42;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.team-text {
  text-align: center;
}
.card-text {
  padding: 32px 0;
}
.portfolio-section {
  padding-top: 120px;
  padding-bottom: 120px;
}
.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  row-gap: 48px;
}
.portfolio-item {
  width: 360px;
  height: 420px;
}
.portfolio {
  color: #2e2f42;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  margin-bottom: 72px;
}
.portfolio-subtitle {
  font-weight: 500;
  line-height: 1.2;
  font-size: 20px;
  color: #2e2f42;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.portfolio-text {
}
.text-portfolio {
  padding: 32px 16px;
  border-bottom: 1px solid #e7e9fc;
  border-left: 1px solid #e7e9fc;
  border-right: 1px solid #e7e9fc;
}
.footer {
  background-color: #2e2f42;
  padding: 100px 0;
}
.logo-footer {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #4d5ae5;
  font-size: 18px;
  letter-spacing: 0.03em;
  font-weight: 700;
  line-height: 1.17;
  display: inline-block;
  margin-bottom: 16px;
}
.logo-part-footer {
  color: #f4f4fd;
}
.footer-text {
  color: #f4f4fd;
  max-width: 264px;
}
