html, body {
    height: 100%;
}

body {
    font-family: "JetBrains Mono", -apple-system, system-ui, "Microsoft YaHei", sans-serif;
}

.normal-font {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.logo {
    max-width: 4.5rem;
    border-radius: 50%;
}

.logo-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-text {
    margin-bottom: 0;
    margin-left: 1.5rem;
    text-align: left;
}

.logo-text-up {
    margin-bottom: -5px;
    font-size: 20px;
    opacity: 0.7;
}

.logo-text-down {
    font-size: 40px;
    margin-bottom: 0;
    letter-spacing: 2px;
    font-weight: 700;
}

.link-group {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    flex-wrap: wrap;
}

.main-link {
    color: #222;
    transition: all 0.25s;
    line-height: 3.3rem;
    text-decoration: none;
}

.main-link:hover {
    color: #5887FC;
    text-decoration: none;
}

#colormode {
    position: fixed;
    margin-left: 4px;
    margin-right: 4px;
    bottom: 1em;
    right: 1em;
    color: #222;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#colormode:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] body {
    background-color: #1d1d1d;
    color: rgba(255, 255, 255, 0.9);
}

[data-theme='dark'] .main-link {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme='dark'] .main-link:hover {
    color: #0072ff;
    text-decoration: none;
}

[data-theme='dark'] #colormode {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme='dark'] #colormode:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .logo-text-down {
        font-size: 28px;
    }
    .logo-text-up {
        font-size: 16px;
    }
    .logo {
        max-width: 3.5rem;
    }
    .link-group {
        column-gap: 6px;
    }
}
