:root {
    --main-background-color: #eee;
    --main-text-color: #333;
    --link-color: rgb(54, 133, 185);
    --link-color-visited: rgb(37, 90, 126);
    --general-button-color: #396;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--main-text-color);
    background-color: var(--main-background-color);
    margin: 0 auto;
    background-color: #eee;
    color: #333;
}

header, main, footer {
    max-width: 90%;
    margin: 0 auto;
}

h1,
h2 {
    font-weight: bold;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    margin-top: 30px;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.7rem;
    margin-top: 20px;
    margin-bottom: 15px;
}

p {
    line-height: 1.8;
}

a {
    color: var(--link-color);
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }

    &:visited {
        color: var(--link-color-visited);
    }
}

b {
    font-weight: bold;
}

p {
    width: fit-content;
}

ul {
    width: fit-content;
    margin: 0 auto;
    padding: 10px;
    border-radius: 10px;
}

li {
    margin-left: 25px;
    list-style-type: disc;
}

hr {
    border-top: 2px solid var(--main-text-color);
}

.desc {
    width: fit-content;
    margin: 0 auto;
}

.warn {
    color: red;
    font-weight: bold;
}

#card-wrapper {
    width: min(100%, 800px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card {
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    padding: 10px;

    h3 {
        font-size: 1.2rem;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 5px;
        word-break: break-all;
    }

    .urlWrapper {
        margin-bottom: 5px;
        word-break: break-all;

        .url {
            font-family: "Noto Sans Mono", monospace;
            font-size: 0.95rem;
            font-weight: bold;
        }
    }
}

.maintained {
    border: 2px solid rgb(71, 154, 187);
    background-color: rgb(233, 238, 245);
}

.unmaintained {
    border: 2px solid rgb(240, 139, 139);
    background: repeating-linear-gradient(
        60deg,
        rgb(245, 217, 217),
        rgb(245, 217, 217) 40px,
        rgb(248, 201, 201) 40px,
        rgb(248, 201, 201) 80px
    );
}

.stable {
    border: 2px solid rgb(46, 150, 60);
    /* background-color: rgb(228, 243, 230); */
    background: linear-gradient(
        100deg,
        rgb(228, 243, 230),
        rgb(228, 243, 230) 50%,
        rgb(208, 233, 217) 50%,
        rgb(208, 233, 217) 100%
    );
}

footer {
    width: fit-content;
    margin: 30px auto;
}