body {
    font-family: 'Roboto', sans-serif;
    color: #2e2f42;
    background-color: #ffffff;
}
* {
    box-sizing: border-box;
    margin: 0;
}
ul,
ol {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    margin: 0;
}
.section {
    padding: 96px 0;
}
.visually-hidden {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0, 0, 0, 0);
    margin: -1px;
}
button {
    cursor: pointer;
}
.container {
    max-width: 320px;
    padding: 0 16px;
    margin: 0 auto;
}
    @media screen and (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}
    @media screen and (min-width: 1158px) {
    .container {
        max-width: 1158px;
        padding: 0 15px;
    }
    .section {
        padding: 120px 0;
    }
    
}
/* #region header */
.main-header {
    border-bottom: 1px solid #e7e9fc;
    box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08), 0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 2px 1px 0 rgba(46, 47, 66, 0.08);
}
.header-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2e2f42;
    padding: 16px 0;
    display: block;
}
.logo-main-color {
    color: #4d5ae5;
}
.burger-button {
    padding: 0;
    border: none;
    background-color: transparent;
}
.burger-icon {
    display: block;
    fill: #2f2f37;
}
@media screen and (max-width: 767px) {
    .main-nav,
    .main-contacts {
        display: none;
    }
}
@media screen and (min-width: 768px) {
    .burger-button {
        display: none;
    }
    .logo {
        padding: 24px 0;
    }

    .nav-list {
        display: flex;
        column-gap: 40px;
        width: 261px;
    }
    .nav-list-item {
        position: relative;
    }
    .nav-link,
    .nav-link:visited {
        display: block;
        padding: 24px 0;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #2e2f42;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-link:hover,
    .nav-link:focus,
    .contacts-link:hover,
    .contacts-link:focus {
        color: #404bbf;
    }
    .nav-link.current {
        color: #404bbf;
    }
    .nav-link.current::after {
        content: "";
        background-color: #404bbf;
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 4px;
        border-radius: 2px;
    }
    .contacts-list {
        display: flex;
        flex-direction: column;
        row-gap: 12px;
        align-items: flex-end;
    }
    .contacts-link,
    .contacts-link:visited {
        display: block;
        font-size: 12px;
        line-height: 1.17;
        letter-spacing: 0.04em;
        color: #434455;
        font-style: normal;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media screen and (min-width: 1158px) {
    .header-block {
        justify-content: flex-start;
    }
    .logo {
        margin-right: 76px;
    }
    .main-contacts {
        margin-left: auto;
    }
    .contacts-list {
        flex-direction: row;
        column-gap: 40px;
    }
    .contacts-link {
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #434455;
        padding: 24px 0;
    }
}
/* #endregion header */

/* #region hero */
    .hero-section {
        background: #2e2f42;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        background-image: linear-gradient(to bottom,
                    rgba(46, 47, 66, 0.7),
                    rgba(46, 47, 66, 0.7)),
                    url(../images/bckgrd_img/hero-m.jpg);
        padding: 72px 0;
        max-width: 320px;
        min-height: 432px;
        margin: 0 auto;
}   
    .hero-title {
        font-weight: 700;
        font-size: 36px;
        line-height: 1.11;
        letter-spacing: 0.02em;
        text-align: center;
        color: #fff;
        margin: 0 auto 72px auto;
        max-width: 216px;
}
    .hero-button {
        display: block;
        background-color: #4d5ae5;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
        font-weight: 500;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.04em;
        color: #ffffff;
        cursor: pointer;
        border-radius: 4px;
        border: none;
        padding: 16px 32px;
        margin: 0 auto 0 auto;
        transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
    .hero-button:hover,
    .hero-button:focus {
        background-color: #404bbf;
}
    @media screen and (min-resolution: 192dpi) {
    .hero-section {
        background-image: linear-gradient(to bottom,
                rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/bckgrd_img/hero-m@2x.jpg);
    }
}

    @media screen and (min-width: 768px) {
    .hero-section {
        background-image: linear-gradient(to bottom,
                rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/bckgrd_img/hero-t.jpg);
        padding: 112px 0;
        max-width: 768px;
        min-height: 436px;
        margin: 0 auto;
    }
    .hero-title {
        font-size: 56px;
        line-height: 1.07;
        letter-spacing: 0.02em;
        margin: 0 auto 36px auto;
        max-width: 496px;
    }
}
    @media screen and (min-width: 768px) and (min-resolution: 192dpi) {
    .hero-section {
        background-image: linear-gradient(to bottom,
                    rgba(46, 47, 66, 0.7),
                    rgba(46, 47, 66, 0.7)),
                    url(../images/bckgrd_img/hero-t@2x.jpg);
    }
}
    @media screen and (min-width: 1158px) {
    .hero-section {
        background-image: linear-gradient(to bottom,
                rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/bckgrd_img/hero-d.jpg);
        padding: 188px 0;
        max-width: 1440px;
        min-height: 600px;
        margin: 0 auto;
    }
    .hero-title {
        margin: 0 auto 48px auto;
    }
}
    @media screen and (min-width: 1158px) and (min-resolution: 192dpi) {
        .hero-section {
            background-image: linear-gradient(to bottom,
                    rgba(46, 47, 66, 0.7),
                    rgba(46, 47, 66, 0.7)),
                url(../images/bckgrd_img/hero-d@2x.jpg);
        }
    }

/* #endregion hero */

/* #region about */
    .about-list {
        display: flex;
        flex-wrap: wrap;
        row-gap: 72px;

    }
    .about-list-item {
        width: 100%;
    }
    .about-title {
        font-weight: 700;
        font-size: 36px;
        line-height: 1.11;
        letter-spacing: 0.02em;
        text-align: center;
        color: #2e2f42;
        margin-bottom: 8px;
    }
    .about-text {
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #434455;
    }
    @media screen and (min-width: 768px) {
        .about-list {
            column-gap: 24px;
        }
        .about-list-item {
            width: calc((100% - 24px) / 2);
        }
        .about-title {
            text-align: left;
        }
    }
    @media screen and (max-width: 1157px) {
    .about-list-icon {
        display: none;
    }
}
    @media screen and (min-width: 1158px) {
    .about-list {
        flex-wrap: nowrap;
    }
    .about-list-item {
        width: calc((100% - 72px) / 4);
    }
    .about-list-icon {
        display: flex;
        width: 264px;
        height: 112px;
        border: 1px solid #8e8f99;
        border-radius: 4px;
        background-color: #f4f4fd;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
    }
    .about-title {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
    }
    .about-text {
        font-weight: 400;
    }
}

/* #endregion about */

/* #region team */
    .team-section {
        background: #f4f4fd;
    }
    .team-title {
        font-weight: 700;
        font-size: 36px;
        line-height: 1.11;
        letter-spacing: 0.02em;
        text-align: center;
        color: #2e2f42;
        margin-bottom: 72px;
    }
    .team-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        row-gap: 72px;
    }
    .team-list-item {
        background-color: #ffffff;
        border-radius: 0 0 4px 4px;
        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-description {
        padding: 32px 16px;
    }
    .team-name {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: 0.02em;
        text-align: center;
        color: #2e2f42;
        margin-bottom: 8px;
    }
    .team-role {
        line-height: 1.5;
        letter-spacing: 0.02em;
        text-align: center;
        color: #434455;
        margin-bottom: 8px;
    }
    .team-social-container {
        display: flex;
        justify-content: center;
        margin-top: 8px;
    }
    .social-link-list {
        display: flex;
        justify-content: center;
        column-gap: 24px;
        align-items: center;
    }
    .social-link,
    .social-link:visited {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        background-color: #4d5ae5;
        outline: none;
        transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .social-link:hover,
    .social-link:focus {
        background-color: #404bbf;
    }
    .team-social-icon {
        fill: #f4f4fd;
    }
    @media screen and (min-width: 768px) {
        .container.team-container {
            max-width: 584px;
        }
        .team-list {
            gap: 64px 24px;
        }
        .team-list-item {
            width: calc((100% - 24px) / 2);
        } 
    }
    @media screen and (min-width: 1158px) {

        .team-list {
            flex-wrap: nowrap;
            gap: 0 24px;
        }
    }
/* #endregion team */

/* #region portfolio */
    .portfolio-title {
        font-weight: 700;
        font-size: 36px;
        line-height: 1.11111;
        letter-spacing: 0.02em;
        text-align: center;
        color: #2e2f42;
        margin-bottom: 72px;
    }   
    .portfolio-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        row-gap: 48px;
    }

    .portfolio-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .portfolio-description {
        padding: 32px 16px;
        background-color: #fff;
        border-bottom: 1px solid #e7e9fc;
        border-left: 1px solid #e7e9fc;
        border-right: 1px solid #e7e9fc;
    }
    .portfolio-product {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: 0.02em;
        color: #2e2f42;
        margin-bottom: 8px;
    }
    .portfolio-projects {
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #434455;
    }
    .portfolio-list-overlay {
        position: relative;
        overflow: hidden;
    }
    .portfolio-overlay-item {
        background-color: #4d5ae5;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translateY(100%);
        overflow: auto;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #f4f4fd;
        padding: 40px 32px;
        transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .portfolio-list:hover .portfolio-overlay-item,
    .portfolio-list:focus .portfolio-overlay-item {
        transform: translateY(0);
    }

@media screen and (max-width: 1158px) {
    .portfolio-list {
        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);
    }
}
@media screen and (min-width: 768px) {
    .portfolio-container {
        gap: 72px 24px;
    }
    .portfolio-list {
        width: calc((100% - 24px) / 2);
    }
    .portfolio-img {
        width: 356px;
        height: 300px;
    }
}
@media screen and (min-width: 1158px) {
    .portfolio-container {
        gap: 48px 24px;
    }
    .portfolio-img {
        width: 360px;
        height: 300px;
    }
    .portfolio-list {
        width: calc((100% - 48px) / 3);
        cursor: pointer;
        transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);

    }
    .portfolio-list:hover,
    .portfolio-list: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);
    }
}
/* #endregion portfolio */

