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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0;
}

body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    background-color: #FFFFFF;
}

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


:root {
    --white-color: #FFFFFF;
    --brand-color: #4d5ae5;
    --hover-color: #31d0aa;
    --icon-fill: #f4f4fd;
    --studio-link-color: #404bbf;
}


.header {
    font-weight: 500;
    margin: 0 auto;
    border-bottom: 1px solid #e7e9fc;
    background-color: #ffffff;
    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 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
   
}


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

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

.page-nav {
    display: none;

}

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

.nav-link.current {
    color: var(--studio-link-color);
}

.nav-link {
    display: block;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);

}


.nav-link::after {
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 4px;
    background-color: var(--studio-link-color);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}


.nav-link:hover::after,
.nav-link:focus::after {
    opacity: 1;
}

.current::after {
    opacity: 1;
}


.web {
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
    padding: 16px 0;
    margin: 0;
    margin-right: 76px;
}

.studio {
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    color: #2e2f42;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    padding: 24px 0;
}

.nav-webstudio {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #2e2f42;
    

}
.menu-open-btn {
    display: flex;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border: none;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    line-height: 0;
    padding: 0;
    cursor: pointer;
    
}

.menu-open-btn svg {
    fill: #2f2f2f;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-open-btn:hover,
.menu-open-btn:focus {
    fill: #404bbf;
    
}


.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: #FFFFFF;
    padding: 0;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 72px 16px 40px 16px;
    overflow-y: auto;
    height: 100%;
    
}

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

}

.menu-close-btn {
    display: flex;
    margin-left: auto;
    margin-bottom: 24px;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    align-items: center;
    background-color: #e7e9fc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    justify-content: center;
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
                border 250ms cubic-bezier(0.4, 0, 0.2, 1);
        
}
.menu-close-btn:hover,
.menu-close-btn:focus {
    background-color: #FFFFFF;
    border: none;
    fill: #404bbf;
}

.mobile-nav {
    margin-bottom: 40px;
}

.mobile-page-nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;

}

.mobile-nav-link {
    
    text-decoration: none;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #2e2f42;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    
}

.current {
    color: var(--studio-link-color);
}

.mobile-address {
    display: flex;
    font-style: normal;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
    margin-top: auto;
    font-style: normal;
            
}

.mobile-address-list {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    font-weight: 500;
    color: #2e2f42;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 24px;

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


.mobile-address-email {
    display: block;
    text-decoration: none;
    font-style: normal;
    color: #2E2F42;
}
.mobile-address-tel {
    display: block;
    text-decoration: none;
}

.mobile-social {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    
}

.mobile-social-items {
    width: 40px;
    height: 40px;
}

.mobile-social-links {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-color);
}

.mobile-social-icons {
    fill: #f4f4fd;
}

.address-list {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding-left: 0;

}

.address-page {
    font-style: normal;
    display: none;

}

.address-link {
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.page-title {
    background-color: #2e2f42;
    line-height: 1.07;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7),
            rgba(46, 47, 66, 0.7)),
        url("../images/img-mobile-logo.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 0;
    
    @media screen and (min-resolution: 2x), (-webkit-min-device-pixel-ratio: 2) {
            background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                    rgba(46, 47, 66, 0.7)),
                url("../images/img-mobile-logo-2x.jpg")
        }
}

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

}

.button {
    display: block;
    min-width: 169px;
    height: 56px;
    border: none;
    border-radius: 4px;
    background-color: #4D5AE5;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    font-size: 16px;
    margin: 0 auto;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

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

}

.features {
    background-color: #ffffff;
    padding: 96px 0;
}

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

}


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

}

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

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


.features-section {
    width: 100%;

}

.box-icon {
    display: none;
}

.text {
    font-size: 16px;
    line-height: 1.5;
    color: #434455;
    text-align: left;
    font-weight: 500;
    letter-spacing: 0.02em;

}

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

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

}

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

}

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

}


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

.team-title {
    padding: 32px 0;
    text-align: center;
}

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

.social-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    align-items: center;


}

.social-item {
    width: 40px;
    height: 40px;
}

.social-link {
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-item:first-child .social-link {
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon {
    fill: #f4f4fd
}

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

.portfolio {
    padding-top: 96px;
    padding-bottom: 96px;
}
    
.app {
    display: flex;
    flex-wrap: wrap;
    row-gap: 48px;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    padding: 0;
    column-gap: 0;
}

.app-title {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    text-align: left;
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
    list-style: none;
}

.app-h3 {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 8px;
    font-size: 20px;
    list-style: none;
    display: block;
    text-align: left;

}

.portfolio-items {
    background-color: #FFFFFF;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0 auto;
    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);

}



.portfolio-items img {
    width: 100%;
    height: auto;
    display: block;

}

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

}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;

}

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

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

