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

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
  height: 100%;
}

body {
  padding: 2em 0;
  margin: 0;
  font-family: sans-serif;
  text-align: center;
  background: rgb(223,240,227);
  background-image: url('../img/lll-background-tile.svg');}

section {
  display: inline-block;
  margin: 0 auto;
  width: 100%;
  max-width: 880px;
  text-align: left;
  padding: 0;
}

.container {
  border-radius: 0.5em;
  overflow: hidden;
  outline: outset 0.5em #736071;
  box-shadow: 0.5em 1.5em 2em rgba(0,0,0,0.8);
  background-color: #151D28;
}

header {
  width:100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 1em 0;
  background: rgb(168,158,167);
  background: linear-gradient(179deg, rgba(168,158,167,1) 0%, rgba(81,61,79,1) 100%);
  color: rgba(255,255,255,0.7);
  text-shadow: -0.05em -0.05em 0.1em rgba(0,0,0,0.5);
}

header span {
  display: inline-block;
  padding-left: 1em;
  animation: marquee 20s ease-in-out infinite;
  text-transform: uppercase;
}

@keyframes marquee {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-100%, 0); }
  100% { transform: translate(0, 0); }
}

.first {
  width: 30%;
  background: #151D28;
  clear: both;
}
.first p {
  font-family: "Comic Sans MS";
  float: left;
  padding: 0 1em;
  color: #DFF0E3;
}

.first nav ol {
  width: 100%;
  height: 320px;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.first nav ol li {
  width: 25%;
  display: inline-block;
  height:300px;
  background: rgb(48,48,48);
  background: linear-gradient(90deg, rgba(48,48,48,1) 0%, rgba(95,95,95,1) 100%);
  margin: 0;
  padding: 0.5em 0;
  float: left;
  writing-mode: vertical-rl;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.8em;
  box-shadow: inset -0.1em -0.3em 0.5em rgba(0,0,0,0.5);
  line-height: 2.5em;
  border-radius:4px;

}
.first nav ol li:hover {
  box-shadow: inset -0.1em -0.3em 0.5em rgba(0,0,0,0.25);
  box-shadow: 0.1em 0.3em 0.5em rgba(0,0,0,0.25);
}

.first nav ol li a{
  text-decoration:none;
  display:block;
  width:100%;
  height:100%;
  color: black;

}

.first nav ol li.ta-tape{
  background: #E755C3;
}
.first nav ol li.living-tape{
  background: #D09465;
  cursor: not-allowed;
    opacity:0.25;

}
.first nav ol li.losing-tape{
  background: #A5D06B;
  cursor: not-allowed;

  opacity:0.25;
}
.first nav ol li.loving-tape{
  background: #E7A49A;
  cursor: not-allowed;
    opacity:0.25;

}

.second {
  width: 70%;
  display: inline-block;
  height: 590px;
  background: rgb(48,48,48);
  background: linear-gradient(359deg, rgba(48,48,48,1) 0%, rgba(95,95,95,1) 100%);
  float:right;
  text-align: center;
  box-shadow: inset -0.3em -0.7em 1.5em rgba(0,0,0,0.5);
  border-radius: 0.5em;
}
.second iframe {
  border-radius: 0.5em;
  margin-top: 1.5em;
  outline: inset 0.4em rgba(0,0,0,0.3);
  aspect-ratio: 4/3;
}

.tape-slot {
  margin: 30px auto 0 auto;
  display:block;
  height: 94px;
  width: 400px;
  background: rgb(48,48,48);
  background: linear-gradient(179deg, rgba(48,48,48,0.6) 0%, rgba(95,95,95,0.6) 100%);
  color: rgba(255,255,255,0.7);
  text-shadow: 0.05em 0.1em 0.1em rgba(0,0,0,0.7);
  font-size: 2em;
  line-height: 2em;
  box-shadow: inset .25em 0.7em 1.5em rgba(0,0,0,0.5);
  outline: inset 0.15em rgba(0,0,0,0.3);
  background-image:url('../img/PatAbsentLogoWide_Black.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 66%;
}

.emoji-lockup{
  display: inline-block;
  clear: both;
  margin: 0 0.5em 0.5em 0.5em;
  background-color: rgba(255,255,0,0.1);
  border-radius: 0.5em;
  border: solid 2px yellow;
}
.emoji-lockup p {
  float: right;
  display: inline-block;
}

.emoji-lockup p .emoji {
  font-size: 2.2em;
  padding: 0;
  margin: 0 0.3em 0 0;
  float: left;
}


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

@media only screen and (max-width: 52em) {
  body{
    padding: 1em;
  }
  .first, .second{
    width: 100%;
  }
  /* Style adjustments for viewports that meet the condition */
}

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

