html, body {
    height: 100%;
}

body {
    padding-top: 55px;
    display: flex;
    text-align: center;
    flex-direction: column;
}

main {
    margin: auto;
    padding: 25px;
    flex: 1 0 auto;
    max-width: 750px;
}

/*footer*/

.copyright {
    margin: 15px 0;
}

/*home page*/

.intro {
    transform: translateY(22vh);
}

.intro > h1 {
    color: #212121;
    font-size: 12vh;
}

.intro > h2 {
    font-family: "BananasPersonalUse";
    /* color: #777; */
    color: #ffe135;
    font-size: 8vmin;
   text-shadow:
     -1px -1px 0 #000,
      1px -1px 0 #000,
      -1px 1px 0 #000,
       1px 1px 0 #000;
}

.intro > .profile {
    width: 10vh;
    height: 10vh;

    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }


code {
    color: #000;
    background-color: #ffe13566;
}

pre code {
    white-space: pre !important;
}

/*apply accent colour to links*/
a:link, a:visited {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #ffe13566;
}

a.icon:hover {
    text-decoration: none;
}

a:hover {
    color: var(--accent) !important;
}

/*paginator at bottom of list view*/

.pages {
    padding: 15px 0;
}

.pages-icon {
    padding: 0 15px;
}

/*list item for posts and projects*/

.item {
    padding: 10px 0;
}

.item-tag {
    background-color: var(--accent);
    color: #000;
}

/*navigation bar icons*/

.navbar-icon {
    font-size: 125%;
    display: inline-block !important;
}

/*coloured borders at top and bottom of the page*/

.navbar.navbar-default {
    border-top: var(--border-width) solid var(--accent);
}

footer {
    border-bottom: var(--border-width) solid var(--accent);
}

img {
    max-width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Overrides */
#bootstrap-overrides .h1, .h2, .h3, h1, h2, h3 {
   text-align: left;
}

#bootstrap-overrides .h1, h1 {
   margin-top: 40px;
   margin-bottom: 15px;
}


#bootstrap-overrides .h2, h2, .h3, h3 {
   margin-top: 25px;
   margin-bottom: 15px;
}

.centeredText {
   text-align: center !important;
}
