/*
Theme Name: Johto Times
Theme URI: https://johtotimes.net/
Description: Theme for the Johto Times website.
Author: Renan Greca
GitHub Theme URI: https://github.com/RenanGreca/Johto-Times
Version: 1.0
Tags: responsive, dark

License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/
*/

html {
  scroll-padding-top: 88px; /* height of sticky header */
}

body {
  margin: 0px;
  color: var(--font-color);
  font-family: var(--font-text), sans-serif;
  /* font-size: 14pt; */
  /* line-height: 18pt; */
  /* overflow: hidden; */
  /* height: 100%; */
  /* display: flex; */
  /* flex-direction: column; */
  
  background-image: url('/assets/img/pokeball-pattern-bg.png');
  background-attachment:fixed;
  background-repeat: repeat;
  background-color: var(--dark-background);
  z-index: -1;
}

hr {
  color: var(--border-color);
  border-style: solid;
  border-width: 0.5px;
}

.content {
  position: relative;
  /* top: 88px; */
  /* bottom: 48px; */
  /* left: 0; */
  /* right: 0; */
  /* flex: 1; */
  /* height: calc(100vh - 40px - 24px - 48px); */
  /* overflow: scroll; */
  /* width: 800px; */
  /* max-width: 90vw; */
  /* margin: 0 auto; */
}

.content::before {
  content: "";
  height: 88px;
  display: block;
}

.content::after {
  content: "";
  height: 48px;
  display: block;
}

.content img {
  max-width: 100%;
  max-height: 400px;
}

h1, h2, h3, h4 {
  max-width: 90vw;
  margin: 10px auto;
  color: var(--white);
}

h1 {
  font-family: var(--font-title);
  font-variant: small-caps;
  font-size: 20pt;
  line-height: 22pt;
  font-weight: normal;
  text-align: center;
}

h2 {
  color: #cccccc;
  font-weight: 400;
  font-size: 16px;
  line-height: 16pt;
  text-align: center;
}

a {
  text-decoration: none;
}

a:visited, a:link, a:hover {
  color: inherit;
}

p > a:link {
  color: var(--neon-red) !important;
  font-weight: bold;
  /* border-bottom: 1px var(--neon-red) solid; */
}

p > a:visited {
  color: var(--neon-red) !important;
  font-weight: bold;
  /* border-bottom: 1px var(--neon-red) solid; */
}

p > a:hover {
  color: var(--white) !important;
  font-weight: bold;
  /* border-bottom: 1px var(--neon-blue) solid; */
}

a.list-item {
  font-weight: normal;
}

.button {
  background-color: var(--neon-red) !important;
  color: var(--white);

  font-family: var(--font-title);
  font-variant: small-caps;
  text-align: center;

  border: none;
  padding: 0 10px;
  border-radius: 5px;
  cursor: pointer;
  height: 38px;
  align-content: center;

  box-shadow: 0px 0px 4px var(--neon-red);
}

textarea {
  /* background-color: rgba(0, 0, 0, 0); */
  /* color: var(--white); */
  font-family: var(--font-mono);
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* Max width for mobile layout is iPad mini portrait */
@media (min-width: 770px) {
  h1 {
    font-size: 30pt;
    line-height: 32pt;
    /* margin: 20px auto; */
  }
}
