:root {
  --step--2: clamp(0.5313rem, 0.6778rem + -0.1891vw, 0.64rem);
  --step--1: clamp(0.7513rem, 0.817rem + -0.0848vw, 0.8rem);
  --step-0: clamp(1rem, 0.9783rem + 0.1087vw, 1.0625rem);
  --step-1: clamp(1.25rem, 1.1622rem + 0.4391vw, 1.5025rem);
  --step-2: clamp(1.5625rem, 1.3671rem + 0.9772vw, 2.1244rem);
  --step-3: clamp(1.9531rem, 1.5877rem + 1.8272vw, 3.0038rem);
  --step-4: clamp(2.4413rem, 1.813rem + 3.1413vw, 4.2475rem);
  --step-5: clamp(3.0519rem, 2.0245rem + 5.137vw, 6.0056rem);
}

.exception{
  font-style: oblique;
  font-family: medium;
}

.legal-wrapper{
  margin: 0 auto;
  max-width: 1440px;
  padding: 128px 160px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.content-wrapper{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 160px;
}

.legal-wrapper h1{
  max-width: unset;
}

.legal-wrapper a{
  color: orange;
}

.legal-section h3{
    color: white;
    font-family: bold;
    font-size: var(--step-1);
}

ul{
  color: white;
  padding-left: 0;
}

ul li{
  font-family: medium;
  list-style: none;
  line-height: 1.6;

}
body{
    width: 100vw;
    background-color: black;
    margin: 0rem;
    overflow-x: hidden;
}

#follow-cursor{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: orange;
  position:fixed;
  transform: translateY(-24px);
  transform: translateX(-24px);
  mix-blend-mode: difference;
}

.contact-links{
  opacity: 0;
}

@font-face {
  font-family: "black";
  src:
    url("assets/fonts/Inter-Black.ttf");
}

@font-face {
  font-family: "bold";
  src:
    url("assets/fonts/Inter-Bold.ttf");
}

@font-face {
  font-family: "semibold";
  src:
    url("assets/fonts/Inter-SemiBold.ttf");
}

@font-face {
  font-family: "medium";
  src:
    url("assets/fonts/Inter-Medium.ttf");
}

h2{
  color: white;
  font-family: black;
  font-size: var(--step-5);
  letter-spacing: -.04em;
}

.line-0, .line-1, .line-2, .line-3{
  height: 1px;
  background-color: white;
  width: 0%;
}


.section{
  display:block;
  position: relative;
  width: 100%;
}

.section-last{
  display:flex;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100svh;
  margin-bottom: 0;
}

.contact-links img{
  width: 24px;
}

