html {
    font-size: 14px;
}

@media (max-width: 600px) {
    html {
        font-size: 10px;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', 'Times', serif;
    font-weight: 400;
    font-style: normal;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body {
    overflow: hidden;
    color: black;
}

body.mouse-idle {
    background-color: black;
    color: black;
}

body.mouse-idle .footer-line p,
body.mouse-idle .footer-line p span,
body.mouse-idle .footer-email {
    color: black;
}

body.mouse-idle .footer-link {
    color: white !important;
}

body.mouse-idle .footer-logo {
    filter: invert(1);
}

.title {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    text-align: center;
    color: #000000;
    box-sizing: border-box;
}

.title span {
    font-family: '游明朝', '游明朝体', 'Yu Mincho', 'YuMincho', 'yu-mincho-pr6n', serif;
    font-weight: 500;
    display: inline-block;
}

footer {
    position: absolute;
    bottom: 15vh;
    width: 100%;
    padding: 0 0.25rem;
    color: #808080;
    font-size: 0.8rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-line {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-line p {
    margin: 0;
}

.footer-email {
    text-decoration: none;
    color: #808080;
}

.footer-email:visited {
    color: #808080;
}

.footer-logo {
    height: 2rem;
    width: auto;
    transition: filter 0.5s ease;
}

.footer-link {
    text-decoration: none;
    color: #808080;
}

.footer-link:visited {
    color: #808080;
}