html {
    font-size: 12pt;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'PT Serif', serif;
    color: #444;
    overflow-x: hidden;
}

a {
    text-decoration: inherit;
}

h1, h2, h3, h4, h5 {
    font-weight: bold;
    font-family: 'Lato', sans-serif;
}

#body-header {
    background-image: url("/higher/images/bg.jpg");
    background-position: center bottom;
    background-size: cover;
}

#body-header h1 {
    background-color: rgba(0, 0, 0, 0.3);

    color: white;
    font-size: 3rem;
    margin: 0px;
}

#body-header h1 > * {
    display: block;
    padding: 1px 1rem;
    text-align: center;
}

#body-header a {
    color: inherit;
    display: block;
    margin: 1.5rem auto;
}

#body-header h1 > *:after {
    content: " ";
  background-repeat: no-repeat;
  background-image: url("/higher/images/logo.svg");
  background-size: contain;
  background-position: center;
  margin: 1.5rem auto;
  height: 10rem;
  display: block;
}

main {
    max-width: 48rem;
    margin: auto;
    padding: 0em 1rem;
    margin-top: 2rem;
}

main h1, main h2, main h3 {
    color: #000;
}

#sidebar {
    float: left;
    width: 12rem;
    margin-left: 3em;
}

#sidebar h1 {
    font-size: 1.3rem;
    font-weight: 400;
}

#recent_posts ul {
    list-style-type: none;
    padding-left: 0;
}

#main-content {
    float: left;
    max-width: 33em;
}

#footer-main {
    clear: both;
}

.post > header {
    margin: 2rem 0;
}

.post > header > h1 {
    font-size: 2rem;
    font-weight: bolder;
    margin: 0;
}

.post > header > h1 > a {
    color: inherit;
}

.post img {
    display: block;
    margin: auto;
    max-height: 24.75rem;
    max-width: 100%;
}

.page-title {
    font-size: 2rem;
    font-weight: bolder;
}

#body-footer {
    text-align: center;
    width: 100%;
    margin: 0.5rem 0;
    margin-top: 2rem;
}

#photo-credit {
    margin-top: 0.2rem;
    font-size: 0.8em;
}

.button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 0.2rem;
    font-family: 'Lato', sans-serif;
    transition: background-color 0.25s ease 0s;
}

#learn_more_button {
    background-color: #099AE9;
    color: #fff;
}

#rss_button {
    background-color: #FB7326;
    color: #fff;
}

#instagram_button {
    background-color: rgb(18, 86, 136);
    color: #fff;
}

@media (max-width: 50rem)  {

#sidebar, #main-content {
    float: none;
    width: inherit;
    max-width: 33rem;
    margin: auto;
}

}

@media (max-width: 320px) {

#body-header h1 a {
    font-size: 42px;
}

}

@media (min-width: 50rem)  {

/* disgusting css-hack to make all columns flush  */
main .column > :first-child {
    margin-top: 0px;
}

main .column > :first-child > :first-child {
    margin-top: 0px;
}

main .column > :first-child > :first-child > :first-child {
    margin-top: 0px;
}

main .column > :first-child > :first-child > :first-child > :first-child {
    margin-top: 0px;
}

}
