@font-face {
    font-family: "Font1";
    src: url("./fonts/斗鱼追光体2.0.ttf");
}
@font-face {
    font-family: "Font2-Black";
    src: url("./fonts/NotoSerifSC-VF.ttf");
    font-weight: 800;
}
@font-face {
    font-family: "Font2-Regular";
    src: url("./fonts/NotoSerifSC-VF.ttf");
    font-weight: 400;
}
.navigation {
    margin: 0;
    width: 100%;
    height: 80px;
    background-color: rgb(63, 63, 63);
    justify-content: left;
    display: flex;
    align-items: center;
    animation: navigation 1s ease-in-out 0s forwards;
}
@keyframes navigation {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
.nav-item {
    transform: translateY(-100px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 100%;
    transition: ease-in-out 0.3s;
    animation: nav-item 0.5s ease-in-out forwards;
}
.nav-item-1 {
    animation-delay: 0.5s;
}
.nav-item-2 {
    animation-delay: 0.7s;
}
.nav-item-3 {
    animation-delay: 0.9s;
}
.nav-item-4 {
    animation-delay: 1.1s;
}
@keyframes nav-item {
    from {
        transform: translateY(-100px);
    }
    to {
        transform: translateY(0px);
    }
}
.nav-item a {
    text-align: center;
    width: 150px;
    text-decoration: none;
    margin-left: 20px;
    margin-right: 20px;
    font-family: "Font2-Black", sans-serif;
    color: white;
    font-size: 30px;
}
.nav-item:hover {
    background-color: rgb(80, 80, 80);
}
.logo {
    opacity: 0;
    user-select: none;
    margin-left: 20px;
    width: 200px;
    height: 50px;
    animation: logo-title 0.5s ease-in-out 0.5s forwards;
}
@keyframes logo-title {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}
.spacer {
    width: 2px;
    height: 60px;
    margin-left: 50px;
    background-color: rgb(80, 80, 80);
    opacity: 0;
    animation: spacer 0.5s ease-in-out 0.7s forwards;
}
@keyframes spacer {
    from {
        opacity: 0;
        height: 0px;
    }
    to {
        opacity: 1;
        height: 60px;
    }
}