.contact-links {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.sometimes{
  background-image: url('assets/images/manchmal.svg');
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 240px;
  right: 0;
  bottom: 10%;
  height: 60px;
}

.subhead-text{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.star:before{
  content: " ";
  background-image: url('assets/images/star.svg');
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  top: 15px;
  left: 0px;
  height:24px;
}

.star{
  opacity: 1;
}

.sometimes{
  opacity: 0;
}

.contact{
  display: flex;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

footer{
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 64px 0;
}

footer a{
  color: white;
  text-decoration: none;
  font-family: bold;
}

.hero{
  height: 100svh;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  overflow: visible;
}

.section-sticky{
  margin-bottom: 50vh;
}

#about{
  margin-bottom: 50vh;
}

.reveal-one .reveal-two .reveal-three{
  opacity: 0;
}

.texts{
  display: flex;
  flex-direction: column;
  gap: 96px;
  width: 50%;
}

.text{
  /*margin: 0 320px;*/
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.text-2{
  /*margin: 0 320px;*/
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.profilepic{
  width: 270px;
  height: 420px;
  border-radius: 16px;
  background-color: white;
  position: absolute;
  top: 75%;
  right: 0;
  transform: translateY(-50%);
  rotate: 0deg;
  z-index: 0;
  opacity: 0;
  transition: all 1.2s ease;
  filter: opacity(66%);
  background-image: url('assets/images/profile.jpeg');
  background-size: cover;
  background-position: center center;
}

.profilepic:hover{
  rotate: 15deg;
}

.mobile{
  display: none;
  flex-direction: row;
  justify-content: space-between;
  height: auto;
  width: 100%;
}

.mobile nav{
  position: relative;
  flex-direction: row;
  bottom: 0;
  right: 0;
}

.mobile nav > a {
  color: white;
  text-decoration: none;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  rotate: 0deg;
  font-size: var(--step-0);
  font-family: 'semibold';
}

.rotate{
  rotate: 15deg;
  top: 50%;
  opacity: 1;
}

h1{
  font-family: 'black';
  font-size: var(--step-5);
  font-weight: bolder;
  letter-spacing: -.03em;
  color: white;
  margin: 0;
  line-height: 1.2;
  max-width: 900px;
}

.orange{
  color: orange;
}

.logo{
  width: 48px;
  height: 48px;
}

.subhead{
  color: white;
  font-size: var(--step-1);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-family: medium;
}

header{
  display: flex;
  
  justify-content: center;
  background-color: transparent;
  position:fixed;
  color: white;
  z-index: 5;
  height: calc(100svh - 128px);
  padding: 64px;
}

nav{
  position: absolute;
  display: flex;
  bottom: 64px;
  flex-direction: column;
  gap: 24px;
  float: left;
}

nav > a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    writing-mode: vertical-lr;
    rotate: 180deg;
    font-size: var(--step-0);
    font-family: 'semibold';
}

#image-track > .image {
    width: 40vmin;
    height: 56vmin;
    object-fit: cover;
    object-position: 100% 50%;

    background-size: cover;
    background-position: 100% 50%;

    border-radius: 2%;
    box-sizing: border-box;
}

.boldtext{
  font-family: 'black';
  font-size: var(--step-4);
  line-height: 1.2;
  letter-spacing: -.04em;
  color: white;
  margin: 0;
}

/*h1{
    color:white;
    font-size: 96px;
    position: absolute;
    left: 8vmin;
    top: 50%;
    transform: translate(0%, -50%);
    opacity: 1;
    max-width: 50vw;
}*/

.image > h2 {
    color: black;
    position: absolute;
    bottom: 24px;
    left:24px;
    margin-bottom: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

#image-track {
    display: flex;
    gap: 4vmin;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(0%, -50%);
}

@media only screen and (max-width: 768px) {

    body{
        overflow: scroll;
    }

    h1{
        position: relative;
        transform: translate(0%, 0%);

    }
    #image-track{
        flex-direction: column;
        left: 0%;
        transform: translate(0%, 0%);
    }

    #image-track > .image {
        width: 100vmin;
        height: 100vmin;
    }
    
}



/*CURSOR*/

.cursor {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border: 1px solid white;
    transition: all 200ms ease-out;
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px), -50%);
  }
  
  .cursor2 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width .3s, height .3s, opacity .3s;
  }

  .cursorinnerhover {
    width: 50px;
    height: 50px;
  }

  .scroll{
    height: 100px;
  }

  .cursorinnerscroll {
    height: 70px;
    border-radius: 10px;
  }

  .cards-and-text{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 96px;
    align-items: left;
  }


.cards{
  position: sticky;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  opacity: 0;
}

p{
  color: white;
  font-family: medium;
  font-size: var(--step-0);
  line-height: 1.6;
}

.job {
  color: white;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 48px 0;
  gap: 96px;
}

.left{
  width: 50%;
}

.left h3{
  color: black;
  background-color: black;
  text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
}

.right{
  width: 50%;
}

.cards-container{
  width: 50%;
}

