/*Behold! The great CSS reset!*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*fonts and stuff */
.vt323-regular {
    font-family: "VT323", monospace;
    font-weight: 400;
    font-style: normal;
  }

/* header stuff */
#header {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: black;
}
#header h1 {
    color: #8b2222;
    font-size: 58px;
}
#headers {
    width: 100%;
}
#sub_header {
    color: #8b2222;
    font-size: 26px;
}

/*body stuff */
body {
    padding: 2px;
    margin: 2px;
    border: #8b2222 solid 2px;
    border-radius: 10px;
}
hr {
    margin: 0;
    padding: 0;
    height: 3px;
    color: #8b2222;
    background-color: #8b2222;
}

#main_div {
    font-size: 22px;
    margin-top: 20px;
    margin: 10px;
    padding: 10px;
    color: #8b2222;
    height: 100%;
    background-color: black;
    border: #8b2222 solid 2px;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#home_button {
    padding: 15px 0px;
}

.subject_article {
    width: 100%;
    margin: 5px;
    padding: 5px;
    font-size: 22px;
    border: #8b2222 solid 2px;
    border-radius: 10px;
    display: flex;
}
.subject_article h1{
    font-size: 38px;
}
.subject_text {
    margin: 10px;
    flex: 2;
}
.subject_image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
}

a {
    color:#228b26;
    text-decoration: none;
}
a:visited {
    color:#228b26;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    cursor: pointer;
}