@keyframes 加载界面 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes 飞机 {
    0% {
        transform: translate(-1vw, 1vh);
    }

    50% {
        transform: translate(1vw, -1vh);
    }

    100% {
        transform: translate(-1vw, 1vh);
    }
}

@keyframes 游戏手柄 {
    0% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }

    100% {
        transform: rotate(15deg);
    }
}

@keyframes 加载圆圈 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateR {
    from {
        transform: translateY(0px) rotate(0);
    }
    to {
        transform: translateY(15px) rotate(45deg);
    }
}

@keyframes rotateL {
    from {
        transform: translateY(0px) rotate(0);
    }
    to {
        transform: translateY(-15px) rotate(-45deg);
    }
}

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

@keyframes 雪花 {
    from {
        transform: translate(0, 0) rotate(0);
    }
    to {
        transform: translate(0, 110vh) rotate(365deg);
    }
}

.雪花 {
    animation: 雪花;
    animation-duration: 10s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    position: fixed;
    pointer-events: none;
    top: -10vh;
    z-index: 999;
}

@media only screen and (max-width: 750px) {
    .菜单按钮 {
        display: block !important;
    }
    .菜单按钮 + .右 {
        display: none;
    }
    .菜单按钮.已点击 + .右 {
        display: flex;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 12px 15px 0px,
            rgba(0, 0, 0, 0.19) 0px 17px 50px 0px;
        background-color: var(--theme-color5);
        border-radius: 8px;
        position: absolute;
        right: 8px;
        top: 100px;
        flex-direction: column;
        align-items: center;
    }
    #导航栏 .右 * {
        margin: 6px;
    }
    #演示 {
        display: none !important;
    }
    #截图 {
        display: flex !important;
    }
}

@media (prefers-color-scheme: light) {
    #截图 div {
        background-image: url(/img/popup-light.jpeg);
    }
}
@media (prefers-color-scheme: dark) {
    #截图 div {
        background-image: url(/img/popup-dark.jpeg);
    }
}
@media (forced-colors: active) {
    #截图 div {
        background-image: url(/img/popup-high.jpeg);
    }
}

#加载界面 {
    display: flex;
    filter: opacity(1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 998;
    background-color: var(--theme-color1);
    align-items: center;
    justify-content: center;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}

#加载界面 .加载圆圈 {
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-name: 加载圆圈;
    width: 32px;
    height: 32px;
    border-top: 2px solid;
    border-radius: 50%;
}

#回到顶部 {
    transform: translateX(64px);
    display: flex;
    border: none;
    border-radius: 8px;
    background-color: white;
    position: fixed;
    right: 16px;
    bottom: 25vh;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 8px 12px 8px 0px var(--theme-color3);
    opacity: 0.3;
    cursor: pointer;
}

#回到顶部:active {
    filter: brightness(0.8);
}

#回到顶部:focus,
#回到顶部:hover {
    opacity: 1;
}

#logo {
    width: 32px;
    height: 32px;
}

.版块 {
    margin-top: 8px;
}

.小版块 {
    background-color: var(--theme-color3);
    border: 1px solid var(--theme-color3);
    border-radius: 8px;
    padding: 8px;
}

.大标题 {
    text-align: center;
}

.装饰品 {
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    position: absolute;
    z-index: 0;
    width: 48px;
    margin: 8px;
}

.飞机 {
    animation-name: 飞机;
    left: 0;
    top: 50vh;
}

.游戏手柄 {
    animation-name: 游戏手柄;
    top: 150vh;
    right: 0;
}

.红绿灯 {
    display: flex;
    align-items: center;
}

.圆点 {
    width: 8px;
    height: 8px;
    border-radius: 8px;
}

#导航栏 {
    min-height: 86px;
    background-color: var(--theme-color1);
    backdrop-filter: blur(4px);
    border-bottom: 0.1px solid var(--theme-color3);
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    z-index: 99;
}

#导航栏 .左 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
}

#导航栏 .左,
#导航栏 .左 h1,
#导航栏 .左 img,
#导航栏 .右,
#导航栏 .右 a {
    margin-left: 4px;
    margin-right: 4px;
}

.菜单按钮 {
    display: none;
    background-color: transparent;
    border: none;
    width: 86px;
    margin-right: 4px;
    cursor: pointer;
}

.菜单按钮 .横杠 {
    height: 2px;
    width: 48px;
    display: block;
    margin: 11px 10px;
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    transition: 0.4s;
    border: 1px solid var(--theme-color2);
    background-color: var(--theme-color2);
}

