.hidden {
    display: none;
}

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

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

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

button {
    cursor: pointer;
}

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

a {
    text-decoration: none;
}

.our-goals-title-hidden.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-policy-input.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;
}

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

@media screen and (min-width: 768px) {
    .container {
        max-width: 768px;

    }
}

@media screen and (min-width: 1158px) {
    .container {
        max-width: 1158px;
        padding: 0 15px;
    }
}

/*header*/

.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;
    align-items: center;
    justify-content: space-between;
}

.header-menu-list,
.header-addres {
    display: none;
}

.logo {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
}

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

.header-logo {
    padding: 16px 0;
    display: block;
}

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

.burger-icon {
    display: block;
    fill: #2F2F37;
}



@media screen and (min-width: 768px) {
    .header-logo {
        padding: 24px 0;
        margin-right: 120px;
    }

    .burger-btn {
        display: none;
    }

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

    .header-menu-list {
        display: flex;
        gap: 40px;
    }

    .header-addres {
        font-style: normal;
        line-height: 1.5;
        letter-spacing: 0.02em;
        display: block;
    }


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

    .header-menu-link.current {
        color: #404BBF;
    }

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

    .header-menu-list a:hover,
    .header-menu-list a:focus,
    .header-menu-list a:active {
        color: #404BBF;
    }

    .header-addres-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contacts-link {
        display: block;
        font-size: 12px;
        line-height: 1.17;
        letter-spacing: 0.04em;
        color: #434455;

        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

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

@media screen and (min-width: 1158px) {
    .header-logo {
        margin-right: 76px;
    }

    .header-addres-list {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

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

    }
}

/*mobile-menu*/

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

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

.mobile-menu-close {
    display: flex;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    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);
}

.mobile-menu-close:hover {
    background-color: #404bbf;
    border: none;
    fill: #ffffff
}

.mobile-menu-close:focus {
    background-color: #404bbf;
    border: none;
    fill: #ffffff
}

.mobile-menu-close-icon {
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

.mobile-menu-nav {
    margin-bottom: auto;
}

.mobile-menu-item {
    margin-bottom: 40px;
}

.mobile-menu-link {
    display: block;
    color: #2E2F42;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.11;
    text-align: start;
    letter-spacing: 0.02em;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    color: #404BBF;
}

.mobile-menu-link:last-child {
    margin-bottom: 0;
}

.mobile-menu-link.current {
    color: #404BBF;
}

.mobile-menu-address-list {
    margin-bottom: 24px;
}

.mobile-menu-address-list:last-child {
    margin-bottom: 0;
}

.mobile-menu-address-link {
    color: #434455;
    font-style: normal;
    font-size: 20px;
    font-weight: 500;
}

.mobile-menu-address-link:hover,
.mobile-menu-link:active {
    color: #404BBF;
}

.mobile-menu-address-link.current {
    color: #4D5AE5;

}

.mobile-menu-social-links {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.mobile-menu-social-links .mobile-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #4D5AE5;
    border-radius: 50%;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    fill: #f4f4fd;
}

.mobile-menu-links-link .mobile-link:hover {
    background-color: #404BBF;
}

.mobile-menu-links-link .mobile-link:focus {
    background-color: #404BBF;
}

@media screen and (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

/*hero*/

.big-banner {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7),
            rgba(46, 47, 66, 0.7)),
        url(../images/hero/bg_mob.jpg);
    /* padding: 188px 0; */
    padding: 72px 0;
    text-align: center;
    background-color: #2E2F42;
    color: #FFFFFF;
    max-width: 320px;
    margin: 0 auto;
}

@media (min-resolution: 192dpi) {
    .big-banner {
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/hero/bg_mob@2x.jpg);
    }
}


.big-banner-text {
    max-width: 216px;
    margin: 0 auto 72px;
    font-size: 36px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.big-banner-btn {
    display: block;
    margin: 0 auto;
    min-width: 169px;
    height: 56px;
    background-color: #4d5ae5;
    color: #FFFFFF;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media screen and (min-width: 768px) {
    .big-banner {
        padding: 112px 0;
        max-width: 768px;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/hero/bg_tab.jpg);
    }

    @media (min-resolution: 192dpi) {
        .big-banner {
            background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                    rgba(46, 47, 66, 0.7)),
                url(../images/hero/bg_tab@2x.jpg);
        }
    }

    .big-banner-text {
        max-width: 496px;
        margin: 0 auto 36px;
        font-size: 56px;
    }
}

