* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: black;
    font-family: "Inter";
}

    body.lock{
        overflow-y: hidden;
    }

:root{
    --sizeindex: calc(1vw + 1vh);
    --side-small: 14;
    --side-big: 17;
}

.none{
    display: none !important;
}



header{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: fixed;
    z-index: 2;
    padding: 15px 42px;
    background-color: #FFF;
    transition: .3s all ease;
}

header::after{
    content: "";
    position: absolute;
    width: calc(100% - 82px);
    height: 1px;
    bottom: 0;
    background: #E6EAF0;
}

header.shaffof{
    background-color: #ffffff00;
}


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

header .header__logo .logo{
    width: 39px;
    height: 38px;
    margin-right: 9px;
    transition: .3s all ease;
}

header.shaffof .header__logo .logo{
    filter: invert(1);
}

header .header__logo p{
    width: 186px;
    color: #35383A;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 10.006px;
    letter-spacing: -0.745px;
    transition: .3s all ease;
}

header.shaffof .header__logo p{
    color: #FFF;
}


header .header__links{
    display: flex;
    width: 100%;
    padding: 0px 10px;
    align-items: flex-start;
    gap: 19.67px;
    margin-left: 62px;
}

header .header__links .header__link{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

header .header__links .header__link a{
    display: inline-flex;
    align-items: center;
    position: relative;
    color: #35383A;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.1px;
    transition: .3s all ease;
}

header.shaffof .header__links .header__link a{
    color: #FFF;
}

header .header__links .header__link._active a{
    color: #A5A5A5;
}


header .header__links .header__link svg{
    margin-left: 9px;
}

header .header__links .header__link._active svg{
    transform: rotate(180deg);
}

header .header__links .header__link svg path{
    fill: #35383A;
    transition: .3s all ease;
}

header.shaffof .header__links .header__link svg path{
    fill: #FFF;
}

header .header__links .header__link._active svg path{
    fill: #A5A5A5;
}


header .header__links .header__link .menu_hidden_links{
    display: inline-flex;
    width: 260px;
    padding: 10px 0px;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 30px;
    z-index: 3;
    border-radius: 8px;
    border: 1px solid #E6EAF0;
    background: #FFF;
}

header .header__links .header__link .menu_hidden_links a{
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    color: #404040;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

header .header__links .header__link .menu_hidden_links a::before{
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 260px;
    height: 1px;
    background: #E6EAF0;
}

header .header__links .header__link .menu_hidden_links a:last-child:before{
    display: none;
}


header .header__button{
    display: inline-flex;
    justify-content: right;
    width: 25%;
}

header .header__button a{
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    text-decoration: none;
    line-height: 24px;
    letter-spacing: -0.1px;
    background-color: #0D42FF;
    border-radius: 30px;
    padding: 5px 15px;
    transition: .2s all ease;
}

header .header__button a:hover{
    background-color: #0c3cea;
}



header .header__menu_hidden{
    width: 100%;
    text-align: right;
}

header .header__menu_hidden svg{
    width: 25px;
    height: 27px;
    cursor: pointer;
    filter: invert(1);
}

header.shaffof .header__menu_hidden svg{
    filter: invert(0);
}
/* Styles for the loader container */
#loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

/* Styles for elements within the loader */
#loader-container .loader__logo {
    width: 380px;
    text-align: center;
    animation: 5s show ease;
}

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#loader-container .loader__logo img {
    width: 120px;
    height: 120px;
}

#loader-container .loader__logo p {
    color: #000;
    text-align: center;
    font-size: 21.855px;
    font-style: normal;
    font-weight: 500;
    line-height: 20.544px; /* 94% */
    letter-spacing: -1.53px;
}

.header__bg_link {
  text-decoration: none;
}



/* Header test */
.marquee {
  width: 100%;
  background-color: #f8d7da; /* Цвет фона */
  color: #721c24; /* Цвет текста */
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  height: 3rem;
}

.marquee p {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  animation: marquee 16s linear infinite;
}

@keyframes marquee {
  0% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}
