:root {
    --neon-color: #fff; /* основной цвет */
}
.logo-tm{
    vertical-align: top;
}
.neon-btn,.neon-btn:hover,.neon-btn:active {
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    color: var(--neon-color);
    background: transparent;
    border: 2px solid var(--neon-color);
    padding: 15px 28px 10px;
    border-radius: 10px;
    cursor: pointer;
    text-shadow: 0 0 5px var(--neon-color),
    0 0 10px var(--neon-color),
    0 0 20px var(--neon-color);
    box-shadow: 0 0 5px var(--neon-color),
    0 0 10px var(--neon-color) inset,
    0 0 20px var(--neon-color) inset,
    0 0 30px var(--neon-color);
    animation: flicker 2s infinite;
}

/* Эффект мерцания */
@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px var(--neon-color),
        0 0 10px var(--neon-color),
        0 0 20px var(--neon-color),
        0 0 40px var(--neon-color);
        box-shadow: 0 0 5px var(--neon-color),
        0 0 15px var(--neon-color) inset,
        0 0 30px var(--neon-color) inset,
        0 0 50px var(--neon-color);
    }
    20%, 24%, 55% {
        opacity: 0.6;
        text-shadow: none;
        box-shadow: none;
    }
}


header{
    position: absolute;
    top: 0;
    width: 100%;
    padding-top: 10px;
    z-index: 2;
    transition: transform 0.6s ease, opacity 0.6s ease, background 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}
header.header-fixed {
    background: var(--primary-color);
    position: fixed;
    padding-top: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    opacity: 1;
    transform: translateY(-100%); /* начнём выше экрана */
    animation: slideDown 0.6s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.header-fixed>.container{
    max-width: 100%;
    padding: 10px 20px;
}
.header-fixed>.container>.row{
    justify-content: space-between;
}
.header-fixed .logo-block{
    order: 1;
    max-width: 250px;
}
.header-fixed .logo-block a{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.header-fixed .logo-block img{
    max-height: 50px;
    width: 100%;
}

.header-fixed .menu-block{
    order: 2;
    width: auto;
}
.header-fixed .btn-block{
    order: 3;
    max-width: 250px;
}
.header-fixed .btn-block input{
    line-height: 50px;
    height: 50px;
    padding: 0 28px;
}
.header-fixed .dropdown-menu{
    background: var(--primary-color) !important;
    padding-left: 10px;
    border-radius: 15px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.4);
}
.header-fixed #w1{
    margin-bottom: 0;
}

.logo{
    width: 300px;
    margin-right: 5px;
}
.col-menu{
}
ul.navbar-nav{
    width: auto;
    margin: 0 auto 15px;
}
li.nav-item{
    margin: 0 15px;
}
.navbar-light{
    background: none !important;
}
.navbar-nav .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show{
    color: #fff;
}
.nav-link:hover{
    text-decoration: underline;
}
.dropdown-menu, .dropdown-menu *{
    background: none !important;
    border: none;
}
.dropdown-menu a{
    color: #ffffffb8 !important;
}
.dropdown-menu a:hover{
    color: #ffffffb8;
}
.dropdown-item {
    position: relative;
    padding-left: 15px; /* Отступ для кружка */
}

.dropdown-item::before {
    content: "";
    position: absolute;
    left: 0px; /* Положение кружка */
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #d09c63;
    border-radius: 50%;
}





.block-0{
    min-height: 100vh;
    width: 100%;
    background-image: url("/images/bg-header.webp");
    background-position: top center;
    background-size: cover;
}
.scroll-icon{
    position: absolute;
    cursor: pointer;
    bottom: 30px;
    margin: auto;
    right: 0;
    left: 0;
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 16px;
    opacity: 0.8;
}
.scroll-icon::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: move 1s infinite;
}

@keyframes move {
    0% { top: 10px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}



#menu-num{
    position: absolute;
    top: 50%;
    right: 30%;
    color: #fff;
    font-size: 73px;
    display: none;
}



@media(max-width:1270px) {
    .header-fixed li.nav-item {
        margin: 0;
    }
    .header-fixed .logo-block{
        max-width: 225px;
    }
}

@media(max-width:1150px) {
    .header-fixed li.nav-item {
        margin: 0;
    }
    .header-fixed .logo-block{
        max-width: 225px;
    }
    .header-fixed .menu-block{
        order: 4;
        width: 100%;
    }
    .navbar-toggler{
        margin: 10px auto;
    }
    .navbar-toggler-icon{
        background-image: var(--bs-navbar-toggler-icon-bg);
    }
    .header-fixed .btn-block{
        max-width: 306px;
    }
}
@media(max-width:550px) {
    .header-fixed .logo-block,
    .header-fixed .btn-block{
        max-width: max-content;
    }
    .container>.row{
        align-items: center !important;
        justify-content: center !important;
    }
    .logo-block img {
        max-height: 40px !important;
        margin-bottom: 15px;
    }
    .logo-block,
    .btn-block{
        margin: 0 ;
        max-width: max-content !important;
    }

    .btn-block input{
        padding: 15px 5px 10px 5px !important;
        font-size: 20px !important;
        height: auto !important;
        line-height: 1!important;
    }
}

@media(max-width:400px) {
    .btn-block input{
        font-size: 17px !important;
    }
}