*,
*::before,
*::after {
    box-sizing: border-box;
}



.logo-header {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: 0.03em;
    color: #4D5AE5; 
    text-transform: uppercase;
    display: block;
}

.logo-footer {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: 0.03em;
    color: #4d5ae5;
    text-transform: uppercase;
    display: inline-block;
    width: 115px;
    text-align: left;
    margin: 0 auto 16px
}

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

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


body {
    font-family: "Roboto", sans-serif;
    color: #2E2F42;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.02em;
    background-color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
}

.container {
    margin: 0 auto;
    padding: 0 16px;
    max-width: 320px;
}

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

.page-header {
    border-bottom: 1px solid #E7E9FC;
    box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08),
                0 1px 1px 0 rgba(46, 47, 66, 0.16),
                0 2px 1px 0 rgba(46, 47, 66, 0.08);
}

.header-links {
    display: none;
}

.main-container {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
    font-style: normal;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contacts {
    color: #434455;
    font-weight: 400;
}

.ham-btn {
    padding: 4.8px 3.6px;
    background-color: transparent;
    border: none;
    margin: 0 auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ham-svg {
    fill: currentColor;
    color: #2F2F37;
}

address a:hover,
address a:focus {
    color: #404BBF;
}

.nav-link {
    font-weight: 500;
    padding: 24px 0;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link.current {
    color: #404BBF;
}

.nav-link.current::after {
    position: absolute;
    left: 0;
    bottom: -1px;
    content: "";
    background-color: #404BBF;
    border-radius: 2px;
    height: 4px;
    width: 100%;
}

.nav-list {
    display: none;
}

.nav-link,
.contacts-link {
    display: none;
}

.contacts-link {
    padding: 24px 0;
}

.contacts-link-ham--accent {
    color: #4D5AE5;
}

.address-list {
    display: flex;
    gap: 40px;
}

.nav-link:active {
    text-decoration: underline;
}

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


.moto {
    background-color: #2E2F42;
    padding: 188px 0;
    background-image: 
        linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
        url(../images/people-office-1@1x.jpg);
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    margin: 0 auto;
    max-width: 100%;
    padding: 72px 0;
}

@media (min-resolution: 192dpi) {
    .moto {
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
            url(../images/people-office-1@2x.jpg);
    }
}

.social-ico {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.social-ico-footer {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.features-icon-box svg {
    fill: #2E2F42;
}

.ico-link svg {
    fill: currentColor;
}

.ico-link {
    display: flex;
    background-color: #4D5AE5;
    justify-content: center;
    align-items: center;
    color: #F4F4FD;
    fill: currentColor;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ico-link:hover,
.ico-link:focus {
    background-color: #404BBF;
}

.moto .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.moto h1 {
    max-width: 216px;
    margin-bottom: 72px;
}

.portfolio {
    padding: 96px 0;
}

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

ul,
ol {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

h1 {
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.11;
    text-align: center;
    font-size: 36px;
    letter-spacing: 0.02em;
    max-width: 216px;
}

.button-order {
    background-color: #4D5AE5;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    width: 169px;
    margin: 0 auto;
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    transition: 
        background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), 
        color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.button-order:hover,
.button-order:focus {
    background-color: #404BBF;
    color: #FFFFFF;
}

h2 {
    font-weight: 700;
    line-height: 1.11;
    font-size: 36px;
    text-align: center;
    letter-spacing: 0.02em;
}

h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-align: center;
}

.features-item h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.11;
    padding-bottom: 8px;
    text-align: center;
}

h2,
h3 {
    color: #2E2F42;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 72px;
    padding: 0;
}

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

.portf-card {
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    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);
}

.portf-img-wrapper {
    position: relative;
    overflow: hidden;
}

.portf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #4D5AE5;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.portf-card:hover .portf-overlay {
    transform: translateY(0);
}

.portf-overlay p {
    padding: 40px 32px;
    color: #F4F4FD;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;

}

.features-p {
    color: #434455;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.features-icon-box {
    display: none;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 72px;
    flex-wrap: wrap;
    align-items: center;
}

.team-sec {
    background-color: #F4F4FD;
    padding: 96px 0;
}

.team-sec h2 {
    padding-bottom: 72px;
}

.features-sec {
    padding: 96px 0;
}

.team-link {
    background-color: #FFFFFF;
    border-radius: 0 0 4px 4px;
    width: 264px;
    margin: 0 auto;
    overflow: hidden;
    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);
}

.team-link img {
    width: 100%;
    object-fit: cover;
}

.card-name {
        padding: 32px 16px;
        text-align: center;
}

.team-name {
    padding-bottom: 8px;
}

.team-position {
    text-align: center;
    color: #434455;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.portf-subtitle {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-weight: 500;
    text-align: left;
    padding-bottom: 8px;
    color: #2E2F42;
}

.portfolio h2 {
    padding-bottom: 72px;
}

.portf-box {
    border-bottom: 1px solid #E7E9FC;
    border-left: 1px solid #E7E9FC;
    border-right: 1px solid #E7E9FC;
    padding: 32px 16px;
    text-align: left;
}

.portfolio-item h3 {
    padding-bottom: 8px;
}

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

.page-footer {
    background-color: #2E2F42;
    color: #F4F4FD;
    font-weight: 400;
    padding: 96px 0;
}

.p-footer {
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #F4F4FD;
    display: block;
    max-width: 264px;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

.page-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
}

.find-us-text {
    font-weight: 500;
    margin-bottom: 16px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.footer-logo-text,
.find-us,
.subscribe-me {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
}

.page-footer .ico-link:hover,
.page-footer .ico-link:focus {
    background-color: #31D0AA;
}

.footer-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.subs-txt {
    font-weight: 500;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.subs-btn {
    background-color: #4D5AE5;
    cursor: pointer;
    border-radius: 4px;
    color: #FFFFFF;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    border: none;
    padding: 8px 24px;
    width: 165px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.subs-btn-svg {
    fill: #FFFFFF;
}

.subs-btn:hover,
.subs-btn:focus {
    background-color: #31D0AA;
}

.close-svg {
    fill: currentColor;
}

.email-footer {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    width: 100%;
    max-width: 288px;
    height: 40px;
    color: #FFFFFF;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.email-footer:hover,
.email-footer:focus {
    border-color: #31D0AA;
    outline: none;
}

.email-footer::placeholder {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
}

.subscribe-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-logo-text {
    text-align: center;
}

.ham-overlay {
  background-color: rgba(46, 47, 66, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease-in-out;
}

.ham-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-ham .close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
}

.modal-ham {
  background-color: #FFFFFF;
  padding: 72px 24px 40px 16px;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.social-ico-ham {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.social-ico-ham a{
        transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-ico-ham a:hover,
.social-ico-ham a:focus {
    background-color: #404BBF;
}

.page-nav-ham {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.11;
    color: #2E2F42;
    margin-bottom: 168px;
}

.nav-list-ham {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nav-link-ham:hover {
    color: #404BBF;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-ham.current {
    color: #404BBF;
}

.address-list-ham {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts-ham {
    margin-bottom: 48px;
    margin-top: auto;
}

.address-ham-item {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #434455;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.address-ham-item:hover {
    color: #4D5AE5;
}

.modal-overlay {
  background-color: rgba(46, 47, 66, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease-in-out;
  padding: 8px 0;
  overflow-y: auto;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  margin-top: 8px;
  background-color: #FCFCFC;
  border-radius: 4px;
  position: relative;
  padding: 72px 16px 24px;
  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);
  width: 288px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-input-wrapper {
    position: relative;
    width: 100%;
}

.modal-close-btn {
    border-radius: 50%;
    background-color: #E7E9FC;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 8px;
    top: 24px;
    right: 24px;
    position: absolute;
    display: flex;
    justify-content: center;
    transition: 
        background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
        border-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
        color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    background-color: #404BBF;
    border-color: transparent;
    color: #FFFFFF;
}

.close-modal {
    display: flex;
    justify-content: flex-end;
}

.modal-txt {
    text-align: center;
    font-family: inherit;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2E2F42;
    margin-bottom: 16px;
}

.modal-input-svg {
    color: #2E2F42;
    fill: currentColor;
    position: absolute;
    padding: 6px 3px;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lbl-input:focus + .modal-input-svg {
    color: #4D5AE5;
}

.modal-lbl {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
}

.lbl-input {
    width: 100%;
    height: 40px;
    padding-left: 38px;
    background-color: transparent;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
    outline: none;
    transition: 
        border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lbl-input:hover,
.lbl-input:focus {
    border-color: #4D5AE5;
}

.modal-lbl-txt {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8E8F99;
}

.btn-submit {
    background-color: #4D5AE5;
    border-radius: 4px;
    padding: 16px 32px;
    cursor: pointer;
    border: none;
    color: #FFFFFF;
    align-self: center;
    min-width: 169px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover,
.btn-submit:focus {
    background-color: #404BBF;
}

.btn-submit p {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.modal-input-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.policy-txt {
    color: #8E8F99;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.33;
    letter-spacing: 0.04em;
}

.policy-link {
    color: #4D5AE5;
    text-decoration: underline;
}

.policy-sec {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.comment-txt {
    padding: 8px 16px;
    border-radius: 4px;
    width: 100%;
    height: 120px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    background-color: transparent;
    resize: none;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) ;
}

.comment-txt:focus {
    outline: none;
    border-color: #4D5AE5;
}

.comment-txt::placeholder {
    font-family: inherit;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
}

.custom-checkbox {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 2px;
    flex-shrink: 0;
    transition: 
        background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
        border-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
        fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.visually-hidden:checked + .custom-checkbox .check-svg {
    opacity: 1;
}

.visually-hidden:checked + .custom-checkbox {
    background-color: #404BBF;
    color: #F4F4FD;
    border-color: #404BBF;
}

.check-svg {
    opacity: 0;
    fill: currentColor
}



@media (min-width: 768px) {
    .moto {
        background-image:
            linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
            url(../images/people-office-1@1x.jpg);
    }
}

@media (min-width: 768px) and (min-resolution: 192dpi) {
    .moto {
        background-image:
            linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
            url(../images/people-office-1@2x.jpg);
    }
}

@media (min-width: 768px) { 

    .container{
        max-width: 768px;
    }

    .header-links {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-grow: 1;
        margin-left: 120px;
    }

    .ham-btn,
    .ham-overlay {
        display: none;
    }

    .nav-list {
        display: flex;
        gap: 40px;

    }
    
    .nav-link {
        padding: 24px 0;
    }
    
    .nav-link,
    .contacts-link {
        display: block;
    }

    .page-header .container {
        padding: 0 16px;
    }

    .contacts-link {
        font-size: 12px;
        line-height: 1.17;
        letter-spacing: 0.04em;
        padding: 0;
    }

    .address-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .moto h1 {
        max-width: 496px;
        margin-bottom: 36px;
    }

    h1 {
        line-height: 1.07;
        font-size: 56px;
        max-width: 496px;
    }

    .moto {
        padding: 112px 0;
        max-width: 100%;
    }

    .features-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 72px 24px;
        align-items: flex-start;
    }

    .features-item {
        flex-basis: calc((100% - 24px) / 2)
    }

    .features-item h3 {
        text-align: left;
    }

    .team-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 64px 24px;
        align-items: center;
        justify-content: center;
        max-width: 552px;
        margin: 0 auto;
    }

    .team-link {
        flex-basis: calc((100% - 24px) / 2);
    }
    
    .portfolio-list {
        display: flex;
        flex-direction: row;
        gap: 72px 24px;
        flex-wrap: wrap;
        flex-grow: 1;
    }

    .portfolio-item {
        flex-basis: calc((100% - 24px) / 2);
    }

    .portf-card {
        width: 100%;
    }

    .page-footer .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 72px 24px;
    flex-wrap: wrap;
    padding: 0 108px;
    }
    
    .footer-logo-text,
    .find-us,
    .subscribe-me {
        text-align: left;
        align-items: flex-start;
    }

    .logo-footer {
        text-align: left;
        margin: 0 0 16px 0
    }

    .footer-form {
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
        justify-content: flex-start;
    }

    .email-footer {
        width: 264px;
    }

    .modal {
        width: 408px;
        padding: 72px 24px 24px;
        margin-top: 96px;
    }

}

@media (min-width: 1158px) {
    .moto {
        background-image:
            linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
            url(../images/people-office-1@1x.jpg);
    }
}

@media (min-width: 1158px) and (min-resolution: 192dpi) {
    .moto {
        background-image:
            linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
            url(../images/people-office-1@2x.jpg);
    }
}

@media (min-width: 1158px) {
    
    .container {
        max-width: 1158px;
        padding: 0 15px;
    }

    .page-header .container {
        padding: 0 15px;
    }

    .header-links {
        margin: 0;
    }

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

    .address-list {
        flex-direction: row;
        gap: 40px;
    }

    .contacts-link {
        padding: 24px 0;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
    }

    .moto h1 {
        margin-bottom: 48px;
    }

    .moto {
        padding: 188px 0;
        max-width: 1440px;
    }

    .features-list {
        gap: 0 24px;
    }

    .features-sec {
        padding: 120px 0;
    }

    .features-icon-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 264px;
        height: 112px;
        border: 1px solid #8E8F99;
        background-color: #F4F4FD;
        border-radius: 4px;
        margin-bottom: 8px;
        width: 100%;
    }

    .features-item {
        flex-basis: calc((100% - 72px) / 4)
    }

    .features-item h3 {
        font-weight: 500;
        font-size: 20px;
        letter-spacing: 0.02em;
        line-height: 1.2;
    }

    .features-p {
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0.02em;
        line-height: 1.5;
        color: #434455;
    }

    .team-sec {
        padding: 120px 0;
    }

    .team-link {
        flex-basis: calc((100% - 72px) / 4);
    }

    .team-list {
        max-width: 100%;
        gap: 24px;
    }

    .portfolio {
        padding: 120px 0;
    }

    .portfolio-list {
        gap: 48px 24px;
    }

    .portfolio-item {
        flex-basis: calc((100% - 48px) / 3);
    }

    .portf-card {
        box-shadow: none;
    }

    .portf-card:hover {
        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);
    }

    .page-footer .container {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    }
    
    .footer-logo-text {
        margin-right: 120px;
        flex-shrink: 0;
    }

    .find-us {
        margin-right: 80px;
    }

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

    .subscribe-me {
        margin-left: auto
    }

}
