@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;
}
/* Dropdown Button */
.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}