@media screen and (min-width: 1158px) {
    .big-banner {
        padding: 188px 0;
        max-width: 1440px;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/hero/bg_pc.jpg);
    }

    @media (min-resolution: 192dpi) {
        .big-banner {
            background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                    rgba(46, 47, 66, 0.7)),
                url(../images/hero/bg_pc@2x.jpg);
        }
    }

    .big-banner-text {
        max-width: 496px;
        margin: 0 auto 48px;
        font-size: 56px;
        line-height: 1.07;
        letter-spacing: 0.02em;
    }
}

/*our-goals*/

.section {
    padding-top: 96px;
    padding-bottom: 96px;
}

@media screen and (min-width: 1158px) {
    .section {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

.icon-block {
    display: none;
}

.our-goals-item {
    margin-bottom: 72px;
}

.our-goals-title {
    text-align: center;
    color: #2E2F42;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.our-goals-paragraph {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 500;
    max-width: 288px;

}

@media screen and (min-width: 768px) {
    .our-goals {
        display: flex;
        gap: 72px 24px;
        flex-wrap: wrap;
    }

    .our-goals-item {
        /* flex-basis: calc((100% - 24px) / 2); */
        margin-bottom: 0;
    }

    .our-goals-title {
        text-align: left;
    }

    .our-goals-paragraph {
        max-width: 356px;
    }

}

@media screen and (min-width: 1158px) {
    .our-goals {
        gap: 24px;
    }


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

    .our-goals-item {
        flex-basis: calc((100% - 72px) / 4);
    }

    .our-goals-title {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
    }

    .our-goals-paragraph {
        font-weight: 400;
    }
}

/*our-team*/

.team-section{
    background-color: #F4F4FD;
}

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

.our-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffff;
    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);

    margin: 0 auto 72px;

    width: 264px;
}

.out-team-content {
    padding: 32px 16px;
}

.social-links {
    display: flex;
    gap: 24px;
    margin-top: 8px;
    justify-content: center;
}

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

.social-links .link:hover {
    background-color: #404BBF;
}

.social-links .link:focus {
    background-color: #404BBF;
}

.our-team-people-name {
    font-weight: 500;
    text-align: center;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    margin-bottom: 8px;
}

.our-team-paragraph {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
}



@media screen and (min-width: 768px) {
    .our-team-card-wrap {
        display: flex;
        gap: 64px 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .our-team-card {
       margin-bottom: 0;
       margin: 0;
    }
}

@media screen and (min-width: 1158px) {
    .our-team-card-wrap {
        justify-content: space-between;
        gap: 24px;
    }

    .our-team-card {
        flex-basis: calc((100% - 72px) / 4);

    }
}

/*our-portfolio*/



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

.our-portfolio-name-programs {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #2E2F42;
    letter-spacing: 0.02em;
}

.img-block {
    position: relative;
    overflow: hidden;
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 32px;
    background-color: #4d5ae5;
    color: #f4f4fd;
    line-height: 1.5;
    letter-spacing: 0.02em;

    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);

}


.our-portfolio-card{
    
    width: 100%;
    margin-bottom: 48px;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    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);
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.our-portfolio-card:hover .overlay-content {
    transform: translateY(0%);
}

.our-portfolio-card-content {
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
}

.our-portfolio-target {
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin: 0;
}
.our-portfolio {
    display: flex;
    flex-direction: column;
    gap: 48px;
}


@media screen and (min-width: 768px) {
    .our-portfolio {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        column-gap: 24px;
        row-gap: 72px;
    }

    .our-portfolio-card {
        width: calc((100% - 24px) / 2);
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1158px) {
    .our-portfolio {
        row-gap: 48px;
    }

    .our-portfolio-card {
        box-shadow: none;
        width: calc((100% - 48px) / 3);
    }
    .our-portfolio-card: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);
}

}