.footer {
    background-color: #2e2f42;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 96px 0;
}

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

}

.footer-link {
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
    margin-bottom: 16px;
    display: inline-block;
}

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

}

.footer-text {
    color: #E7E9FC;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    letter-spacing: 0.02em;
    max-width: 264px;
    line-height: 1.5;
    text-align: left;

}

.footer-webstudio {
    margin: 0;
    text-align: center;
    
}

.social-media-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--white-color);
    margin-bottom: 16px;
    text-align: center;

}

.footer-social {
    display: flex;
    gap: 16px;
    padding: 0;
    margin: 0;
    text-align: center;

}

.footer-social-items {
    width: 40px;
    height: 40px;
}

.footer-social-links {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-color);

}

.footer-social-items:first-child .footer-social-links {
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-links:hover,
.footer-social-links:focus {
    background-color: var(--hover-color);

}

.footer-social-icons {
    fill: #f4f4fd;
}


.subscribe-title {
    margin-bottom: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-left: 0;
    text-align: center;
}

.form-subscribe {
    display: flex;
    gap: 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.input-subscribe {
    
    width: 290px;
    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;
    max-width: 290px;
    height: 40px;

}

.label-subscribe {
    display: flex;
    gap: 12px;
    align-items: center;
}

.input-subscribe::placeholder {
    color: #ffffff;
    opacity: 1;
}

.subscribe-btn {
    min-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;
}

.footer-email {
    margin-left: 16px;
}

.modal-overlay {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    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);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    pointer-events: none;
}

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


.modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fcfcfc;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.14),
        0px 1px 3px rgba(0, 0, 0, 0.12),
        0px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    width: 288px;
    min-height: 623px;
    padding: 72px 16px 24px 16px;

}

.modal-button {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e7e9fc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    justify-content: center;
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
        border 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

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

.modal-icon-btn {
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-icon-btn:hover,
.modal-icon-btn:focus {
    fill: #ffffff;
}

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

.modal-link {
    margin-bottom: 8px;

}

.modal-link-comment {
    margin-bottom: 16px;
}

.modal-label {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
    display: block;
    margin-bottom: 4px;
}

.modal-line {
    position: relative;

}

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

}

.modal-inform:focus {
    border-color: #4D5AE5;

}

.modal-inform:focus+.modal-icon {
    fill: #4D5AE5;
}

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

}

.modal-text {
    width: 100%;
    height: 120px;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    background-color: transparent;
    padding: 8px 16px;
    outline: transparent;
    resize: none;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

.modal-text::placeholder {
    color: rgba(46, 47, 66, 0.4);
}

.modal-text:focus {
    border-color: #4D5AE5;
}

.checkbox-form {
    margin-bottom: 24px;

}

.policy-text {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
}

.policy-link-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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);
    flex-shrink: 0;

}

.policy-text-content {
    display: inline;
}

.policy-link {
    color: var(--brand-color);
}

.policy-checkbox:checked+.policy-text .policy-link-checkbox {
    background-color: var(--studio-link-color);
    border: none;
   
    
}


   
 .modal-span-icon {
        transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
    }

        .policy-checkbox:checked+.policy-text .policy-link-checkbox {
            background-color: #404bbf;
            border: none;
        }
    
        .policy-checkbox:checked+.policy-text .modal-span-icon {
            opacity: 1;
            fill: #F4F4FD;
        }

        .policy-link-checkbox {
            transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
        }

    
    .send-button {
    display: block;
    margin: auto;
    min-width: 169px;
    height: 56px;
    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;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}


