#page-content {
    width: 1000px;
    margin: 2em auto 0;
    padding-bottom: 2em;
}

body {
    font-family: 'Glory', sans-serif;
    background-color: #e9e6ff;
}

h1 {
    padding-top: 8px;
    padding-bottom: 8px;

    color: white;
    background-color: #d8d6ff;
    /* Creates the vertical tabline. */
    border-left: 2px solid #b7adff;
    border-bottom: 2px solid white;
    /* Creates bottom layer of font. */
    text-shadow: 4px 2px 1px #a599ff;
}

h2 {
    color: #d34e24;
    /* Creates bottom layer of font. */
    text-shadow: 3px 2px 1px white;
}

h3 {
    margin-bottom: 8px;
    margin-left: 16px;

    color: #282f44;
    font-style: italic;
}

h4 {
    margin-bottom: 8px;
    margin-left: 16px;

    color: #282f44;
}

p {
    margin-top: 8px;
    margin-bottom: 32px;
    margin-left: 16px;
    padding: 8px 1em;

    color: black;
    background-color: #d8d6ff;
    text-align: justify;
    /* Creates the vertical tabline. */
    border-left: 2px solid #b7adff;
    border-bottom: 2px solid white;
}

/* All CSS rules containing nav are in relation to the navbar at top of page. */
nav ul {
    margin: 0;
    padding: 0;

    background-color: #282f44;
    box-shadow: 0 8px 8px #282f44;
    overflow: hidden;
    list-style-type: none;
}

nav ul li {
    float: left;
}

nav ul li a {
    padding: 16px;

    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #191d32;
}

/* Gives current page tab in navbar a defining colour. */
.currentPage {
    background-color: black;
}

.picturePanels {
    width: auto;
    height: auto;
    max-width: 270px;
    border-radius: 15px;
    margin-left: 16px;

    float: right;
    display: block;
    transition: max-width 0.10s ease-in-out;
}

/* Images involved in the personality tests. */
.pictureResults {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 32px;

    display: block;
    text-align: center;
}

/* Makes .picturePanels images expand when hovering with mouse. */
.picturePanels:hover {
    max-width: 280px;
}

div ul {
    margin-bottom: 32px;
    margin-left: 16px;
    padding-top: 8px;
    padding-right: 32px;
    padding-bottom: 8px;

    background-color: #d8d6ff;
    /* Creates vertical tabline. */
    border-bottom: 1px solid white;
    border-left: 2px solid #b7adff;
}

.bottomNavPrev {
    margin-top: 16px;
    margin-bottom: 16px;
    float:left;
}

.bottomNavNext {
    margin-top: 16px;
    margin-bottom: 32px;
    float:right;
}