@font-face {
    font-family: "Jetbrains Bold";
    src: url('webfonts/JetBrainsMono-Bold.woff2') format('woff2');
}

:root {--font-size: 1em;}

.caption {font-size: calc(var(--font-size) - 15%);}

h1 {text-align: center;}
h3{padding: .8em;}

p {
    font-size: var(--font-size);
    padding: .8em;
}

main{
    grid-template-areas: 
        "nav box"
        "sidebar box";
}

.sidebar h1 {
    padding: .7em;
    font-size: 1.3em;
    text-align: center;
    margin: 1vh;
    text-decoration: underline;
}

.subtext {
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 0;
}

/*fiddly with the spacing and such*/
.box {
    display: flex;
    flex-direction: row;
}

/*Actual content*/
.posts div {
    background-color: rgb(254, 249, 255);
    flex-basis: 35vw;
    height: auto;
    flex-shrink: 0;
    border: 2.1px solid #280137;
    margin: 1.5vw;
    padding: 1vw;
}

/*Sidebar stuff*/
.quicklinks {
    position: sticky;
    top: 438px;
    column-gap: 3vw;
    background-color: rgb(254, 249, 255);
    border: 2px, solid #1e0d63;
}

.quicklinks ul{

    display: flex;
    list-style-type: none;
    flex-direction: column;
    justify-self: center;
    text-align: center;
    padding-left: 0px;
    width: 10vw;

}

.quicklinks li {

    padding: 0.2em;

    margin: 1px;
}

@media only screen and (max-width: 850px) {
    .box {flex-direction: column;}
    .sidebar {width: auto; height: auto;}
    .quicklinks ul {
        flex-wrap: wrap;
        flex-direction: row;
        width: auto;
        justify-content: left;
        margin-left: 4px;
        margin-right: 4px;
    }

    .posts {width: auto; height: auto;}
}