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

h1,
h2,
h3,
p {
    margin-top: 0;
    margin-bottom: 0;
}

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

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

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

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

.button {
    cursor: pointer;
}

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

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

.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 .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-list,
.addres {
    display: none;
}
.nav .web {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #404bbf;
    text-decoration: none;
    padding: 16px 0;
    display: block;
}
.nav .stud {
    color: #2e2f42;
    align-items: center;
}

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

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

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

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

    .burger-btn {
        display: none;  
    }
    .nav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .nav .nav-list {
        list-style: none;
        display: flex;
        flex-direction: row;
        gap: 40px;       
    }
    .addres {
        font-style: normal;
        display: block;
    }
    .nav .web {
        margin-right: 120px;
        padding: 24px 0;
    }

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

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

    .link.act {
        color: #404bbf;
    }

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

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

    .connect .addr {
        color: #434455;
        font-size: 12px;
        line-height: 1.17;
        letter-spacing: 0.04em;
        text-decoration: none;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);       
    }

}

@media screen and (min-width: 1158px) {
    .header .container {
    }

    .nav .web {
        margin-right: 76px;
    }
    .addres .connect {
        display: flex;
        flex-direction: row;
        gap: 40px;
    }

    .connect .addr {
        display: flex;
        flex-direction: row;

        color: #434455;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        text-decoration: none;
    }

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

    .connect {
        font-style: normal;
        text-decoration: none;
        list-style: none;   }

}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white ;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
}

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

.mobile-menu-container {
    position: relative;
    padding-top: 72px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    max-width: 100%;
    margin-left: 0;
}

.mobile-menu-close {
    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);
    }

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

.svg-b-menu {
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);   
}

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

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.menu-nav .link {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    color: #2E2F42;
    text-decoration: none;
}

.address-svg-menu {
    display: flex;
    flex-direction: column;
}

.menu-address {
    display: flex;
    justify-content: flex-start;
    margin-left: 0;
    margin-bottom: 48px;
}

.menu-address .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

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


.menu-nav .link:focus {
    color: #404BBF;
}

.contact .addr:focus {
    color: #404BBF;
}

.menu-svg {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.svg-li {
    width: 40px;
    height: 40px;
}

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

.iconsm {
    fill: #F4F4FD;
}

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

 .icon .svg {
    display: none;
   }

   .title {
       background-color: #2E2F42;
       padding: 72px 0;
       background-image:
        linear-gradient(
            rgba(46, 47, 66, 0.7),
            rgba(46, 47, 66, 0.7)
            ),
        url(../images/mobile-hero.jpg);
       background-repeat: no-repeat;
       background-position: center center;
       background-size: cover;
       margin: 0 auto;
   }

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


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

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

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

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


.title .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.container .htitle {
    max-width: 216px;
    margin-bottom: 72px;
}

.container .button {
    min-width: 169px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    border: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.title .htitle {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    color: #FFFFFF;
}

.title .button {
    background-color: #4D5AE5;
    font-family: "Roboto", sans-serif;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.title .button:focus {
    background-color: #404BBF;
}

@media screen and (min-width: 768px) {
    
    .container .htitle {
            max-width: 496px;
            margin-bottom: 36px;   
        }

    .title .htitle {
        font-size: 56px;
        font-weight: 700;
        line-height: 1.07;
        letter-spacing: 0.02em;
        text-align: center;
        color: #FFFFFF;       
    }
}

@media screen and (min-width: 1158px) {
    .container .htitle {
            margin-bottom: 48px;
        }

    .title .button:hover {
        background-color: #404BBF;
    }
}

.main {
    padding: 96px 0;
}

.main .container {
    display: flex;
    justify-content: center;
}

.main-list {
    display: flex;
    list-style: none;
    gap: 72px;
    flex-direction: column;
    flex-wrap: wrap;
}

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

.main-p {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

@media screen and (min-width: 768px) {
.main-list {
        display: flex;
        list-style: none;
        column-gap: 24px;
        row-gap: 72px;
        flex-direction: row;
        flex-wrap: wrap;   
    }

    .parag .functions {
        text-align: left;
    }
    .main-list .parag {
        width: calc((100% - 24px) / 2);   }
}

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

    .main-list {
        gap: 24px;
        flex-direction: row;
    }

    .main-list .parag {
        width: calc((100% - 72px) / 4);
    }

    .icon .svg {
        display: block;       
    }

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

    .parag .functions {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .main-p {
        font-weight: 400;
    }
}

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

.container .our-team {
    margin-bottom: 72px;
}

.our-t-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.our-t-list .team-list {
    border-radius: 0px 0px 4px 4px;
    background-color: #FFFFFF;
    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);
}
.our-team {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2E2F42;
    text-transform: capitalize;
}

.team-list .descr {
    padding: 32px 0;
}

.team-list img {
    display: block;
    width: 100%;
    height: auto;
}

.team-svg {
    display: flex;
    justify-content: center;
    gap: 24px;
}
.svg-team {
    width: 40px;
    height: 40px;
}

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

.a-svg:focus {
    background-color: #404bbf;
}

.icons {
    fill: #F4F4FD;
}

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

.descr .position-team {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    color: #434455;
    margin-bottom: 8px;
}

@media screen and (min-width: 768px) {
    .our-t-list .team-list {
        width: 264px;
    }

    .our-t-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;   
        row-gap: 64px;
        column-gap: 24px;
        justify-content: center;
        align-content: center;
    }
}

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

.our-t-list {
    gap: 24px;
}

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

.a-svg:hover {
    background-color: #404bbf;
}
}

.portf {
    padding: 96px 0;
}

.our-p-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

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

.our-p-list .choice-portf {
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.our-p-list .choice-portf: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);
}

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