@media screen and (min-width: 768px) {
    .features-list {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 24px;
        row-gap: 72px;
    }
    .features-section {
        width: calc((100% - 24px) / 2);
    }
    
    .features-title {
        text-align: left;
        font-size: 36px;
    }

    .team-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 64px 24px;
        justify-content: center;
        padding: 0;
        margin: 0;
        
    }
    .team-list .container {
        padding: 0;
    }

    .team .container {
        max-width: 584px;
        margin: 0 auto;
    }
        
    .team-members {
        width: calc((100% - 24px) / 2);
    }

    .portfolio-items {
        width: calc((100% - 24px) / 2);
    }

    .portfolio-list {
        display: flex;
        flex-wrap: wrap;
        gap: 72px 24px;
        }
        
    .app {
        padding-left: 0;
        padding-right: 0;
        row-gap: 72px;
        column-gap: 24px;
    } 

    .footer .container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 72px 24px;
        margin: 0 auto;
        padding-left: 108px;
    }

    .footer-webstudio {
        text-align: left;
        margin-right: 0;
    }

    .footer-social-media {
        text-align: left;
        margin-left: 0;
    }
                
    .form-subscribe {
        flex-direction: row;
        gap: 24px;
    }
    
    .social-media-title,
    .subscribe-title {
        text-align: left;
    }
    
    .modal {
        width: 408px;
        min-height: 584px;
        padding: 72px 24px 24px 24px;
        
    }
 
    .menu-open-btn {
        display: none;
    }
    
    .page-nav {
        display: flex;
        gap: 40px;
        font-size: 16px;
        line-height: 1.5;
        font-weight: 500;
        letter-spacing: 0.02em;
        color: #2e2f42;
        margin: 0;
        padding-left: 0;
    }

    .address-page {
        display: flex;  
    }

    .address-link {
        font-size: 12px;
        line-height: 1.17;
        letter-spacing: 0.04em;
    }
    
    .mobile-menu {
        display: none;
        flex-direction: column;
        height: 100%
    }

    .address-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 12px;
        letter-spacing: 0.04em;
        line-height: 1.17;
    }

    .page-title {
        padding: 112px 0;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                        rgba(46, 47, 66, 0.7)),
                        
                        url("../images/img-tabl-logo.jpg");
                       
                        @media screen and (min-resolution: 2x),
                        (-webkit-min-device-pixel-ratio: 2) {
                            background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                                    rgba(46, 47, 66, 0.7)),
                                url("../images/img-tab-logo-2x.jpg")
                            }
    }
    
    .container {
        max-width: 768px;
        padding-left: 16px;
        padding-right: 16px;
        margin: 0 auto;
    }

    .input-subscribe {
        width: 264px;
        
    }

    .web{
        padding: 24px 0;
        margin-right: 120px;
    }
    
    .hero-title {
        max-width: 496px;
        margin-bottom: 36px;
        font-size: 56px;
        line-height: 1.07;
    }

    .header {
        margin-left: 0;
    }


}

@media (min-width: 1158px) {
    .features {
        padding: 120px 0;
    }

    .features-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 24px;
    }

    .features-title {
        line-height: 1.2;
        font-weight: 500;
        text-align: left;
        font-size: 20px;  
    }

    .features-section {
        width: calc((100% - 72px) / 4);
        gap: 24px;
    }

    .features .text {
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
    }
        
    
    .box-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 112px;
        background-color: #f4f4fd;
        border-radius: 4px;
        border: 1px solid #8e8f99;
        margin-bottom: 8px;
    }
    
    .team {
        padding: 120px 0;
    }
    .team .container {
        max-width: 1158px;
    }
    
    .team-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 24px;
        justify-content: center;
        padding: 0;
    }
    
    .team-members {
        width: calc((100% - 72px) / 4);
        max-width: none;
    }

    .portfolio {
        padding-top: 120px;
        padding-bottom: 120px;
    }

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

    .portfolio-items {
        width: calc((100% - 48px) / 3);
        box-shadow: none;
        row-gap: 48px;
    }

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

        
    .social-media-title {
        margin-left: 0;
    }

    

    .form-subscribe {
        margin-left: 0;
        display: flex;
        gap: 24px;
    }

    .social-media-title {
        margin-left: 0;
        margin-bottom: 16px;
        text-align: left;
    }
    .subscribe-title {
        text-align: left;
        margin-left: 0;
        margin-bottom: 16px;
    }

    .menu-open-btn {
        display: none;
    }

    .page-nav {
        display: flex;
        gap: 40px;
        font-size: 16px;
        line-height: 1.5;
        font-weight: 500;
        letter-spacing: 0.02em;
        color: #2e2f42;
        margin: 0;
        padding-left: 0;
    }

    .address-page {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .menu-open-btn {
        display: none;
    }

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

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

    .page-title {
        padding: 188px 0;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                        rgba(46, 47, 66, 0.7)),
                    url("../images/img11.jpg");

                    @media screen and (min-resolution: 2x),
                        (-webkit-min-device-pixel-ratio: 2) {
                            background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                                    rgba(46, 47, 66, 0.7)),
                            url("../images/img11-2x.jpg")
                        }
    }

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

    .footer {
        padding: 100px 0;
    }
    
    .footer .container {
        display: flex;
        align-items: baseline;
        flex-wrap: nowrap;
        gap: 0;
        flex-wrap: nowrap;
        gap: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer-webstudio {
        margin-right: 120px;
    }
                
    .footer-link {
        display: inline-block;
        margin-bottom: 16px;
    }
    
    .footer-text {
        max-width: 264px;
        text-align: left;
    }

    .footer-social-media {
        margin-right: 80px;
        
    }
    
    .footer-subscribe {
        width: auto;

        margin-left: 0;
    }
    .subscribe-title {
        margin-left: 0;
    }

    .web {
        margin-right: 76px;
    }


    .app {
        row-gap: 48px;
        column-gap: 24px;
    }
    
    .subscribe-title {
         text-align: left;
    }

}