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

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

h1,
h2,
h3 {
    margin: 0;
}

p {
    margin: 0;
}

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


ul {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
}

/* header syles */

.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 {
    display: flex;
    justify-content: space-between;
}

.header-navigation {
    display: flex;
    align-items: center;
}

.header-logo {
    color: #4D5AE5;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    /* margin-right: 76px */
    padding: 18px 0;
}

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

.navigation-menu {
    /* display: flex; */
    display: none;
    gap: 40px;
}

.address-menu {
    /* display: flex; */
    display: none;
    gap: 40px;
}

/* mobile modal */

.mobile-btn {
    border: none;
    background-color: transparent;
    padding: 0;
}

.mob-menu {
    width: 100vw;
    height: 100vh;
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    padding: 24px 24px 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all ease-in-out 0.6s;
}

.mob-menu-container {
    margin-bottom: 50px;
}

.mob-menu-close-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(231, 233, 252, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    margin-bottom: 24px;
}

.mob-menu-close-btn:hover,
.mob-menu-close-btn:focus {
    background-color: #404bbf;
    border: none;
    fill: #ffffff
}

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

.mob-list {}

.mob-item:not(:last-child) {
    margin-bottom: 40px;
}

.mob-titles {
    color: #2E2F42;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.mob-titles:hover,
.mob-titles:focus {
    color: #404BBF;
}

.mob-active:active {
    color: #404BBF;
}

.cover {
    color: #404BBF;
}

.mob-tel {
    color: #4D5AE5;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-decoration: none;
    margin-bottom: 24px;
}

.mob-tel:hover,
.mob-tel:focus,
.mob-contacts:hover,
.mob-contacts:focus {
    color: #404BBF;
}

.mob-address-item {
    margin-bottom: 24px;
}

.mob-address-menu {}

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

.mob-icon-list {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

/* main styles */

/* first section styles */

.banner {

    background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)), url(../images/Dark-bg-mob.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* padding: 188px 0; */
    /* max-width: 1440px; */
    max-width: 100%;
    margin: 0 auto;
    padding: 72px 0;
}

@media screen and (min-device-pixel-ratio: 2),
(min-resolution: 192dpi),
(min-resolution: 2dppx) {
    .banner {
        background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)), url(../images/Dark-bg-mob-2x.jpg);
    }
}

.banner-header {
    color: #FFF;
    text-align: center;
    /* font-size: 56px; */
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    /* line-height: 1.07; */
    line-height: 1.11;
    /* letter-spacing: 1.12px; */
    letter-spacing: 0.02em;
    /* max-width: 496px; */
    max-width: 216px;
    padding: 0;
    margin: 0 auto;
    text-transform: capitalize;
}

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

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


/* second section styles */

.benefits {
    background-color: #FFF;
    /* padding: 120px 0; */
    padding: 96px 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;
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    /* gap: 24px; */
    gap: 72px;
}

.benefits-item-container {
    background-color: #F4F4FD;
    border: 1px solid #8E8F99;
    border-radius: 4px;
    width: 264px;
    height: 112px;
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.benefits-icon {}

.benefits-item {
    /* width: calc((100% - 72px) / 4); */
}

.benefits-inside-header {
    color: #2E2F42;
    /* font-size: 20px; */
    /* font-weight: 500; */
    /* line-height: 1.2; */
    line-height: 1.11;
    font-weight: 700;
    letter-spacing: 0.4px;
    font-size: 36px;
    margin-bottom: 8px;
    text-align: center;
}

.benefits-paragraph {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* third section styles */

.teams {
    background-color: #F4F4FD;
    /* padding: 120px 0; */
    padding: 96px 0;
}

.team-cards {
    background: #FFF;
    /* width: calc((100% - 72px) / 4); */
    border-radius: 0 0 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);
}

.team-container {
    padding: 32px 0;
    background-color: #FFFFFF;
}

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

.team-list {
    display: flex;
    flex-wrap: wrap;
    /* gap: 24px; */
    gap: 72px;
    justify-content: center;
}

.team-inside-header {
    color: #2E2F42;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.team-paragraph {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.32px;
    margin-bottom: 8px;
}

/* team-links-list */

.team-icon-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

.team-icon-item {
    width: 40px;
    height: 40px;
}

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

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

.team-icon {
    fill: #f4f4fd;
}

/* fourth section styles */

.portfolio {
    background-color: #FFF;
    /* padding: 120px 0; */
    padding: 96px 0;
}

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

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

.project-cards {
    background: var(--WHITE, #FFF);
    /* width: calc((100% - 48px) / 3); */
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
}

.project-cards:hover .project-cover-text {
    transform: translateY(0%);
}

.project-cards: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);
}

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

