/* Platform-common CSS */
@font-face {
  font-family: "Zilla Slab Regular";
  src: url(/assets/fonts/ZillaSlab-Regular.ttf);
}
@font-face {
  font-family: "Zilla Slab Bold";
  src: url("/assets/fonts/ZillaSlab-Bold.ttf");
}
:root {
  --font-main: "Zilla Slab Regular", Serif;
  --font-main-bold: "Zilla Slab Bold", "Zilla Slab", Serif;
  --font-header: "Courier New", monospace;
  --primary-color: #ff8383;
  --primary-color2: ;
  --accent-color: #9a0101;
  --accent-color2: #7d0101;
  --text-color: black;
  --text-color2: white;
  --bg-color: lightgrey;
}

a:hover {
  color: var(--accent-color);
}

html {
  font-family: var(--font-main);
  margin: 0;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  margin-top: 0.5em;
  margin-bottom: 0.2em;
}

h1, h2 {
  border-bottom: 2px dashed grey;
}

p {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

object[name=header] {
  height: 6em;
  width: 100%;
}

#header {
  font-family: var(--font-header);
  width: 100%;
  /*padding: 5px 1% 5px 1%;*/
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-between;
}

#hleft {
  margin-left: 15px;
}

#hright {
  display: flex;
  flex-direction: row-reverse;
  background-color: var(--accent-color);
  padding: 2px 5px 2px 5px;
}

#hright img {
  margin: 0 5px 0 5px;
}

#titlename {
  text-decoration: none;
  color: black;
  font-size: 2em;
  font-weight: bold;
}

#menu {
  font-family: var(--font-main-bold);
  width: 100vw;
  color: var(--text-color2);
  background-color: var(--accent-color);
  display: flex;
}

#mleft {
  display: flex;
}

#mright {
  display: flex;
  align-items: center;
}

.hbar a {
  text-decoration: none;
  color: var(--text-color2);
}

.hbar a:hover {
  background-color: var(--accent-color2);
  color: var(--text-color2);
}

.bodyarea {
  max-width: 100vw;
}

.content {
  width: 100vw;
  display: flex;
  min-height: 100vh;
  padding-bottom: 5em;
}

#sidemenu {
  font-family: var(--font-main-bold);
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
}

#sidemenu a {
  color: var(--accent-color2);
}

#sidemenu a:hover {
  background-color: darkgrey;
}

#textarea {
  flex-grow: 2;
  max-width: 60em;
  padding-right: 1em;
  display: flex;
  flex-direction: column;
}

#textarea ul {
  margin-top: 0;
  margin-bottom: 0;
}

.center {
  margin-top: 15px;
  align-self: center;
}

#footer {
  font-size: 1em;
  width: 100%;
  border-top: 2px dashed lightgrey;
  padding: 20px 0 10px 0;
  display: flex;
  justify-content: center;
}

#footer a {
  color: grey;
}

#footer a:hover {
  color: var(--accent-color);
}

/* Mobile css */
@media screen and (max-aspect-ratio: 0.71) {
  html {
    font-size: 1rem;
  }
  #header {
    align-items: stretch;
  }
  #hleft {
    font-size: 2vh;
  }
  #hright {
    margin: 0;
    border: 0;
    width: 50%;
  }
  #hright img {
    height: 20vw;
    width: auto;
    max-width: 100%;
  }
  #menu {
    align-items: stretch;
    flex-direction: column;
    font-size: 2vh;
  }
  #mleft {
    align-items: stretch;
  }
  #mright {
    flex-direction: column;
    background-color: var(--accent-color);
    width: 100%;
  }
  .hbar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hbar a {
    padding: 1vh 0 1vh 0.5em;
    border-top: 2px solid black;
  }
  .content {
    flex-direction: column;
    align-items: center;
  }
  #sidemenu {
    width: 100%;
    font-size: 2vh;
    border-bottom: 2px dashed gray;
  }
  #sidemenu a {
    padding: 1vh 0 1vh 0.5em;
    color: var(--accent-color2);
    border-top: 2px solid darkgrey;
  }
  #textarea {
    font-size: 2.5rem;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1rem;
  }
  #textarea p {
    line-height: 1.5em;
  }
  #textarea img {
    align-self: center;
    max-height: 25vh;
    max-width: 75vw;
  }
  #footer {
    font-size: 2em;
    padding-bottom: 1em;
  }
}
/* Desktop CSS */
@media only screen and (min-aspect-ratio: 0.72) {
  #header {
    align-items: center;
    border-bottom: 2px solid black;
  }
  #hright {
    height: 100%;
    width: 250px;
  }
  #menu {
    height: 2em;
    justify-content: space-between;
    align-items: center;
  }
  #mleft {
    align-items: center;
  }
  #mright {
    height: 100%;
    flex-direction: row-reverse;
    background-color: crimson;
    width: 210px;
  }
  .hbar {
    margin: 0 5px 0 5px;
  }
  .hbar a {
    padding: 0.25em 5px 0.25em 5px;
  }
  .bodyarea {
    display: flex;
    flex-direction: row;
  }
  .content {
    flex-direction: column;
  }
  #sidemenu {
    width: 8em;
    padding-top: 1em;
  }
  #sidemenu a {
    margin-left: 10px;
    padding: 0.5em 5px 0.5em 5px;
  }
  #textarea {
    padding-left: 2em;
    padding-top: 1em;
  }
  #textarea img {
    max-width: 20em;
  }
  .subtextarea {
    border-left: 3px solid grey;
    margin-left: 2em;
    padding-left: 0.5em;
  }
  .gallery {
    display: flex;
    flex-direction: row;
    max-width: 70vw;
    overflow: scroll;
  }
  .gallery img {
    border-bottom: 3px solid lightgrey;
    border-right: 3px solid lightgrey;
    margin-right: 10px;
  }
  #menu, #sidemenu, #textarea p, #textarea ul {
    font-size: 1.2em;
  }
}

/*# sourceMappingURL=styles.css.map */