/* GENERAL LAYOUT */

* {
  margin: 0;
  padding: 0;
  border-width: 0.02em;
}

html {
  height: 100%;
  min-height: 100%;
}

body {
  height: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url('/arc/oldbdb/img/main-background.gif');
  background-position: center;
  background-size: cover;
  color: #e9f2f9;
  font-size: 125%;
  line-height: 1.5;
  max-width: 60rem;
  margin: 0 auto;
  padding: 1em;
}

a {
  color:#0cd0d0;
}

hr {
  color: #e9f2f9;
}

.content {
  overflow: hidden;
  background-color: #090615;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  border-style: solid;
  border: 0.5em 0.5em 0.5em 0.5em;
  word-wrap: break-word
}

.content p {
  margin-bottom: 0.5em;
}

.content h1, h2, h3 {
  margin-bottom: 0.25em;
}

.content img {
  max-width: 100%;
  margin-bottom: 0.5em
}

.content video {
  max-width: 100%;
}

.content li {
  margin-left: 1.25em;
  margin-bottom: 0.5em;
}

.content code {
  color:rgb(75, 190, 75);
  font-size: 115%;
}

.content pre {
  font-size: 115%;
}

.site-footer {
  justify-content: space-between;
  background: linear-gradient(0deg, #090cb9 0%, #6366fc 100%);
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 0.5em;
  border-style: solid;
  border: 0.5em 0.5em 0.5em 0.5em;
}

/* NAVIGATION */

.site-header {
  padding-bottom: 1em;
}

.site-nav {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, #ee40a3 0%, #e63e42 100%);
  background-size: cover;
  border-style: solid;
  border: 0.5em 0.5em 0.5em 0.5em
}

.site-nav img {
  max-width: 100px;
  margin-right: 1em;
}

.site-nav a {
  text-decoration: none;
  color: #e9f2f9;
  display: block;
  padding: 1rem;
}

.site-nav .logo {
  font-weight: bold;
  padding-left: 0;
}

.icon img {
  display: inline;
  max-width: 2em;
  margin-bottom: 0em;
}

/* POST */

.post-snippet {
  overflow: hidden;
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.75em;
  background-color:rgb(24, 22, 28);
  color: aliceblue;
  border-style: solid;
  border-color: #e9f2f9;
  position: relative;
}

.post-title {
  display: flex;
  text-align: center;
  margin-bottom: 0.5em;
  background-color:rgb(51, 51, 59);
  font-size: 1.2em;
}

.post-title a {
  text-decoration: none;
  color: aliceblue;
  background-clip: text;
  margin-left: 0.5em;
  word-break: break-word;
}

.post-title p {
  margin-left: 0.5em;
  margin-bottom: 0em;
}

.post-content {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.post-content img {
  margin-bottom: 0em
}

/* POST TAXONOMIES */

.taxonomy {
  text-decoration: none;
  border-radius: 6px;
  padding: 1px 12px;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
}

#category {
  background-color: rgb(162, 55, 55);
  color: white;
}

#tag {
  background-color: rgb(55, 162, 121);
  color: white;
}

/* CONTENT MD TYPES */

.title-center {
  text-align: center;
}

.image-center {
  display:flex;
	justify-content:center;
	align-items:center;
}

.image-left {
  max-width: 40%;
  margin-bottom: 0.5em;
  margin-right: 1.0em;
  float: left
}

.image-right {
  max-width: 40%;
  margin-bottom: 0.5em;
  margin-left: 1.0em;
  float: right;
}

/* CONTENT MD CONTAINERS */

.image-grid-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

/* ANDROID GAMERS MODE */

@media screen and (max-width: 50em) {
  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-direction: column;
    text-align: center;
  }
  .site-nav img {
    margin: 0 auto;
  }
  .image-grid-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 40em) {
  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: column;
    text-align: center;
  }
  .image-grid-col {
    grid-template-columns: repeat(1, 1fr);
  }
}
