/* CSS Homepage Ortie_pnk  */

/* colors */
:root {         --color1: #0c0a00;
  --color2: #00000060;
  --encart1: #efe9ce;
  --encart2: #ec0606;
  --bg: #606060;
}

body, div, main, section, article {
  box-sizing: border-box;
}

/* universal background  */
body {
  height:100%;
  margin:0;
  background-image:url(https://xixxii.neocities.org/images/borders/redwingdogs.png);
  background-color:black;
  background-size: auto 200px;
  background-position-y: bottom;
  background-repeat:repeat-x;
  background-attachment:fixed;
}
  /* header image */
  header img {
    width: 100%;
  }

  /* clearfix hack to prevent image overflow. check out the W3Schools page on it. */
  .clearfix::after {
    content: "";
    clear: both;
    display: table; a
  }

  /*FONTS*/
  @font-face {
    font-family: "nom";
    src: url(".ttf");
    font-weight:bold;
  }


  /* body font */
  .subPage p, a, footer, #authorNotes, .archiveTable {
    font-family: Courier New, Calibri, Helvetica, sans-serif;
    font-size: large;
    text-align:center;
  }

  /* header font */
  #showComic, header, h1, h2, h3, h4, h5, p, a, ul {
  font-family:  Courier New;
  }

  /* STYLING FOR SUBPAGES (about, characters, etc) */

  /*general*/
  .subPage {
    max-width: 1200px;
    max-width: 98%;
    margin-left: 20%;
    margin-bottom: 10px;
    padding: 0px;
  }


  h2, h3 {
    text-transform: uppercase;
    margin:12px;
  }

  h4 {
    margin-top: 0px;
  }

  /*flex index*/
  .container {
    display: flex;
    flex-wrap: wrap;
    margin:6px;
    justify-content:space-around;
    align-items:center;
    gap: 4px;

  }

  .link-box {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    min-width:180px;
    text-align: center;
    border: 2px solid black;
    background-color: white;
    border-radius:25px;
    margin: 0px;
  }

  /*link style*/
  .link {
    background-color: #E8E8E8;
    box-shadow: 2px 2px 0px 0px black;
    border: none;
    color: black;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
    border-radius:25px;
    margin:7px
  }

  .link:hover {
    box-shadow: 5px 5px 0px 0px black;
    text-decoration: underline dotted;
    border: none;
    position:relative;
    top:-2px;
    left:-2px;
  }

  .link:active {
    background-color: black;
    box-shadow: 5px 5px 0px 0px #ec0606;
    text-decoration: none;
    color: white;
    border-bottom: none;
    position:relative;
    top:-2px;
    left:-2px;
  }

/*Navbar*/
  .nav-left {
    position: absolute;
    top: 20px;
    right:80%;
    margin-left:4px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
  }

  .button {
    background-color: #E8E8E8;
    box-shadow: 2px 2px 0px 0px black;
    border: none;
    color: black;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
    margin:7px
  }

  .button:hover {
    box-shadow: 5px 5px 0px 0px black;
    text-decoration: underline dotted;
    border: none;
    position:relative;
    top:-2px;
    left:-2px;
  }

  .button:active {
    background-color: black;
    box-shadow: 5px 5px 0px 0px #ec0606;
    text-decoration: none;
    color: white;
    border-bottom: none;
    position:relative;
    top:-2px;
    left:-2px;
  }

  /*separator*/
  hr {
    display:block;
    border:0px;
    height:45px;
    max-width:110%;
    background-image:url('/img/separator.png');
    background-size: contain;
    background-repeat: repeat-x;
  }

  /* HEADER */
  header #nav {
    margin: auto;
    padding: 0px 6px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
  }

  /*NAVBAR*/
  #navbar {

  }

  /* FOOTER */
  #footer {
  margin: auto;
  margin-bottom: 10px;
  padding: 0px 12px 12px;
  align-items: center;
  font-family: "Arial", sans-serif;
  font-size:10px;
  color:#291727;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  }

  footer {
    color: #421a1a;
    margin-top: 12px;
    margin-bottom: 12px;
    float: left;
    width: 100%;
    font-size: 12px;
  }

  /* take away margins from the edges of the screen */
  html, body {
    margin: 0;
  }

