body {
  font-family: Arial, sans-serif;
  background-color: #f1f1f1;
  color: #333;
  margin: 3em 0 0 0;
  padding: 0;
  min-width: 320px;
  background: linear-gradient(180deg, rgba(190,192,190,1) 4em, rgba(255,255,255,1) 24em);
}
img#davidkbd-header {
  width: 50%;
  min-width: 320px;
  max-width: 512px;
  margin: auto;
  margin-top: 4em;
  display: block;
}
div#davidkbd-header {
  margin: 0;
  height: 1.5em;
  background: linear-gradient(180deg, rgba(127,127,127,1) 0%, rgba(255,255,255,1) 100%);
  display: block;
}
h1 {
  padding-top: 7em;
  padding: 0;
  font-size: 2em;
}
h2 {
  padding: .05em;
  margin: 0;
  font-size: 2.0em;
  text-align: center;
  background: linear-gradient(90deg, rgba(4,63,4,1) 0%, rgba(4,63,4,.5) 15%, rgba(4,63,4,0) 100%);
}
h3 {
  padding: 0;
  margin: 0;
  font-size: 1.3em;
  text-align: left;
  white-space: nowrap;
}
a {
  color: #007bff;
  text-decoration: none;
  font-size: 1em;
  text-wrap: nowrap;
}
a.external-link {
  padding-left: 1.2em;
  background-image: url("../img/external-link.png");
  background-repeat: no-repeat;
  background-position: 0 center;
  background-size: auto 1em;
}
li {
  font-size: 1.3em;
}
button, a {
  cursor: pointer;
  transition: filter 1.0s;
  font-size: 1em;
}
button:hover, a:hover {
  filter: sepia(100%) saturate(300%) brightness(110%) hue-rotate(-180deg);
  transition: filter .5s;
}
nav {
  z-index: 100;
  position: fixed;
  padding: .6em;
  color: #888;
  background: linear-gradient(180deg, rgba(50,50,50,1) 0%, rgba(60,60,60,1) 90%, rgba(48,48,48,1) 96%, rgba(0, 0, 0, 0) 100%);
  width: 100%;
  left: 0;
  top: 0;
}
nav img {
  float: left;
}
nav ul.menu {
  display: inline;
  margin: 0 1em 0 0;
  padding: 0;
}
nav ul.menu li {
  display: inline block;
  margin: 0;
  padding: 0;
}
nav ul.menu li a,
nav ul.menu li button {
  display: inline;
  padding: 0;
  color: #ddd;
  background: transparent;
  border: none;
  font-size: 1.1em;
  font-weight: bold;
}
nav .langs {
  float: right;
}
nav .langs li {
  display: inline;
  width: 32px;
}
nav #dropdown-toggle {
  font-weight: bold;
  padding: .2em 1em .2em 1em;
  margin: .2em 0 0 0;
  color: #fff;
  border: solid .1em #888;
  border-radius: .3em;
  font-size: 1.1em;
  display: inline-block !important;
}
nav #dropdown-toggle.pressed {
  border-color: #444;
  color: #555;
}
nav #sections-menu {
  display: none;
  background: #444;
  position: fixed;
  top: 2.5em;
  left: 0;
  border: none;
  border-right: solid .1em #999;
  border-bottom: solid .1em #999;
  border-radius: 0 0 .5em 0;
  font-size: 1.4em;
  padding: .4em 0 .7em 0;
}
nav #sections-menu p {
  margin: 0;
  padding: .1em 1em .1em 1em;
}
nav #sections-menu p a {
  margin: 0;
  padding: .1em 1em .1em 1em;
  color: #ddd;
}
nav #sections-menu.show {
  display: block;
}
nav #sections-menu p.selected {
  background-color: #565;
  font-weight: bold;
  cursor: default;
}
nav #sections-menu p.selected a {
  color: #fff;
  cursor: default;
}
section {
  margin: 0;
  padding: 0;
  padding-bottom: 3em;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover; 
  background-attachment: fixed;
  background-image: url("../img/section-bg.png");
  border: solid 1px transparent;
}
section p {
  max-width: 1200px;
  font-size: 1.3em;
  margin: .3em auto .3em auto;
  text-align: left;
}
nav #sections-menu p,
section p,
section h2,
section h3 {
  display: none;
}
nav #sections-menu p.translated,
section p.translated,
section h2.translated,
section h3.translated {
  display: block;
}
section .expanded {
  display: none;
}
section .expanded-buttons {
  display: inline-block;
}
section .expanded-buttons input {
  display: none;
}
section .expanded-buttons input.translated {
  display: inline-block;
}
#sections {
  background: #fff;
  padding: 0;
}
#sections p {
  padding: 1em 1em;
  width: inherit;
}
#sections p.translated {
  display: inline-block;
}
#sections p.selected {
  font-weight: bold;
  cursor: default;
}
#sections p.selected a {
  color: #000;
  cursor: default;
}
#davidkbd-deal-banner {
  position: relative;
}
#social p {
  padding: 0 0 0 3em;
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 2.5em;
  min-height: 2.5em;
}
#social p.fiverr {
  background-image: url(/img/icon-fiverr.png);
}
#social p.twitter {
  background-image: url(/img/icon-twitter.png);
}
#social p.facebook {
  background-image: url(/img/icon-facebook.png);
}
#social p.discord {
background-image: url(/img/icon-discord.png);
}
#social p.spotify {
background-image: url(/img/icon-spotify.png);
}
#posts {
}
#posts table {
  margin: auto;
}

