:root {
  --white: white;
  --bg-grey: #E6E6E6;
  --middlegrey: #80807F;
  --dark: #1A1A19;
  --black: black;
}

/* RESET FONTSIZES & EVERYTHING */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* –––RESETEND––– */


* {
  box-sizing: border-box;
  /*scroll-behavior: smooth;*/
}

*,*::before,*::after {
  box-sizing: border-box;
}

/** Heavy */
@font-face {
  font-family: "SF Heavy";
  src: url('fonts/SF-UI-Display-Heavy.woff2') format('woff2'),
         url('fonts/SF-UI-Display-Heavy.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/** Medium */
@font-face {
  font-family: "SF Medium";
  src: url('fonts/SF-UI-Display-Medium.woff2') format('woff2'),
         url('fonts/SF-UI-Display-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/** Regular */
@font-face {
  font-family: "SF Regular";
  src: url('fonts/SF-UI-Display-Regular.woff2') format('woff2'),
         url('fonts/SF-UI-Display-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/** Compact Heavy */
@font-face {
  font-family: "SF Compact Heavy";
  src: url('fonts/SF-Compact-Display-Heavy.woff2') format('woff2'),
         url('fonts/SF-Compact-Display-Heavy.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/** Compact Heavy */
@font-face {
  font-family: "SF Compact Regular";
  src: url('fonts/SF-Compact-Display-Regular.woff2') format('woff2'),
         url('fonts/SF-Compact-Display-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



.font-preload {
  opacity: 0;
}


/* ###### ALEX CODE ###### */

body, .container {
  display: flex;
  margin: 0;
  padding: 0;
  font-family: SF Heavy;
  background: var(--bg-grey);
  height: 100vh;
  background: var(--bg-grey);
  background-image: url(img/body-bg.png);
  background-size: auto 100%;
}

body.with-container {
  display: unset;
  overflow: unset;
}

body.with-container > * {
  margin: 1em;
}

.container {
  display: flex;
  flex: 1;
  min-height: 400px;
  height: 60vh;
}

.block {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--black);
}

.block a {
  color: inherit;
}



/* ###### INHALT - eigener CODE ###### */

nav {
  z-index: 100;
  font-size: 2.6vh;
}

.atm-menu:hover,
.about-menu:hover,
.close:hover {
  opacity: .5;
}

.atm-menu {
  position: fixed;
  transform: translate(0, -50%);
  top: 5vh;
  left: 3.5vw;
  transition: .2s ease;
}

.fontindex {
  position: fixed;
  transform: translate(0, -50%);
  top: 5vh;
  right: 3.5vw;
  transition: .2s ease;
}

.close-container {
  height: 2.5vh;
  width: 2.5vh;
  position: fixed;
  transform: translate(-50%, -50%);
  top: 5vh;
  right: 3.5vw;
}

.close {
  cursor: pointer;
  transition: .2s ease;
}

.close:hover {
  transform: rotate(90deg);
}

.about-menu {
  position: fixed;
  transform: translate(0, 50%);
  bottom: 5vh;
  right: 3.5vw;
  transition: .2s ease;
}

.intro {
  z-index: 200;
  background: var(--bg-grey);
  width: 100%;
  height: 100%;
  border-right: solid 2px white;
}

.intro h3 {
  font-family: SF Regular;
  font-size: 1.8rem;
  text-align: center;
  position: relative;
  top: 51vh;
}

.all_balken,
.types_balken,
.matter_balken {
  background: #000;
  height: 48px;
  transition: ease-out .222s;
  position: relative;
}

.all_balken {
  width: 116px;
  left: 486px;
}

.types_balken {
  width: 203px;
  left: 269px;
  top: -48px;
}

.matter_balken {
  width: 253px;
  left: 0px;
  top: -96px;
}

.overlay {
  width: 602px;
  height: 48px;
  position: absolute;
  top: 48vh;
  left: 50vw;
  transform: translate(-50%, -50%) rotate(180deg);
}

.overlay:hover .all_balken, 
.overlay:hover .types_balken, 
.overlay:hover .matter_balken {
  width: 0px;
}

a {
  text-decoration: none;
  color: #000;
}

h1 {
  text-align: center;
  font-size: 4em;
  font-family: SF Heavy;
  display: inline-block;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 48vh;
  left: 50vw;
  margin: 0 auto;
  width: 602px;
}

/* HIER IST DIE PRÄSI */

h2 {
  text-align: left;
  font-family: SF Heavy;
  font-size: 8rem;
}

.finn {
  text-align: left;
  font-family: SF Regular;
  font-size: 4rem;
  margin-bottom: 5vh;
}

h3 {
  text-align: left;
  font-family: SF Heavy;
  font-size: 2.5rem;
  line-height: 3rem;
}

.project-gallery {
  display: flex;
  background: var(--bg-grey);
  background-image: url(img/body-bg.png);
  background-size: auto 100%;
  height: 100%;
  /*z-index: 100;*/
}


.visual a {
  display: flex;
  flex-direction: column;
  align-self: center;
  max-height: 100%;
  max-width: 100vw;
  cursor: pointer;
}

.visual img {
  max-height: 100%;
  max-width: 80vw;
}

.visual video {
  height: 80vh;
  max-width: 80vw;
}

.visual span {
  display: none;
  font-family: SF Heavy;
  text-transform: uppercase;
  font-size: 20px;
  width: 70%; /* Fontname nach links/rechts schieben */
  text-align: right;
  position: absolute;
  bottom: 5vh;
  transform: translate(0, 50%);
}


/*     SPECIMENPAGE     */

.project-visuals {
  min-width: auto;
  height: 83vh;
  display: flex;
  /*align-self: center;*/
  position: relative;
  top: 10vh;
}

.project-visuals img, video {
  margin: 0 6vh;
  height: 100%;
}

.contact-space {
  min-width: 60vh;
  background: var(--white);
  z-index: -200;
}

.contact {
  display: flex;
  align-self: center;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 100%;
  height: 85vh;
  text-align: right;
  /*background: red;*/
  position: fixed;
  top: 10vh;
  right: 3.5vw;
  z-index: -100;
}

.contact span {
  text-transform: uppercase;
  font-size: 2.7vh;
  line-height: 3.1vh;
  position: relative;
  /*bottom: .5vh;*/
  z-index: -80;
}



.contact a {
  font-family: SF Regular;
  font-size: 2.7vh;
  color: var(--middlegrey);
  transition: .2s ease;
  position: relative;
  bottom: -.3vh;
  z-index: -80;
}

.contact a:hover {
  opacity: 0.5;
}


/* ###### TYPETESTER ###### */

/*.texteditor {
  width: 80vw;
  padding-top: 30vh;
  margin: 0 35px;
}*/

.selector {
  position: absolute;
  bottom: 5vh;
  left: 3.5vw;
  text-align: left;
  color: var(--middlegrey);
  font-family: SF Regular;
  line-height: 1.35em;
}

.fontname {
  display: flex;
  font-size: 2.5vh;
  line-height: 3vh;
}

.fontname select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border-radius: 0;
  border: none;
  font-family: SF Compact Heavy;
  text-transform: uppercase;
  /*font-size: 16px;*/
  font-size: 2.6vh;
  line-height: 3vh;
  position: relative;
  top: -1px;
  color: var(--middlegrey);
  transition: .2s ease;
  cursor: pointer;
  /*line-height: 1.35em;*/
}

.fontname select:hover {
  color: var(--white);
}

/*.range, .space {
  width: 100%;
  background: red;
}*/

.optiontext {
  margin: 0;
  font-size: 2.5vh;
  line-height: 3vh;
  text-transform: uppercase;
}

.font-size {
  text-transform: lowercase;
}

.output {
  background: none;
  width: 100%;
  border: none;
  padding: 50px; 
  text-align: center;
  font-size: 160px;
  position: absolute;
  top: 48vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  resize: none;
  line-height: 1.22em;
}

.smaller {
  font-size: 150px;
}

.bigger {
  font-size: 200px;
}

input[type=range] {
  -webkit-appearance: none;
  width: 200px;
  height: 3px;
  margin: 0 auto;
  background: var(--white);
  outline: none;
  margin-top: 2vh;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--bg-grey);
  border: solid var(--white) 3px;
  cursor: pointer;
  border-radius: 8px;
}

input[type=range]::-webkit-slider-thumb:hover {
  background: var(--white);
}

textarea:focus, input:focus, select:focus {
  outline: none;
}


/*  CATEGORY    */

.cat-list {
  /*position: relative;*/
  /*bottom: 0;*/
  /*top: 5vh;*/
  /*display: flex;*/
  /*background: green;*/
  min-width: 40vw;
}

.cat-list input {
  display: none;
}

.punkt {
  /*min-width: 40vw;*/
  /*margin-right: 20vw;*/
  /*background: yellow;*/
}

label {
  text-align: left;
  font-family: SF Heavy;
  font-size: 6em;
}

label ul {
  display: none;
  margin-top: 2vh;
}

ul li {
  text-align: left;
  font-family: SF Compact Regular;
  font-size: 3rem;
  line-height: 4rem;
  position: relative;
  left: 3vh;
}

#cat1:checked + label ul,
#cat2:checked + label ul,
#cat3:checked + label ul,
#cat4:checked + label ul,
#cat5:checked + label ul {
  display: block;
}

ol {
  font-family: SF Regular;
  font-size: 3rem;
  display: flex;
  justify-content: space-between;
  margin-top: 5vh;
}

ol span {
  font-family: SF Heavy;
}






.spaces {
  width: 7vw;
}

.hundertvw {
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  justify-content: center;
  margin: 0 7vw;
  height: 80vh;
  width: 80vw;
}

.schmal {
  position: relative;
  top: 40vh;
  /*background: red;*/
  min-width: 55vw;
}

.konzept {
  position: relative;
  top: 40vh;
  /*background: red;*/
  min-width: 30vw;
}

.konzept h3 {
  margin-top: 5vh;
  text-align: right;
}

img {
  align-self: center;
  height: 90vh;
  /*background: red;*/
}

.ci {
  position: relative;
  top: 15vh;
  /*background: red;*/
  width: 70vw;
}

.ci h2 {
  margin-bottom: 5vh;
}

.ci h3 {
  margin-left: 10vh;
}

.ci ul {
  margin-left: 10vh;
}

.cd {
  position: relative;
  top: 15vh;
  /*background: red;*/
  width: 70vw;
}

.right {
  position: relative;
  left: 7vh;
}

.cd h2 {
  margin-bottom: 3vh;
}

.cd h3 {
  /*margin-left: 10vh;*/
}

.cd ul {
  margin-left: 10vh;
}

.cd img {
  height: 240px;
}

.cd span {
  font-size: 3rem;
  line-height: 5rem;
}

.o-website {
  transition: 3s ease;
  align-self: center;
  /*background: red;*/
  min-width: 100vw;
  text-align: center;
}

.o-website a, .o-website h2 {
  /*width: 50vw;*/
  text-align: center;
  /*display: inline-block;*/
}

.o-website:hover {
  opacity: 0;
}

.o-website span {
  font-family: SF Compact Heavy;
}

.mobile-storys {
  display: flex;
  position: relative;
  top: 10vh;
  background: white;
  margin-left: 5vh;
}

.mobile-storys img {
  height: 80vh;
  position: relative;
  top: -10vh;
  margin-left: 5vh;
  padding-top: 5vh;
}

.resonanz {  
  position: relative;
  top: 30vh;
}

.resonanz img {
  margin-top: 10vh;
  margin-left: 15vh;
  height: 11vh;
}

.marketing {  
  position: relative;
  top: 24vh;
  display: flex;
  height: 65vh;
}

.marketing h2,
.marketing h3 {
  text-align: right;
}

.marketing h3 {
  margin-top: 5vh;
}

.marketing video {
  height: 65vh;
  margin: 3vh;
}

.marketing img {
  height: 65vh;
}

.weiss {
  background: white;
  margin-left: 5vh;
  height: 71vh;
  /*display: flex;*/
  /*flex-direction: row;*/
  /*min-width: 100vw;*/
}

.weiss img {
  margin-top: 0 auto;
  margin-right: 3vh;
}








.merch {  
  position: relative;
  top: 24vh;
  display: flex;
  height: 65vh;
}

.merch h2,
.merch h3 {
  /*text-align: right;*/
}

.merch h3 {
  margin-top: 5vh;
}

.merch img {
  height: 65vh;
  width: auto;
}

.weiss-merch {
  background: white;
  margin-left: 5vh;
  padding-left: 3vh;
  height: 71vh;
  margin-right: 50vh;
}

.weiss-merch img {
  margin-top: 0 auto;
  margin-right: 3vh;
}

.next {  
  position: relative;
  top: 30vh;
  min-width: 70vw;
  margin-right: 30vw;
}
