@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,700&subset=latin,latin-ext);
@import url(normalize.css);

body {
    background-color: #322882;
    color: #312882;
    font-family: 'Roboto Slab', serif;
}

h1, h1 a {
    color: #312882;
    text-decoration: none;
}

p {
  margin-top: 0;
}

body >header img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

nav.top-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 15px 0 0;

    display: flex;
    float: right;
    text-transform: uppercase;
}

nav.top-menu::after {
    display: block;
    clear: both;
    content: " ";
}

nav.top-menu ul a {
    color: white;
    text-decoration: none;
    padding: 5px;
    border: 1px solid white;
    margin: 0 5px;
    display: block;

    transition: all 100ms linear;
}

nav.top-menu ul a:hover {
    border-color: transparent;
    color: #322882;
    background-color: #ff8054;
}
/**
 * Layer colours:
 * #322882
 * #ff8054
 * #ffdc50
 * #ff64b4
 * #00dc99
 * #3cc8ff
 * Login: #ff8054
 * Text: #312882
 */

.adventures {
    background-color: #ff8054;
}

.adventures header h1::before {
    content: url(icons/icon1.png);
}

.successes {
    background-color: #ff64b4;
}

.successes header h1::before {
    content: url(icons/icon2.png);
}

.stories {
    background-color: #ffdc50;
}

.stories header h1::before {
    content: url(icons/icon3.png);
}

.games {
    background-color: #00dc99;
}

.games header h1::before {
    content: url(icons/icon4.png);
}

.gadgets {
    background-color: #3cc8ff;
}

.gadgets header h1::before {
    content: url(icons/icon5.png);
}

section h1 {
    display: flex;
    margin: 0;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: normal;
    align-items: center;
}

section h1::before {
    margin-right: 20px;
    width: 70px;
    text-align: center;
}

section h1 {
    max-width: 960px;
    margin: 0 auto;
}

section:target header h1 a {
    border-bottom: 2px solid #322882;
}

:target .section-content {
    display: flex;
}

.section-content {
    display: none;
    margin: 0 auto;
    padding: 15px 0;
    max-width: 960px;
}

.section-content img {
    display: block;
    margin: 0 auto;
}

.section-content .column-left {
    margin: auto;
}

.section-content .column-right {
    width: 500px;
}

@media all and (max-width:800px) {
.section-content .column-left {
    display: none;
  }
.section-content .column-right {
    margin-left: 30px;
  }
}

.section-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.section-content li {
    display: flex;
}

.section-content li .tick {
    flex: 1 0 150px;
}

.section-content li .tick img, .section-content li .tick {
    width: 150px;
}

.section-content li .tick {
    margin-right: 10px;
}

.successes .section-content li .level {
    margin: 0;
    padding: 0;
    color: #ff53c3;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.section-content h1 a::after {
    content: ' ';
    height: 1rem;
    width: 1rem;
    background-size: contain;
    display: inline-block;
    margin: 0 10px;
    vertical-align: middle;
}

.section-content h1 {
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.stories .section-content .tick img,
.games .section-content .tick img {
    margin-top: 5px;
    width: 150px;
}

.games .section-content li,
.gadgets .section-content li {
    margin: 15px 0;
}