/* Bulletin Section */

@import url("/assets/fonts/European-Teletext/font.css");
@import url("/assets/styles/posts.css");

:root {
    --main-font: "European Teletext";
    --teletext-blue: #8cfbfc;
    --teletext-yellow: #fbfe58;
    overflow-wrap: anywhere;
}

header {
    background: linear-gradient(to right,
                #FFFFFE 14.28%,
                #FBFE58 14.28% 28.57%,
                #8CFBFC 28.57% 42.86%,
                #84FA50 42.86% 57.14%,
                #E13BF5 57.14% 71.43%,
                #DD3628 71.43% 85.71%,
                #341CF3 85.71%);
}

header a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
}

header a:hover {
    color: initial;
}

header h1 {
    margin: 0;
}

hr {
    border: none;
    border-top: 3px dashed #fff;
    width: 100%;
}

a {
    color: var(--teletext-blue);
}

a:hover {
    color: var(--teletext-yellow);
}

.ascii {
    margin: 0;
}

.feature {
    border-width: 3px 0 3px 0;
    border-style: dashed;
    border-color: #fff;
    margin-bottom: 10px;
}

.feature h2 {
    margin: 0.5rem;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    column-gap: 1rem;
    font-size: 2rem;
}

#info {
    display: grid;
    grid-template: min-content / repeat(3, 1fr);
    align-items: center;
}

#info a {
    justify-self: center;
    text-align: center;
}

#info span:last-child {
    justify-self: end;
    text-align: right;
}

/* mobile */

@media screen and (max-width: 600px) {
    #info {
        grid-template: repeat(3, min-content) / 1fr;
    }

    #info span:first-child, #info span:last-child {
        justify-self: center;
    }
}