* {
    font-family: "Fira Code", monospace, sans-serif, serif;
    font-weight: 500;
}

body { 
    background: black;
    margin: 0;
}

article {
    padding: 32px;
    padding-top: 24px;
    color: #00ff00;
}

article h3, article p {
    padding-top: 8px;
    color: #00dd00;
}

h1 {
    margin-top: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    border: 0px;
    border-bottom: 2px;
    border-color: #00ff00;
    border-style: solid;
    user-select: none;
}

.nav .activenav {
    background-color: #00ff00;
    color: black;
    text-decoration: underline;
}

.nav a {
    text-decoration: none;
    color: #00ff00;
    padding: 8px 16px 8px 16px;
    border: 2px solid #00ff00;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
    /* margin-right: 4px; */
    /* margin-left: 4px; */
    /* box-shadow: 8px 8px 0px 0px rgba(0,255,0,1); */
}

.nav a:hover {
    background-color: #00ff00;
    color: black;
    
}

.title { 
    position: relative;
    display: inline-block;
    line-height: 24px;
    color: #00ff00;
    text-decoration: none;
}

.title::after {
    /* margin: 4px; */
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    /* Remove display: inline-block if not required to be on the same line as text etc */
    display: inline-block;
    background-color: #00ff00;
    vertical-align: top;
    width: 10px;
    /* Set height to the line height of .text */
    height: 24px;
    /* 
    Animation paramaters:
    blink = animation-name, 
    1s = animation-duration, 
    step-end = animation-timing-function,
    infinite = animation-iteration-count
    */
    -webkit-animation: blink 0.7s ease-in-out infinite;
    animation: blink 0.7s ease-in-out infinite;
}

@keyframes blink {
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

.subnav {
    margin-bottom: 32px;
}

.bold {
    font-weight: 800;
}

.cross {
    text-decoration: line-through;
}

article a {
    color: #ffff00;
}

article a:hover {
    text-decoration: none;
}

article pre code, article img {
    border-radius: 4px;
}

.pastblog {
    /* width: 100%; */
    display: flex;
    justify-content: space-between;
    transition: background-color 0.1s ease-in-out;
    padding: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    /* margin-top: 2px; */
    border-radius: 4px;
    text-decoration: none;
}

.pastblog:hover {
    background-color: #003300;
    cursor: pointer;
}

.pastblog .postdate{
    color: #00ff00;
    font-style: italic;
}

.download {
    margin-right: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    width: fit-content;
    padding: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 4px;
    background-color: #001600;
    transition: background-color 0.1s ease-in-out;
}

.attachments {
    display: flex;
    flex-direction: row;
}

.download:hover {
    background-color: #003300;
}

.download .filename {
    color: #00ff00;
}

.download .filesize {
    color: #00aa00;
    font-size: 14px;
}