header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: .5s;
    z-index: 999;
}

header.scrolled {
    background-color: #0f0f0fa1;
    backdrop-filter: blur(5px);
}

.header-wrapper {
    width: 1425px;
    padding: 25px 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
}

header.scrolled .header-wrapper {
    padding: 15px 30px;
}

.header-logo {
    width: 200px;
    position: relative;
    z-index: 999;
    transition: .5s;
}

.header-logo img {
    width: 100%;
}

.header-buttons-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
    width: 470px;
}

.header-button {
    text-decoration: none;
    color: #CECECE;
    transition: .3s;
    cursor: pointer;
}

.header-button:hover {
    color: #FFFFFF;
    font-weight: 700;
}

.header-button-lk {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    width: 160px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF20;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
    text-decoration: none;
}

.header-button-lk:hover, .header-mobile-button-lk:hover {
    background-color: #FFFFFF40;
}

.header__menu {
    display: none;
    position: absolute;
    right: 30px;
}

#menu li {
    text-align: center;
    margin-bottom: 25px;
    margin-right: 0;
}

#menu li a {
    font-size: 20px;
}

#menu__toggle {
    opacity: 0;
}

.menu__btn {
    display: flex;
    align-items: center;
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: .3s;
}

.menu__btn > span::before {
    content: '';
    top: -10px;
}

.menu__btn > span::after {
    content: '';
    top: 10px;
}

#menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
}

#menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
}

#menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}

.header-mobile {
    width: 100vw;
    height: 200vh;
    inset: 0;
    background-color: #0F0F0F;
    position: fixed;
    z-index: 1;
    left: 100vw;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
}

.header-mobile.open {
    left: 0;
}

.header-mobile-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 150px;
    gap: 30px;
}

.header-mobile-button {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.header-mobile-button-lk {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    width: 160px;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF20;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
    text-decoration: none;
}

@media (max-width: 1630px) {
    .header-wrapper {
        width: 1160px;
    }
}

@media (max-width: 1230px) {
    .header__menu {
        display: flex;
    }

    .header-buttons-container, .header-button-lk {
        display: none;
    }
}

@media (max-width: 840px) {
    .header-logo {
        width: 130px;
    }
}