/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */
/*
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on May 30, 2019 */
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on May 30, 2019 */
@font-face {
  font-family: 'Bebas Bold';
  src: url('bebasneue-bold-webfont.woff2') format('woff2'),
    url('bebasneue-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Bebas Book';
  src: url('bebasneue-book-webfont.woff2') format('woff2'),
    url('bebasneue-book-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'bebas regular';
  src: url('bebasneue-regular-webfont.woff2') format('woff2'),
    url('bebasneue-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: #8F9490;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #212221;
}

::-webkit-scrollbar-thumb {
  background-color: #8F9490;
}

body {
  background-color: #E7E7E7;
}

#top, #about, #contact {
  width: 1px;
  height: 1px;
}

.parallax-window {
  width: 100%;
  min-height: 1100px;
}

main a {
  font-family: "Bebas Bold";
  font-weight: 700;
  text-decoration: none;
  font-size: 50px;
}

main img {
  height: 300px;
  width: 400px;
}

main h4 {
  font-family: "montserrat", sans-serif;
  font-size: 18px;
  text-decoration: none;
  font-weight: 400;
  font-style: italic;
  margin-top: 0px;
}

h1 {
  font-family: "bebas bold";
  font-size: 40px;
  text-align: center;
  letter-spacing: 5px;
  color: #e7e7e7;
}

p {
  font-family: 'Montserrat', sans-serif;
  line-height: 24px;
}

/*  Grid  */
.full-width {
  display: flex;
  width: 90%;
  margin: 0px auto;
  justify-content: center;
  align-content: space-around;
  flex-wrap: nowrap;
}

.half-width {
  display: flex;
  flex-basis: 500px;
  width: 40%;
  padding-top: 3%;
  padding-bottom: 3%;
  justify-content: center;
  flex-wrap: nowrap;
}

.third-width {
  display: flex;
  flex-basis: 300px;
  width: 25%;
  padding: 0px 1%;
  justify-content: center;
  flex-flow: column;
}

.reverse {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.cell-size {
  width: 400px;
  height: 300px;
}

.contact-cell-width {
  display: flex;
  flex-basis: 300px;
  width: 25%;
  padding: 0px 1%;
  flex-flow: column;
}

.left-align {
  display: flex;
  flex-direction: column;
}

.right-align {
  display: flex;
  flex-direction: column;
}

.right-align, .right-align p {
  text-align: right;
}

.back-icon a {
  color: #212221;
  font-size: 40px;
  text-decoration: none;
  -webkit-transition: .3s;
  transition: .3s;
}

.back-icon a:hover, #port-head a:hover {
  color: #8F9490;
}

/*  HEADER  */
header, header a {
  color: #72706E;
  -webkit-transition: .3s;
  transition: .3s;
}

header a:hover {
  color: #C5C5C4;
}

#banner {
  margin-top: 8%;
  margin-left: 20%;
}

#title {
  font-family: "Bebas Book";
  font-size: 26px;
}

#facts {
  margin-top: -2px;
}

#tagline {
  font-family: "montserrat", sans-serif;
  font-style: italic;
  text-transform: lowercase;
  font-size: 12px;
}

nav {
  margin-left: -40px;
  margin-top: -15px;
}

nav a {
  text-decoration: none;
  font-family: "bebas book";
  font-size: 20px;
}

nav li {
  list-style: none;
  line-height: 20px;
}

/*  MAIN  */
#port-spacer {
  display: flex;
  justify-content: center;
  flex-flow: row-reverse nowrap;
  background: #212221;
  background-image: url("../img/rice-paper-2.png");
  width: 100%;
  height: 100px;
}

#port-head {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row-reverse;
}

#port-wrap {
  background: #f0f0f0;
  height: 100%;
  background-image: url("../img/rice-paper-2.png");
  margin: 0px auto;
}

#port-back {}

#port-head a {
  color: #e7e7e7;
  font-size: 40px;
}

main {
  margin-top: -151px;
}

main a {
  color: #212221;
  -webkit-transition: .3s;
  transition: .3s;
}

main a:hover {
  color: #C5C5C4;
}

main h4 {
  color: #72706E;
}

main p {
  text-align: justify;
  font-size: 14px;
}

/*  About  */
#about-spacer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #C5C5C4;
  background-image: url("../img/paper-2.png");
  width: 100%;
  height: 100px;
}

#about-head h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #212221;
}

#about-wrap {
  background: #8F9490;
  height: 100%;
  margin-top: -5px;
  background-image: url("../img/paper-2.png");
}

#about-back {}

section p {
  line-height: 24px;
  color: #E7E7E7;
  text-align: justify;
  font-size: 14px;
  margin-top: 45px;
  font-family: "montserrat", sans-serif;
}

#soundcloud {
  text-align: right;
}

#spotify {}

/*  Contact  */
#contact-spacer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #E7E7E7;
  background-image: url("../img/paper-2.png");
  width: 100%;
  height: 100px;
}

#contact-head h1 {
  display: flex;
  color: #212221;
}

#contact-wrap {
  display: flex;
  background: #212221;
  height: 120%;
  background-image: url("../img/paper-2.png");
  flex-flow: wrap;
}

#contact-back {}

footer h4 {
  font-family: "bebas book";
  font-size: 30px;
  letter-spacing: 3px;
}

.icon {
  font-size: 50px;
  padding: 0px 2%;
}

#icon-wrap {
  display: flex;
  justify-content: center;
}

.icon a {
  color: #E7E7E7;
  -webkit-transition: .3s;
  transition: .3s;
}

.icon a:hover {
  color: #8F9490;
}

footer {
  text-align: center;
}

footer .third-width {
  color: #e7e7e7;
}

footer a, footer p {
  font-family: "montserrat", sans-serif;
  text-decoration: none;
  color: #e7e7e7;
}

footer a {
  -webkit-transition: .3s;
  transition: .3s;
}

footer a:hover {
  color: #8F9490;
}

#copyright {
  display: flex;
  justify-content: center;
  align-items: center;
}

#copyright p {
  color: #e7e7e7;
  font-family: "bebas book";
  font-size: 1em;
  letter-spacing: 2px;
  text-transform: none;
}

#copy-position {
  text-align: center;
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .full-width {
    flex-wrap: wrap;
  }

  .half-width {
    flex-wrap: wrap;
  }

  .third-width {
    display: flex;
    flex-basis: 300px;
    width: 100%;
    padding: 0px 1%;
    justify-content: center;
    align-items: center;
    flex-flow: nowrap;
    flex-direction: column;
  }

  .reverse {
    flex-flow: wrap-reverse;
  }

  .left-align {
    display: flex;
    flex-direction: column;
  }

  .right-align {
    display: flex;
    flex-direction: column;
  }

  .right-align, .right-align p {
    text-align: left;
  }

  .about-break {
    width: 600px;
    text-align: center;
  }

  #spotify {
    padding-top: 5%
  }

  #soundcloud {
    padding-bottom: 5%
  }
}

@media only screen and (max-width: 600px) {
  .full-width {
    flex-wrap: wrap;
  }

  .half-width {
    flex-wrap: wrap;
  }

  .reverse {
    flex-flow: wrap-reverse;
  }

  .cell-size, .cell-size p {
    width: 300px;
    text-align: left;
  }

  main img {
    width: 300px;
    height: 225px;
  }

  #spotify {
    padding-top: 5%
  }

  #soundcloud {
    padding-bottom: 5%
  }
}

/* ==========================================================================
   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
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * 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: " ";
  /* 1 */
  display: table;
  /* 2 */
}

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