@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background: #eaeaea;
    color: #373737;
    display: flex;
    flex-direction: column;
    font-family: 'Source Sans Pro', sans-serif;
    max-height: 100vh;
}

header {
    align-items: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 0 0 70px;
    justify-content: center;
}

header h2 {
    margin: 0;
}

header h3 {
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
}

main {
    padding: 10px;
    flex: 1 1;
    text-align: center;
}

main figure {
    display: inline-block;
    margin: 0;
    position: relative;
}

main figcaption {
    background: white;
    border-radius: 0 0 0 4px;
    font-size: 12px;
    padding: 3px;
    position: absolute;
    right: 0;
    top: 0;
}

main img {
    display: block;
    margin: 0 auto;
    max-height: calc(100vh - 70px - 20px - 105px);
    max-width: 100%;
}

footer {
    align-items: center;
    background: #000;
    display: flex;
    flex: 0 0 100px;
    overflow-x: scroll;
}

footer a {
    display: block;
    padding: 10px;
    opacity: 0.6;
    transition: opacity 250ms ease-in-out;
}

footer a:hover {
    opacity: 1;
}

footer img {
    border-radius: 4px;
    display: block;
    height: 60px;
    width: 80px;
}

.delete {
    color: darkred;
    font-size: 13px;
    font-weight: bold;
    padding-left: 8px;
    text-decoration: none;
}

.nav {
    color: #373737;
    position: absolute;
    right: 15px;
    top: 20px;
    line-height: 30px;
}

p {
    margin: 10px 0;
    padding: 5px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  float: left;
}

li a {
  display: block;
  padding: 8px;
  background-color: #dddddd;
}