.par-portf {
   display: none;
}

.choice-portf .name {
    padding: 32px 16px;
    border-bottom: 1px solid #E7E9FC;
        border-left: 1px solid #E7E9FC;
        border-right: 1px solid #E7E9FC;
        box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08);
        border-top: none;
}

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

.descr-portf {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

@media screen and (min-width: 768px) {
    .our-p-list {
        column-gap: 24px;
        row-gap: 48px;   
    }

        .our-p-list .choice-portf:focus {
            box-shadow: none; 
        }
    }

@media screen and (min-width: 1158px) {
        .portf {
            padding: 120px 0;
        }
    
        .our-p-list {
            column-gap: 24px;
            row-gap: 48px;
        }
    
        .our-p-list .choice-portf {
            width: calc((100% - 48px) / 3);
            transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
        }
    
        .our-p-list .choice-portf:hover,
        .our-p-list .choice-portf:focus {
            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);
        }
    
        .choice-portf:hover p {
            transform: translateY(0%);
        }
    
        .par-portf {
            display: block;
            position: absolute;
            top: 0;
            font-size: 16px;
            line-height: 1.5;
            letter-spacing: 0.02em;
            color: #f4f4fd;
            padding: 40px 32px;
            background-color: #4d5ae5;
            height: 100%;
            width: 100%;
            transform: translateY(100%);
            transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
        }
    
        .choice-portf .name {
            border: 1px solid #e7e9fc;
            border-top: none;
        }
    }

.footer {
    background-color: #2E2F42;
    padding: 96px 0;
    margin: 0 auto;
}


.container-box .one-part {
    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;
    text-decoration: none;
    display: block;
    text-align: center;
}

.container-box .two-part {
    color: #f4f4fd;
    display: inline-block;
    text-align: center;
}

.text-footer {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #F4F4FD;
    max-width: 288px;
    margin-bottom: 72px;
}
.container-soc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container-soc .p-foot {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-bottom: 16px;
    text-align: center;
}
.container-soc .ul-foot {
    display: flex;
    gap: 16px;
}

.ul-foot .li-foot {
    width: 40px;
    height: 40px;
    margin-bottom: 72px;
}

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

