body.page {
  font-family: "Roboto", sans-serif;
  color: #434455;
  background-color: #ffffff;
  font-size: 16px;
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}
img {
  display: block;
}
.site-header {
  justify-content: space-between;
  border-bottom: 1px solid #e7e9fc;
}
.header-container {
  display: flex;
  width: 1158px;
  margin: 0 auto;
  padding: 0 15px;
}
.site-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  margin-right: 40px;
  gap: 40px;
}
.logo {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4d5ae5;
  line-height: 1.17;
  margin-right: 76px;
  margin-bottom: 16px;
}

.logo-accent {
  color: #2e2f42;
}

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

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

.site-address {
  display: flex;
  gap: 40px;
  font-style: normal;
}

.contact-list {
  display: flex;
  gap: 40px;
}
.contact-mail,
.contact-phone {
  font-size: 16px;
  color: #434455;
  transition: color 250ms ease;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.contact-mail:hover,
.contact-phone:hover,
.contact-mail:focus,
.contact-phone:focus {
  color: #404bbf;
}

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

.hero-title {
  color: #ffffff;
  font-size: 56px;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
  text-align: center;
  line-height: 1.07;
  max-width: 496px;
}

.hero-button {
  display: block;
  background-color: #4d5ae5;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 250ms ease;
  line-height: 1.5;
  min-width: 169px;
  height: 56px;
}

.hero-button:hover,
.hero-button:focus {
  background-color: #404bbf;
}

.section-title {
  text-align: center;
  font-size: 36px;
  letter-spacing: 0.02em;
  color: #2e2f42;
  text-transform: capitalize;
  margin-bottom: 72px;
  line-height: 1.07;
}
.features-section {
  padding: 120px 0;
}
.features-list {
  display: flex;
  gap: 24px;
}
.feature-item {
  flex-basis: calc((100% - 72px) / 4);
}
.feature-title {
  margin-bottom: 8px;
}
.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;
}

.feature-text {
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #434455;
  line-height: 1.5;
}

.team-section {
  padding: 120px 0;
  background-color: #f4f4fd;
}

.team-member {
  background-color: #ffffff;
  flex-basis: calc((100% - 72px) / 4);
  border-radius: 0 0 4px 4px;
  text-align: center;
}
.team-container{
  padding-top: 32px;
  padding-bottom: 32px;
}
.team-info {
  padding: 32px 0;
  text-align: center;
}
.team-name {
  margin-bottom: 8px;
  text-align: center;
}
.team-role {
  text-align: center;
}
.team-list {
  display: flex;
  gap: 24px;
}

.portfolio-section{
  padding-top: 120px;
  padding-bottom: 120px;
}
.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 48px;
}
.portfolio-item {
  width: calc((100% - 48px) / 3);
  box-sizing: border-box;
}
.portfolio-item:first-child {
  width: calc((100% - 48px) / 3);
}
.portfolio-container {
  padding: 32px 16px;
  border: 1px solid #e7e9fc;
  border-top: none;
}
.portfolio-card {
  padding: 32px 16px;
  border: 1px solid #e7e9fc;
  border-top: none;
}
.portfolio-title {
  margin-bottom: 8px;
}

.portfolio-category {
  font-size: 16px;
  color: #434455;
}
.-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
}
.portfolio-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}
.site-footer {
  background-color: #2e2f42;
  padding: 100px 0;
}
.footer-logo{
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: #4d5ae5;
  text-transform: uppercase;
}

.footer-logo-accent {
  color: #f4f4fd;
}

.footer-text {
  color: #f4f4fd;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  max-width: 264px;
}
