@font-face {
    font-family: 'Adelphe';
    src:    url('Adelphe-FlorealRegular.eot');
    src:    url('Adelphe-FlorealRegular.eot?#iefix') format('embedded-opentype'),
            url('Adelphe-FlorealRegular.woff') format('woff'),
            url('Adelphe-FlorealRegular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Adelphe';
    src:    url('Adelphe-FlorealBold.eot');
    src:    url('Adelphe-FlorealBold.eot?#iefix') format('embedded-opentype'),
            url('Adelphe-FlorealBold.woff') format('woff'),
            url('Adelphe-FlorealBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Adelphe';
    src:    url('Adelphe-FlorealItalic.eot');
    src:    url('Adelphe-FlorealItalic.eot?#iefix') format('embedded-opentype'),
            url('Adelphe-FlorealItalic.woff') format('woff'),
            url('Adelphe-FlorealItalic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

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

/* Globals */
h1, h2, h3, h4, p, ol, ul, li, a, figure, p:last-child, ul:last-child, ol:last-child {
    margin: 0;
    padding: 0;
    font-family: 'Adelphe';
}
li {list-style-position: inside;}
h2, h4 {
    margin-bottom: .5em;
}
p, ul, ol {
    margin-bottom: 1em;
    line-height: 1.3;
}
img {width: 100%;}
header, section, aside, footer {
    padding: 8px;
    border: 1px solid #969696;
    border-radius: 2px;
    /* background: #f0f0f0; */
}
header {
    display: grid;
    grid-template-columns: 1fr 100px;
    grid-gap: 10px;
}
header, footer, .section-wrapper {background: #f6f4ee;}
.medium {font-size: 125%;}
.large {font-size: 400%;}
figure {height: 100px;}
blockquote {
    border-left: 5px solid #dddddd;
    padding-left: 10px;
}
.credit {font-style: italic;}

/* unvisited link */
a:link {
  color: #fb922b;
}

/* visited link */
a:visited {
  color: #fb922b;
}

/* mouse over link */
a:hover {
  color: #4f6781;
}

/* selected link */
a:active {
  color: #fb922b;
}

/* Profile Container */
#container {
    font-family: 'Adelphe';
    max-width: 620px;
    margin: 0 auto;
    padding: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    display: grid;
    grid-gap: 10px;
}

/* Layouts */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 10px;
    grid-auto-rows: minmax(200px, 1fr);
}
.section-wrapper {
    display: grid;
    grid-gap: 10px;
}
.fruit {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
section {background: #fff;}

#energy-box {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#energy-box figcaption {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-style: italic;
    font-family: 'Adelphe';
}
#energy {
    width: 80px;
    height: 80px;
    margin-top: -20px;
    background: #afbfd2;
    border-radius: 100%;
    filter: blur(20px);
}

/* Pagination */
#pagination {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
}
#pagination img {
    max-width: 20px;
}
#pagination a {
    display: grid;
    grid-template-columns: 20px max-content;
    grid-gap: 10px;
}
#pagination #next {
    /* text-align: right; */
    grid-column: 3/3;
}

/* Media Queries */
@media (max-width:535px) {
    #container {
        margin-top: 0;
    }
}