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

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

ul {
    list-style: none;
    margin: 0;
    padding-left: 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;
}


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

.page-header {
    background-color: white;
    color: #2e2f42;
    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);

}

.logo {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    line-height: 1.17;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    display: block;
}

.logo-header {
     padding-top: 16px;
     padding-bottom: 16px; 
}
 
.logo .web {
    color: #4d5ae5;
}
.logo .studio {
    color: #2e2f42;
}

body {
    background-color: white;
    color: #2e2f42;
    font-family: "Roboto", sans-serif;
}

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

.page-nav {
    display: none;   
}


.contacts {
    display: none; 
} 

.header-mob-btn {
    padding: 0;
    background-color: transparent;
    border: none;
}
.header-mob-icon {
    display: block;
    fill: #2f2f37;
}
.page-main {
    background-color: white;
}
.page-title {
    background-color: #2e2f42;
    padding-top: 72px;
    padding-bottom: 72px;
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(46, 47, 66, 0.7),
    rgba(46, 47, 66, 0.7)),
    url(../images/Dark-bg-mob1x.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 1440px;
    margin: 0 auto;

    @media screen and (min-resolution: 2x) {
        background-image: linear-gradient(to bottom, rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)),
        url(../images/Dark-bg-mob2x.png);
    }
}  
   

.title {
    color: white;
    font-family: "Roboto", sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.11;
    margin: 0 auto 72px;
    max-width: 216px;
   
}

.button {
    background-color: #4d5ae5;
    color: white;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    cursor: pointer;
    line-height: 1.5;
    letter-spacing: 0.04em;
    font-weight: 500;
    border-radius: 4px;
    padding-block: 16px;
    padding-inline: 32px;
    display: flex;
    margin: 0 auto;
    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);
   }

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

.header {
    color: #2e2f42;
    font-size: 36px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 8px;
    text-align: center;
}

 .feature-icons {
    border: 1px solid #8e8f99;
    border-radius: 4px;
    height: 112px;
    background-color: #f4f4fd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    display: none;
 }

 .feature-container {
    padding-top: 96px;
    padding-bottom: 96px;
 }

 .list-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 72px;

 }

 .list-item {
    width: 100%;   
 }
        
.section-text {
    color: #434455;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.5;
    font-weight: 500;
}

.section-team {
    background-color: #f4f4fd;
    padding-top: 96px;
    padding-bottom: 96px;

}

.page-team {
    color: #2e2f42;
    font-size: 36px;
    font-weight: 700;
    font-family: 'Roboto',sans-serif;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 1.11;
    text-align: center;
    margin-bottom: 72px;
}
.team-item {
    background-color: white;
    border-radius: 0 0 4px 4px;
    padding-inline: 0px;
    overflow: hidden;
    width: 264px;
    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-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
    flex-wrap: wrap;
}

.team-info {
    padding: 32px 16px;
    text-align: center;
}

.title-team {
    color: #2e2f42;
    font-family: 'Roboto',sans-serif;
    font-size: 20px;
    letter-spacing: 0.02em;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
}

.text-team {
    color: #434455;
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Roboto',sans-serif;
    letter-spacing: 0.02em;
    text-align: center;
    margin-bottom: 8px;
}

.circle-icons {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background-color: #4d5ae5;
    border-radius: 50%;
    border: 1px solid #4d5ae5;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-icons:hover,
.circle-icons:focus {
    background-color: #404bbf;
}

.item-soc-icons {
    fill: #f4f4fd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icons-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
     gap: 24px
}
.section-portfolio {
    padding-top: 96px;
    padding-bottom: 96px;
}

.title-portfolio {
    color: #2e2f42;
    font-size: 36px;
    font-family: 'Roboto',sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.11;
    margin-bottom: 72px;
}

.list-portfolio {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: center;
    }

.overlay {
    position: relative;
    overflow: hidden;
    width: 288px;
    height: 280px;
}

.overlay img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: none;
    object-position: top left;
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    background-color: #4d5ae5;
    width: 100%;
    height: 100%;
    padding: 40px 32px;
    transform: translateY( 100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card {
    border-bottom: 1px solid #e7e9fc;
    border-left: 1px solid #e7e9fc;
    border-right: 1px solid #e7e9fc;
    padding: 32px 16px;
}

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

.portfolio-item:hover .overlay-text {
    transform: translateY(0);
}

.title-card {
    font-size: 20px;
    color: #2e2f42;
    letter-spacing: 0.02em;
    font-family: 'Roboto',sans-serif;
    text-align: left;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 8px;
}

.text-card {
    font-size: 16px;
    color: #434455;
    font-family: 'Roboto',sans-serif;
    letter-spacing: 0.02em;
    text-align: left;
    line-height: 1.5;
}

.foot {
    background-color: #2e2f42;
}

.text-foot {
    font-size: 16px;
    color: #f4f4fd;
    font-family: 'Roboto',sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.5;
    max-width: 264px;

}

.studio-foot {
    color: #f4f4fd;

}

.logo-footer {
    margin-bottom: 16px;
}
.foot-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 72px 0;
    padding-top: 96px;
    padding-bottom: 96px;

}
.footer-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.soc-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 208px;

}

