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

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














/***********
************
************
************
************************
************************
************************
************************
************************
************************
************************
************************
************/

html {
  font-family: helvetica, arial;
}

body {

}

a:link, a:active, a:visited, a:hover {
  color: #000;
}

.blend-mode-multiply {
  mix-blend-mode: multiply;
}

.blend-mode-screen {
  mix-blend-mode: screen;
}

header, main, footer {
  margin-right: 40px;
  margin-left: 40px;
}

h1, h2, h3, h4, h5, h6, p {
  padding: 0;
  margin: 0 0 1em 0;
}

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

.vh50 {
  height: 50vh;
}

.vh75 {
  height: 75vh;
}

.vh100 {
  height: 100vh;
}

.my-4 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.my-3 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.my-2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.my-1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.position_relative {
  position: relative;
}


header, footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 2em;
  margin-bottom: 2em;
  font-family: 'Bebas Neue';

}

footer {
  margin-top: 6em;
}

header h1, footer h1 {
  margin: 0;
  font-size: 120px;
  text-transform: uppercase;
}

header h1 a, footer h1 a {
  text-decoration: none;
}

header ul, footer ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

header ul li, footer ul li {
  list-style-type: none;
  margin: 0 1em;
  text-transform: uppercase;
  font-size: 2em;
  font-weight: bold;
}

header ul li a, footer ul li a {
  text-decoration: none;
}

.projects ul li.projects a, .about ul li.about a {
  border-bottom: 2px solid;
}

header ul li:last-child, footer ul li:last-child {
  margin-right: 0;
}

footer {
  transform: rotate(180deg);
}

.image.full {
  margin: 2em -40px;
}

.image.full img {
  width: 100%;
}

/*** BLOCKS ***/

.blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.blocks .block {
  flex-basis: 30%;
  padding: 20px 0;
}

.blocks .break {
  flex-basis: 100%;
  height: 0;
}

.blocks .block .title {
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  margin-top: 16px;
}

@media (max-width:700px) {
  .blocks .block .title {
    font-size: 1.5rem;
  }
}

.blocks .block video {
  margin-bottom: 1em;
}

.blocks .block.no-center {
  margin-right: auto;
}

.blocks .block.half {
  flex-basis: 46%;
}

.blocks .block.wide {
  flex-basis: 75%;
}

.blocks .block.narrow {
  flex-basis: 20%;
}

.blocks .block.full {
  flex-basis: 100%;
}

.blocks .block.rotate-1 * {
  transform: rotate(-1deg);
}

.blocks .block.rotate-2 * {
  transform: rotate(1deg);
}

.blocks .block.rotate-3 * {
  transform: rotate(-2deg);
}

.blocks .block.rotate-4 * {
  transform: rotate(2deg);
}

.blocks .block.align-top {
  align-self: flex-start;
}

.blocks .block.text-small {
  font-size: 1.25rem;
}

.blocks .block.text-normal {
  font-size: 1.5rem;
}

.blocks .block.text-big {
  font-size: 1.75rem;
}

.blocks .block.text-bigger {
  font-size: 3rem;
}

.blocks .block.text p:last-child {
  margin-bottom: 0;
}

.blocks .block.text-biggest {
  font-size: 4rem;
}

.blocks .block.image img {
  width: 100%;
}

.blocks .block.image p {
  text-align: center;
}

.blocks.projects img:hover, .blocks.projects a:hover {
  cursor: pointer;
}


.background-text {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.background-text blockquote {
  flex-basis: 75%;
  font-size: 4rem;
}

.background-text.full {
  margin: 40px -40px;
}


/*** ABOUT ***/

#about_video {
  aspect-ratio: 748/355;
  display: flex;
  justify-content: center;
  align-items: center;
}

#about_video video {
  width: 100%;
  position: absolute;
  top: 20px;
  left: 0;
  z-index: -99;
}

#about_video h2 {
  text-align: center;
  color: #fb18f8;
  font-family: 'Bebas Neue';
  font-size: 13vw;
  padding: 0;
  margin: 0;
  mix-blend-mode: exclusion;
  opacity: .7;
}




/*** BARFIGHT ***/

body.barfight {
  background: rgb(255,235,253);
  background: linear-gradient(180deg, rgba(255,235,253,1) 50%, rgba(176,255,255,1) 100%);
}

.barfight {
  color: #333;
}

.barfight a:link, .barfight a:visited, .barfight a:active, .barfight a:hover {
  color: #333;
}

.barfight .block.special-font, .barfight .special-font {
  font-family: 'Bebas Neue';
  font-size: 7rem;
  text-align: center;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .barfight .block.special-font, .barfight .special-font {
    font-size: 5rem;
  }
}

@media (max-width: 900px) {
  .barfight .block.special-font, .barfight .special-font {
    font-size: 4rem;
  }
}

.barfight .block.special-color, .barfight .special-color {
  color: #fb3ef2;
}


/*** BROKEN VOWS ***/

body.broken_vows {
  background: rgb(255,255,255);
 background: linear-gradient(180deg, rgba(255,255,255,1) 63%, rgba(255,146,254,1) 100%);
}

.broken_vows .block.special-font, .broken_vows .special-font {
  font-family: 'Grenze Gotisch';
  font-size: 4rem;
  text-align: center;
  font-weight: 400;
}

@media (max-width: 900px) {
  .blocks.broken_vows .block.special-font, .broken_vows .special-font {
    font-size: 4rem;
  }
}

.broken_vows .block.special-color, .broken_vows .special-color {
  color: #fb18f8;
}

.broken_vows .block.text-biggest {
  font-size: 6rem;
}

.broken_vows .background-text blockquote {
  font-size: 6rem;
}
































@media (max-width: 1100px) {

  header h1, footer h1 {
    font-size: 60px;
  }

} /* 1100px */


/*** MEDIUM ***/
@media (max-width: 900px) {

  html {
    font-size: 12px;
  }

  header h1, footer h1 {
    font-size: 4.5em;
  }

  .blocks .block {
    flex-basis: 45%;
  }

  .blocks .block.wide, .blocks .block.medium-wide {
    flex-basis: 85%;
  }

  .medium-order-1 {
    order: -1;
  }

  .blocks .block.text-big {
    font-size: 1.75rem;
  }


} /* 900px */

/*** SMALL ***/
@media (max-width: 700px) {

  header, main, footer {
    margin-right: 20px;
    margin-left: 20px;
  }

  header, footer {
    flex-direction: column;
    align-items: center;
  }

  header ul li, footer ul li, header ul li:last-child, footer ul li:last-child {
    margin: 0 .5em;
  }

  header h1, footer h1 {
    font-size: 4.5em;
  }

  .blocks .block, .blocks .block.half {
    flex-basis: 100%;
  }

  .small-order-1 {
    order: -1;
  }

} /* 700px */