#posts table tr td {
  padding: 0 0.5em 0 0.5em;
  font-size: 1.2em;
}
#posts table tr td:first-child,
#posts table tr td:last-child {
  text-wrap: nowrap;
  font-size: 1.0em;
}

.pagination {
  justify-content: center;
  width: calc(100% - 4em);
  margin: auto;
  background-color: #fff;
  border-radius: 1em;
  padding: .5em 1em .5em 1em;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: .5em .7em;
  margin: .1em .2em;
  border: 1px solid #ddd;
  border-radius: .2em;
  text-decoration: none;
  color: #333;
  font-size: 0.9em;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination .current {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination .disabled {
  color: #999;
  pointer-events: none;
  cursor: default;
}

footer {
  background: linear-gradient(0deg, rgba(230,230,230,1) 0%, rgba(255,255,255,1) 90%, rgba(255,255,255,1) 98%, rgba(230, 230, 230, 0) 100%);
  text-align: center;
  margin: 0;
  padding: 4em;
}
footer p {
  text-align: center;
}
@media (min-width: 900px) {
  section .expanded {
    display: inline;
  }
  section .expanded-buttons {
    display: none;
  }
}
@media (max-width: 1200px) {
  section p {
    margin: .3em;
  }
  #sections p {
    padding: 1em .8em;
    font-size: 1.1em;
  }
}
@media (max-width: 900px) {
  #sections p {
    padding: 1em .5em;
    font-size: 1em;
  }
}
@media (max-width: 750px) {
  #sections p {
    padding: 1em .4em;
    font-size: .9em;
  }
}
@media (max-width: 600px) {
  nav ul.menu li button,
  nav ul.menu li a {
    font-size: 1.0em;
  }
  #davidkbd-deal-banner .campaign-text {
    top: 3.5em;
    font-size: 1.6em;
  }
  #davidkbd-deal-banner .campaign-description {
    top: 9.5em;
    font-size: 1em;
  }
  #sections p {
    padding: 1em .3em;
    font-size: .8em;
  }
}
@media (max-width: 550px) {
  nav ul.menu li button,
  nav ul.menu li a {
    font-size: .9em;
  }
}
@media (max-width: 500px) {
  nav ul.menu li button,
  nav ul.menu li a {
    font-size: .8em;
  }
}

