/*! HTML5 Boilerplate v9.0.1 | 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
   ========================================================================== */
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/DMMono-Regular.ttf");
  format("opentype");
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Regular.ttf");
format("opentype");
}

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

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

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

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/** ------------------------------------------ **/

.main {
  background-color: darkblue;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
  padding-left: 20px;
  width: 60vw;
  height: 100vh;
  margin: auto;
}

.index main{
  background-image: url("../img/logo_ani.gif");
  background-size: 130vh;
  background-position: center;
  background-repeat: no-repeat;
}

h1  {
  margin: 20px 0 0 0;
}

.headline {
  line-height: 50px;
  color: white;
  font-family: "DM Mono", monospace;
  margin: 0;
  font-size: 30px;
  text-decoration: none;
}

.headline:hover {
  color: #ef0f0f;
  transition-duration: 0.5s;
}

body {
  margin: 0;
  background-color: black;
}

ul  {
  list-style-type: none;
  padding: 0;
}

.navi {
  text-decoration: none;
  color: white;
  font-family: "DM Mono", monospace;
}

.navi:hover {
  color: #ef0f0f;
  transition-duration: 0.5s;
}

.here {
  color: #ef0f0f;
}

/** FILM PAGE **/

.titles {
  width: 60vw;
  height: 100vh;
  z-index: 99;
  align-content: center;
}

.titles a {
  text-decoration: none;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-weight: bold;
  font-size: 30px;
}

ol  {
  padding: 0;
  list-style: none;
}

ol a:hover  {
  color: darkblue;
  transition-duration: 0.5s;
}

.filmmain {
  background-color: darkblue;
  padding-left: 20px;
  padding-right: 20px;
  width: 60vw;
  height: 100vh;
  margin: auto;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

/** PROJECTS PAGE **/

h2  {
  color: white;
  font-family: "DM Sans", sans-serif;
  font-weight: bold;
  font-size: 80px;
  margin: 0;
}

.arrow  {
  width: 20px;
  rotate: 180deg;
}

.projheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: white;
  padding-bottom: 10px;
}

h3  {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 15px;
}

.content  {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.poster {
  width: 350px;
}

.text {
  color: white;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  margin: 0 20px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-top: 20px;
  border-top-width: 1px;
  border-top-color: white;
  border-top-style: solid;
  padding-top: 10px;
}

.arrow-two  {
  width: 20px;
  height: 16px;
}

.footer ul  {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 20px;
  padding-right: 30px;
}

h4  {
  font-family: "DM Mono", monospace;
  font-weight: bold;
  font-size: 15px;
  margin: 0 10px 0 0;
}

.next {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.next a  {
  text-decoration: none;
}

/**   IMPRESSUM **/

.imprheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: white;
  padding-bottom: 10px;
}

.imprheader ul  {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;

}

.imprheader ul li {
  padding-right: 10px;
  margin: 0;
  font-family: "DM Mono", ui-monospace;
  font-size: 15px;
}

.logo {
  width: 40px;
}

/** PICTURE PAGE **/
.picsbod main {
  height: auto;
}

.footerpics {
  background-color: darkblue;
  bottom: 0;
  align-items: center;
  position: sticky;
}

.picstext {
  margin-top: 20px;
}

.picgrid  {
  width: 60vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px 150px;
  column-gap: 20px;
  row-gap: 20px;
  margin-top: 40px;
}

.picgrid div  {
  border: 1px solid white;
}

.beach1 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;
  background-image: url("../img/pictures_pictures/beach.jpg");
  background-size: cover;
  background-position: center;
}

.vinyl  {
  grid-column-start: 4;
  grid-column-end: 7;
  grid-row-start: 7;
  grid-row-end: 10;
  background-image: url("../img/pictures_pictures/vinyl.png");
  background-size: cover;
  background-position: center;
}

.car  {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 8;
  grid-row-end: 10;
  background-image: url("../img/pictures_pictures/car.jpg");
  background-size: cover;
  background-position: center;
}

.beach2 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 10;
  grid-row-end: 12;
  background-image: url("../img/pictures_pictures/beach2.jpg");
  background-size: cover;
  background-position: center;
}

.flo  {
  grid-column-start: 5;
  grid-column-end: 7;
  grid-row-start: 1;
  grid-row-end: 3;
  background-image: url("../img/pictures_pictures/flo1.png");
  background-size: cover;
  background-position: center;
}

.tree {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 5;
  background-image: url("../img/pictures_pictures/tree.jpg");
  background-size: cover;
  background-position: center;
}

.house2 {
  grid-column-start: 4;
  grid-column-end: 7;
  grid-row-start: 3;
  grid-row-end: 5;
  background-image: url("../img/pictures_pictures/house2.jpg");
  background-size: cover;
  background-position: center;
}

.lanz1  {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 5;
  grid-row-end: 8;
  background-image: url("../img/pictures_pictures/lanz1.png");
  background-size: cover;
  background-position: center;
}

