/* #region common */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 0;
}

img {
  display: block;
}

.container {
  max-width: 1158px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

body {
  font-family: "Roboto", sans-serif;
  color: #434455;
  background-color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

ul,
ol {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
  font-style: normal;
}
/* #endregion common */

/*#region Header*/
.header-section {
  border-bottom: 1px solid #e7e9fc;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-logo .studio {
  color: #2e2f42;
}

.header-logo {
  margin-right: 76px;
}

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

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

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

.contacts-list {
  display: flex;
  gap: 40px;
}
/* #endregion Header */

/*#region Hero Section*/
.main-section {
  padding: 188px 0;
  background: #2e2f42;
}

.main-header {
  font-weight: 700;
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  margin-bottom: 48px;
  max-width: 496px;
  margin-right: auto;
  margin-left: auto;
}

.btn {
  display: block;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.04em;
  background: #4d5ae5;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  padding: 16px 32px;
  min-width: 169px;
  height: 56px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  margin-right: auto;
  margin-left: auto;
}

.btn:hover,
.btn:focus {
  background: #404bbf;
}
/* #endregion Hero Section */

/* #region Features Section */
.features-section {
  padding: 120px 0;
}

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

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

.features-list {
  width: 1128px;
  height: 104px;
  display: flex;
  gap: 24px;
}

.feature-items {
  width: calc((100% - 3 * 24px) / 4);
}

/* #endregion Features Section */

/* #region Team Section */
.team-section {
  background: #f4f4fd;
  padding: 120px 0;
}

.team {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: #2e2f42;
  margin-bottom: 72px;
}

.team-list {
  display: flex;
  gap: 24px;
}

.team-box {
  background-color: #ffffff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08),
    0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
  background: #fff;
  width: calc((100% - 3 * 24px) / 4);
}

.person-position {
  padding: 32px 0;
}

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

.position {
  text-align: center;
}

/* #endregion Team Section */

/* #region Portfolio Section */
.portfolio-section {
  padding: 120px 0 120px 0;
}

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

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

.portfolio-box {
  background: #fff;
  width: calc((100% - 48px) / 3);
}

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

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

/* #endregion Portfolio Section */

/* #region Footer Section */
.footer-section {
  padding: 100px 0;
  background: #2e2f42;
}

.footer-studio,
.footer-description {
  color: #f4f4fd;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

/* #endregion Footer Section */
