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,
hgroup,
menu,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
hgroup,
menu,
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;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

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

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

textarea,
input,
button,
select {
  font-family: inherit;
  font-size: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
}

input,
textarea,
input::placeholder,
textarea::placeholder {
  background: inherit;
  color: inherit;
  border: none;
  padding: 0;
  outline: inherit;
  opacity: 1;
}

textarea {
  resize: none;
}

input:not([type="submit"]),
textarea {
  display: block;
  width: 100%;
  border-radius: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

select {
  background: none;
  width: 100%;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 0;
  color: var(--fg);
  margin: 0;
  padding: 0;
}

select option {
  color: var(--fg);
  margin: 0;
  padding: 0;
  background: var(--bg);
}

select:focus {
  outline: none;
}

ul,
li {
  text-decoration: none;
  list-style: none;
  white-space: wrap;
}

.spaced {
  padding-bottom: 8px;
}

/* Input Elements */
button,
input[type="submit"],
input[type="reset"],
div[role="button"] {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  -webkit-appearance: none;
  border-radius: 0;
}

input[type="button"],
input[type="button"]:focus {
  outline: none;
}

a:link,
a:visited,
a:link span,
a:visited span {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

@font-face {
  font-family: "Soehne-Strong";
  src: url("../fonts/test-soehne-kraftig.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Soehne-Book";
  src: url("../fonts/test-soehne-buch.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Root Elements */
:root {
  --Fb: 1rem;
  --black: #0a0a0a;
  --off-white: #fcfcfc;
  --fg: var(--black);
  --bg: var(--off-white);
  --ln: rgba(23, 23, 23, 0.25);
  --Pm: 24px;
  --Pg: 24px;
  --negPg: 24px;
  --Ps: 15px;
  --Ph: calc(0.5 * var(--Pm));
  --Pq: calc(0.2 * var(--Ph));
  --Pd: calc(2 * var(--Pm));
  --Hh: var(--Pg);
  --Hs: calc(100vh - var(--Hh));
  --Wf: calc(100% + (2 * var(--Pm)));
  --Wg: calc(100% + var(--Pm));
  --Ml: calc(-1 * var(--Pm));
  --fh1: 132px;
  --fh2: 17px;
  --fh3: 12px;
  --fp: 12px;
}

html.dark-mode {
  --fg: var(--off-white);
  --bg: var(--black);
  --ln: rgba(252, 252, 252, 0.2);
}

html {
  font-size: var(--fs);
  font-style: normal;
  line-height: 1.25;
  letter-spacing: 0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Soehne-Strong";
  overflow-x: hidden;
  height: auto;
  color: var(--fg);
  background-color: var(--bg);
  overflow-y: scroll;
  transition: all 1s ease 0.2s;
}

/* HEADING STYLES */

h1 {
  font-size: var(--fh1);
  font-family: "Soehne-Book";
  line-height: 130px;
  overflow-wrap: break-word;
  margin-left: -0.08em;
}

h2 {
  font-size: var(--fh2);
  font-family: "Soehne-Strong";
  white-space: nowrap;
  line-height: 22px;
}

h3 {
  font-size: var(--fh3);
  font-family: "Soehne-Strong";
  white-space: nowrap;
  line-height: 18px;
}

h3.column-title {
  margin-bottom: 24px;
}

.wrap {
  white-space: wrap;
}
.grey {
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.grey:not(.disable):hover {
  opacity: 1;
}

/* PARAGRAPH STYLES */

p {
  font-size: var(--fp);
  font-family: "Soehne-Book";
  margin-top: 4px;
  margin-bottom: 4px;
  line-height: 16px;
  overflow-wrap: break-word;
}

p.grey {
  opacity: 0.7;
}

p.underline {
  text-decoration: underline;
}

/* SVG STYLES */
.right-arrow-svg img {
  display: none;
}

.right-arrow-svg::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: var(--fg);
  opacity: 0.7;
  transition: opacity 0.5s ease;
  -webkit-mask-image: url("../../assets/button/right-arrow.svg");
  mask-image: url("../../assets/button/right-arrow.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.right-arrow-svg:hover::after {
  opacity: 1;
}

.left-arrow-svg img {
  display: none;
}

.left-arrow-svg::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: var(--fg);
  opacity: 0.7;
  transition: opacity 0.5s ease;
  -webkit-mask-image: url("../../assets/button/left-arrow.svg");
  mask-image: url("../../assets/button/left-arrow.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.left-arrow-svg:hover::after {
  opacity: 1;
}

.grid-button-two-svg {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: var(--fg);
  transition: opacity 0.5s ease;
  -webkit-mask-image: url("../../assets/button/grid-button-two.svg");
  mask-image: url("../../assets/button/grid-button-two.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.grid-button-four-svg {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: var(--fg);
  transition: opacity 0.5s ease;
  -webkit-mask-image: url("../../assets/button/grid-button-four.svg");
  mask-image: url("../../assets/button/grid-button-four.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* HEADER STYLES */

header {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  column-gap: 16px;
  width: 100%;
  top: 0;
  z-index: 100;
}

header.sticky {
  position: sticky;
}

header.fixed {
  position: fixed;
  color: var(--off-white);
  z-index: 5;
}

nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.dark-mode-toggle {
  display: inherit;
}

.dark-mode-toggle-home {
  display: none;
}

.hamburger {
  display: none;
}

/* LAYOUT STYLES  */

section.padding-top {
  padding-top: 108px;
}

.margin-top-56 {
  margin-top: 56px;
}

.margin-bottom-56 {
  margin-bottom: 56px;
}

footer {
  position: relative;
  bottom: 0;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;

  display: grid;
  grid-template-columns: repeat(24, 1fr);
  column-gap: 16px;
  width: 100%;
}

li.margin-bottom {
  padding-bottom: 8px;
}

.div-flex {
  display: flex;
  gap: 4px;
}

.filter {
  display: flex;
  column-gap: 24px;
  row-gap: 8px;
  flex-wrap: wrap;
  grid-column: 16/24;
}
.filter .filter-button.active {
  opacity: 1;
}

/* GRID STYLES */
.grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  column-gap: 16px;
  width: 100%;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 16px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 16px;
}

.work-project-heading {
  margin-top: 16px;
}

.work-project-heading > * {
  margin-top: 8px;
  line-height: 8px;
}

.column-one {
  grid-column: 1/4;
}

.column-four {
  grid-column: 4/6;
}

.column-six {
  grid-column: 6/9;
}

.column-one-nine {
  grid-column: 1/9;
}

.column-sixteen {
  grid-column: 16/19;
}

.column-sixteen-extended {
  grid-column: 16/21;
}

.column-nineteen {
  grid-column: 19/21;
}
.column-twenty-one {
  grid-column: 21/24;
}

.column-end {
  grid-column: 23/-1;
  justify-self: end;
  text-align: end;
}

/* HOME PAGE STYLES */

.home-desktop {
  display: block;
}

.home-mobile {
  display: none;
}

.home-title {
  z-index: 3;
}

.home-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  gap: auto;
  z-index: 2;
  position: sticky;
  color: var(--off-white);
  pointer-events: none;
}

@media (min-width: 960px) {
  .home-title-container > * {
    cursor: pointer;
    pointer-events: auto;
    opacity: 0.7;
    transition: opacity 0.5s ease, filter 0.5s ease;
  }

  .home-title-container:hover > * {
    filter: blur(2.5px);
  }

  .home-title-container:hover > *:hover {
    filter: blur(0px);
    opacity: 1;
  }
}

.home-content > * {
  z-index: 1;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  object-fit: cover;
}

.hidden-content-wrapper {
  z-index: 1;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  object-fit: cover;
  background-color: black;
}

.hidden-content-container {
  z-index: 1;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
}

.aspectholder > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2.5/1;
}

.aspectholder-portrait > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5/7;
}

.aspectholder-project > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2.32/1;
}

[data-fullscreen="true"] video {
  object-fit: contain;
}

/* GALLERY STYLES */

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Random grid layout */

.gallery-container[data-layout="random"] {
  width: 100%;
  padding-top: 168px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 24px;
  columns: 3;
  column-gap: 64px;
  justify-self: center;
}

.gallery-container[data-layout="random"] .gallery-item {
  break-inside: avoid;
  margin-bottom: 64px;
}

/* Masonry grid layout */
.gallery-container[data-layout="masonry"] {
  width: 100%;
  padding-top: 168px;
  padding-bottom: 24px;
  columns: 2;
  column-gap: 16px;
}

.gallery-container[data-layout="masonry"] .gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

/* LAYOUT TOGGLE */
.mobile-layout-toggle {
  display: none;
}

.layout-toggle-button {
  gap: 4px;
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.layout-toggle-button:hover {
  opacity: 1;
}

.toggle-button-image {
  margin-right: 4px;
  height: 18px;
}

/* PROJECT VIDEO */

.project-main .main-video {
  width: 100vw;
  height: 100vh;
  transition: filter 0.4s ease;
  position: relative;
}

.project-main .main-video-text {
  position: absolute;
  top: calc(var(--Pm) * 2);
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.aspectholder video,
.aspectholder img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.project-main .main-video.blur {
  filter: blur(12px);
}

div.video-controls-holder {
  position: absolute;
  bottom: 0;
}

.video-controls {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px;
  position: absolute;
  bottom: 0px;
  gap: 16px;
  color: var(--off-white);
}
.video-controls.do-not-show {
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  bottom: -11000px;
  pointer-events: none;
}

.video-controls button {
  flex: 0 0 axuto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-controls svg {
  height: 12px;
  width: 12px;
}

.video-controls button span {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* play button */

.video-controls .play-btn * {
  pointer-events: none;
}
.video-controls .play-btn .pause {
  display: none;
}
.video-controls .play-btn.playing .pause {
  display: block;
}
.video-controls .play-btn.playing .play {
  display: none;
}
/* volume */

.video-controls .volume * {
  pointer-events: none;
}
.video-controls .volume .mute {
  display: none;
}
.video-controls .volume.muted .mute {
  display: block;
}
.video-controls .volume.muted .unmute {
  display: none;
}

/* progress */
.video-progress {
  position: relative;
}
.video-controls .video-progress .seek-tooltip {
  display: none;
}
.progress {
  flex: 1 1 auto;
  cursor: pointer;
  min-width: 100px;
  display: flex;
}
.video-controls progress {
  width: 100%;
  height: 2px;
  position: relative;
  border-radius: 5px;
}

.progress-bar {
  background-color: rgba(248, 248, 248, 0.7);
}
.video-controls progress::-webkit-progress-value {
  background-color: var(--off-white);
  border-radius: 5px;
}

.time {
  display: flex;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 12px;
}
.time-slash {
  padding-left: 2px;
  padding-right: 2px;
}

/* full screen button */

.full-btn {
  display: inline !important;
}

.full-btn-mobile {
  display: none !important;
}

.close-btn {
  position: absolute;
  padding: 16px;
  top: 0;
  right: 0;
  z-index: 50;
}

/* default styles */

body.no-scroll {
  height: 100vh;
  overflow: hidden;
}

main {
  min-height: calc(100vh - 132px);
}

.visaully-hidden {
  visibility: hidden;
  position: absolute;
  z-index: -10;
  display: none;
}

.enter {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.enter.entered {
  transform: translateY(0);
  opacity: 1;
}

.enter-slide {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.enter-slide.entered {
  transform: translateY(0);
  opacity: 1;
}

.enter-slide-projects {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.5s ease 1s, transform 1.5s ease 1s;
}

.enter-slide-projects.entered {
  transform: translateY(0);
  opacity: 1;
}

/* video specific transition */
.enter-delayed {
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 1s ease 0.5s, transform 2s ease 0.5s;
}

.enter-delayed.entered {
  opacity: 1;
  transform: translateY(0);
}

/* Details Elements */
summary,
summary:focus {
  outline: none;
  list-style-type: none;
  position: relative;
  cursor: pointer;
  transition: all 0.5s;
}

details summary::marker,
details summary::-webkit-details-marker {
  content: "";
  visibility: hidden;
  position: absolute;
  z-index: -10;
  list-style-type: none;
  display: none;
}

summary > * {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary > *::after {
  content: "+";
  margin-left: var(--Pm);
}

@media (hover: hover) and (pointer: fine) {
  details summary:hover {
    opacity: 0.5;
  }
}

details[open] summary > *::after {
  content: "-";
}

details[open] summary ~ * {
  animation: appear 0.4s ease-in;
  -webkit-animation: appear 0.4s ease-in;
}

details.closing summary ~ * {
  animation: close 0.4s ease-out;
}

@keyframes appear {
  0% {
    opacity: 0;
    max-height: 0;
  }
  100% {
    opacity: 1;
    max-height: calc(var(--vh, 1vh) * 100);
  }
}

@keyframes close {
  0% {
    opacity: 1;
    max-height: calc(var(--vh, 1vh) * 100);
  }
  100% {
    opacity: 0;
    max-height: 0;
  }
}

/* Image/Video Elements */

.vsc-controller {
  height: 0 !important;
  width: 0 !important;
  object-fit: unset !important;
}

.grid-8 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: minmax(min-content, max-content);
  column-gap: var(--Pm);
  row-gap: var(--Pm);
  width: 100%;
}

.p-gutter {
  padding-left: var(--Pg);
  padding-right: var(--Pg);
}

.p-gutter-y {
  padding-top: var(--Pg);
  padding-bottom: var(--Pg);
}

/* svg path,
svg polygon,
svg polyline,
svg rect {
  color: var(--off-white);
} */

.px {
  padding-left: var(--Pg);
  padding-right: var(--Pg);
}

.py {
  padding-top: var(--Pg);
  padding-bottom: var(--Pg);
}

.py-bottom {
  padding-bottom: var(--Pg);
}

.pxs {
  padding-left: calc(var(--Pg) / 2);
  padding-right: calc(var(--Pg) / 2);
}

.pys {
  padding-top: calc(var(--Pg) / 2);
  padding-bottom: calc(var(--Pg) / 2);
}

.pxl {
  padding-left: calc(var(--Pg) * 2);
  padding-right: calc(var(--Pg) * 2);
}

.pyl {
  padding-top: calc(var(--Pg) * 2);
  padding-bottom: calc(var(--Pg) * 2);
}

.pr {
  padding-right: var(--Pg);
}

.pl {
  padding-left: var(--Pg);
}

.pt {
  padding-top: var(--Pg);
}

.pb {
  padding-bottom: var(--Pg);
}

.prs {
  padding-right: calc(var(--Pg) / 2);
}

.pls {
  padding-left: calc(var(--Pg) / 2);
}

.pts {
  padding-top: calc(var(--Pg) / 2);
}

.pbs {
  padding-bottom: calc(var(--Pg) / 2);
}

.prl {
  padding-right: calc(var(--Pg) * 2);
}

.pll {
  padding-left: calc(var(--Pg) * 2);
}

.ptl {
  padding-top: calc(var(--Pg) * 2);
}

.pbl {
  padding-bottom: calc(var(--Pg) * 2);
}
