.footer{
    width: 100%;
    height: 684px;
}
.footer_Content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer_Ticker {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 80%, transparent);
}

.footer_Ticker_inner {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerMove 40s linear infinite;
}

.footer_Ticker_text {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.footer_TTicker_img {
    width: 38px;
    height: 38px;
    margin: 0 30px;
}

/* Плавная бесконечная анимация */
@keyframes tickerMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


.footer_Ticker_text{
    display: inline-flex;
    align-items: center;
    color: #7684CC;
    font-size: 32px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Анимация движения тикера */
@keyframes tickerMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer_Big_logo {
    color: #7684CC;
    display: block;
    width: 100%;     /* внутренние отступы слева и справа */
    text-align: center;
    font-size: 15em;
    font-weight: bold;
}

.footer_body{
    margin-top: -74px;
    background-color: #7684CC;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_body_content{
    display: flex;
    justify-content: space-between;
    width: 1280px;
    margin-top: 50px;
}
.footer_body_left{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 240px;
    z-index: 1;
}
.footer_body_center{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 280px;
    height: 390px;

}
.footer_small_logo {
    color: #F9FAFB;
    display: block;   /* внутренние отступы слева и справа */
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer_text_h1 {
    color: #F9FAFB;
    font-size: 30px;
    margin-bottom: 30px;
}
.footer_text_h2 {
    color: #FFFFFF;
    font-size: 16px;
}
.footer_text_h2_shadow {
    text-shadow:
            0 0 3px rgba(255, 255, 255, 0.4),
            0 0 8px rgba(100, 124, 153, 0.6),
            0 1px 6px rgb(117, 132, 214);
}

.email-form {
    background-color: rgba(107, 127, 215, 0);
    padding:  10px 10px 10px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}
.email-input::placeholder {
    color: #FFFFFF;
}
.email-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;

    color: #FFFFFF;
}
.submit-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #FFFFFF;
}
.footer_line{
    display: block; /* обязательно, чтобы ширина и высота работали */
    width: 100%;    /* растягиваем на ширину родителя */
    height: 1px;
    background-color: rgba(229, 231, 250, 0.25);
    margin-top: -5px ;
    margin-bottom: 15px ;
}
.footer_messenger {
    width: 100%;
    justify-content: flex-start;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.footer_img_messenger{
    width: 22px;
    height: 22px;
}
.footer_img_1{
    position: absolute;
    width: 450px;
    height: 439px;
    left: 0;
    z-index: 0;
}
.footer_body_content_menu_all{
    width: 374px;
    height: 320px;
}
.footer_body_content_menu{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 374px;
    height: 288px;
}
.footer_body_top_content{
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    width: 324px;
    height: 320px;
}





.link_footer_menu {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    margin-right: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    vertical-align: middle;
}

/* Две копии текста внутри */
.link_footer_menu span {
    display: block;
    transition: transform 0.3s ease;
}

.link_footer_menu span.bold-text {
    position: absolute;
    top: 0;
    left: 0;

    color: #ffffff; /* цвет при наведении */
    transform: translateY(100%); /* спрятан снизу */
}

/* При наведении: поднимаем обычный текст, показываем жирный */
.link_footer_menu:hover span.normal-text {
    color: #ffffff;
    transform: translateY(-100%);
}

.link_footer_menu:hover span.bold-text {
    transform: translateY(0);
}










.link_footer_menu::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    color: #F9FAFB;
    font-weight: 600;
    transition: transform 0.5s ease;
}

.link_footer_menu a {
    display: block;
    transition: transform 0.5s ease;
}

.link_footer_menu:hover a {

    transform: translateY(-100%);
}

.link_footer_menu:hover::after {
    transform: translateY(-100%);
}



.footer_body_left_content{
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}
.footer_body_right_content{
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.footer_body_bottom_content{
    display: flex;
    justify-content: space-between;
    height: 82px;
    width: 100%;
    align-items: flex-end;
}
.headline_img_wrapper {
    position: relative;
    width: 30px; /* ширина картинки */
    height: 80px; /* высота картинки */
    overflow: hidden; /* скрываем лишнее */
}

.headline_img_wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.headline_img_wrapper img:last-child {
    transform: translateY(100%); /* вторая картинка изначально ниже */
}

.top_Headline:hover .headline_img_wrapper img:first-child {
    transform: translateY(-100%); /* первая картинка поднимается вверх */
}

.top_Headline:hover .headline_img_wrapper img:last-child {
    transform: translateY(0); /* вторая картинка поднимается на место первой */
}


/* Планшеты: до 1024px */
@media (max-width: 1024px) {
    .footer {
        height: auto;

    }

    .footer_Content {
        padding: 0;
    }

    .footer_Ticker {
        height: auto;
        margin-top: 15px;
    }

    .footer_TTicker_img{
        width: 20px;
        height: 20px;
        margin: 0 20px;
    }
    .footer_Ticker_text {
        font-size: 20px;
        margin: 0;
    }

    .footer_Big_logo {
        font-size: 0em;
    }

    .footer_body {
        flex-direction: column;
        height: auto;
        margin-top: 10px;
    }

    .footer_body_content {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        align-items: center;
    }

    .footer_body_left,
    .footer_body_center,
    .footer_body_content_menu_all {
        width: 80%;
        height: auto;
        margin-bottom: 30px;
    }
    .footer_body_content_menu{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: auto;
        height: auto;
    }
    .footer_small_logo {
        font-size: 50px;
    }

    .footer_text_h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .footer_text_h2 {
        font-size: 14px;
        box-shadow: #1A171B;
    }

    .email-form {
        flex-direction: row;
        align-items: stretch;
        width: 90%;
    }

    .email-input {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .submit-btn {
        font-size: 18px;
    }

    .footer_messenger {
        margin-top: 100px;
        justify-content: center;
    }
}

/* Телефоны: до 768px */
@media (max-width: 768px) {


    .footer_Ticker_text {
        font-size: 18px;

    }

    .footer_body_content {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .footer_body_left,
    .footer_body_center,
    .footer_body_content_menu_all {
        width: 90%;

    }

    .footer_small_logo {
        font-size: 40px;
    }

    .footer_text_h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .footer_text_h2 {
        font-size: 12px;
    }



    .email-input {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .submit-btn {
        font-size: 16px;
    }

    .footer_body_bottom_content {
        flex-direction: row;
        height: auto;
        gap: 10px;
    }

    .footer_messenger {
        margin-top: 50px;
        justify-content: center;
    }

    .footer_img_1 {
        width: 200px;
        height: auto;
        position: relative;
        left: 0;
        display: none;
    }
}
