:root {
  --text-light: #eeeeee;
  --text-dark: #444444;
  --background: #272932;
  --bg-dark: #828489;
  --bg-light: #eae6e5;
  --release: #8284892f;
  --release-button-bg: rgb(27, 30, 36);
  --navigation: #557f8bd0;
  --accent: #1fd2ff;
  --link-light: #f5e663;
  --link-dark: #066185;
  --link-dark-hover: #118fc0;
}

html,
body {
  margin: 0px 0px 0px 0px;
  padding: 0;
  padding-top: 100px;
  color: var(--text-light);
  line-height: 160%;
  font-size: 105%;

  /*
  background: radial-gradient(
    circle,
    rgba(86, 196, 255, 0.23713235294117652) 0%,
    rgba(0, 0, 0, 0.1250875350140056) 100%
  );
  */

  background-color: var(--background);
  font-family: "Quicksand", sans-serif;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: var(--link-light);
}

.quote {
  font-style: italic;
  margin: 0px 30px 0px 30px;
}

.quote::first-letter {
  font-size: 2em;
}

h3 {
  text-align: center;
  color: var(--text);
  font-weight: normal;
  margin-top: 0px;
}

code {
  background-color: #585858;
  color: white;
  border-radius: 4px;
}

table {
  border: 1px solid var(--bg-dark);
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.6em;
}
table td,
table th {
  padding: 3px 2px;
  border: 1px dotted var(--bg-dark);
}
table tr:nth-child(even) {
  background: var(--bg-light);
}
table thead {
  background: var(--navigation);
  text-align: center;
}
table thead th {
  font-weight: bold;
  color: var(--text-light);
}

#container {
}

#footer {
  padding-top: 100px;
  font-style: italic;
  padding-bottom: 40px;
  text-align: center;
}

#navigation {
  z-index: 1001;
  position: fixed;
  top: 0;
  color: white;
  width: 100%;
  padding: 10px;
  margin-bottom: 100px;
  background: var(--navigation);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0px 5px 20px 2px #111111;
  transition: top 0.8s;
  align-items: center;
}

#navigation a {
  margin: 0px 4px 0px 4px;
  padding: 4px 18px;
  color: white;
  font-size: 0.9em;
  border-radius: 32px;
  transition: all 0.2s;
}

#navigation a:hover {
  color: black;
  background-color: white;
}

#navigation img {
  padding-right: 20px;
  transition: transform 0.5s;
}

#navigation img:hover {
  transform: scale(1.4, 1);
}

#navigation .active {
  color: black;
  background-color: white;
}

.container {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
  margin: auto;
  width: 60%;
  min-width: 400px;
  max-width: 900px;
  margin-bottom: 80px;
}

.comments {
  margin-top: 64px;
}

.column {
  flex: 1;
  margin: auto;
}

.column img {
  width: 400px;
  margin: auto;
  display: block;
}

.imgborder {
  margin: 32px 0px 32px 0px;
  border-radius: 20px;
  box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.4);
}

.button {
  color: var(--accent);
  border-radius: 8px;
  border: 2px solid var(--accent);
  padding: 12px;
  margin: 24px 12px 12px 12px;
  display: inline-block;
  transition: transform 0.2s;
}

.button:hover {
  border: 2px solid white;
  background-color: white;
  color: black;
  transform: scale(1.1, 1.1);
}

.releases {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.release {
  max-width: 384px;
  padding: 20px;
  margin: 10px;
  border: 4px solid transparent;
  min-height: 510px;
  background-color: var(--release);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  vertical-align: top;
  color: var(--text-light);
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1),
    0px -1px 0px rgba(0, 0, 0, 0.5);
  line-height: 160%;
  border-radius: 12px;

  transition: all 0.2s;
  transition-timing-function: ease;
  animation: 0.6s ease-out 0s 1 slideInFromLeft;
}

