@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Allura&family=BIZ+UDPGothic:wght@400;700&display=swap');

@media (prefers-color-scheme: light) {
    /* www.happyhues.co/palettes/3 */
    :root {
        --background-color: #fffffe;
        --area-color: #dff5fe;
        --primary-text-color: #094067;
        --secondary-text-color: #596675;
        --highlight-color: #3da9fc;
        --highlight-shadow: #3da9fc7f;
        --left-gradient: linear-gradient(90deg,#0940675e,60%,#09406700);
        --right-gradient: linear-gradient(270deg,#0940675e,60%,#09406700);
        --wk-left-gradient: -webkit-linear-gradient(90deg,#0940675e,60%,#09406700);
        --wk-right-gradient: -webkit-linear-gradient(270deg,#0940675e,60%,#09406700);
    }
}

@media (prefers-color-scheme: dark) {
    /* www.happyhues.co/palettes/4 */
    :root {
        --background-color: #242629;
        --area-color: #16161a;
        --primary-text-color: #fffffe;
        --secondary-text-color: #94a1b2;
        --highlight-color: #7f5af0;
        --highlight-shadow: #7f5af07f;
        --left-gradient: linear-gradient(90deg,#fffffe5e,60%,#fffffe00);
        --right-gradient: linear-gradient(270deg,#fffffe5e,60%,#fffffe00);
        --wk-left-gradient: -webkit-linear-gradient(90deg,#fffffe5e,60%,#fffffe00);
        --wk-right-gradient: -webkit-linear-gradient(270deg,#fffffe5e,60%,#fffffe00);
    }
}

html {
    font-size: 18px;
    font-family: 'BIZ UDPGothic', 'Material Symbols Outlined', sans-serif;
}

body {
    background-color: var(--background-color);
}

h1 {
    font-size: clamp(1.333rem, 1vw + 1rem, 2rem);
    line-height: 1.3;
}

h2 {
    font-size: clamp(1.111rem, 0.5vw + 1rem, 1.333rem);
    line-height: 1.3;
}

h1, h2, li {
    color: var(--primary-text-color);
}

h3 {
    font-size: clamp(1rem, 1vw + 1rem, 1.111rem);
    line-height: 1.6;
}

h3, h4, h5, h6, p {
    color: var(--secondary-text-color)
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

a, a:hover, a:active, a:visited {
    font-size: 1.2em;
    color: var(--highlight-color);
}

.tile {
    background-color: var(--area-color);
}

header {
    background-color: var(--area-color);
}

footer {
    background-color: var(--area-color);
}

footer p {
    color: var(--primary-text-color);
    font-size: 0.7rem;
    text-align: center;
}
