body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    background-color: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
    display: flex;
}

a {
    text-decoration: none;
}

img {
    display: block;
}

svg {
    fill: #f4f4fd
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.hidden {
    display: none;
}

.container {
    max-width: 320px;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: auto;
    margin-right: auto;
}

/* Header styles */
.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;
    align-items: center;
    padding: 16px 15px;
}

.nav {
    display: flex;
    align-items: center;
}

.logo-web {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
}

.nav-logo-dark {
    color: #2e2f42;
}

.nav-list {
    display: none;
}

.address {
    display: none;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
    padding: 24px 0;
    display: block;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link:focus {
    color: #404bbf;
}

.nav-link.nav-link-active {
    position: relative;
    color: #404bbf;
}

.nav-link.nav-link-active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 4px;
    background-color: #404bbf;
    border-radius: 2px;
}

.address-list {
    display: flex;
    gap: 40px;
}

.address-link {
    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;
}

.hamburger-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

.hamburger-icon {
    width: 24px;
    height: 24px;
    fill: #2e2f42;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1000;
    padding: 72px 24px 40px 16px;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-nav-list {
    flex-direction: column;
    margin-bottom: auto;
}

.mobile-nav-item:not(:last-child) {
    margin-bottom: 40px;
}

.mobile-nav-link {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    color: #2e2f42;
    text-transform: capitalize;
}

.mobile-nav-link.active {
    color: #404bbf;
}

.mobile-address {
    font-style: normal;
    margin-top: 168px;
    margin-bottom: 48px;
}

.mobile-address-item:not(:last-child) {
    margin-bottom: 40px;
}

.mobile-address-link {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #434455;

}

.mobile-address-list {
    flex-direction: column;
}

.mobile-address-link.tel {
    color: #4d5ae5;
}

.mobile-social-list {
    display: flex;
    gap: 40px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4d5ae5;
    border-radius: 50%;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    gap: 40px;
}

.mobile-social-icon {
    color: #f4f4fd;
}

/* Hero section */
:root {
    --primary-brand-color: #4d5ae5;
    --cloud: #f4f4fd;
    --white-color: #FFFFFF;
    --cloud-color: #f4f4fd;
    --navy-color: #2E2F42;
}

.hero-section {
    padding: 72px 0;
    background-color: #2a2a2a;
    max-width: 1440px;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url("../images/bk-feauter-1x.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-heading {
    font-size: 36px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    color: #ffffff;
    max-width: 216px;
    margin: 0 auto 72px;
    text-align: center;
}

.hero-button {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #ffffff;
    background-color: var(--primary-brand-color);
    border: none;
    border-radius: 4px;
    width: 169px;
    height: 56px;
    margin: 0 auto;
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* Features section */

.features-section {
    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;
}

.features-list {
    flex-direction: column;
    gap: 72px;
}

.features-heading {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    margin-bottom: 8px;
}

.features-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    max-width: 288px;
}

.features-item {
    flex-basis: calc((100% - 72px) / 4);
}

.feature-icon {
    display: none;
}

/* Team section */
.team-section {
    background-color: #F4F4FD;
    padding: 96px 0;
}

.team-heading {
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #2E2F42;
    margin-bottom: 72px;
}

.team-list {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 72px;
}

.team-item {
    flex-basis: calc((100% - 72px) / 4);
    background: #FFFFFF;
    border-radius: 0 0 4px 4px;
    box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
        0px 1px 1px 0px rgba(46, 47, 66, 0.16),
        0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}

.team-item img {
    fill: #4d5ae5;
}

.team-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-info {
    text-align: center;
    padding: 32px 0;

}

.team-name {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    margin-bottom: 8px;
    text-align: center;
}

.team-position {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    margin: 0;
    text-align: center;
    padding-bottom: 8px;
}

.social-list {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4d5ae5;
    box-sizing: border-box;
}

.social-icon {
    color: #F4F4FD;
    display: flex;
}

/* Portfolio section */
.portfolio-section {
    padding: 96px 0;
    border: 1px solid #e7e9fc;
}

.portfolio-title {
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #2e2f42;
    margin-bottom: 72px;
}

.portfolio-list {
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 48px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-item {
    width: 288px;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.card-thumb {
    position: relative;
    overflow: hidden;
}

.thumb-text {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 40px 32px;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(#f4f4fd);
    background-color: #4d5ae5;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-link {
    font-size: 36px;
    margin-bottom: 72px;
    color: #2E2F42;
    letter-spacing: 0.02em;
    text-align: center;
}

.portfolio-info {
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
}

.portfolio-name {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 8px;
}

.portfolio-category {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

.page-footer {
    background-color: #2e2f42;
    padding: 96px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
}

.footer-logo-container {
    text-align: center;
}

.footer-text {
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    max-width: 288px;
    text-align: center;
}

.logo-studio-footer {
    color: #ffffff;
}

.logo-web.footer {
    display: inline-block;
    margin-bottom: 16px;
}

.social-media-text {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--white-color);
    margin-bottom: 16px;
    text-align: center;
}

.social-container {
    text-align: center;
}

.social-list-footer {
    display: flex;
    gap: 16px;
}

.social-item-footer {
    width: 40px;
    height: 40px;
}

.social-link-footer {
    width: 100%;
    height: 100%;
    background-color: var(--primary-brand-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link-footer:hover,
.social-link-footer:focus {
    background-color: #31D0AA;
}

.social-icon-footer {
    fill: var(--cloud-color);
}

.subscribe-container {
    text-align: center;
    width: 100%;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.subscribe-text {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--white-color);
    margin-bottom: 16px;
}

.subscribe-input {
    box-sizing: border-box;
    border: 1px solid #ffffff;
    background-color: transparent;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    border-radius: 4px;
    padding-left: 16px;
    width: 288px;
    height: 40px;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    outline: none;
}

.subscribe-input::placeholder {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.subscribe-button {
    color: white;
    background-color: #4D5AE5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    min-width: 165px;
    height: 40px;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.subscribe-icon {
    margin-left: 16px;
}

.backdrop {
    display: none;
    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);
    z-index: 999;
}

.backdrop.is-open {
    display: flex;
}

.backdrop-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 288px;
    min-height: 584px;
    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 24px 24px 24px;


}

.backdrop-item {
    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);
}

.backdrop-item.nav-mobile {
    background-color: white;
}

.backdrop-item:hover,
.backdrop-item:focus {
    background-color: #404bbf;
    border: none;
}

.close-icon {
    width: 8px;
    height: 8px;
    fill: #2e2f42;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop-item:hover .close-icon,
.backdrop-item:focus .close-icon {
    fill: #ffffff;
}

.backdrop-heading {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 16px;
}

.form-fieldset {
    margin-bottom: 8px;
}

.form-fieldset:nth-child(4) {
    margin-bottom: 16px;
}

.form-fieldset:nth-child(5) {
    margin-bottom: 24px;
}

.form-label {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
    display: block;
    margin-bottom: 4px;
}

.input-container {
    position: relative;
}

.input-form {
    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);
}

.input-form:focus {
    border-color: #4d5ae5;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 12px;
    fill: #2e2f42;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.input-form:focus+.input-icon {
    fill: #4d5ae5;
}

.textarea-form {
    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);
}

.textarea-form:focus {
    border-color: #4d5ae5;
}

.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;
}

.privacy-label {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
    cursor: pointer;
}

.custom-checkbox {
    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;
    flex-shrink: 0;
}

.checkbox-input:checked+.privacy-label .custom-checkbox {
    background-image: url("/images/checkbox-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-color: #404bbf;
    border: none;
    fill: #f4f4fd;
}

.privacy-link {
    color: #4d5ae5;
    text-decoration: underline;
}

.form-button {
    display: block;
    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;
    border-radius: 4px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.checkbox-icon {
    width: 10px;
    height: 8px;
}

.input-form::placeholder {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .header-container {
        padding: 0 16px;
    }

    .hamburger-btn {
        display: none;
    }

    .nav {
        margin-right: auto;
    }

    .nav-list {
        display: flex;
        gap: 40px;
        margin-left: 120px;
    }

    .address {
        display: block;
        font-style: normal;
    }

    .address-list {
        flex-direction: column;
        gap: 12px;
    }

    .address-link {
        font-size: 12px;
        line-height: 1.17;
        letter-spacing: 0.04em;
    }

    .hero-section {
        padding: 112px 0;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url("../images/bk-feauter-tablet-1x.jpg");
    }

    .hero-heading {
        font-size: 56px;
        line-height: 1.07;
        max-width: 496px;
        margin: 0 auto 36px;
    }

    .features-section {
        padding: 96px 0;
    }

    .features-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 72px 24px;
    }

    .features-item {
        flex-basis: calc((100% - 24px) / 2);
    }

    .features-heading {
        text-align: left;
    }

    .features-text {
        max-width: 356px;
    }

    .team-section {
        padding: 96px 0;
    }

    .team-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 64px 24px;
        justify-content: center;
    }

    .team-item {
        flex-basis: calc((100% - 24px) / 2);
        max-width: 264px;
        margin-bottom: 0;
    }

    .team-position {
        padding-bottom: 0;
        margin: 8px;
    }

    .portfolio-section {
        padding: 96px 0;
    }

    .portfolio-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 24px;
        row-gap: 72px;
    }

    .portfolio-item {
        width: calc((100% - 24px) / 2);
        margin: 0;
    }

    .page-footer {
        padding: 96px 0;
    }

    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: flex-start;
        gap: 72px 24px;
        max-width: 584px;
    }

    .footer-logo-container {
        text-align: left;
    }

    .footer-text {
        max-width: 264px;
        text-align: left;
    }

    .social-media-text {
        text-align: left;
    }

    .social-container {
        text-align: left;
    }

    .subscribe-container {
        text-align: left;
        width: 100%;
    }

    .subscribe-form {
        flex-direction: row;
        gap: 24px;
        align-items: flex-start;
    }

    .subscribe-input {
        width: 264px;
    }

    .backdrop-content {
        width: 408px;
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }

    .mobile-menu {
        padding: 72px 40px 40px 40px;
    }

    .mobile-address-list {
        margin-top: 168px;
    }

    .mobile-social-list {
        gap: 56px;
    }


}
@media screen and (min-width: 1158px) {
    .container {
        max-width: 1158px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-container {
        padding: 0 15px;
    }

    .hamburger-btn {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .nav {
        margin-right: 76px;
    }

    .nav-list {
        display: flex;
        gap: 40px;
        margin-left: 76px;
    }

    .nav-link {
        font-weight: 500;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #2e2f42;
        padding: 24px 0;
        display: block;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .address {
        display: block;
        font-style: normal;
    }

    .address-list {
        flex-direction: row;
        gap: 40px;
    }

    .nav-link:hover,
    .nav-link:focus {
        color: #404bbf;
    }

    .address-link:hover,
    .address-link:focus {
        color: #404bbf;
    }

    .address-link {
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
    }

    .hero-section {
        padding: 188px 0;
        background-color: #2a2a2a;
        max-width: 1440px;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url("../images/bk-feauter.jpg");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero-button:hover,
    .hero-button:focus {
        background-color: #404bbf;
    }

    .features-section {
        padding: 120px 0;
    }

    .features-list {
        display: flex;
        flex-direction: row;
        gap: 24px;
    }

    .features-item {
        flex-basis: calc((100% - 72px) / 4);
    }

    .features-heading {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: 0.02em;
        text-align: left;
        color: #2e2f42;
        margin-bottom: 8px;
    }

    .feature-icon {
        display: block;
    }

    .feature-icon-container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 112px;
        border: 1px solid #8e8f99;
        border-radius: 4px;
        background: #f4f4fd;
        margin-bottom: 8px;
    }

    .features-text {
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        max-width: 264px;
    }

    .team-section {
        padding: 120px 0;
    }

    .team-list {
        display: flex;
        flex-direction: row;
        gap: 24px;
    }

    .team-item {
        flex-basis: calc((100% - 72px) / 4);
        margin-bottom: 0;
    }

    .social-list {
        display: flex;
        justify-content: center;
        gap: 24px;
    }

    .social-link:hover,
    .social-link:focus {
        background-color: #404BBF;
        transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .portfolio-section {
        padding: 120px 0;
    }

    .portfolio-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 24px;
        row-gap: 48px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .portfolio-item {
        width: calc((100% - 48px) / 3);
        transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .portfolio-section li:hover .thumb-text,
    .portfolio-item:hover .thumb-text {
        transform: translateY(0%);
    }

    .portfolio-item: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 {
        background-color: #2e2f42;
        padding: 100px 0;
    }

    .footer-container {
        flex-direction: row;
        align-items: baseline;
        gap: 0;
    }

    .footer-logo-container {
        margin-right: 120px;
        text-align: left;
    }

    .footer-text {
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #f4f4fd;
        max-width: 263px;
        text-align: left;
    }

    .social-media-text {
        text-align: left;
    }

    .social-container {
        text-align: left;
    }

    .subscribe-container {
        margin-left: 80px;
        text-align: left;
        width: auto;
    }

    .subscribe-form {
        display: flex;
        flex-direction: row;
        gap: 24px;
        align-items: flex-start;
    }
}