/*FOOTER*/
.footer-page {
    display: flex;
    padding: 96px 0;
    background-color: #2E2F42;
}



.logo-block {
    text-align: center;
    margin-bottom: 72px;
}

.footer-paragraph-text {
    color: #FFFFFF;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-size: 16px;
    max-width: 288px;
    text-align: start;
}

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

}

.footer-logo-text {
    color: #f4f4fd;
}

.social-media-block {
    display: flex;
    flex-direction: column;
}

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

.social-list-footer {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    margin-bottom: 72px;
}

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

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

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

.social-icon {
    fill: #f4f4fd;
}

.form-sub {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.sub-p {
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-align: center;
}

.input-sub {
    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;
    outline: transparent;
    margin-bottom: 16px;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

.input-sub::placeholder {
    color: #ffffff;
}

.input-sub:focus {
    border-color: #31d0aa;
    outline: none;
}

.btn-sub {
    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;
    fill: #fff;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-sub:hover,
.btn-sub:focus {
    background-color: #31d0aa;
}
.btn-sub-icon {
    margin-left: 16px;
}

@media screen and (min-width: 768px) {
  
    .container.content-footer{
        max-width: 768px;
    }
    .footer-paragraph-text {
        max-width: 264px;
    }

    .sub-p {
        text-align: start;
    }

    .form-sub {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        justify-content: start;
        gap: 24px;

    }
    .logo-block{
        text-align: left;
    }
    .footer-logo-social-tablet{
        display: flex;
        gap: 24px;
    }
    .footer-logo-social {
        display: block;
        gap: 24px;
    }

    .input-sub {
        width: 264px;
    }
    .social-text {
        text-align: left;
    }
}

@media screen and (min-width: 1158px) {
    .container.content-footer {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        max-width: 1158px;
        padding: 0 15px;
        margin: 0 auto
    }

    .footer-page {
        flex-direction: row;
        padding: 100px 0;
        justify-content: space-between;
    }

    .logo-block {
        text-align: start;
        margin-bottom: 0;
        
    }

    .footer-paragraph-text {
        max-width: 264px;
    }

    .social-text {
        text-align: start;
    }

    .input-sub {
        width: 264px;
        margin-bottom: 0;
    }
       .footer-logo-social-tablet{
        display: flex;
        gap: 120px;
    }
    .footer-logo-social {
        display: flex;
            margin-left: auto;
    }
    .social-media-block{
        display: block;
    }
   
    
}

/* modal */

.overlay-modal {
    background-color: rgba(46, 47, 66, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;


    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.close-btn {
    display: flex;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    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);

}

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

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

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

}

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

.form-block {
    margin-bottom: 8px;
}

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

.input-svg {
    position: relative;
}

.input-svg:focus-within .form-input-icon {
    fill: #4D5AE5;
}

.form-input {
    width: 100%;
    height: 40px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    background-color: transparent;
    padding-left: 34px;
    outline: transparent;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    /* margin-top: 4px; */
}

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

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

.txtarea {
    margin-bottom: 16px
}

.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);
    margin-top: 4px;
}

.form-textarea::placeholder {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
}
.form-textarea:focus {
    border-color: #4d5ae5;
}

.privacy-text-wrapper {
    /* Этот контейнер позволит ссылке переноситься естественным образом */
    display: block;
}


.privacy-policy {
    margin-bottom: 24px;
}

.lbl-user-privacy {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;

}

.span-user-privacy {
    flex-shrink: 0;
    align-items: flex-start;
    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;
}

.link-pp {
    display: block;
    color: #4d5ae5;
    text-decoration: underline;
}

.span-user-privacy.checked {
    background-color: #F4F4FD;
}

input[type="checkbox"]:checked+label .span-user-privacy {
    background-color: #404bbf;
    fill: #F4F4FD;
    border: none;
}

.input-checked-icon {
    fill: #fff;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.form-btn {
    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;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    margin: 0 auto;
}

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

@media screen and (min-width: 768px) {
    .modal {
        width: 408px;
        min-height: 584px;
        padding: 72px 24px 24px 24px;
    }

    .link-pp {
        display: inline-block;
    }
}

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

    .form-input {
        padding-left: 38px;
    }
}