:root {
  --primary-color: #ffcccc;
  --secondary-color: #2b1c8c;
  --white-color: whitesmoke;
  --black-color: #000;
}
@font-face {
  font-family: 'Wavehaus Semi Bold';
  src: url('fonts/Wavehaus-95SemiBold.otf') format('opentype');
}
@font-face {
  font-family: 'Wavehaus Bold';
  src: url('fonts/Wavehaus-128Bold.otf') format('opentype');
}
@font-face {
  font-family: 'Wavehaus Extra Bold';
  src: url('fonts/Wavehaus-158ExtraBold.otf') format('opentype');
}
@font-face {
  font-family: 'Wavehaus Book';
  src: url('fonts/Wavehaus-66Book.otf') format('opentype');
}
@font-face {
  font-family: 'Wavehaus Light';
  src: url('fonts/Wavehaus-42Light.otf') format('opentype');
}
@font-face {
  font-family: 'Wavehaus Thin';
  src: url('fonts/Wavehaus-28Thin.otf') format('opentype');
}

* {
  box-sizing: border-box;
  cursor: none;
}

html,
body {
  margin: 0;
  font-family: 'Wavehaus Semi Bold', sans-serif;
}

body {
  background-size: 1rem 1rem;
  background-image: linear-gradient(
      to right,
      var(--primary-color) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, var(--primary-color) 1px, transparent 1px);
  border-color: var(--white-color);
  /* grauer Rand rechts und links */
  border-left: 0rem;
  border-right: 0rem;
  border-style: solid;
  border-color: var(--white-color);
  /* margin: -1rem; */
  padding: 3.5rem 1rem 0;
  position: relative;
}

a {
  color: inherit;
}

a.headerlink:hover {
  color: var(--secondary-color);
}

a.headerlink:hover {
  text-decoration: none;
}

a.headerlink:link {
  text-decoration: none;
}

a.headerlink:visited {
  text-decoration: none;
}

a.headerlink:active {
  color: var(--secondary-color);
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style-type: none;
}
li {
  margin-bottom: 2rem;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Text auf Startseite */
.text-home {
  font-size: 2rem;
  line-height: 2rem;
  color: var(--secondary-color);
  font-family: 'Wavehaus Bold', sans-serif;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 0.5rem;
}

/*  */
.index-tokyo-subtitle {
  font-size: 2rem;
  line-height: 2rem;
  color: var(--secondary-color);
  font-family: 'Wavehaus Extra Bold', sans-serif;
  padding-left: 2.5rem;
  padding-top: +0.4rem;
}

/*  */
.index-tokyo {
  font-size: 2rem;
  line-height: 3rem;
  color: var(--secondary-color);
  font-family: 'Wavehaus Bold', sans-serif;
  padding-left: 2.5rem;
  padding-top: 1.5rem;
}

/*  */
.text-works {
  font-size: 2rem;
  line-height: 2rem;
  color: var(--secondary-color);
  font-family: 'Wavehaus Bold', sans-serif;
  padding-left: 2.5rem;
  padding-top: 0rem;
}

/* CHRISTOPHER EHLERS Headerbalken */
.fixed-header {
  overflow: hidden;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0.6rem 2.0rem;
  width: 100%;
  color: var(--primary-color);
  font-family: 'Wavehaus Extra Bold', sans-serif;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.not-underlined-link a:link {
  color: var(--black-color);
}

/* title der projekte */
.project-header {
  font-size: 2rem;
  color: var(--secondary-color);
  padding-left: 2.5rem;
  font-family: 'Wavehaus Extra Bold', sans-serif;
  padding-bottom: 0rem;
  margin-top: -2.2rem;
}

/* subtitle der Projekte */
.project-subtitle {
  font-size: 2rem;
  color: var(--secondary-color);
  padding-bottom: 0rem;
  padding-left: 2.5rem;
  margin-top: -2.6rem;
  font-family: 'Wavehaus Bold', sans-serif;
}

/* sub-sub-title der projecte */
.project-location {
  font-size: 2rem;
  color: var(--secondary-color);
  padding-bottom: 0rem;
  padding-left: 2.5rem;
  margin-top: -2rem;
  font-family: 'Wavehaus Light', sans-serif;
}

/* Haupttext */
.project-content {
  font-size: 1.8rem;
  color: var(--secondary-color);
  line-height: 2rem;
  padding-bottom: 2rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  margin-top: -4.8rem;
  font-family: 'Wavehaus Semi Bold', sans-serif;
}

#project-images .project-image-container {
  width: 100%;
  display: grid;
  grid-template-columns: 20% 60%;
  margin-bottom: 3rem;
}

#project-images .project-image-wrapper img {
  width: 100%;
}

