body {
  font-family: "Roboto", sans-serif;
  color: #434455;
  background-color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.02em;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
}
* {
  box-sizing: border-box;
}
img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}
.header {
  border-bottom: 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-container {
  width: 320px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-container .address {
  display: none;
}
.header-container .nav {
  display: none;
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 0px;
  width: 115px;
  height: 24px;
  margin-right: 149;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4d5ae5;
}
.nav-logo > .accent {
  color: #2e2f42;
}
.burger-btn {
  margin: 16px 16px 16px auto;
  border: none;
  background-color: transparent;
}
.burger-menu {
  stroke: #111111;
}
.burger-toggle {
  display: none;
}
.main-page {
  margin-right: auto;
  margin-left: auto;
  background-color: #2e2f42;
  padding-top: 72px;
  padding-bottom: 72px;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
    url("../images/people-office.jpg");
  @media (min-device-pixel-ratio: 2),
    (min-resolution: 192dpi),
    (min-resolution: 2dppx) {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url("../images/people-office@2x.jpg");
  }
}
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-title {
  color: #ffffff;
  width: fit-content;
  font-size: 36px;
  line-height: 1.07;
  text-align: center;
  letter-spacing: 0.02em;
  width: 212px;
  margin-bottom: 72px;
}
.button {
  color: #ffffff;
  background-color: #4d5ae5;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  display: block;
  width: 169px;
  height: 56px;
  border: none;
  border-radius: 4px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.main-page .button:hover,
.main-page .button:focus {
  background-color: #404bbf;
}
.post-section {
  margin-top: 96px;
  margin-right: 16px;
  margin-bottom: 96px;
  margin-left: 16px;
}
.post {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: 320px;
  margin: 0 auto;
}
.post-list {
  width: 100%;
}
.post-list-segment {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.post-icons {
  display: none;
}
.name {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  text-align: center;
}
.text {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #434455;
}
.team-page {
  background-color: #f4f4fd;
  padding-top: 96px;
  padding-bottom: 96px;
}
.team {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: 320px;
  margin: 0 auto;
}
.team-page .team-title {
  white-space: nowrap;
  text-align: center;
  color: #2e2f42;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  margin-bottom: 72px;
}
.team-page .team {
  display: flex;
  gap: 24px;
  list-style-type: none;
}
.team-page .team-list {
  background-color: #ffffff;
  border-radius: 0px 0px 4px 4px;
  box-shadow: 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);
}
.tl-punct {
  padding-top: 32px;
  padding-bottom: 32px;
}
.tl-punct .team-name {
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #2e2f42;
}
.tl-punct .team-text {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #434455;
  text-align: center;
}
.social {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.social-link {
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid #4d5ae5;
  border: none;
  border-radius: 50%;
  background-color: #4d5ae5;
  fill: #f4f4fd;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social-link:hover,
.social-link:focus {
  background-color: #404bbf;
}
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 320px;
  margin: 0 auto;
}
.portfolio-page {
  padding: 96px 16px;
}
.port-img {
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-page .portfolio-title {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  text-align: center;
  white-space: nowrap;
  color: #2e2f42;
  margin: 0 auto 72px;
}
.port-img:hover,
.port-img:focus {
  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);
}
.port-img:hover .overlay-text {
  transform: translateY(0%);
}
.box {
  position: relative;
  overflow: hidden;
}
.overlay-text {
  position: absolute;
  top: 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #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-list .port-list {
  padding: 32px 16px;
  border: 1px solid #e7e9fc;
  border-top: none;
}
.port-list .port-title {
  letter-spacing: 0.02em;
  color: #2e2f42;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.portfolio-list .port-text {
  font-weight: 400;
  line-height: 1.5;
  color: #434455;
}
.footer {
  background-color: #2e2f42;
  padding: 96px 0;
}
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 72px;
  text-align: center;
}
.footer-logo {
  text-align: center;
}
.footer .foot-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;
  display: inline-block;
  padding-bottom: 16px;
}
.foot-logo > .accent {
  color: #f4f4fd;
}
.footer-text {
  width: 264px;
  line-height: 1.5;
  color: #f4f4fd;
  letter-spacing: 0.02em;
  margin: 0 auto;
}
.subscribe {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 320px;
}
.footer-text-social {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.subscribe-form {
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.footer-link {
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid #4d5ae5;
  border: none;
  border-radius: 50%;
  background-color: #4d5ae5;
  fill: #f4f4fd;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-link:hover,
.footer-link:focus {
  background-color: #31d0aa;
}
.subscribe {
  margin: 0 auto;
}
.subscribe-text {
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.subscribe-form {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.subscribe-form-input {
  width: 264px;
  height: 40px;
  border: 1px solid #ffffff;
  background-color: transparent;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  padding-left: 16px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  color: #ffffff;
  margin: 0 auto;
}
.subscribe-form-input::placeholder {
  color: #ffffff;
}
.subscribe-btn {
  width: 165px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
  cursor: pointer;
  background-color: #4d5ae5;
  border: none;
  border-radius: 4px;
}
.subscribe-btn:hover,
.subscribe-btn:focus {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background: #404bbf;
}
.subscribe-btn-icon {
  margin-left: 16px;
  fill: #ffffff;
}
.backdrop-menu {
  position: fixed;
  inset: 0;
  z-index: 2;
  background-color: rgba(46, 47, 66, 0.4);
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}
.backdrop-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-menu {
  position: absolute;
  inset: 0;
  padding: 72px 16px 16px 16px;
  background-color: #fcfcfc;
  border-radius: 4px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12),
    0 2px 1px 0 rgba(0, 0, 0, 0.2);
}
.subnav {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.nav-link {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11111;
  letter-spacing: 0.02em;
  color: #2e2f42;
}
.nav .nav-link:hover,
.nav .nav-link:focus {
  color: #404bbf;
}
.nav .nav-link.active {
  color: #404bbf;
}
.subaddress {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.address {
  margin-top: 168px;
}
.link-add {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #434455;
  font-style: normal;
}
.address .link-add:hover,
.address .link-add:focus {
  color: #404bbf;
}
.social-burger-menu {
  display: flex;
  margin-top: 48px;
  gap: 40px;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 2;
  background-color: rgba(46, 47, 66, 0.4);
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}
.backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 288px;
  height: 623px;
  padding: 72px 16px 16px 16px;
  background-color: #fcfcfc;
  border-radius: 4px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12),
    0 2px 1px 0 rgba(0, 0, 0, 0.2);
}
.modal-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #e7e9fc;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-btn:hover,
.modal-btn:focus {
  background-color: #404bbf;
  border: none;
}
.modal-btn-icon {
  fill: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-btn:hover .modal-btn-icon,
.modal-btn:focus .modal-btn-icon {
  fill: #ffffff;
}
.modal-slogan {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 16px;
}
.modal-form .modal-form-wrapper {
  margin-bottom: 8px;
}
.modal-form-label {
  display: block;
  margin-bottom: 4px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
}
.modal-form-field {
  position: relative;
}
.modal-form-input {
  display: block;
  width: 256px;
  height: 40px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  padding: 11px 11px 11px 38px;
  outline: transparent;
  background-color: transparent;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-input:focus {
  border-color: #4d5ae5;
}
.modal-form-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  fill: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-input:focus + .modal-form-icon {
  fill: #4d5ae5;
}
.modal-form-messege {
  width: 256px;
  height: 120px;
  resize: none;
  padding: 8px 16px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  background-color: transparent;
  outline: transparent;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: rgba(46, 47, 66, 0.4);
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-messege:focus {
  border-color: #4d5ae5;
}
.modal-form-messege::placeholder {
  color: rgba(46, 47, 66, 0.4);
}
.modal-form .modal-form-text {
  margin-bottom: 16px;
}
.list-checkbox {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.checkbox-label {
  display: flex;
  flex-direction: row;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
  cursor: pointer;
}
.checkbox-part {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
  flex-direction: column;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 2px;
  background-color: transparent;
  fill: transparent;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1),
    fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.checkbox-icon {
  fill: transparent;
  transition: fill 0.3s ease;
}
.accept-wrapper {
  width: 232px;
}
.privacy-policy-link {
  color: #4d5ae5;
  text-decoration: underline;
}
.checkbox-input:checked + .checkbox-label .checkbox-part {
  fill: #f4f4fd;
  background-color: #404bbf;
  border: none;
}
.checkbox-input:checked + .checkbox-label .checkbox-icon {
  fill: #ffffff;
}
.send-form {
  display: block;
  width: 169px;
  height: 56px;
  margin: 0 auto;
  color: #ffffff;
  background-color: #4d5ae5;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.send-form:hover,
.send-form:focus {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background: #404bbf;
}
@media only screen and (min-width: 768px) {
  .header-container {
    width: 736px;
    padding: 0 15px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin: 0 auto;
  }
  .header-wrapper {
    display: inline;
  }
  .nav-logo {
    width: 116px;
  }
  .header-container .address {
    display: flex;
  }
  .header .nav {
    display: flex;
    align-items: center;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav > .subnav {
    gap: 40px;
    align-items: center;
    display: flex;
    flex-direction: row;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    margin-right: 120px;
  }
  .burger-btn,
  .burger-toggle {
    display: none;
  }
  .nav .nav-link {
    display: block;
    padding-top: 24px;
    padding-bottom: 24px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
    position: relative;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav .nav-link:hover,
  .nav .nav-link:focus {
    color: #404bbf;
  }
  .nav .nav-link.active {
    color: #404bbf;
  }
  .nav .nav-link.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: #404bbf;
    position: absolute;
    left: 0;
    bottom: -1px;
  }
  .subaddress {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }
  .address {
    font-style: normal;
    line-height: 1.5;
    margin-top: 0;
  }
  .address .link-add {
    display: block;
    color: #434455;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    color: #434455;
  }
  .address .link-add:hover,
  .address .link-add:focus {
    color: #404bbf;
  }
  .main-page {
    padding-top: 112px;
    padding-bottom: 112px;
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url("../images/people-office@2x.jpg");
    @media (min-device-pixel-ratio: 2),
      (min-resolution: 192dpi),
      (min-resolution: 2dppx) {
      background-image: linear-gradient(
          rgba(46, 47, 66, 0.7),
          rgba(46, 47, 66, 0.7)
        ),
        url("../images/people-office@2x.jpg");
    }
  }
  .page-title {
    width: 496px;
  }
  .post-section {
    padding: 96px 16px;
    margin: 0 auto;
  }
  .post-container {
    width: 736px;
    margin: 0 auto;
  }
  .page-title {
    font-size: 56px;
    max-width: 496px;
    margin-bottom: 36px;
  }
  .post {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    width: 736px;
    margin: 0 auto;
  }
  .post-list {
    width: calc((100% - 24px) / 2);
  }
  .post-list-segment {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .team-page {
    padding: 96px 16px;
    margin: 0 auto;
  }
  .team-container {
    width: 736px;
    margin: 0 auto;
  }
  .team {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    width: 736px;
    margin: 0 auto;

  }
  .team-list {
    width: calc((100% - 24px) / 2);
  }
  .portfolio-page {
    padding: 96px 16px;
    margin: 0 auto;
  }
  .portfolio-container {
    width: 736px;
    margin: 0 auto;
  }
  .portfolio-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    width: 736px;
    margin: 0 auto;
  }
  .port-img {
    width: calc((100% - 24px) / 2);
  }
  .footer {
    padding-top: 96px;
    margin: 0 auto;
  }
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    display: flex;
    max-width: 1158px;
    min-width: 320px;
    flex-direction: row;
    text-align: left;
    padding-left: 108px;
    gap: 24px;
  }
  .footer-logo {
    text-align: inherit;
  }
  .footer-logo .foot-logo {
    margin-bottom: 16px;
  }
  .subscribe {
    margin: 0;
  }
  .subscribe-form {
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0 auto;
  }
  .modal {
    width: 408px;
    min-height: 584px;
    padding: 72px 24px 24px 24px;
  }
  .modal-form-input {
    width: 360px;
    height: 40px;
  }
  .modal-form-messege {
    width: 360px;
  }
  .accept-wrapper {
    width: 338px;
    display: flex;
    align-items: center;
  }
  .checkbox-part {
    margin-right: 8px;
  }
  .privacy-policy-link {
    margin-left: 4px;
  }
}
@media only screen and (min-width: 1158px) {
  .header-container {
    width: 1158px;
    margin: 0 auto;
  }
  .nav-logo {
    width: 115px;
  }
  .nav-link {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
  }
  .address .subaddress {
    display: flex;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: row;
    gap: 40px;
  }
  .address .link-add {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
  }
  .main-page {
    padding-top: 188px;
    padding-bottom: 188px;
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url("../images/people-office@3x.jpg");
      background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    @media (min-device-pixel-ratio: 2),
      (min-resolution: 192dpi),
      (min-resolution: 2dppx) {
      background-image: linear-gradient(
          rgba(46, 47, 66, 0.7),
          rgba(46, 47, 66, 0.7)
        ),
        url("../images/people-office@2x.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
  }
  .page-title {
    width: 496px;
    margin-bottom: 48px;
  }
  .button {
    width: 169px;
    height: 56px;
  }
  .post-section {
    padding-top: 120px;
    padding-bottom: 120px;
    margin: 0 auto;
  }
  .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;
  }
  .post {
    width: 100%;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
  }
  .post-container {
    width: 1128px;
    margin: 0 auto;
  }
  .post {
    width: 1128px;
    margin: 0 auto;
  }
  .post-list {
    width: calc((100% - 72px) / 4);
  }
  .post-list-segment {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 112px;
    background-color: #f4f4fd;
    border-radius: 4px;
    border: 1px solid #8e8f99;
  }
  .post-list-segment .svg {
    width: 64px;
    height: 64px;
  }
  .name {
    font-weight: 500;
    font-size: 20px;
  }
  .text {
    font-weight: 400;
  }
  .team-page {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .team-container {
    width: 1128px;
    margin: 0 auto;
  }
  .team {
    gap: 24px;
    width: 1128px;
  }
  .team-list {
    width: calc((100% - 72px) / 4);
  }
  .portfolio-page {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .portfolio-container {
    width: 1128px;
  }
  .portfolio-list {
    gap: 24px;
    width: 1128px;
  }
  .port-img {
    width: calc((100% - 48px) / 3);
  }
  .footer {
    padding-top: 100px;
  }
  .footer-container {
    flex-wrap: nowrap;
    padding-left: 15px;
    padding-right: 15px;
    gap: 0;
  }
  .footer-logo {
    margin-right: 120px;
  }
  .foot-logo {
    padding-bottom: 0;
  }
  .footer-social-segment {
    margin-right: 80px;
  }
  .subscribe {
    gap: 0;
  }
}