.project-header {
    color: #2E2F42;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.project-paragraph {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.32px;
}

/* .project-cover-container {
    position: absolute;
    top: 0;
    background-color: #4D5AE5;
    height: 100%;
    transform: translateY(100%);
    transition: transform 300ms linear; */

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

.project-cover-wrap {
    position: relative;
    overflow: hidden;
}


/* footer styles */

.footer {
    background-color: #2E2F42;
    /* padding: 100px 0; */
    padding: 96px 0;
}

.logo-footer {
    color: #F4F4FD;
    margin: 0 auto;
}

.footer-link {
    display: inline-block;
    margin-bottom: 16px;
    margin-left: 0;
    color: #4D5AE5;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0.54px;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.17;

}

.footer-definition {
    color: #F4F4FD;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    max-width: 288px;
    margin-bottom: 36px;
}

.footer-container {
    display: flex;
    align-items: baseline;
    flex-direction: column;
}

.footer-logo-container {
    /* margin-right: 120px; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* footer-social */

.footer-soc-container {
    /* margin-right: 80px; */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
}

.footer-soc-title {
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    margin-bottom: 16px;

}

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

.footer-icon-item {
    width: 40px;
    height: 40px;
}

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

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

.footer-icon {
    fill: #f4f4fd;
}

.footer-input-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 72px;
}

.footer-input-paragraph {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    /* margin-bottom: 16px; */

}

.footer-form {
    display: flex;
    flex-direction: column;
    /* gap: 24px; */
}

.footer-label {
    margin: 16px 0;
}


.footer-input {
    /* width: 264px; */
    width: 288px;
    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;
    opacity: 0.3;
}

.footer-form-btn {
    color: #FFFFFF;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    min-width: 165px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #4D5AE5;
    border: none;
    border-radius: 4px;
    max-width: 165px;
    margin: 0 auto;
}

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

.footer-input-icon {
    margin-left: 16px;
    fill: #ffffff;
}

/* modal-window-styles */

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 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);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all ease-in-out 0.6s;
}

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

.modal-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    /* width: 408px;
    min-height: 584px; */
    width: 288px;
    min-height: 623px;

    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);
    padding: 72px 16px 24px 16px;

}

.modal-btn {
    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;
    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-btn:hover,
.modal-btn:focus {
    background-color: #404bbf;
    border: none;
    fill: #ffffff
}


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

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

.modal-form {}

.modal-form-container {
    margin-bottom: 8px;
}

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

.modal-label-container {
    position: relative;
}

.label-input {
    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);

}

.label-input:focus {
    border-color: #4D5AE5;
}

.label-input:focus+.label-icon {

    fill: #4D5AE5;

}

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

.form-container {
    margin-bottom: 16px;
}

.check-form-container {
    margin-bottom: 24px;
}

.form-textarea {
    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);
}

.form-textarea:focus {
    border-color: #4D5AE5;
}

.check-text {
    color: #8E8F99;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.17;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
}

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

.user-span {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 2px;
    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);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: transparent;
    margin-right: 8px;
    flex-shrink: 1;
}

.form-check:checked+.check-text .user-span {
    background-color: #404BBF;
    border: none;
    fill: #f4f4fd;
}

.check-icon {}

