@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body {
    background-color:#111;
    color:#eee;
    font-family:"Raleway", sans-serif;
    font-size:13pt;
    line-height: 1.6em;
    margin:0;
    font-variant-ligatures: none;
}

h1, h2, h3 {
    line-height: 1em;
    font-weight:normal;
    font-family:"Arvo";
}

h1, h2 {
    text-align:center;
}

h2 {
    font-size:20pt;
}

hr {
    width: 200px;
}

a {
    color:#FB8;
}

a .fa, a .fab, a .fal, a .far, a .fas {
    text-decoration: inherit;
}

section {
    margin-top:4em;
}

.spacer {
    height: 1em;
}

.hidden {
    display: none;
}

.small-only, .topbar-item.small-only {
    display: none;
}

.muted {
    color: #ccc;
}

#title {
    font-size:40pt;
}

#topbar {
    z-index:100;
    top:0;
    background-color:#222;
    list-style-type:none;
    margin:0;
    padding:0;
    width:100%;
    text-align:center;
    display: flex;
    justify-content:center;
    position: sticky;
}

.topbar-item {
    font-size: 16pt;
    box-sizing: border-box;
    display: block;
    padding: 10px 20px;
    height: 100%;
    text-decoration: none;
    text-align: center;
    background-color:#222;
}

.topbar-item:hover{
    background-color:#313435;
}

#container {
    position:relative;
    max-width:80%;
    margin: 0 auto;
    padding:0 0 100px;
}

#header {
    position:relative;
    display:block;
    color:white;
    width:100%;
    min-height:400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing:border-box;
    background-image:url(/images/NASA.jpg);
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    text-decoration:none;
}

#headerbox {
    display:inline-block;
    width:300px;
    height: 300px;
    padding:0;
    margin-top: auto;
    margin-bottom: auto;
    position:relative;
}

#headeroverlay {
    opacity:0;
    transition:0.4s all ease-in-out;
}

#header:hover #headeroverlay {
    opacity:1;
}

#headerbox img {
    top:0;
    left:0;
    position:absolute;
    width: 100%;
    height: 100%;
}

.splash {
    max-width: 70%;
    max-height: 300px;
}

.row {
    display: flex;
    gap: 2rem;
}

.volume-row {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
}

.volume-row:not(:first-of-type) {
    /*border-top: 1px solid #ccc;*/
}

.chapter-column {
    flex-grow: 1;
    flex-basis: 70%;
}

.links-column {
    flex-basis: 30%;
}

.chapter-cover {
    flex-shrink: 1;
}

table {
    border-collapse:collapse;
}

.list {
    box-sizing:border-box;
    font-family:"Overpass Mono","Courier New",sans-serif;
    flex-basis: 90%;
}

.cell-row {
    display:flex;
    box-sizing:border-box;
    margin: 0;
    text-decoration: none;
}

.cell {
    flex-grow: 1;
    padding:5px;
    margin: 0;
    display:inline-block;
    box-sizing:border-box;
}

.cell-row:hover {
    border-radius:5px;
    background-color: rgba(255,255,255,0.3);
}

.cell.title {
    width:70%;
}

.cell.date {
    width:30%;
    text-align:right;
}

blockquote {
    border:1px solid white;
    border-left:4px solid white;
    background-color:#212425;
    padding:30px 40px;
    margin:30px;
    border-top-right-radius:10px;
    border-bottom-right-radius:10px;
    
}

blockquote p, blockquote details {
    margin:0.6em 0;
}

.volume-title {
    text-align: center;
    margin: 0;
}

.volume-cover {
    max-height: 150px;
    margin-top: 10px;
}

#canvasdiv {
    display:inline-block;
    position:relative;
}

#storymap {
    text-align:center;
}

#blog h3 {
    margin-bottom: 0;
}

@media only screen and (max-width : 768px) {
    body {
        font-size: 14pt;
    }
    
    h2 {
        font-size: 24pt;
    }
    
    .small-only, .topbar-item.small-only {
        display: block;
    }
    
    .big-only {
        display: none !important;
    }
    
    section {
        margin-top: 3em;
    }
    
    .row {
        display: block;
    }
    
    #container {
        max-width: 90%;
    }
    
    #topbar {
        position: relative;
        font-size: 20pt;
    }
    
    #topbar:not(.big-only) {
        display: block;
    }
    
    .topbar-item {
        width: 100%;
    }

    .topbar-item:hover{
        background-color: transparent;
    }
    
    .splash {
        width: 100%;
    }
    
    .list {
        margin: 0;
    }
    
    .cell-row {
        padding: 8px;
    }
    
    blockquote {
        margin: 0;
    }
    
    #headerbox {
        width: 300px;
        height: 300px;
    }
    
}