.video-footer{
    position: relative;
    width: 1920px;
    height: 550px;
    overflow: hidden;
    text-align: left;
    video{
        position: absolute;
        top: 0;
        left: 0;
        width: 1980px;
        height: 100%;
        object-fit: cover;  
        z-index: 1;
    }
}

.footer-fadein{
    width: 100%;
    height: 150px;
    position: relative;
    margin-bottom: -150px;
    background-color: var(--bacground-light);
    mask-image: linear-gradient(180deg, #EDEDF3 0%, rgba(237, 237, 243, 0.00) 100%);
    z-index: 99;
}
.footer-fadeout{
    width: 100%;
    height: 150px;
    position: relative;
    margin-top: -150px;
    background-color: var(--bacground);
    mask-image: linear-gradient(180deg, rgba(16, 16, 26, 0.00) 0%, #10101A 100%);
    z-index: 99;
}
footer{
    width: 100%;
    height: 735px;
    padding-top: 30px;
}
.footer__logo{
    width: 100%;
    height: auto;
    margin: 20px 0 40px 0;
    .logo{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        color: var(--bacground-light);
        font-size: 26px;
        .video-like-image-f{
            background-image: url("../img/im-sphere-sprite.svg?v=2");
            background-repeat: no-repeat;
            background-size: 4700% 100%;
            background-position: 0% 0%;
            filter: grayscale(1) invert(1); 
            animation: imsim-logo-frames 3s steps(47, jump-none) infinite;
            width: 34px;
            height: 34px;
            margin-right: 9px;
        }
        @keyframes imsim-logo-frames {
            from { background-position: 0% 0%; }
            to   { background-position: 100% 0%; }
        }

        @media (prefers-reduced-motion: reduce) {
            .video-like-image {
                animation: none;
                background-position: 0% 0%;
            }
        }
    }
}
.footer__inner{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    height: auto;
    .footer__item{
        width: 100%;
        max-width: 630px;
        height: auto;
        .footer__flex-wrap{
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: flex-start;
            align-items: flex-start;
            gap: 86px;
            .footer__links{
                width: 280px;
                height: auto;
                a{
                    display: block;
                    color: var(--text-main);
                    padding: 6px 0;
                    font-feature-settings: 'ss02' on, 'ss03' on, 'liga' off;
                    font-family: 'Satoshi';
                    font-size: 15px;
                    font-weight: 500;
                    line-height: 19.6px;
                    text-decoration: none;
                    transition: color .3s ease-in-out;
                    &:hover{
                        color: var(--text-placeholder);
                    }
                }
            }
            .footer__contacts{
                width: 260px;
                height: auto;
            }
        }
    }
}
.form-container{
    position: relative;
    width: 572px;
    height: auto;
    max-height: 457px;
    padding: 8px;
    float: right;
    background: var(--menu-btn);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    form{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        label{
            width: 100%;
            color: var(--text-main);
            font-family: 'Roboto-mono';
            font-size: 11px;
            font-weight: 500;
            line-height: 12px; /* 109.091% */
            letter-spacing: -0.44px;
            background: var(--footer-input);
            border-radius: 12px;
            padding: 8px 8px;
            text-transform: uppercase;
            transition: all .3s ease-in-out;
        }
        label:hover{
            background: var(--border-hero);
        }
        input{
            width: 100%;
            height: 20px;
            margin-top: 8px;
            color: var(--text-main);
            font-family: 'Satoshi';
            font-feature-settings: 'ss02' on, 'ss03' on, 'liga' off;
            font-size: 15px;
            font-weight: 500;
            line-height: 19.6px;
            background: transparent;
            border-radius: 6px;
            &::placeholder{
                color: var(--text-h4);
                font-family: 'Satoshi';
                font-feature-settings: 'ss02' on, 'ss03' on, 'liga' off;
                font-size: 15px;
                font-weight: 500;
                line-height: 19.6px;
            }
        }
        textarea{
            width: 100%;
            margin-top: 8px;
            resize: none;
            background: transparent;
            color: var(--text-main);
            font-family: 'Satoshi';
            font-feature-settings: 'ss02' on, 'ss03' on, 'liga' off;
            font-size: 15px;
            font-weight: 500;
            line-height: 19.6px;
            &::placeholder{
                color: var(--text-h4);
                font-family: 'Satoshi';
                font-feature-settings: 'ss02' on, 'ss03' on, 'liga' off;
                font-size: 15px;
                font-weight: 500;
                line-height: 19.6px;
            }
        }
        .form-text{
            width: 100%;
            color: var(--text-h4);
            font-family: 'Roboto-mono';
            font-size: 11px;
            font-weight: 500;
            line-height: 12px;
            margin: 1px 0 0 18px;
            letter-spacing: -0.44px;
            text-align: left;
            text-transform: uppercase;
        }
        .form-flex{
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: nowrap;
            width: 100%;
            height: 56px;
            margin-top: -8px;
            padding: 0px 8px;
            p{
                padding: 0;
                margin: 0;
                color: var(--text-main);
                font-family: 'Satoshi';
                font-size: 14px;
                font-weight: 500;
                line-height: 16px;
                letter-spacing: 0;
            }
            button{
                display: inline-flex;
                justify-content: center;
                align-items: center;
                padding: 9px 18px 11px 18px;
                border-radius: 20px;
                background: var(--btn-primary);
                backdrop-filter: blur(8px);
                color: var(--button-primary-text-default, #FFF);
                font-feature-settings: 'ss02' on, 'ss03' on, 'liga' off;
                font-family: 'Satoshi';
                font-size: 15px;
                font-weight: 500;
                line-height: 19.6px;
                margin-top: 10px;
                transition: background .3s ease-in-out;
                cursor: pointer;
            }
            button:hover{
                background-color: var(--btn-primary-hover);
            }
        }
    }
}

.footer__title{
    color: var(--text-h4);
    font-family: 'Roboto-mono';
    font-size: 11px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: -0.44px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.footer__text{
    color: var(--text-main);
    font-family: 'Satoshi';
    font-size: 12px;
    font-weight: 500;
    line-height: 16.8px;
}
.flex-link{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    a{
        display: block;
        color: var(--text-main);
        padding: 6px 0;
        font-family: 'Satoshi';
        font-feature-settings: 'ss02' on, 'ss03' on, 'liga' off;
        font-size: 15px;
        font-weight: 500;
        line-height: 19.6px;
        text-decoration: none;
        transition: color .3s ease-in-out;
        &:hover{
            color: var(--text-placeholder);
        }
    }
}
.footer__contacts a{
    display: block;
    color: var(--text-main);
    padding: 6px 0;
    font-family: 'Satoshi';
    font-size: 15px;
    font-weight: 500;
    line-height: 19.6px;
    text-decoration: none;
    transition: color .3s ease-in-out;
    &:hover{
        color: var(--text-placeholder);
    }
}
.footer__copyright{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 40px 0;
    padding: 20px 0;
    .copyryght{
        color: var(--text-h4);
        font-family: 'Satoshi';
        font-size: 14px;
        font-weight: 500;
        line-height: 19.6px;
    }
    .copyright-links{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 40px;
        a{
            color: var(--text-h4);
            font-feature-settings: 'ss02' on, 'ss03' on, 'liga' off;
            font-family: 'Satoshi';
            font-size: 15px;
            font-weight: 500;
            line-height: 19.6px;
            text-decoration: none;
            &:hover{
                color: var(--text-placeholder);
            }
        }
    }
}
.mt36{
    margin-top: 36px;
}
.mt57{
    margin-top: 57px;
}
.mt74{
    margin-top: 74px;
}
.mt80{
    margin-top: 80px;
}
.mt97{
    margin-top: 97px;
}

.hidden{
    display: none;
}