.link-med:focus {
    background-color: #31d0aa;
}

.med-svg {
    fill: #f4f4fd;
}

.p-sub {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: white;
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

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

.input-text {
    width: 288px;
    height: 40px;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    background-color: transparent;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    padding-left: 16px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    opacity: 0.3;
    border-radius: 4px;
    color: white;
}

.input-text::placeholder {
    font-family: "Roboto", sans-serif;
    color: #FFFFFF;
}

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

.sub-svg {
    fill: #FFFFFF;
    margin-left: 16px;   }

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 47, 66, 0.4);
    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:not(.is-open) .modal {
    transform: translate(-50%, -50%) scale(1.5);
}

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

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

.button-m {
    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);
}

.button-m:focus {
    background-color: #404BBF;
    border: none;
}

.svg-t-form {
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal .button-m:focus .svg-t-form {
    fill: #FFFFFF;
}

label,
input {
    display: block;
}

.p-form {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2E2F42;
    margin-bottom: 16px;
}

.forma-footer {
    margin-bottom: 8px;
}

.l-label {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8E8F99;
    margin-bottom: 4px;
    display: block;
}

.comment-label {
    margin-bottom: 16px;
}

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

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

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

.i-input {
    width: 360px;
    height: 40px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    background-color: transparent;
    padding-left: 38px;
    margin-bottom: 8px;
    outline: transparent;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.t-comment {
    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);

}

.t-comment:focus {
    border-color: #4D5AE5;
}

.t-comment::placeholder {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
}

.checkbox-field {
    margin-bottom: 24px;
}

.label-p {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
    max-width: 231px;
    display: flex;
    align-items: flex-start;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    flex-grow: 0;
    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);
    fill: transparent;
    margin-right: 8px;
}


.checkbox:checked+.label-p>.custom-checkbox {
    fill: #F4F4FD;
    background-color: #404BBF;
    border: none;
}

.privacy-link {
    line-height: 16px;
    line-height: 1.33333;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4d5ae5;
}

.input-wrapper {
    position: relative;
}

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

.i-input:focus+.svg-class {
    fill: #4D5AE5;
}

.input-wrapper input {
    padding-left: 36px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 6px;
}


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

@media screen and (min-width: 768px) {
    .footer .container.contant-foot {
        display: flex;
        align-items: flex-start;
        column-gap: 24px;
        row-gap: 72px;
        flex-wrap: wrap;
        padding-left: 108px;
    }

    .container-box .one-part {
        text-align: left;
    }

    .container-soc .p-foot {
        align-self: flex-start;
    }

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

    .container-box {
        max-width: 264px;
        height: auto;
    }

    .form-footer {
        display: flex;
        flex-direction: row;
        gap: 0;
    }

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

    .input-text {
        margin-right: 24px;
        width: 264px;
    }

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

    .label-p {
        max-width: 338px;
        white-space: nowrap;
    }

    .i-input:focus+.svg-class {
        fill: #4D5AE5;
    }
}

@media screen and (min-width: 1158px) {
    .footer {
            padding: 100px 0;
        }
    
    .footer .container.contant-foot {
            display: flex;
            justify-content: space-between;
            flex-wrap: nowrap;
            column-gap: 0;
            row-gap: 0;
            padding: 0 15px;
        }
    
        .footer .container-box {
            display: flex;
            flex-direction: column;
            margin-right: 120px;
        }
        
        .container-soc {
            margin-right: 80px;
        }

    
        .ul-foot .li-foot {
            width: 40px;
            height: 40px;
            margin-bottom: 0;
        }
    
        .link-med:hover {
            background-color: #31d0aa;
        }
    
        .text-footer {
            max-width: 264px;
        }
    
        .soc-media {
            display: flex;
            flex-direction: row;
        }
    
        .form-footer {
            display: flex;
        }
    
        .input-text {
            width: 264px;
            height: 40px;
        }
    }