/* #region footer */
    .footer-block {
        background-color: #2e2f42;
        padding: 96px 0;
    }
    .footer-block-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 72px;
    }
    .footer-container,
    .footer-subscribe-block {
        width: 288px;
    }
    .footer-social-container {
        width: 208px;
    }
    .footer-logo {
        display: block;
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 1.17;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #f4f4fd;
        margin-bottom: 16px;
        text-align: center;
    }

    .footer-text {
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #f4f4fd;
        text-align: left;
    }
    .footer-social-title {
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #fff;
        margin-bottom: 16px;
        text-align: center;
    }
    .footer-social-list {
        display: flex;
        justify-content: center;
         column-gap: 16px;
    }
    .footer-social-link {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        background-color: #4d5ae5;
        transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
        outline: none;
    }
    .footer-social-link:hover,
    .footer-social-link:focus {
        background-color: #31d0aa;
    }

    .footer-social-icon {
        fill: #f4f4fd;
    }
    .footer-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-subscribe-title {
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #fff;
        margin-bottom: 16px;
        text-align: center;
    }
    .footer-input {
        display: block;
        height: 40px;
        width: 100%;
        margin-bottom: 16px;
        border: 1px solid #fff;
        border-radius: 4px;
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
        background-color: #2e2f42;
        padding-left: 16px;
        color: #fff;
        outline: none;
        font-size: 12px;
        line-height: 2;
        letter-spacing: 0.04em;
        color: #fff;
        transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .footer-input:focus {
        border-color: #31d0aa;
    }
    .footer-input::placeholder {
        font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 12px;
        line-height: 2;
        letter-spacing: 0.04em;
        color: #fff;
    }
    .footer-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        border: none;
        border-radius: 4px;
        height: 40px;
        width: 165px;
        background-color: #4d5ae5;
        color: #ffffff;
        font-family: "Roboto", sans-serif;
        transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 0.04em;
    }
    .footer-button:hover,
    .footer-button:focus {
        background-color: #31d0aa;
    }
    .footer-button-icon {
        fill: #ffffff;
    }
    
