:root {
    --height-header: 2.2rem;
}

header {
    width: auto;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    z-index: 1000;
    gap: 1rem;
}

.logo {
    display: block;
    background: url(../img/logo.svg);
    background-size: cover;
    aspect-ratio: 1;
    height: var(--height-header);
}

.namesite {
    color: white;
}

.header-list {
    width: min-content;
    gap: 0.5rem;
    height: var(--height-header);
    border-radius: 5px;
    color: white;
    transition: 0.2s ease;
}

.header-list-name {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.morecon {
    flex: 1;
    border-radius: 15px;
    background: var(--bci);
    border: solid 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    color: white;
}

.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

/*.marquee:hover {animation-play-state: paused;}*/ 

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.panel {
    height: var(--height-header);
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    gap: 0.5rem;
}

.setting {
    color: white;
    padding: 0 0.5rem;
    height: 100%;
    border-radius: 15px;
    cursor: pointer;
}

.setting:hover {
    background: rgba(121, 121, 121, 0.445);
}

.projects {
    border-radius: 15px;
    padding: 0 0.5rem;
    height: 100%;
    cursor: pointer;
    transition: 0.3s ease;
}

.projects:hover {
    background: rgba(121, 121, 121, 0.445);
}

.PP {
    height: 100%;
    cursor: pointer;
}

.PP img {
    height: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid white;
}

.PP img:hover {
    border: 1px solid rgb(192, 192, 192);
}




.game-list-header {
    position: absolute;
    width: 10rem;
    height: min-content;
    background: rgb(39, 39, 39);
    border: 1px solid rgb(131, 131, 131);
    top: calc(100% + 0.5rem);
    z-index: 200;
    border-radius: 1rem;
    overflow: hidden;
}

.game-list-header span {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    padding: 0.3rem 0;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
}

.game-list-header span:hover {
    color: rgb(0, 0, 0);
    background: rgba(223, 223, 223, 0.788);
    transition: 0.2s ease;
}

.rot-btn {
    transform: rotate(180deg);
    transition: 0.2s ease;
}






.no-select {
    user-select: none; /* Для современных браузеров */
    -webkit-user-select: none; /* Для Safari */
    -moz-user-select: none; /* Для Firefox */
    -ms-user-select: none; /* Для Internet Explorer/Edge */
}






@media (max-width: 750px) {
    .header-list-name {
        display: none;
    }
}