/*! HTML5 Boilerplate v9.0.0-RC1 | 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
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color: #d7d7d7;
  font-size: 1.1em;
}

/*
   * 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
   */

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;
}

/* 
 * Strongloud's custom styles
 */

html,
body {
  background-color: #f0f0f0;
  color: black;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  height: 100%;
  margin: 0;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

a {
  color: lightskyblue;
}

body {
  background-color: #121212;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 10, 10, 1) 0%,
    rgba(40, 40, 40, 1) 100%
  );
  position: relative;
}

main {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

section {
  align-items: center;
  display: grid;
  height: 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5 h6 {
  color: #121212;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}

h1 {
  font-size: 2.75rem;
  line-height: 2.8rem;
  margin-bottom: 1.253rem;
}
h2 {
  font-size: 2.25rem;
  line-height: 2.3rem;
  margin-bottom: 1.15rem;
}
h3 {
  font-size: 1.75rem;
  line-height: 1.8rem;
  margin-bottom: 1rem;
}
h4 {
  font-size: 1.375rem;
  line-height: 1.4rem;
  margin-bottom: 1rem;
}
h5 {
  font-size: 1.25em;
  line-height: 1.3rem;
  margin-bottom: 0.675rem;
}
h6 {
  font-size: 1.15rem;
  line-height: 1.2rem;
  margin-bottom: 0.375rem;
}
li,
p {
  color: black;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
ol {
  margin-left: 1rem;
}
.small {
  font-size: 0.8rem;
}
.x-small {
  font-size: 0.64rem;
}

.bold {
  font-weight: 700;
}

.center,
.centered {
  text-align: center;
}

.citation,
.disclaimer {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: 1.5rem 1fr 1.5rem;
  margin: 0.5rem 0 1.5rem;
  width: 100%;
}

.citation .model,
.disclaimer .model {
  background-color: rgb(58, 58, 58);
  border: 1px solid limegreen;
  border-radius: 4px;
  display: grid;
  grid-column: 2;
  grid-template-columns: 1.5rem 1fr;
  padding: 0.375rem 1rem 1rem 1rem;
  width: 100%;
}

.citation .model svg,
.disclaimer .model svg {
  justify-self: center;
}

.disclaimer .model svg {
  margin-top: 0.625rem;
}

.citation .model p,
.disclaimer .model p {
  font-size: 0.875rem;
  font-weight: 300;
  grid-column: 2;
  margin: 0;
  padding-left: 0.57rem;
  padding-top: 0.5rem;
  width: 100%;
}

.disclaimer .model {
  border: 1px solid orange;
}

.footing {
  padding-bottom: 1rem;
  text-align: center;
  width: 100%;
}
.footing p {
  font-style: normal;
}

.italics {
  font-style: italic;
}

.light {
  font-weight: 300;
}

.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}

.medium {
  font-weight: 500;
}

.menu {
  color: black;
  position: absolute;
  top: 0.875rem;
  left: 1rem;
}
.menu:active,
.menu:visited {
  color: black;
}

.meta {
  padding: 0.25rem 0;
  width: 100%;
}
.meta .tags {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  width: 100%;
}
.meta .tags li {
  align-items: center;
  background-color: rgb(47, 187, 47);
  border-radius: 0.675rem;
  color: white;
  display: flex;
  font-size: 0.5875rem;
  font-weight: 500;
  margin: 0.125rem;
  padding: 0.25rem 0.875rem;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px #111111;
}

.normal,
.regular {
  font-weight: 400;
}

.page {
  height: 100%;
  overflow-y: auto;
  padding: 0 1.5rem;
  scrollbar-color: #393939 #171717;
  width: 100%;
}

.post {
  display: block;
}

.published {
  color: #989898;
  font-style: italic;
  font-size: 0.75rem;
  font-weight: 300;
  margin-bottom: 0rem;
  margin-top: 0.5em;
}

.rajdhani {
  font-family: "Rajdhani", sans-serif;
  font-style: normal;
}

.semibold {
  font-weight: 600;
}

.slug {
  color: #989898;
  font-weight: 300;
  margin-bottom: 0.275rem;
}

#stars {
  display: block;
  position: relative;
  width: 100%;
  height: 16rem;
  height: 100vh;
  z-index: 1;
}

.tiny {
  font-size: 0.604rem;
}

.topbar {
  background-color: transparent;
  height: 3rem;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
}
.topbar.dark {
  background-color: #1a1a1a;
}

.widescreen-links {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(3, 4rem);
  height: 100%;
  padding: 0 1.5rem;
  width: 100%;
}

.widescreen-links a,
.widescreen-links a:visited {
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 200ms ease-in-out;
}
.widescreen-links a:hover,
.widescreen-links a:active {
  color: lime;
}

/*
 * Overlay Menu
 */
#overlay .container-menu {
  align-items: start;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 1fr 4fr 1fr;
  height: 100%;
  position: relative;
}

#overlay h1 {
  color: #c8c8c8;
}