.form-btn {
    display: block;
    min-width: 169px;
    height: 56px;
    font-family: "Roboto", sans-serif;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    background-color: #4D5AE5;
    border: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (min-width: 768px) {

    .container {
        max-width: 768px;
    }

    /* header */


    .header-container {
        align-items: center;
    }

    .header-logo {
        margin-right: 120px;
        padding: 0;
    }

    .mobile-btn {
        display: none;
    }

    .titles {
        display: block;
        color: #2E2F42;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 0.32px;
        text-decoration: none;
        padding: 24px 0;
        display: block;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .titles:hover,
    .titles:focus {
        color: #404BBF;
    }

    .current {
        position: relative;
        color: #404BBF;
    }

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

    .navigation-menu {
        display: flex;
    }

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


    .address {
        display: block;
        font-style: normal;
        margin-top: 0;
        margin-left: auto;
    }

    .contacts:hover {
        color: #404BBF;
    }

    .contacts:focus {
        color: #404BBF;
    }

    .contacts {
        display: block;
        color: #434455;
        /* font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em; */
        font-size: 12px;
        line-height: 1.16;
        letter-spacing: 0.04em;
        text-decoration: none;
        padding: 0;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* hero */

    .banner-header {
        font-size: 56px;
        line-height: 1.07;
        max-width: 496px;
    }

    .banner {
        padding: 112px 0;
        background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)), url(../images/Dark-bg-tab.jpg);
    }

    @media screen and (min-device-pixel-ratio: 2),
    (min-resolution: 192dpi),
    (min-resolution: 2dppx) {
        .banner {
            background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)), url(../images/Dark-bg-tab-2x.jpg);
        }
    }

    .banner-button {
        margin-top: 36px;
    }

    /* benefits */

    .benefits {}

    .benefits-list {
        gap: 24px;
        row-gap: 72px;
    }

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

    .benefits-inside-header {
        text-align: start;
    }

    .benefits-paragraph {}

    /* teams */

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

    /* portfolio */

    .portfolio-list {
        row-gap: 72px;
    }

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

    /* footer */

    .footer>.container {
        max-width: 552px;
    }

    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-logo-container {
        align-items: start;
    }

    .footer-definition {
        margin-bottom: 0;
    }

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

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

    .footer-input-container {
        justify-content: start;
    }

    .footer-input {
        width: 264px;
    }

    .footer-soc-container {
        margin-top: 0;
    }

    .footer-label {
        margin-top: 16px;
        margin-bottom: 0;
    }

    /* modal */

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

@media screen and (min-width: 1158px) {

    .container {
        max-width: 1158px;
    }

    .footer>.container {
        max-width: 1158px;
    }

    /* header */

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

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

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

    /* hero */

    .banner {
        padding: 188px 0;
        background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)), url(../images/background-picture.jpg);
        max-width: 1440px;
    }

    @media screen and (min-device-pixel-ratio: 2),
    (min-resolution: 192dpi),
    (min-resolution: 2dppx) {
        .banner {
            background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)), url(../images/background-picture-2x.jpg);
        }
    }

    .banner-header {
        font-size: 56px;
        line-height: 1.07;
        max-width: 496px;
    }

    .banner-button {
        margin-top: 48px;
    }

    /* benefits */

    .benefits {
        padding: 120px 0;
    }

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

    .benefits-item {
        width: calc((100% - 72px) / 4);
    }

    .benefits-inside-header {
        font-size: 20px;
        font-weight: 500;
        line-height: 1.2;
    }

    .benefits-paragraph {
        font-weight: 400;
    }

    .benefits-item-container {
        display: flex;
    }

    /* teams */

    .teams {
        padding: 120px 0;
    }

    .team-cards {
        width: calc((100% - 72px) / 4);
    }

    .team-list {
        gap: 24px;
        flex-wrap: nowrap;
        justify-content: start;
    }

    /* portfolio */

    .project-cards {
        width: calc((100% - 48px) / 3);
    }

    .portfolio {
        padding: 120px 0;
    }

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

    /* footer */

    .footer {
        padding: 100px 0;
    }

    .logo-footer {
        margin: 0;
    }

    .footer-logo-container {
        margin-right: 120px;
        display: block;
    }

    .footer-soc-container {
        margin-right: 80px;
        display: block;
    }

    .footer-definition {
        margin: 0;
        max-width: 264px;
    }

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

    .footer-soc-container {
        margin-top: 0;
    }

    .footer-input-container {
        display: block;
        margin-top: 0;
    }

    .footer-input-paragraph {
        margin-top: 0;
    }

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

    .footer-input {
        opacity: unset;
        margin: 0;
    }

    .footer-form-btn {
        max-width: none;
        margin: 0;
    }
}