@font-face {
    font-family: 'Embargo';
    src: url('../font/embargo.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'LibertineRB';
    src: url('../font/LinLibertine_RB.ttf') format('truetype');
    font-display: swap;
}

html {
    /* fluid sizing: https://frontaid.io/blog/fluid-typography-2d-css-locks-clamp/ */
    font-size: clamp(1em, 0.909em + 0.45vmin, 1.25em);
    /* use system font stack: https://developer.mozilla.org/en-US/docs/Web/CSS/font-family */
    font-family: system-ui
  }


:root {
    --background: #151515;
    --font-color: #fffff8;
}

a {
    color: var(--font-color);
}

a:visited {
    color: var(--font-color);
}

@media only screen and (max-width: 1020px) {
    blockquote {
        margin-left: 15px;
        margin-right: 15px;
    }
}
  

body {
    background-color: var(--background);
    color: var(--font-color);
    margin-left: auto;
    margin-right: auto;
    max-width: 70ch;
    /* larger spacing on larger screens, very small spacing on tiny screens */
    padding: calc(1vmin + .5rem);
}

#enter {
    position: relative;
    height: 90vh;
}

#header {
    padding-top: 3vh;
    padding-bottom: 3vh;
    text-align: center;
    font-size: 2em;
}

.post {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 1em;
    margin-left: auto;
    margin-right: auto;
}

.post #title {
    font-size: 1.8em;
    text-align: center;
    font-family: "LibertineRB"
}

.post #byline {
    margin-top: 5px;
    float: right;
    text-align: right;
    font-size: 1.1em;
}

.postlink {
    font-size: 1.2em;
}

.postlink .description
{
    font-size: 1.1em;
}

#backtoindex {
    text-align: center;
}

.post img {
    max-width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#signup {
    text-align: center;
}

input[type=text] {
    padding:5px; 
    border:2px solid #ccc; 
    -webkit-border-radius: 5px;
    background:#333; 
    border-radius: 5px;
    color: var(--font-color);
}

input[type=text]:focus {
    border-color:#555;
}

input[type=submit] {
    padding:5px 15px; 
    background:#fffff8; 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
}