.菜单按钮.已点击 .横杠:nth-of-type(1) {
    transform: translateY(15px) rotate(45deg);
}
.菜单按钮.已点击 .横杠:nth-of-type(2) {
    opacity: 0;
}
.菜单按钮.已点击 .横杠:nth-of-type(3) {
    transform: translateY(-15px) rotate(-45deg);
}

#演示,
#已支持的游戏平台,
#特色功能,
#下载 {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

#演示 .浏览器窗口 {
    min-height: 480px;
}

#截图 {
    display: none;
    justify-content: center;
}

#截图 div {
    background-size: cover;
    width: 75vw;
    border: 1px solid;
    border-radius: 8px;
}

.版块 > div {
    z-index: 2;
}

.浏览器窗口 {
    z-index: 7;
    border: 1px solid var(--theme-color3);
    border-radius: 8px;
    width: 75vw;
}

.浏览器窗口:hover {
    box-shadow: 0 12px 16px 0 var(--theme-color3);
    border: 1px solid var(--theme-color2);
}

.浏览器窗口 .标题栏 {
    width: 100%;
    height: 32px;
    border-bottom: 1px solid var(--theme-color3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.浏览器窗口:hover .标题栏 {
    border-bottom: 1px solid var(--theme-color2);
}

.浏览器窗口 .标题栏 span {
    margin-left: 8px;
}

.浏览器窗口 .标题栏 .圆点 {
    margin-right: 8px;
}

.浏览器窗口 .标题栏 .圆点:nth-child(1) {
    background-color: green;
}

.浏览器窗口 .标题栏 .圆点:nth-child(2) {
    background-color: yellow;
}

.浏览器窗口 .标题栏 .圆点:nth-child(3) {
    background-color: red;
}

.浏览器窗口 .工具栏 {
    border-bottom: 1px solid var(--theme-color3);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.浏览器窗口:hover .工具栏 {
    border-bottom: 1px solid var(--theme-color2);
}

.浏览器窗口 .工具栏 * {
    margin: 4px;
}

.浏览器窗口 .工具栏 img {
    width: 16px;
    height: auto;
}

.浏览器窗口 iframe {
    border: 1px solid var(--theme-color3);
    border-radius: 8px;
    box-shadow: 0 12px 16px 0 var(--theme-color3);
    position: absolute;
    right: calc(25vw / 2);
    top: 264px;
    width: 50vw;
    max-width: 550px;
    min-width: 348px;
    height: 284px;
    z-index: 8;
}

.浏览器窗口 .工具栏 .圆点 {
    background-color: var(--theme-color3);
}

.浏览器窗口:hover .工具栏 .圆点 {
    background-color: var(--theme-color2);
}

.横杠 {
    width: calc(100% - 116px);
    height: 8px;
    border: var(--theme-color3) solid 1px;
    border-radius: 8px;
}

.浏览器窗口:hover .横杠 {
    border: var(--theme-color2) solid 1px;
}

#演示 .浏览器窗口 .网页 {
    width: 100%;
    height: calc(482px - 58px);
    /* filter: blur(1px); */
}

.浏览器窗口 .网页 {
    background-image: linear-gradient(45deg, var(--theme-color4), transparent);
}

.浏览器窗口:hover .网页 {
    filter: brightness(1.2);
}

#下载 .浏览器窗口 .网页 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

#下载 .浏览器窗口 .网页 .小版块 {
    /* min-width: 300px; */
    margin: 8px;
    max-width: 450px;
}

#下载 .浏览器窗口 .网页 .小版块 svg {
    width: 64px;
    height: auto;
}

#页脚 {
    display: flex;
    background-color: rgb(36, 36, 36);
    border-top: 1px solid var(--theme-color3);
    align-items: center;
    margin-top: 116px;
    justify-content: space-around;
    text-align: center;
    padding: 16px;
}

#页脚,
#页脚 a {
    color: white;
}

#页脚 img {
    width: inherit;
    height: auto;
}

.正文 h1 {
    text-align: center;
}

.正文 {
    background-color: var(--theme-color5);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 12px 15px 0px,
        rgba(0, 0, 0, 0.19) 0px 17px 50px 0px;
    padding: 4%;
    margin: 4%;
    border: 1px solid transparent;
    border-radius: 8px;
}

.主要部分 {
    display: block;
}
.临时主要部分 {
    display: none;
}

#进度条 {
    position: fixed;
    width: 0%;
    height: 2px;
    top: 0;
    left: 0;
    z-index: 999;
    opacity: 1;
    background-color: #66ccff;
}

#visitor-badge {
    height: 20px;
    width: 94.6px;
}