.card-one{
  width: 33%;
  position: relative;
  transform-origin: bottom right;
  transform: translateX(50%);
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.card-one img{
  width: 100%;
}


.card-three{
  width: 33%;
  position: relative;
  transform-origin: bottom left;
  transform: translateX(-50%);
  z-index: 0;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.card-three img{
  width: 100%;
}

.card-two{
  width: 33%;
  position: relative;
  transform-origin: bottom;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.card-two img{
  width: 100%;
}

.magnetic {
  margin: -24px;
  padding: 24px;
  display: inline-block;
}

.show-for-large{
  display: block;
}

.show-for-small{
  display: none;
}

@media only screen and (max-width: 1440px) {
  .show-for-large{
    display: none;
  }

  .show-for-small{
    display: block;
  }

  .card-one-s, .card-two-s, .card-three-s {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .card-one-s img, .card-two-s img, .card-three-s img {
    width: 33%;
    min-width: 256px;
    max-width: 320px;
  }

  .card-and-text{
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .cards-s{
    display: flex;
    flex-direction: column;
    gap: 96px;
    margin-bottom: 25vh;
  }

  .section-sticky{
    margin-bottom: 25vh;
  }

  
}


@media only screen and (max-width: 1100px) {

  .content-wrapper{
    padding: 0 64px;
  }

  .mobile{
    display: flex;
  }

  .large-only{
    display: none;
  }

  header{
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  }


  .legal-wrapper{
    padding: 128px 64px;
  }

  .card-and-text{
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  nav a{
    font-size: var(--step--1);
  }

  .profilepic{
    position: absolute;
    right: 0;
    float: right;
    z-index: 0;
  }

  #about{
    margin-bottom: 25vh;
  }

  .sometimes{
    bottom: 10%;
    right: 0;
    width: 156px;
    height: 40px;
  }

  .star{
    z-index: 4;
    height: 32px;
  }

  .section{
    margin-bottom: 0;
  }

  .section-sticky{
    margin-bottom: 25vh;
  }
}

@media only screen and (max-width: 640px) {

  .content-wrapper{
    padding: 0 24px;
  }

  header{
    padding: 24px;
  }

  .legal-wrapper{
    padding: 128px 24px;
  }

  .logo{
    width: 40px;
  }

  .card-one-s img, .card-two-s img, .card-three-s img {
    min-width: 180px;
    max-width: 50%;
  }

  .job{
    flex-direction: column;
    gap:0;
  }

  .left{
    width: 100%;
    color: orange;
  }

  .right{
    width: 100%;
  }
}



/*Case-Studies*/

.colors {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.color-1 {
  background-color: #DAEFF1;
}

.color-2 {
  background-color: #90CFD5;
}

.color-3 {
  background-color: #00ADB4;
}

.color-4 {
  background-color: #008A90;
}

.color-5 {
  background-color: #00676C;
}

.color-6 {
  background-color: #D3F6EF;
  position: relative;
  color: #157E6B;
}

.color-7 {
  background-color: #FDEDD3;
  position: relative;
  color: #936315;
}

.color-8 {
  background-color: #F8CDD5;
  position: relative;
  color: #84031B;
}

.color-9 {
  background-color: #E3D6EC;
  position: relative;
  color: #6B39A4;
}

.color-10 {
  background-color: #DFEAFB;
  position: relative;
  color: #3A598E;
}

.system-span{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  font-family: 'medium';
  font-size: var(--step--1);
  opacity: 0;
}

.circle {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  width: 1px;
  height: 1px;
}

.color-container{
  display: flex;
  width: 96px;
  height: 96px;
  justify-content: center;
  position: relative;
}


.margin-bottom{
  margin-bottom: 25vh;
}

.space-1{
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.33);
  border-radius: 4px;

  height: 4px;
  width: 100%;
}

.space-2{
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.33);
  border-radius: 4px;

  height: 8px;
  width: 100%;
}

.space-3{
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.33);
  border-radius: 4px;

  height: 16px;
  width: 100%;
}

.space-4{
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.33);
  border-radius: 4px;

  height: 24px;
  width: 100%;
}

.space-5{
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.33);
  border-radius: 4px;

  height: 48px;
  width: 100%;
}

.space-6{
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.33);
  border-radius: 4px;

  height: 96px;
  width: 100%;
}

.spaces{
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.font-size-xs{
  font-family: 'medium';
  font-size: var(--step--1);
}

.font-size-s{
  font-family: 'medium';
  font-size: var(--step-0);
}

.font-size-m{
  font-family: 'medium';
  font-size: var(--step-1);
}

.font-size-l{
  font-family: 'medium';
  font-size: var(--step-2);
}

.font-size-xl{
  font-family: 'medium';
  font-size: var(--step-3);
}

.font-size-xxl{
  font-family: 'medium';
  font-size: var(--step-4);
}

.font-sizes {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.growingWrapper{
  display: flex;
  flex-direction: row;
}

.el-1{
  flex-shrink: 0;
  width: 80vw;
  height: 100vh;
  background-color: red;
  border: 1px solid white;
  background-image: url(assets/images/testpic.png);
  background-size: cover;

}
.el-2{
  flex-shrink: 0;
  width: 10vw;
  height: 100vh;
  background-color: green;
  border: 1px solid white;
  background-image: url(assets/images/testpic.png);
  background-size: cover;
}
.el-3{
  flex-shrink: 0;
  width: 10vw;
  height: 100vh;
  background-color: blue;
  border: 1px solid white;
  background-image: url(assets/images/testpic.png);
  background-size: cover;
}