#project-images .image-description {
  font-family: 'Wavehaus Book', sans-serif;
  text-align: left;
  color: var(--secondary-color);
  margin-top: 0.3rem;
}

/* Abstand zwischen Pfeil und den Bildern bei work */
.vh-1 {
  height: 100vh;
}

.svg-icon {
  margin-top: 0rem;
  margin-left: 2rem;
}

/* Größe Pfeil bei work */
.svg-icon svg {
  width: 6rem;
}

.fixed-header h2 {
  margin: 0;
  padding: 0;
}

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

.switchlang-btn img {
  max-height: 0.8rem;
  width: auto;
}

/* Project image preview */
#project-image-preview {
  display: none;
  position: absolute;
  pointer-events: none;
  z-index: 30;
}

#project-image-preview.show {
  display: block !important;
}

#project-image-preview img {
  max-width: 40vw;
  max-height: 60vh;
}

/* Image modal */

#image-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  display: none;
  left: 0;
  top: 0;
  z-index: 9999;
}

#image-modal.show {
  display: block;
}

#image-modal .outter {
  position: relative;
  overflow-y: scroll;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5% 0;
}

#image-modal .content {
  width: 90%;
  height: auto;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#image-modal .content img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
}

#image-modal .icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 99;
  padding: 0.35rem;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#image-modal .icon:hover {
  background-color: var(--white-color);
}

#image-modal svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* List of projects table */

table.list-of-projects {
  border-spacing: 0;
  border: none;
  margin-top: -0.8rem;
}

table.list-of-projects td {
  font-size: 1.8rem;
  line-height: 1.55rem;
}

table.list-of-projects td {
  padding: 0.25rem;
  color: var(--secondary-color);
}

table.list-of-projects td.no-text-deco a {
  text-decoration: none;
}

.video-container {
  position: relative;
  /* padding-bottom: 56.25%; /* 16:9 */
  padding-bottom: 61%;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ctr {
  display: flex;
  justify-content: space-between;
}
.ctr > p {
  width: 33%;
}

#cursor-ball {
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  position: fixed;
  mix-blend-mode: difference;
  top: 0rem;
  left: 0rem;
  z-index: 1000;
  border-radius: 100%;
  background-color: #f7f8fa;
}

/* RESPONSIVENESS */

/*
@media only screen and (max-width: 1200px) {
    body {
      font-size: 40px;
    }
    h3 {
        font-size: 36px;
    }
}

@media only screen and (max-width: 1000px) {
    body {
      font-size: 35px;
    }
    h3 {
        font-size: 32px;
    }
}

@media only screen and (max-width: 800px) {
    body {
      font-size: 30px;
      padding: 2% 3% 2% 2%;
    }
    .ctr p {
        width: 45%;
    }
    h3 {
        font-size: 24px;
    }
}

@media only screen and (max-width: 600px) {
    body {
      font-size: 25px;
    }
    .ctr {
        display: block;
    }

    .hover-item .hover-preview {
        max-width: 60%;
    }
    h3 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 400px) {
    body {
      font-size: 20px;
    }

    .hover-item .hover-preview {
        max-width: 70%;
    }
    h3 {
        font-size: 12px;
    }
}

*/

/* SMARTPHONES, TOUCHSCREENS */
@media (hover: none) and (pointer: coarse) {
  .hover-item .hover-preview {
    display: none;
  }
}

/* IE */

_:-ms-lang(x),
* {
  cursor: default;
}

_:-ms-lang(x),
#cursor-ball {
  display: none;
}