#overlay a {
  color: white;
  display: block;
  margin-bottom: 1rem;
  font-size: 2rem;
  text-decoration: none;
}
#overlay a:active,
#overlay a:visited {
  color: white;
}

#overlay .art-grid {
  display: grid;
  height: 4rem;
  grid-template-columns: 1fr 0.375rem 2rem 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
}

#overlay .exit {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
}
#overlay.exit:active,
#overlay .exit:visited {
  color: black;
}

#overlay .left {
  grid-column: 1;
  grid-row: 2;
}

#overlay .links {
  grid-column: 2;
  grid-row: 2;
}

#overlay .line {
  align-self: start;
  border-bottom: 1px solid lime;
  height: 1px;
  margin-bottom: 1rem;
}

#overlay .main {
  margin: 0;
}

#overlay .right {
  grid-column: 4;
  grid-row: 2;
}

#overlay .ship {
  align-self: center;
  grid-column: 3;
  grid-row: 1/3;
  height: 2.25rem;
  justify-self: center;
  width: 2.25rem;
}

/*
 * 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.
	 ========================================================================== */

/* Mobile Styles */
@media only screen and (max-width: 400px) {
  .widescreen-links {
    display: none;
    visibility: hidden;
  }
}

/* Mobile Styles */
@media only screen and (min-width: 300px) and (max-width: 960px) {
  h1 {
    font-size: 2.109rem;
    line-height: 2.109rem;
  }
  h2 {
    font-size: 1.64rem;
    line-height: 1.7rem;
  }
  h3 {
    font-size: 1.289rem;
    line-height: 1.33rem;
  }
  h4 {
    font-size: 1.171rem;
    line-height: 1.1875rem;
  }
  h5 {
    font-size: 1.15em;
    line-height: 1.2rem;
  }
  h6 {
    font-size: 1.175rem;
    line-height: 1.25rem;
  }

  .citation,
  .disclaimer {
    grid-template-columns: 0.5rem 1fr 0.5rem;
  }

  .meta {
    padding: 0.5rem 0.5rem;
  }

  .meta p {
    color: limegreen;
    font-size: 0.75rem;
  }

  .post {
    width: 100%;
  }

  .tags p {
    color: white;
    font-size: 0.625rem;
  }

  .widescreen-links {
    display: none;
    visibility: hidden;
  }
}

/* Desktop Styles */
@media only screen and (min-width: 961px) {
  .menu {
    display: none;
    visibility: hidden;
  }

  .meta {
    padding: 0.75rem 0.5rem;
  }

  .meta p {
    color: limegreen;
    font-size: 0.8375rem;
  }

  .post {
    width: 960px;
    margin: 0 auto;
  }

  .tags p {
    color: white;
    font-size: 0.675rem;
  }
}

/* ==========================================================================
	 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;
  }
}
