@charset "UTF-8";

/*!

    Omikuji

    Coded by よね/Yone
    Licensed under the CC0 1.0 Universal.

    https://github.com/yone1130/omikuji

*/

:root {
    --font-family: "Local Noto Sans JP", "Noto Sans JP", Arial, sans-serif;
    --font-size: 16px;
    --font-weight: 400;
    --theme-bgcolor: #d84;
    --theme-color: #fff;

    font-size: var(--font-size);
    font-weight: var(--font-weight);

    @media (width < 366px) {
        --font-size: 12px;
    }
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--theme-bgcolor);
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    color: var(--theme-color);

    & * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: var(--font-size);
}

/* button */

.button {
    border-radius: 100lvw;
    padding: 0.5rem 1rem;
    background-color: #222;
    color: #eee;
    text-decoration: none;

    cursor: pointer;
    user-select: none;

    transition: background-color 0.3s,
        color 0.3s;

    &:hover {
        background-color: #eee;
        color: #222;
    }
}