.hel2 {
  grid-column-start: 4;
  grid-column-end: 7;
  grid-row-start: 5;
  grid-row-end: 7;
  background-image: url("../img/pictures_pictures/hel2.jpg");
  background-size: cover;
  background-position: center;
}

.lanz2 {
  grid-column-start: 5;
  grid-column-end: 7;
  grid-row-start: 10;
  grid-row-end: 12;
  background-image: url("../img/pictures_pictures/lanz2.png");
  background-size: cover;
  background-position: center;
}

.sky  {
  grid-column-start: 1;
  grid-column-end: 7;
  grid-row-start: 12;
  grid-row-end: 14;
  background-image: url("../img/pictures_pictures/sky1.png");
  background-size: cover;
  background-position: center;
}

.hel1 {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 14;
  grid-row-end: 16;
  background-image: url("../img/pictures_pictures/hel1.jpg");
  background-size: cover;
  background-position: center;
}

.gras {
  grid-column-start: 4;
  grid-column-end: 7;
  grid-row-start: 14;
  grid-row-end: 16;
  background-image: url("../img/pictures_pictures/gras.jpg");
  background-size: cover;
  background-position: center;
}

.uparrow  {
  height: 15px;
  rotate: 270deg;
  cursor: pointer;
}



/** ABOUT PAGE **/

.blockback  {
  background-image: url("../img/block_ani.gif");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 250px;
}

.aboutcontent {
  display: flex;
  margin-bottom: 20px;
}

.aboutlink  {
  color: white;
  font-weight: bolder;
}

.aboutlink:hover  {
  color: #ef0f0f;
  transition-duration: 0.5s;
}

.aboutlink p:hover  {
  color: #ef0f0f;
  transition-duration: 0.5s;
}

form {
  display: flex;
  flex-direction: column;
  width: 25vw;
  height: 100%;
}

label{
  font-family: "DM Mono", monospace;
  color: white;
  font-size: 14px;
}

.formelement  {
  display: flex;
  flex-direction: column;
}

textarea  {
  height: 90px;
  resize: none;
}

::placeholder {
  font-family: "DM Mono", monospace;
  color: white;
}

input, textarea {
  border-radius: 0px;
  border: 1px solid white;
  background-color: darkblue;
  margin-bottom: 15px;
}

#button {
  background-color: white;
  padding: 5px;
  cursor: pointer;
  font-family: "DM Mono", monospace;
}

#button:hover {
  background-color: #ef0f0f;
  color: white;
  transition-duration: 0.5s;
  border: 1px solid #ef0f0f;
}

/** LEGAL **/

.legaltitles {
  width: 60vw;
  height: 100vh;
  z-index: 99;
  align-content: center;
}

.legaltitles a {
  text-decoration: none;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-weight: bold;
  font-size: 30px;
}

.legalmain  {
  background-image: url("../img/flower_ani.gif");
  background-size: 120vh;
  background-position: center;
  background-repeat: no-repeat;
}

/** RESPONSIVE **/
@media only screen and (max-width: 1130px) {
  .content  {
    flex-direction: column;
  }

  h2 {
    line-height: 60px;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .poster {
    margin-top: 20px;
    width: 100%;
  }
}


@media only screen and (max-width: 900px){
  .filmmain {
    width: 80vw;
  }

  .main {
    width: 80vw;
  }

  .picgrid  {
    width: 80vw;
  }

  h2 {
    font-size: 70px;
  }

  .footerpics {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }

  .footer ul, .footerpics {
    width: 100%;
    justify-content: space-around;
  }

  .footer ul li {
    padding: 0;
    font-size: 16px;
  }

  .next {
    margin-top: 20px;
    width: 100%;
    background-color: white;
  }

  .uparrow  {
    margin-top: 20px;
  }

  .next h4  {
    color: darkblue;
  }

  .aboutcontent {
    flex-direction: column;
    margin-bottom: 0;
  }

  textarea  {
    height: auto;
  }

  form {
    width: auto;
    margin-top: 20px;
  }

  .blockback  {
    display: none;
  }

}

@media only screen and (max-width: 500px){
  .main {
    width: 100vw;
    position: fixed;
    padding-left: 0;
  }

  .filmmain {
    width: 100vw;
    position: fixed;
    padding-left: 0;
  }

  .headline {
    margin-left: 20px;
  }

  h2 {
    margin-left: 20px;
    font-size: 60px;
  }

  .text {
    margin-left: 20px;
  }

  .titles {
    margin-left: 20px;
  }

  .imprheader {
    padding-left: 20px;
    padding-right: 20px;
  }

  .projheader {
    padding-left: 20px;
    padding-right: 20px;
  }

  .picsbod .main  {
    width: auto;
    position: initial;
    margin: auto;
    padding-right: 0;
  }

  .picstext {
    margin-left: 20px;
  }

  .picgrid  {
    width: auto;
  }

  .legaltitles  {
    margin-left: 20px;
  }

  .form {
    padding-right: 20px;
    padding-left: 20px;
  }

}
