/*
div, header, main, footer, aside, nav {
  border: solid 1px blue !important; 
}
*/

* {
  box-sizing: border-box;
}

p, h1, h2, h3, h4, li {
  margin: 0px;
}

@font-face {
  font-family: Geist;
  src: url(assets/font/Geist/Geist-Regular.ttf);
  font-weight: normal;
}


@font-face {
  font-family: Geist;
  src: url(assets/font/Geist/Geist-Bold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: Overload;
  src: url(assets/font/Overload.otf);
  font-weight: bold;
}

/*
@font-face {
  font-family: SuperStar;
  src: url(assets/font/superstar_memesbruh03.ttf);
  font-weight: bold;
}

@font-face {
  font-family: Pixellari;
  src: url(assets/font/Pixellari.ttf);
  font-weight: bold;
}
*/

html {
  text-align: justify;
  font-family: Geist;
  font-size: 13px;
  color: #353d50;
  background-color: #efd3ff;
  background: url(assets/blog/blog-bg.png);
  background-size: cover;
  background-attachment: fixed;
  background-position-y: top;
}

p {
  line-height: 1.3em;
}

h1, h2, h3, h4, h5 {
  /*font-family: Pixellari;*/
  color: #4f7bf5;
  margin-bottom: 5px;}

h2 {
  font-size: 13px;
}

s {
  opacity: 0.5;
}

/*.date {
  font-family: SuperStar;
}
*/

.blog-entry {
  border-bottom: dotted 1px #4f7bf5;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

.entries .blog-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-entry p {
  display: inline;
}

.blog-entry p > a {
  text-decoration: none;
}

a {
  color: #4f7bf5;
}

a:hover {
  color: #ff7fe3;
  paint-order: stroke fill;
}

.container {
  display: flex;
  justify-content: center;
}

.grid {
  margin-top: 40px;
  display: grid;
  grid-template: 
  "header header header"
  "nav nav nav"
  "side main extra"
  "footer footer footer" / 200px 450px 200px;
  border: 1px solid #4f7bf5;
  border-radius: 10px;
  box-shadow: 0 0 30px #fafafa;
}

header {
  grid-area: header;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  height: 150px;
  background-image: url(assets/blog/kaito-banner-dither.png);
  background-size: cover;
  background-position-y: 30%;
  border-radius: 10px 10px 0 0;
}

header h1 {
  font-family: Overload;
  text-transform: lowercase;
  font-size: 24pt;
  font-style: italic;
  line-height: 0.5em;
  color: #fff;
  paint-order: stroke fill;
  -webkit-text-stroke: 3px #4f7bf5;
  text-shadow: 3px 3px 0 #4f7bf5;
}

nav {
  display: flex;
  grid-area: nav;
  height: 30px;
  align-items: center;
  justify-content: center;
  background:  linear-gradient(#8dbbff,#4f7bf5 30%, #8dbbff) ;
  box-shadow: inset 0 0 5px #8dbbff;
  border: solid 1px #4f7bf5;
  color: #ffffff;
  border-left: none;
  border-right: none;
}

nav div {
  border-left: solid 1px rgba(255, 255, 255, 0.3);
  padding-left: 15px;
  padding-right: 15px;
}

nav div:first-child {
  border-left: none;
}

nav a {
  color: #ffffff;
}

nav a:hover {
  color: #c7f4ff;
}

aside {
  height: 600px;
  padding: 10px;
  grid-area: side;
  background: #fafafacc;
  border-right: dotted 1px #4f7bf5;
  overflow-y: auto;
}

extra {
  height: 600px;
  padding: 10px;
  grid-area: extra;
  background: #fafafacc;
  border-left: dotted 1px #4f7bf5;
  overflow-y: auto;
}

extra img {
  display: block;
  margin-bottom: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

extra .callout {
  height: 200px;
}

main {
  padding: 20px;
  grid-area: main;
  background: #fafafa;
  overflow-y: auto;
  height: 600px;
}

footer {
  padding: 10px;
  grid-area: footer;
  background: #fafafacc;
  border-top: double 3px #4f7bf5;
  border-radius: 0 0 10px 10px;
  text-align: center;
  color: #4f7bf5;
}

.callout {
  border: solid 1px #7c9fff;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: inset 0px 0px 3px #8dbbff;
  background: #fafafa80;
}

.callout p {
  padding: 10px;
  padding-top: 0;
}

.callout img {
  padding: 10px;
}

.callout:last-of-type {
  margin-bottom: none;
}

.callout:first-child img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.updates {
  height: 160px;
  overflow-y: auto;
}

.update-log {
  padding: 0 10px 0 10px;
  margin-bottom: 10px;
}

.update-log h2 {
  margin-bottom: 0;
}

.update-log p {
  padding: 0;
}

.posted {
  color: #a8a8a8;
}

.entry p {
  margin-bottom: 1em;
}

.entry h2 {
  font-size: 16pt;
}

.entry p:last-child {
  margin-bottom: none;
}

.entry img {
  width: 100%;
  object-fit: cover;
  margin-top: 0.25em;
}

.callout h1 {
  text-align: center;
  text-transform: uppercase;
  font-size: 9pt;
  background:  linear-gradient(#8dbbff,#4f7bf5 30%, #8dbbff) ;
  box-shadow: inset 0 0 5px #8dbbff;
  color: #fff;
  padding: 5px;
  margin-bottom: 5px;
  border-radius: 3px 3px 0 0;
  border-bottom: solid 1px #7c9fff;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #def8ff;
  border-left: dotted 1px #4f7bf5;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: linear-gradient(#c7f4ff, #8dbbff 40%);
  border: solid 1px #4f7bf5;
  border-right: none;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #7c9fff;
}

::-moz-selection { /* Code for Firefox */
  color: #def8ff;
  background: #4f7bf5;
}

::selection {
  color: #def8ff;
  background: #4f7bf5;
}

/* Track */
.callout >*::-webkit-scrollbar-track {
  background: none;
  border-left: none;
}

/* Handle */
.callout >*::-webkit-scrollbar-thumb {
  background: linear-gradient(#c7f4ff, #8dbbff 40%);
  border: solid 1px #4f7bf5;
  border-right: none;
  border-radius: 10px;
}