.soc-text-footer {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: white;
    margin-bottom: 16px;
}

.icons-list-footer {
    display: flex;
    gap: 16px;
}

.circle-icons-footer {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background-color: #4d5ae5;
    border-radius: 50%;
    border: 1px solid #2e2f42;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-icons-footer:hover,
.circle-icons-footer:focus {
    background-color: #31d0aa;
}

.footer-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.footer-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;

}

.text-field {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: white;
    margin-bottom: 16px;
}

.email-field {
    padding-left: 16px;
    border: 1px solid white;
    border-radius: 4px;
    width: 288px;
    height: 40px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: white;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.email-field:hover,
.email-field:focus {
    border-color: #31d0aa;

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

.footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding-block: 8px;
    padding-left: 24px;
    width: 165px;
    height: 40px;
    background-color: #4d5ae5;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: center;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-btn:hover,
.footer-btn:focus {
    background-color: #31d0aa;
}

.frame {
    fill: white;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 47, 66, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 288px;
    min-height: 623px;
    background-color: #fcfcfc;
    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);
    border-radius: 4px;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: 72px 16px 24px 16px;
}

.backdrop:not(.is-open) .modal {
    transform: translate(-50%, -50%) scale(1.5);
}


.close-btn {
    fill: #2e2f42;
    position: absolute;
    top: 24px;
    right: 24px;
    border-radius: 100%;
    background-color: #e7e9fc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.close-btn:hover,
.close-btn:focus,
.close-icon:hover,
.close-icon:focus {
    background-color: #404bbf;
    border: none;
    fill: white;
}

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

.form-modal {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    border-radius: 4px;
    max-width: 256px; 
    min-height: 336px;


}

.input-item {
    margin-top: 4px;
    margin-bottom: 8px;
    width: 256px;
    height: 40px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    background-color: #fcfcfc;
    padding-left: 34px;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.label-modal {
    display: flex;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    color: #8e8f99;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    fill: #2e2f42;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input-item:focus {
    outline: transparent;
    border-color: #4d5ae5;
}

.input-item:focus + .input-icon {
    fill: #4d5ae5;
}

.comment-field {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    color: #8e8f99;
    font-family: "Roboto", sans-serif;
}

.comment-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    padding-left: 16px;
    padding-top: 8px;
    margin-top: 4px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    width: 256px;
    height: 120px;
    outline: transparent;
    resize: none;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-text:focus {
    border-color: #4d5ae5;
}

.comment-text::placeholder {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
    background-color: #fcfcfc;
}

.check-box-wrapper {
    padding-top: 16px;
    padding-bottom: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
   

}

.check-label {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    color: #8e8f99;
    display: flex;
    align-items: center;
    justify-content: center;
    

}

.input-wrapper {
   width: 256px;
   
}

.check-label-text {
    line-height: 1.33333;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4d5ae5;

}

.modal-check:checked + .check-label > .check-false {
    background-color: #404bbf;
    fill: #f4f4fd;
    border-color: #404bbf;

}

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

.modal-btn {
    border-radius: 4px;
    padding-block: 16px;
    padding-inline: 32px;
    width: 169px;
    height: 56px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    background-color: #4d5ae5;
    color: white;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

.modal-btn:hover,
.modal-btn:focus {
    background-color: #404bbf;
    border: none;
}

.mob-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mob-menu-container {
    position: relative;
    padding-top: 72px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mob-menu-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    fill: #2e2f42;
    position: absolute;
    border-radius: 100%;
    background-color: #e7e9fc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-nav-mob {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 40px;
}

.page-nav-link-mob {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11111;
    letter-spacing: 0.02em;
    color: #2e2f42;
    text-decoration: none;
}

.page-nav-link-mob-color {
    color: #404bbf;
    font-weight: 700;
        font-size: 36px;
        line-height: 1.11111;
        letter-spacing: 0.02em;
        text-decoration: none;
}

.contacts-mob {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-top: auto;
}

.contacts-item-mob {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #434455;;
    text-decoration: none;
}

.contacts-item-mob-color {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #4d5ae5;
    text-decoration: none;
}

.icons-list-mob-menu {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    gap: 40px;
    margin-top: 48px;
}

.circle-icons-mob-menu {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background-color: #4d5ae5;
    border-radius: 50%;
    border: 1px solid #4d5ae5;

}


@media screen and (min-width: 768px) {
    .container {
        max-width: 768px;
        padding-left: 16px;
        padding-right: 16px;
        margin: 0 auto;
    }

    .mob-menu {
        display: none;
    }
    .header-mob-btn {
        display: none;
    }
    .logo-header {
        /* margin-right: 120px; */
        padding-top: 24px;
        padding-bottom: 24px;
        text-align: left;

    }
    .page-nav {
        display: flex;
        gap: 40px;
        align-items: center;
    }
    
    .page-nav-link {
    color: #2e2f42;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.02em;
    gap: 40px;
    padding-top: 24px;
    padding-bottom: 24px;
    text-decoration: none;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .page-nav-link:hover,
    .page-nav-link:focus, 
    .contacts-item:hover,
    .contacts-item:focus, 
    .page-nav-link.current {
    color: #404bbf;

    }
   
    .page-nav-link.current {
    position: relative;
    }

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

    .contacts {
        display: flex;
        flex-direction: column;
        gap: 12px;
        font-style: normal;

    }
    .contacts-item {
       color: #434455;
       font-family: "Roboto",sans-serif;
       font-size: 12px;
       font-weight: 400; 
       line-height: 1.16667;
       letter-spacing: 0.04em;
       font-style: normal;
       text-decoration: none;
       transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .page-title {
        max-width: 1440px;
        padding-top: 112px;
        padding-bottom: 112px;
        background-image: linear-gradient(to bottom, rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)),
        url(../images/Dark-bg-tab1x.png);

    @media screen and (min-resolution: 2x) {
    background-image: linear-gradient(to bottom, rgba(46, 47, 66, 0.7),
    rgba(46, 47, 66, 0.7)),
     url(../images/Dark-bg-tab2x.png);

    }
    }

    .title {
        max-width: 496px;
        font-size: 56px;
        line-height: 1.07;
        margin-bottom: 36px;
    }
     
    .list-features {
        gap: 72px 24px;
    }

    .header {
        text-align: left;
    
    }

    .list-item {
        width: calc((100% - 24px) / 2);
    }
 
     .team-container {
        padding: 0 108px;
    } 

    .team-list {
        gap: 64px 24px;
    
    }

    .team-item {
        width: calc((100% - 24px) / 2);
    }
    
    .list-portfolio {
        gap: 72px 24px;
    }
    .portfolio-item {
        width: calc((100% - 24px) / 2) ;
    }
    .overlay {
        width: 356px;
        height: 300px;
    }
   
    .text-foot {
        text-align: left;
    }

    .studio-foot {
        text-align: left;
    }
    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    
    }
     
    .foot-container {
        gap: 72px 24px;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 108px;
    }
    .soc-footer {
        flex-direction: column;
        align-items: baseline;
    
    }

    .footer-input {
        flex-direction: column;
        align-items: flex-start;
  
    } 

    .email-field {
        width: 264px;
    }

    .footer-form {
      flex-direction: row;
      gap: 24px;
    }

    .footer-btn {
        flex-direction: row;
 
    }

    .modal {
    width: 408px;
    min-height: 584px;
    padding: 72px 24px 24px 24px;

    }
    .form-modal {
        max-width: 360px;
    }

    .input-item {
        width: 360px;
        padding-left: 38px;

    }

    .comment-text {
        width: 360px;
    }
    .input-wrapper {
        width: 360px;
    }
    .check-label {
    flex-direction: row;
    
    }
    /* .check-label-text {
        display: flex;
        margin-left: 4px;
    } */
    .text-check-policy {
        width: 338px;
    }
}
    
@media screen and (min-width: 1158px) {
    .container {
        max-width: 1158px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .mob-menu {
        display: none;
    }

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

    .contacts {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-left: auto;
    font-style: normal;
    }

    .contacts-item {
    font-size: 16px;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.02em;
    
    }
    .page-title {
    max-width: 1440px;
    padding: 188px 0 ;
    background-image: linear-gradient(to bottom, rgba(46, 47, 66, 0.7),
    rgba(46, 47, 66, 0.7)),
    url(../images/people-office.png);

    @media screen and (min-resolution: 2x) {
    background-image: linear-gradient(to bottom, rgba(46, 47, 66, 0.7),
    rgba(46, 47, 66, 0.7)),
    url(../images/people-office-main2x.png);
    }
    }

    .title {
        font-size: 56px;
        max-width: 496px;
        text-align: center;
        margin: 0 auto 48px;
 
    }
    .header {
        font-size: 20px;
        font-weight: 500;
        line-height: 1.2;
        text-align: left;
    }
    
    .feature-icons {
        border: 1px solid #8e8f99;
        border-radius: 4px;
        height: 112px;
        background-color: #f4f4fd;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 8px;
    }
    
    .feature-container {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .list-features {
        flex-direction: row;
        gap: 24px;

    }

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

    .section-text {
        max-width: 264px;
        font-weight: 400;
    }

    .section-team {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .team-item {
        width: calc((100% - 24px * 3) / 4);
    }
    .team-list {
        flex-direction: row;
        gap: 24px;
    }

    .overlay {
        width: 360px;

    }
    .list-portfolio{
        gap: 48px 24px;
    }
    .portfolio-item {
    width: calc((100% - 24px * 2) / 3);
    }

    .portfolio-item {
        box-shadow: none;
    }

    .portfolio-item:hover,
    .portfolio-item:focus {
        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);
        }

    .foot-container {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .footer-form {
        flex-direction: row;
    }
    .soc-footer {
        flex-direction: column;
        align-items: baseline;
        margin-left: 120px;

    }

    .footer-input {
        margin-left: auto;
    }
    

  }