@keyframes slideInFromLeft {
  0% {
    transform: translateY(20%) scale(0.8, 0.8);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.release:hover {
  transform: scale(1.02, 1.02);
  box-shadow: 0px 10px 10px 4px rgba(6, 227, 194, 0.1);
  border: 4px solid var(--accent);
}

.release h1 {
  color: var(--accent);
  text-align: center;
  font-weight: normal;
  margin-top: 0px;
  margin-bottom: 0px;
  line-height: 120%;
  text-shadow: 0px 2px 0px rgba(0, 255, 255, 0.2),
    0px 4px 4px rgba(0, 0, 0, 0.5);
  font-family: "Pacifico", cursive;
  font-size: 200%;
  display: block;
  letter-spacing: 2px;
  text-shadow: 0 1px 0 #777, 0 2px 0 #777, 0 0 5px rgba(0, 0, 0, 0.1),
    0 8px 2px rgba(0, 0, 0, 0.3);

  transform: translate(0px, -25px) rotate(-3deg);
  transition: all 0.2s;
}

.release:hover h1 {
  transform: scale(1.2, 1.2) translate(0px, -25px) rotate(-3deg);
  color: var(--link-light);
}

.release .body {
  transform: rotate(-1deg);
}

.release img {
  border: 1px solid #888888;
  border-color: #111111 #333333 #666666 #333333;
  border-radius: 8px;
}

.release .buttons {
  margin-top: 20px;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  justify-content: space-between;
  flex-wrap: wrap;
}

.release .button {
  color: var(--text-light);
  flex: 1;
  margin: 4px;
  border-radius: 8px;
  border: 0px;
  text-align: center;
  padding: 6px 23px 6px 23px;
  background-color: var(--release-button-bg);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 100%;
  transform: rotate(-2deg);
  transition: all 0.2s;
  z-index: 1;
}

.release .button:hover {
  color: rgb(167, 88, 88);
  transform: scale(1.2, 1.2) rotate(-2deg);
  background-color: white;
  border: 0px;
  z-index: 1000;
}

.infobox {
  text-align: center;
  margin: auto;

  max-width: 800px;
  color: #eeeeee;
  margin-bottom: 60px;
  margin-top: 20px;
}

.infobox h1 {
  font-weight: normal;
  letter-spacing: 4px;
  font-size: 300%;
  font-family: "Quicksand", sans-serif;
  color: var(--accent);
  line-height: 100%;
}

.infobox a,
.column a {
  color: var(--accent);
}

.roundbox {
  background-color: white;
  padding: 22px;
  border-radius: 12px;
  display: inline-block;
}

.articles {
  background-color: var(--bg-light);
  margin: auto;
  margin-top: 12px;
  padding: 32px;
  border-radius: 8px;
  max-width: 900px;
  display: flex;
  flex-flow: row wrap;
}

.articles .title {
  flex: 1;
  margin-right: 32px;
}

@media all and (max-width: 600px) {
  .articles {
    /* On small screens, we are no longer using row direction but column */
    flex-direction: column;
  }
  .articles .title {
    margin-right: 0px;
  }
}

.title img {
  border-radius: 8px;
  margin-bottom: 32px;
  max-width: 100%;
}

.articles .main {
  flex: 3;
  color: #111111;
}

.articles h2 {
  text-align: left;
  color: var(--text-dark);
  font-weight: normal;
  margin: 0;
}

.articles .date {
  color: #222222;
  font-size: 90%;
  font-style: italic;
  font-family: "Quicksand", sans-serif;
  margin-bottom: 20px;
}

.articles img {
  max-width: 100%;
}

#article {
  background-color: #eeeeee;
  color: var(--text-dark);
  margin: auto;
  margin-top: 32px;
  padding: 10%;
  border-radius: 8px;
  max-width: 900px;
  background-image: url("/assets/img/website-gradient.png");
  background-repeat: no-repeat;
}

#article h1 {
  color: #222222;
  text-shadow: none;
  font-size: 180%;
  line-height: 160%;
  text-align: left;
  font-family: "Quicksand", sans-serif;
  padding: 32px 0px 0px 0px;
  letter-spacing: 3px;
  font-weight: normal;
}

#article h2,
h3 {
  text-align: left;
  color: var(--text-dark);
  font-weight: normal;
  line-height: 140%;
  margin: 50px 0px 10px 0px;
}

#article .navbar {
  display: flex;
  justify-content: space-between;
}

#article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.4);
}

#article a,
.articles a {
  color: var(--link-dark);
  font-weight: bold;
}

#article .navlink:hover {
  color: white;
}

#article a:hover {
  color: var(--link-dark-hover);
}

.pagination {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.pagination .page {
  background-color: #dddddd;
  color: black;
  padding: 8px 12px 8px 12px;
  border-radius: 8px;
  margin: 4px;
  transition: transform 0.2s;
}

.pagination #active {
  background-color: white;
  transform: scale(1.1, 1.1);
}

.pagination .page:hover {
  background-color: var(--accent);
  transform: scale(1.1, 1.1);
}

.navlink {
  color: black;
  margin: 12px 0px 0px 0px;
  padding: 8px 12px 8px 0px;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.2s;
}

.navlink:hover {
  color: white;
  background-color: black;
  padding: 8px 12px 8px 12px;
}

.video {
  width: 560px;
  height: 420px;
  max-width: 100%;
}

/* Ghost Town specific */

.game-info {
  color: white;
}

.game-info h1 {
  text-align: center;
  margin-top: 0px;
  line-height: 120%;
  margin-bottom: 10px;
}

.game-info img {
  margin: 32px 0px 32px 0px;
  border-radius: 20px;
  box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.4);
}

/* Ghost Town specific END */
