:root {
  --scale-base: 8px;
  --accent-color: hsl(300 100 45);
  --center-box-size: 50%;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: monospace;
    font-size: calc(var(--scale-base)*2);
    color:hsl(0 0 75);
}


html {
    width: 100%;
    min-height: 100vh;
    background-color: hsl(0 0 20);
    display: flex;
    flex-direction: column;
    align-items: center;
}


body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    flex: 1 0 auto;

    background-color: transparent;
}

header {
    height: calc(var(--scale-base)*12);
    width: 100%;
    background-color: hsl(0 00 12);
}

header > h1 {
    font-family: monospace;
}

nav {
    min-height: calc(var(--scale-base)*6);
    width: 100%;
    background-color: hsl(0 0 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: var(--center-box-size);
}

nav ul li {
    flex: 1 0 auto;
    text-align: center;
    display: block;
}

nav ul li a {
    text-decoration: none;
}

nav .current-page * {
    color: var(--accent-color);
    font-weight: 900;
    font-size: 110%;
}

main {
    height: 50px;
    min-width: var(--center-box-size);
    flex: 1 0 auto;
    background-color: transparent;

    display: flex;
    flex-direction: column;
    gap: var(--scale-base);

    margin: calc(var(--scale-base)*2) 0;
}

main > * {
    flex: 1 0 auto;
    gap: var(--scale-base);
}

main > * > * {
    flex: 1 0 auto;
}

main .content-section {
    background-color: hsl(0 0 5);
    border-radius: var(--scale-base);
    display: flex;
    padding: calc(var(--scale-base)*2) calc(var(--scale-base)*3);
}

main .about {
    flex: 0 0 auto;
    flex-direction: row;
    min-height: calc(var(--scale-base)*8);
}

main hr {
    flex: 0 0 auto;
    color: hsl(0 0 20);
}

main .socials li {
    display:inline-block;
}

main h2 {
    font-size: calc(var(--scale-base)*2.5);
    font-weight: normal;
    flex: 0 0 auto;
    width: 100%;
}

main .comics-list {
    flex-direction: column;
    align-items: center;
}

main .comics-list table {
    border-collapse: collapse;
    flex: 0 0 auto;
    width: 100%;
    /*table-layout: fixed;*/
}

main .comics-list table tr {
    border-bottom: 2px solid hsl(0 0 20);
}



td, th {
    text-wrap: wrap;
    text-align: left;
    padding: calc(var(--scale-base)*0.5);
}

th:first-child {
    width: calc(var(--scale-base)*20);
}

td:last-child {
    color: var(--accent-color);
    font-weight: 900;
}

.comic-status {
    color: hsl(0 0 50);
    font-weight: normal;
}

main .latest-art {
    flex: 1 0 auto;
    flex-direction: column;
}

main .latest-art .image-gallery {
    display: flex;
    gap: calc(var(--scale-base)*1);
    flex-wrap: wrap;
}

main .latest-art .image-gallery div {
    background-color: hsl(0 0 12);
    flex: 1 1 auto;
    min-width: 20%;
    
}

footer {
    height: 50px;
    width: 100%;
    background-color: hsl(0 0 12);
}

/* margin > border > padding > content

/*
margin-left: auto;
margin-right: auto;
*/

/*
    grid-template:
    "a a a" 40px
    "a c c" 40px
    "b c c" 40px / 1fr 1fr 1fr;
    */