/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Barlow", sans-serif;
  color: #e0e0e0;
  background-color: #111;
  /* background-image: radial-gradient(#202020, #000); */
  font-size: 1em;
  line-height: 1.4;
}

#landing-video-container {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#landing-video {
  /* position:fixed;
  top:0;
  left:0; */
  /* width: 1280px;
  height: 720px; */
  width: 100%;
  height: auto;
  /* min-width: 100%; */
}

video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

#landing-container h1, #site-navigation ul li a {
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  -webkit-text-stroke-color: #fff;
  color:transparent;
  text-decoration: none;
}

#landing-container h1 {
  -webkit-text-stroke-width: 2px;
}

#site-navigation ul li a {
  -webkit-text-stroke-width: 1px;
}

#landing-container {
  /*display: grid;
  grid-template-columns: 25% 50% 25%;
  grid-template-rows: auto;*/
  /* display: -ms-flexbox;
  display: -webkit-flex; */
  display: flex;
  /* -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center; */
  align-items: center;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
}

#landing-container header {
  display: flex;
  position: relative;
  width: 50%;
  flex-direction: column;
  text-align: left;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  #landing-container header {
    width: 100%;
  }
}

#landing-container header h1 {
  font-size: 9em;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  #landing-container header h1 {
    font-size: 6em;
  }
}

@media (max-width: 440px) {
  #landing-container header h1 {
    font-size: 4em;
  }
}

#landing-container header h1 a:link {
  text-decoration: none;
}

#landing-container header h1 a:hover {
  text-shadow: #ccc 0px 0px 60px;
  text-decoration: none;
}

#is-intro-container {
  display: flex;
  position: relative;
  width: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  #is-intro-container {
    width: 100%;
  }
}

#is-intro { 
  margin-left: 10%;
  margin-right: 10%;
  color: #c0c0c0;
  border-color: #fff;
  border-width: 2px;
  border-style: solid;
}

#is-intro p {
  font-size: 2em;
  padding: 2em;
  margin: 0;
}

@media (max-width: 1024px) {
  #is-intro p {
    font-size: 1.5em;
    padding: 1.5em;
  }
}

@media (max-width: 440px) {
  #is-intro p {
    font-size: 1em;
    padding: 1.5em;
  }
}

#is-intro a, .subpage-container a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-position: under;
}

footer {
  display:flex;
  /* background-color: #000; */
  /* color:#333; */
  flex-wrap: wrap;
}

#site-navigation {
  text-align: left;
  display: flex;
  position: relative;
  width: 50%;
}

@media (max-width: 1024px) {
  #site-navigation {
    text-align: center;
    width: 100%;
  }
}

#social ul, #site-navigation ul {
  padding: 0 1em;
}

#site-navigation ul {
  list-style-type: none;
  list-style-position: inside;
}

/* #site-navigation ul li {
  margin: 1em;
} */

#site-navigation ul li a {
  font-size: 1.5em;
  text-decoration: none;
  
}

#site-navigation ul li {
  display:inline;
  margin: 0.5em;
}

#social {
  text-align: right;
  display: flex;
  position: relative;
  width: 50%;
}

@media (max-width: 1024px) {
  #social {
    width: 100%;
  }
}

#social ul {
  list-style-type: none;
  text-align: right;
  width: 100%;
}

@media (max-width: 1024px) {
  #social ul {
    text-align: left;
  }
}

#social ul li {
  display: inline;
  margin: 0.5em;
}

#social ul a {
  font-size: 1.5em;
  text-decoration: none;
}

#social ul a img {
  height: 1em;
  width: auto;
}

#site-navigation ul a:hover {
  text-shadow: #ccc 0px 0px 10px;
  text-decoration: none;
}

.subpage-container {
  padding-left: 16.66%;
  padding-right: 16.66%;
}

@media (max-width: 1024px) {
  .subpage-container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* .subpage-container header {
  display: flex;
  flex-direction: row;
} */

.subpage-container p, .subpage-container span {
  font-size: 1.25em;
}
@media (max-width: 1024px) {
  .subpage-container p, .subpage-container span {
    font-size: 1em;
  }
}

.subpage-header {
  padding: 1em;
}

.subpage-header h1, h2 {
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #fff;
  color: transparent;
  font-size: 4em;
  display: inline;
}

@media (max-width: 1024px) {
  .subpage-header h1, h2 {
    font-size: 2.5em;
  }
}

.subpage-header a {
  text-decoration: none;
  color: transparent;
}

.subpage-header a:hover {
  text-shadow: #ccc 0px 0px 10px;
  text-decoration: none;
}

.subpage-header h1::after {
  content: ":";
}

.subpage-header h2::before {
  content: "~/";
}

.subpage-container h3 {
  font-size: 1.75em;
}

@media (max-width: 1024px) {
  .subpage-container h3 {
    font-size: 1.25em;
  }
}

.clip-description-container {
  margin: 2em;
}

.clip-description-container h3 a {
  color:#fff;
}

.publication-name {
  font-style: italic;
}

.work-container {
  display: flex;
  align-items: left;
  flex-wrap: wrap;
  margin: 2em 0;
}

.work-media-container {
  display: flex;
  position: relative;
  width: 50%;
  flex-direction: column;
  /* padding-top: 1em; */ 
}

@media (max-width: 1024px) {
  .work-media-container {
    width: 100%;
  }
}

.work-media-container img {
  margin: 0 2em;
}

.work-description-container {
  display: flex;
  position: relative;
  width: 50%;
  flex-direction: column;
  /* padding: 1em; */ /* This messes up the width and makes it wrap */
}

@media (max-width: 1024px) {
  .work-description-container {
    width: 100%;
    padding: 0 2em;
  }
}

.construction-container {
  padding-top: 2em;
  padding-bottom: 2em;
  text-align: center;
}

.about-container {
  /* display: flex;
  align-items: center; */
}

.headshot-container {
  /* display: flex;
  position: relative;
  width: 100%;
  flex-direction: column; */
  text-align: center;
}

.headshot-container img {
  /* border-color: #fff;
  border-style: solid;
  border-width: 1px; */
  height: auto;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

.bio-container {
  /* display: flex;
  position: relative;
  width: 100%;
  flex-direction: column; */
  margin: 2em;
}

.bio-container :first-child, .clip-description-container :first-child, .work-description-container :first-child {
  margin-top: 0;
}

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

/*
 * Hide visually and from screen readers
 */

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

.sr-only {
  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 .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.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;
}

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

@media only screen and (min-width: 35em) {
  /* 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: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    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;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

