:root {
    --nav-bg: #141414;
    --nav-color: white;
    --nav-hover-color: var(--nav-bg);
    --nav-button: rgb(75, 75, 75);
    --nav-hover: rgb(189, 189, 189);
}

body {
    margin: 0;
    background-color: black;
    user-select: none;
    -moz-user-select: none;
    overflow: hidden;
}

.main {
    display: flex;
    flex-direction: row;
    background-color: var(--nav-bg);
}

.main div {
    display: inline-block;
    width: 100%;
    align-content: center;
}

.main div:not(:nth-child(2)) a, select {
    display: inline-block;
    align-content: center;
    text-align: center;
    height: 50px;
    padding: 0 12px;
    width: fit-content;
    cursor: pointer;
    font-weight: bold;
    color: var(--nav-color);

    background: linear-gradient(to bottom, var(--nav-hover) 50%, var(--nav-button) 50%) bottom;
    background-size: 200% 200%;
    transition: transform 0.25s, color 0.25s, background-position 0.25s;
}

select {
    border: none;
    outline: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

select:hover, select:focus {
    background-position: top;
    color: var(--nav-hover-color);
}

select option {
    text-align: left;
}

.main div:not(:nth-child(2)) a:hover {
    background-position: top;
    color: var(--nav-hover-color);
}

.main div:nth-child(2) {
    width: fit-content;
}

.main div:last-child {
    text-align: right;
}

#ye {
    padding: 16px 10px;
    font-weight: bold;
    font-size: 100%;
    color: var(--nav-color);
    cursor: pointer;
}

#ye:hover {
    background-image: linear-gradient(to top, rgb(255, 0, 0), rgb(0, 255, 0), rgb(255, 0, 0));
    background-size: 200% 200%;
    background-position: 0 0;
    animation: buttonbg 2s infinite linear;
    mix-blend-mode: color-dodge;
}

div p {
    padding: 0;
    margin: 0;
    color: white;
    animation: rework 1s infinite linear;
    background-image: linear-gradient(to right, rgb(14, 14, 14), rgb(75, 75, 75), rgb(14, 14, 14));
    background-size: 200% 100%;
    background-position: 0 0;
    text-align: center;
}

div:hover p {
    animation-play-state: paused;
    background-position-x: 50% !important;
}

.h:hover {
    cursor: pointer;
}

@keyframes buttonbg {
    0% {
        background-position-y: 0%;
    }
    50% {
        background-position-y: 100%;
    }
    100% {
        background-position-y: 200%;
    }
}

@keyframes rework {
    0% {
        background-position-x: 0%;
    }
    100% {
        background-position-x: 200%;
    }
}