@media screen and (min-width: 768px) {
    .footer-block-container {
        max-width: 584px;
        align-items: flex-start;
        flex-direction: row;
        gap: 72px 24px;
    }
    .footer-container {
        width: 264px;
    }
    .footer-logo {
        text-align: left;
    }
    .footer-social-title {
        text-align: left;
    }
    .footer-subscribe-block {
        width: 453px;
    }
    .footer-form {
        flex-direction: row;      
    }
    .footer-subscribe-title {
        text-align: left;
    }
    .footer-input {
        width: 264px;
        margin: 0 24px 0 0;
    }
}
@media screen and (min-width: 1158px) {
    .footer-block {
        padding: 100px 0;
    }
    .footer-block-container {
        max-width: 1158px;
        align-items: baseline;
        gap: 0;
    }
    .footer-container {
        display: flex;
        flex-direction: column;
        margin-right: 120px;
    }
    .footer-subscribe-block {
        margin-left: auto;
    }
}


/* #endregion footer */

/* #region mobile menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        opacity: 0;
        transform: translateX(100%);
        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), transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }
    .mobile-menu-block {
        position: relative;
        padding-top: 72px;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 24px;
        height: 24px;
        background-color: #E7E9FC;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-nav {
        margin-bottom: auto;
    }
    .mobile-menu-close:hover,
    .mobile-menu-close:focus {
        background-color: #4d5ae5;
        outline: none;
    }
    .mobile-close-icon {
        fill: #2e2f42;
        transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-menu-close:hover .mobile-close-icon,
    .mobile-menu-close:focus .mobile-close-icon {
        fill: #fff;
    }
    .mobile-menu-list {
        display: flex;
        flex-direction: column;
        row-gap: 40px;
    }
    .mobile-link,
    .mobile-link:visited {
        font-weight: 700;
        font-size: 36px;
        line-height: 1.11111;
        letter-spacing: 0.02em;
        color: #2e2f42;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-link:hover,
    .mobile-link:focus {
        color: #404bbf;
    }
    .mobile-link.current {
        color: #404bbf;
    }
    .mobile-contacts-list {
        display: flex;
        flex-direction: column;
        row-gap: 24px;

    }

    .mobile-contacts-link,
    .mobile-contacts-link:visited {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: 0.02em;
        color: #434455;
        font-style: normal;
    }
    .mobile-contacts-link.accent {
        color: #4d5ae5;
    }
    .mobile-social-container {
        display: flex;
        justify-content: center;
        margin-top: 48px;
    }
    .mobile-social-container .social-link-list {
        display: flex;
        justify-content: space-between;
        column-gap: 40px;
        align-items: center;
    }
    .social-link,
    .social-link:visited {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        background-color: #4d5ae5;
        transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .social-link:hover,
    .social-link:focus {
        background-color: #404bbf;
    }
    .mobile-social-icon {
        fill: #f4f4fd;
    }
@media screen and (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

/* #endregion mobile menu */

