/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face {
  font-family: Impact;
  src: url(/fonts/impact.ttf);
}

@font-face {
font-family: Arial;
src: url(/fonts/arial.ttf);
}

@font-face {
  font-family: Arial Bold;
  src: url(/fonts/arial-bold.ttf);
}

@font-face {
  font-family: "Times New Roman";
  src: url(/fonts/times-new-roman-bold.ttf);
}
@font-face {
  font-family: Rusty Attack;
  src: url(/fonts/rusty-attack.otf);
}
@font-face {
  font-family: Source Code Variable Roman;
  src: url(/fonts/source-code-variable-roman.otf);
}


html {
  color: #ffffff;
  font-size: 1em;
  font-family: Source Code Variable Roman, sans-serif;
  line-height: 1.4;
  background-color: black;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

body {
  padding: 0;
  margin: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

 .armorycontent {
   margin: 2em 5em 0 5em;
   display: flex;
   flex-direction: row;
   justify-content: space-evenly;


 }

.armorycontent a:any-link {
  color: white;
}

#memefeed {
  flex-grow:5;
  width: 80%;
  border-color: white;
  border-style: solid;
  border-width: 3px;
  padding: 2em;
  margin: 5em;
  height: 800px;
  align-items: center;
}

.imgfloatleft {
  padding-left: 35%;
  margin-right: 1em;
  width: 300px;
  justify-content: end;
  left: 0;
  position: relative;
}

.imgfloatright {
  padding: 0px 0px 8px 0px;
  width: 300px;
  /*float: right;*/
  right: -15em;
  position: relative;
}

.headerwarning {
  position: sticky;
  margin-top: 0;
  padding: .5em;
  width: 100%;
  background-color: green;
  overflow: hidden;
  display: grid;
  height:1em;
  font-family: "Impact", sans-serif;
  font-size:18pt;
}

.navbar {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  background-color: #555555;
  font-family: "Impact", sans-serif;
  /*font-family: "Arial", sans-serif;*/
  font-size: 20pt;
}

.navbar a:any-link {
  color: #ffffff;
  text-decoration-line: none;
}

.navbarlogo {
  flex-grow: 4
}

.navbarlogo img {
  max-height: 100px;
}

.navbarlist {
  flex-grow: 3;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
}

.navitem {
  flex-grow: 1;
  width: min-content;
  white-space: nowrap;
  align-content: center;
}

.navitem img {
  max-height: 100px;
}

.hometext {
  width: 80%;
  margin: auto;
  padding-top: 4em;
  font-size: 150%;
  text-align: center;
}

a:any-link {
  color: white;
}

#faqpage {
  width: 90%;
  padding: 1em;
  margin: 1em;
}

#faqintro {
  width:50%;
  margin-left: 5em;
  align-content: space-around;
  font-size: 150%;
}

#faqintro a:any-link {
  color: #dddddd;
}

.faqcontent {
  display: grid;
  grid-template-columns: auto auto;
  width: 90%;
  font-size: larger;
  margin-top: 5em;
}

.faqcontent a:any-link {
  color: yellow;
}

.faqrightnodoggy {
  min-height: 6em;
  margin-right: 5em;
  padding-top: 0em;
  xalign-self: flex-end; 
  /* [(js) not sure what the "x" is about at the start of that, but it doesn't seem to make a difference with or without]
	align-self: flex-end; */
  width: 50%;
  background-size: 6em 6em;
  background-position: right top;
  background-origin: border-box;
  text-align: right;
  /* padding-right: 13em; */
  padding-right: 7em;
  background-color: #000;
  color: white;
  background-repeat: no-repeat;
}

.faqright {
  min-height: 6em;
  margin-right: 5em;
  padding-top: 4em;
  align-self: flex-end;
  width: 50%;
  background-image: url("/img/faq_doge.png");
  background-size: 6em 6em;
  background-position: right top;
  background-origin: border-box;
  text-align: right;
  padding-right: 7em;
  background-color: #000;
  color: white;
  background-repeat: no-repeat;
}

.faqleft {
  min-height: 9em;
  margin: 2em;
  margin-top: -2em;
  padding-top: 3em;
  width: 50%;
  align-self: flex-start;
  background-image: url("/img/faq_confusedguy.png");
  background-size: 6em 8em;
  background-position:
    left top;
  background-origin: border-box;
  text-align: left;
  padding-left: 7em;
  left: 10em;
  background-color: #000;
  color: yellow;
  background-repeat: no-repeat;
}

#contactform {
  margin: auto;
  padding: 1em;
  border-style: none;
  border-width: 3px;
  border-radius: 5px;
  border-color: white;
  /*font-family: "Arial", sans-serif;*/
  font-size: larger;
  max-width: 80vw;
  align-self: center;
}

#contactform form {
  border-radius: 5px;
  text-align: left;
  background-color: #555555;
  line-height: 2;
  padding: 1em;
  max-width: 70vw;
}

h1 {
  color: #00ffff;
  font-size: 400%;
  font-family: "Times New Roman", serif;
  text-align: center;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

.hamburger {
  display: none;
}

@media only screen and (max-width: 800px) {
  /* Style adjustments for viewports that meet the condition */

  .hamburger {
    display: block;
  }

  .hometext {
    font-size: smaller;
    text-align: center;
  }

  .hometext img {
    max-width: 80vw;
    width: 70vw;
  }

  .navbarlogo {
    flex-grow: 2;
    max-width: 20vw;
  }

  .navbarlogo img {
    width: 20vw;
    max-width: 40vw;
  }

  .navbarlist {
    display: none;
  }

  .hamburger {
    flex-grow: 3;
    display: flex;
    max-height: 2em;
    flex-direction: column;
    list-style-type: none;
    row-gap: .1em;
    column-gap: 0;
    justify-items: center;
    margin-left: 10vw;
    margin-top: 1vw;
    margin-right: 5vw;
  }

  .hamburger button {
    width: min-content;
  }

  .menu {
    display: none;
    list-style-type: none;
    padding-top: 0;
    padding-left: 5em;
    margin-top: 1vw;
    font-size: smaller;
    background-color: #aaaaaa;
    z-index: 99;
  }

  .menuitem {
    width: min-content;
    white-space: nowrap;
  }

  .navitem {
    justify-content: right;
  }

  .navitem img {
    width: 10vw;
  }

  #faqintro {
    width:90%;
    margin-left: 1em;
    align-content: space-around;
    font-size: 100%;
  }

  .faqcontent {
    display: block;
    grid-template-columns: none;
    width: 90%;
    font-size: unset;
    margin-top: 5em;
  }

  .faqleft {
    min-height: 3em;
    margin: 2em;
    margin-top: 0em;
    padding-top: 1em;
    width: 90%;
    align-self: unset;
    background-image: url("/img/faq_confusedguy.png");
    background-size: 3em 4em;
    padding-left: 4em;
    margin-left: 1em;
  }

  .faqright {
    min-height: 3em;
    margin-right: 1em;
    padding-top: 1em;
    align-self: unset;
    width: 90%;
    background-image: url("/img/faq_doge.png");
    background-size: 3em 3em;
    text-align: right;
    padding-right: 4em;
  }

  .faqrightnodoggy {
    min-height: 3em;
    margin-right: 1em;
    padding-top: 1em;
    align-self: unset;
    width: 90%;
    text-align: right;
    padding-right: 4em;
  }

  .imgfloatleft {
    padding: 0px 0px 0px 0px;
    margin: 1em;
    width: 80vw;
    float: none;
    left: -1em;
    position: relative;
  }

  #memefeed {
    display: none;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

