body, html {
  height: 100%;
}

div.body {
  width: 90%;
  margin: auto;
}

div.body-projects {
  width: 90%;
  height: 80%;
  margin: auto;
}

iframe.projects {
  width: 100%;
  height: 100%;
  border: none;
}

div.body-project {
  width: 80%;
  margin: auto;
}

div.projects-container {
  display: flex;
  flex-wrap: wrap;
}

div.project {
  flex-grow: 1;
  min-width: 250px;
  text-align: center;
  padding: 10px;
  margin: 8px;
  background: linear-gradient(to bottom, rgba(173, 255, 47, 0.9) 0%, rgba(143, 200, 0, 0.9) 100%);
  color: black;
  border-radius: 10px;
}

div.project:hover {
  background: linear-gradient(to bottom, rgba(255, 69, 0, 0.9) 0%, rgba(215, 57, 0, 0.9) 100%);
  transition: background 0.2s ease-out;
  border-radius: 10px;
}

article.post {
  margin: 0 auto 16px;
  padding: 10px 20px 8px 20px;
  background-color: rgba(28, 27, 31, 0.8);
  border: solid greenyellow 2px;
  border-radius: 10px;
}

button {
  margin: 4px 0 8px;
}

h1 {
  font-size: 1.8em;
  font-weight: normal;
  margin: 0;
  -webkit-margin-after: 0;
  -webkit-margin-before: 0;
  text-transform: uppercase;
  font-family: Georgia, serif;
}

p.info {
  font-size: 0.9em;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  margin: 0;
}

span.category, .date, .user {
  font-style: italic;
}

a.paging {
  display: inline-block;
  min-width: 120px;
  background: linear-gradient(to bottom, rgba(173, 255, 47, 0.9) 0%, rgba(143, 200, 0, 0.9) 100%);
  color: black;
  border-radius: 10px;
  padding: 12px;
}

article.header {
  margin: auto;
  padding: 8px 16px 8px 16px;
  background: linear-gradient(to bottom, rgba(173, 255, 47, 0.9) 0%, rgba(143, 200, 0, 0.9) 100%);
  box-shadow: 0 0 15px 0 rgba(175, 255, 77, 0.5);
  border: solid greenyellow 2px;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: black;
}

article.header a, article.header a:link, article.header a:visited {
  color: black;
}

article.header a:hover {
  color: orangered;
  text-decoration: none;
}

article.post-content {
  margin: 0 auto 16px;
  padding: 10px 16px;
  background-color: rgba(28, 27, 31, 0.8);
  border: solid greenyellow 2px;
  border-top: none;
  border-radius: 0 0 10px 10px;
  height: 100%;
  box-shadow: 0 0 15px 0 rgba(143, 200, 0, 0.5);
  overflow: auto;
}

article.post-content p:first-of-type {
  margin: 0;
}

article.post-content p {
  margin: 0.4em 0;
}

article.post-content p:last-of-type {
  margin: 0;
}

article.project {
  margin: 0 auto 16px;
  padding: 10px 20px 8px 20px;
  background-color: rgba(28, 27, 31, 0.8);
  border: solid greenyellow 2px;
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

article.project-details {
  margin: 0 auto 16px;
  padding: 10px 16px;
  background-color: rgba(28, 27, 31, 0.8);
  border: solid greenyellow 2px;
  border-top: none;
  border-radius: 0 0 10px 10px;
  height: 100%;
  box-shadow: 0 0 15px 0 rgba(143, 200, 0, 0.5);
  overflow: auto;
}

img {
  max-height: 400px;
  max-width: 400px;
  padding: 8px;
}

img.float-right {
  float: right;
}
