/*General stuff*/

html {
  width: 1000px;
  margin: 0 auto;
  font-family: Georgia, serif;
  font-size: 1em;
}

body {
  background-image: url("/img/background.jpg");
  background-attachment: fixed;
  background-size: cover;
}

header, section, footer {
  width: 900px;
  padding: 25px;
  margin: 25px;
  background-color: rgba(255,255,255,0.6);
  text-align: center;
}

section {
  text-align: left;
}

ul.nav {
  list-style-type: none;
}

li.nav {
    display: inline;
}

li.nav a {
    color: grey;
    text-align: center;
    padding: 25px 25px;
    text-decoration: none;
}

time {
  color: grey;
}


/*Bootstrap*/

.navbar {
  margin-bottom: 0;
  background-color: rgba(255,255,255,0.6);
  width: 900px;
  padding: 25px;
  margin: 25px;
}

.navbar a {
  color: black;
}

.page-body {
  background-color: rgba(255,255,255,0.6);
  width: 900px;
  padding: 25px;
  margin: 10px;
}

.panel-group {
  width: 800px;
  padding: 25px;
}

.panel-heading {
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/e/e8/Bookshelf-NT-Excl.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}


/*Mobile optimisation*/

@media screen and (max-width: 1020px) {
 header, section, footer, form {
    float: none;
    width: auto;
    font-size: 2em;
  }
  body {
    background-repeat:no-repeat;
    background-position:center;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}

 /* Dropdown Button */
.dropbtn {
    color: grey;
    background-color: transparent;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* 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: transparent;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0);
}

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

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

/* 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 {
    color: black;
}

/*Blog stuff*/

section.blog {
  position: relative;
  left: 250px;
  width: 650px;
}

ol.blog {
  list-style-type: lower-roman;
  position: fixed;
  width: 175px;
  height: 300px;
  padding: 25px;
  padding-left: 50px;
  padding-right: 0px;
  margin-left: 25px;
  margin-top: 0px;
  background-color: rgba(255,255,255,0.5);
  overflow-Y:auto;
}

li.blog {
  display: list-item;
}

