/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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
 *
 * 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 {
    scroll-behavior: smooth;
  }
  body {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
  }
  a {
    color: #fff;
  }
  .link_list a,
  .albums a {
    display: inline-block;
    text-decoration: none;
  }
  h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
  }
  p {
    margin-bottom: 2rem;
  }
  strong {
    font-weight: 700;
  }
  blockquote {
    margin: 0;
    text-align: left;
  }
  .testimonials footer {
    line-height: 1.8;
  }
  .grid_container {
    display: grid;
    grid-template-rows: 1fr;
    grid-column-gap: 7.5rem;
    grid-row-gap: 4rem;
  }
  .recentCredits .grid_container {
    grid-template-columns: repeat(4, 1fr);
  }
  .testimonials .grid_container,
  .albums .grid_container {
    grid-template-columns: repeat(3, 1fr);
  }
  .recentCredits img,
  .albums img {
    border: 1px solid rgba(255,255,255,.25);
    max-width: 100%;
  }
  .recentCredits figure,
  .albums figure {
    margin: 0;
  }
  .albums a:hover,
  .albums a:focus {
    transform: scale(1.1);
  }
  .albums a {
    transition: transform .3s cubic-bezier(0.87, 0, 0.13, 1);
  }
  .recentCredits figcaption,
  .albums figcaption {
    display: block;
    font-size: .8125rem;
    font-weight: 500;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
  }
  .production {
    background: rgba(255,255,255,.33);
    border-radius: .5rem;
    color: #fff;
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    padding: .55rem .75rem;
    text-transform: uppercase;
  }
  .grid_container p {
    text-align: left;
  }
  .toggle {
    background: none;
    border: none;
    cursor: pointer;
    height: 2.5rem;
    position: fixed;
    right: 3rem;
    top: 3rem;
    transition: right .3s cubic-bezier(0.87, 0, 0.13, 1);
    width: 2.5rem;
    z-index:900;
  }
  .offside-js--is-open .toggle {
    right: 21rem;
  }
  .toggle .icon {
    height: 2rem;
  }
  .nav {
    background: #807366;
    font-size: 1.25rem;
  }
  .nav .icon {
    height: 1rem;
    margin-right: .5rem;
    position: relative;
    top: -.1rem;
  }
  .nav a {
    text-decoration: none;
    text-transform: uppercase;
  }
  .nav_list {
    list-style: none;
    margin: 0;
    padding: 3rem 0 0 3rem;
  }
  .nav_list_item {
    margin-bottom: .75rem;    
  }
  .nav_list_item:first-child {
    margin-bottom: 2rem;
  }
  .icon {
    height: 1.25rem;
    margin-right: .5rem;
    position: relative;
    top: -.075rem;
  }
  .signature {
    background: url(../img/signature.svg) no-repeat;
    background-size: contain;
    bottom: 1rem;
    height: 8.2824rem;
    position: absolute;
    right: calc(10% + 5rem);
    width: 27.5rem;
  }
  .tagline {
    bottom: 0;
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
    position: absolute;
    right: 0;
    text-transform: uppercase;
  }
  .text_wrapper {
    margin-bottom: 4rem;
  }
  .container {
    margin: 0 auto;
    max-width: 74rem;
  }
  .bio .container {
    max-width: 50rem;
  }
  .player {
    border-radius: .5rem;
    height: 45rem;
    width: 100%;
  }
  .button {
    background: rgba(255,255,255,.62);
    border-radius: .5rem;
    color: rgba(0,0,0,1);
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.25rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
  }
  .background-1 {
    background: #1d1915;
  }
  .background-2 {
    background: linear-gradient(90deg, #050302 0%, #17100B 100%);
  }
  .background-3 {
    background: linear-gradient(90deg, #2B2A29 0%, #3B3530 100%);
  }
  .intro {
    font-size: 1.44rem;
    margin: 0 auto 6rem;
    max-width: 45rem;
    padding-top: 3rem;
  }
  .portrait,
  .standalone {
    border: 1px solid rgba(255,255,255,.25);
    max-width: 100%;
  }
  .section {
    width: 100%;
    position: relative;
  }
  .header {
    background: url(../img/nicoschuele_skewed.jpg) #1d1915 no-repeat;
    background-size: auto 66%;
    background-position-x: 15%;
    background-position-y: bottom;
    padding-top: 10rem;
    position: relative;
    z-index: 13;
  }
  .music {
    z-index: 12;
  }
  .cta-1 {
    z-index: 11;
  }
  .cta-1 a:hover,
  .cta-1 a:focus,
  .cta-2 a:hover,
  .cta-2 a:focus,
  .cta-3 a:hover,
  .cta-3 a:focus {
    transform: scale(1.1);
  }
  .cta-1 a,
  .cta-2 a,
  .cta-3 a {
    transition: transform .3s cubic-bezier(0.87, 0, 0.13, 1);
  }
  .bio {
    z-index: 10;
  }
  .recentCredits {
    z-index: 9;
  }
  .testimonials {
    z-index: 8;
  }
  .cta-2 {
    z-index: 7;
  }
  .albums {
    z-index: 6;
  }
  .footer {
    z-index: 5;
  }
  .footer .icon {
    height: 2rem;
    margin-right: .75rem;
  }
  .link_list {
    list-style: none;
    margin: 0 0 4rem;
    padding: 0;
  }
  .link_list_item {
    display: inline-block;
    margin: 0 3rem 2rem 0;
  }
  .link_list_item:last-child {
    margin: 0;
  }
  .link_list a:hover,
  .link_list a:focus {
    transform: scale(1.1);
  }
  .link_list a {
    transition: transform .3s cubic-bezier(0.87, 0, 0.13, 1);
  }
  .section::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: inherit;
    z-index: -1;
    bottom: 0;
  }
  .header .sectionInner {
    padding: calc(10% + 2rem) 3rem calc(5% + 2rem);
  }
  .footer .sectionInner {
    padding: 4rem 3rem 2rem;
  }
  .sectionInner {
    height: auto;
    display: block;
    overflow: hidden;
    padding: calc(5% + 2rem) 3rem calc(1rem);
    text-align: center;
  }
  .sectionWrapper {
    margin-top: -10rem;
  }
  .sectionWrapper > .section:not(:last-child)::after {
    transform-origin: right bottom;
    transform: skewY(-4deg);
  }

  .standalone {
    margin: 3rem 0;
  }

/* ==========================================================================
   Responsive rules
   ========================================================================== */

   @media all and (min-width: 1px) and (max-width: 999px) {
    .recentCredits .grid_container {
      grid-template-columns: repeat(2, 1fr);
    }
    .testimonials .grid_container,
    .albums .grid_container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

   @media all and (min-width: 1px) and (max-width: 584px) {
    .link_list_item {
      display: block;
      margin: 0 0 2rem 0;
    }
   }

   @media all and (max-width: 496px) {
    .signature {
      bottom: 16rem;
      height: 5rem;
      right: calc(50% - 8.5rem);
      width: 17rem;
    }
    .header {
      background-size: auto 40%;
      background-position-x: center;
      padding-top: 30rem;
    }  
    .tagline {
      font-size: .8rem; 
    }
    .recentCredits .grid_container {
      grid-template-columns: repeat(1, 1fr);
    }
    .testimonials .grid_container,
    .albums .grid_container {
      grid-template-columns: repeat(1, 1fr);
    }
  }

   @media all and (min-width: 497px) and (max-width: 640px) {
    .signature {
      bottom: 17rem;
      height: 7rem;
      right: calc(50% - 11rem);
      width: 22rem;
    }
    .tagline {
      font-size: .9rem; 
    }
    .header {
      background-size: auto 50%;
      background-position-x: center;
      padding-top: 20rem;
    }  
    .sectionWrapper {
      margin-top: 0;
    }
    .toggle {
      height: 2rem;
      right: 2.5rem;
      top: 2.5rem;
      width: 2rem;
    }
    .testimonials .grid_container {
      grid-template-columns: repeat(1, 1fr);
    }
  }

   @media all and (min-width: 641px) and (max-width: 799px) {
    .header {
      background-size: auto 50%;
      background-position-x: center;
      padding-top: 20rem;
    }  
    .signature {
      bottom: 17rem;
      right: calc(50% - 13.75rem);
    }
    .sectionWrapper {
      margin-top: 0;
    }
  }

   @media all and (min-width: 800px) and (max-width: 919px) {
    .signature {
      bottom: .5rem;
      height: 7rem;
      right: calc(10% + 3rem);
      width: 25rem;
    }
    .header {
      padding-top: 10rem;
    }
    .sectionWrapper {
      margin-top: -10rem;
    }
  }

  @media all and (min-width: 920px) and (max-width: 1199px) {
    .signature {
      bottom: -1rem;
      height: 9rem;
      right: calc(10% + 2rem);
      width: 29rem;
    }
    .header {
      padding-top: 10rem;
    }
    .sectionWrapper {
      margin-top: -10rem;
    }
  }

  @media all and (min-width: 1200px) and (max-width: 1399px) {
    .signature {
      bottom: -1rem;
      height: 12rem;
      right: calc(10% + 5rem);
      width: 34rem;
    }
    .header {
      padding-top: 12rem;
    }
    .sectionWrapper {
      margin-top: -12rem;
    }
  }

  @media all and (min-width: 1400px) and (max-width: 1599px) {
    .signature {
      bottom: -1rem;
      height: 12rem;
      right: calc(10% + 7.5rem);
      width: 34rem;
    }
    .header {
      background-position-x: 20%;
      padding-top: 18rem;
    }
    .sectionWrapper {
      margin-top: -14rem;
    }
  }

  @media all and (min-width: 1600px) and (max-width: 2099px) {
    .signature {
      height: 12rem;
      right: calc(15% + 10rem);
      width: 34rem;
    }
    .header {
      background-position-x: 27.5%;
    }
  }

  @media all and (min-width: 2100px) {
    .signature {
      height: 12rem;
      right: calc(20% + 10rem);
      width: 34rem;
    }
    .header {
      background-position-x: 30%;
    }
  }
  
/* ==========================================================================
   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
 */

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

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. 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 (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: #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;
  }

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

