@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    /* --bg: #242028; */
    --bg2: #2228;
    /* --bg2: #2d2831; */
    --bg3: #4444;
    /* --bg3: #36303a; */
    --bg4: #6664;
    /* --bg4: #3f3843; */
    --text: #f8f0ff;

    --tags: #bbb;
    --box-bg: #fff1;
}

a {
    text-decoration: none;
}

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    /* font-family:Roboto, Arial, Helvetica, sans-serif; */
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size:larger;
}

#bg {
    position:fixed;
    top:0;
    left:0;
    display:block;
    z-index: -1;
    overflow: hidden;
}

#boxgrid {
    margin: 2vw auto 2vw;
    display:flex;
    /* align-items: center; */
    justify-content: space-evenly;
    width: 80vw;
    background-color: var(--bg2);
    border-radius: 40px;
    gap: 1vw;
    padding: 1vw;
    /* min-height: 100vw; */
}

.boxcol {
    display:flex;
    flex: 1 1 0px;
    /* flex-grow: 1; */
    /* width: calc(77vw/3); */
    flex-direction: column;
    justify-content: flex-start;
    gap: 1vw;
}

.box {
    padding: 16px 8px;
    background-color: var(--bg3);
    /* flex-grow: 1; */
    min-height: 5vh;
    border-radius: 20px;
    min-height:100px;
    /* min-width: 19vw; */
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    padding: 8px;
    padding-left: 20px;
    gap:8px;
    color:var(--text);
    text-decoration: none;
    transition: background-color .3s ease-in-out;
}

.box.clickable:hover {
    background-color: var(--bg4);
}

.boxtitle {
    font-weight: bold;
    font-size:xx-large;
    align-self:center;
}

.thumbnail {
    width: 60%;
    align-self:center;
    border-radius: 20px;
}

.boxtags {
    color: var(--tags);
    font-weight: 400;
    /* font-size: medium; */
}

.boxtag {
    color: var(--tag-color);
    padding: 0px 2px;
}

.boxtag:hover {
    background-color: var(--tag-color);
    color: #222;
    font-weight: 900;
    border-radius: 4px;
}

.outerpage {
    margin: 2vw auto 2vw;
    display:flex;
    /* align-items: center; */
    width: 80vw;
    background-color: var(--bg2);
    border-radius: 40px;
    padding: 1vw;
}

.innerpage {
    flex: 1 1 0px;
    background-color: var(--bg3);
    border-radius: 20px;
    display:flex;
    flex-direction: column;
    padding: 16px 8px;
    align-items: baseline;
    justify-content: center;
    padding: 3vh 5vw;
}

hr {
    background-color: var(--text);
    width: 100%;
    height: 1px;
}

.subtitle {
    font-weight: bold;
    font-size:x-large;
}

p {
    margin: 0;
}