/* #region modal */

.backdrop {
    background-color: rgba(46, 47, 66, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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-block {
    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);
    background-color: #fcfcfc;
    width: 288px;
    min-height: 623px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    padding: 72px 16px 24px 16px;
}
.modal-btn-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    background-color: #E7E9FC;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-btn-close:hover,
.modal-btn-close:focus {
    background-color: #404bbf;
}
.modal-btn-icon {
    fill: #2e2f42;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-btn-close:hover .modal-btn-icon,
.modal-btn-close:focus .modal-btn-icon {
    fill: #fff;
}
.modal-description {
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    margin-bottom: 16px;
}
.modal-input-container {
    margin-bottom: 8px;
}
.input-label,
.textarea-label {
    display: block;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
    margin-bottom: 4px;
}
.wrapper-field {
    position: relative;
}
.input-field {
    width: 100%;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    height: 40px;
    padding: 0 10px 0 38px;
    outline: none;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.04em;
}
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    fill: #2e2f42;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.input-field:focus,
.textarea-field:focus,
.input-field:focus+.input-icon {
    border-color: #4d5ae5;
    fill: #4d5ae5;
}
.textarea-field {
    width: 100%;
    height: 120px;
    resize: none;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    padding: 8px 16px;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.04em;
}
.textarea-field::placeholder {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
}
.modal-checkbox-container {
    display: flex;
    align-items: baseline;
    margin: 16px auto 24px auto;
}
.checkbox-label {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.166;
    letter-spacing: 0.04em;
    color: #8e8f99;
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkbox-description {
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    color: #8e8f99;
}
.checkbox-accent {
    line-height: 1.33;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4d5ae5;
    transition: text-decoration-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.checkbox-accent:hover,
.checkbox-accent:focus {
    text-decoration: none;
    outline: none;
}
.checkbox-custom {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    background-color: #fff;
    fill: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.checkbox-icon {
    opacity: 0;
    fill: #f4f4fd;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.input-checkbox:checked+.checkbox-label .checkbox-custom .checkbox-icon {
    opacity: 1;
}
.input-checkbox:focus+.checkbox-label .checkbox-custom {
    border-color: #404bbf;
}
.input-checkbox:checked+.checkbox-label .checkbox-custom {
    fill: #f4f4fd;
    background-color: #404bbf;
    opacity: 1;
}
.modal-submit-btn {
    display: block;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    width: 169px;
    height: 56px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    background: #4d5ae5;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    outline: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-submit-btn:hover,
.modal-submit-btn:focus {
    background-color: #404bbf;
}
@media screen and (min-width: 768px) {
    .modal-block {
        width: 408px;
        min-height: 584px;
        padding: 72px 32px 24px 32px;
    }
}
/* #endregion modal */