@font-face {
  font-family: "Book";
  src: url("/fonts/PPMori-Book.woff2") format("woff2");
  src: url("/fonts/PPMori-Book.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Light";
  src: url("/fonts/PPMori-Extralight.woff2") format("woff2");
  src: url("/fonts/PPMori-Extralight.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Medium";
  src: url("/fonts/PPMori-SemiBold.woff2") format("woff2");
  src: url("/fonts/PPMori-SemiBold.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Mono Medium";
  src: url("/fonts/PPNeueMontrealMono-Medium.woff2") format("woff2");
  src: url("/fonts/PPNeueMontrealMono-Medium.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Mono Thin";
  src: url("/fonts/PPNeueMontrealMono-Thin.woff2") format("woff2");
  src: url("/fonts/PPNeueMontrealMono-Thin.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Mono Light";
  src: url("/fonts/PPNeueMontrealMono-Light.woff2") format("woff2");
  src: url("/fonts/PPNeueMontrealMono-Light.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Mono Regular";
  src: url("/fonts/PPNeueMontrealMono-Regular.woff2") format("woff2");
  src: url("/fonts/PPNeueMontrealMono-Regular.woff") format("woff");
  font-display: swap;
}

:root {
  --c1: rgb(249, 248, 242);
  --c2: rgb(29, 29, 32);
  --c3: rgba(29, 29, 32, 0.6);
}


body {
  background-color: var(--c1);
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Mono Light";
  color: var(--c2);
  text-align: left;
}

/* @media (max-width: 768px) {
  * {
    font-family: "Mono Regular";
  } 
} */

html {
  scroll-behavior: smooth;
}

section {
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
}

h1 {
  font-family: "Book";
  font-size: 7.5vw;
  ;
}

h2 {
  font-family: "Book";
  font-size: 5vw;
}

h3 {
  font-size: 1.4vw;
}


h4 {
  font-size: 1.1vw;
}


p {
  font-family: "Book";
  font-size: 1.3vw;
  line-break: strict;
  line-height: 1.4;
  text-align-last: left;
  text-indent: 10%;
}

p:first-of-type {
  text-indent: 0;
}


@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  h1 {
    font-size: 10vw;
  }

  h2 {
    font-size: 2.1em;
  }

  h3 {
    font-size: 2.4vw;
  }


  h4 {
    font-size: 2.4vw;
  }

  p {
    font-size: 2.9vw;
  }
}



a {
  text-decoration: none;
}





/* //////// FRAMES //////////*/
#frame-start {
  position: fixed;
  z-index: 4;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  width: 61%;
  height: 100%;
  background-color: var(--c1);
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
  border-radius: 0px 25px 25px 0px;
  transition: all 0.2s ease;
}

#frame-start:hover {
  background-color: var(--c2);
}

#header {
  position: absolute;
  width: 85%;
  margin-top: 45%;
  margin-left: 5%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  container-type: inline-size;
}

#header-untertitel {
  width: 100%;
  display: flex;
  justify-content: space-between;
  transition: all 0.2s ease;
}



#frame-start:hover h1 {
  color: var(--c1);
}

#frame-start:hover h3 {
  color: var(--c1);
}

.text-container-start {
  position: relative;
  display: flex;
  justify-content: flex-start;
  height: auto;
  margin-bottom: 3%;
  margin-left: -1.5%;
}

.text-container-start h1 {
  font-size: clamp(1.8rem, 7vw, 7rem);
}

@supports (font-size: 1cqw) {
  .text-container-start h1 {
    font-size: clamp(2.1rem, 14.3cqw, 7.2rem);
  }
}

.text-container-start-left {
  font-family: 'Medium';
  letter-spacing: -3.5;
}

.text-container-start-right {
  font-family: 'Light';
  font-weight: 100;
  letter-spacing: -5;
}


.letter {
  font-family: "Medium";
  text-transform: uppercase;
  font-size: 4vw;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.letter-overlay {
  font-size: 4vw;
  line-height: 1.5;
  color: var(--c1);
  opacity: 0;
  transition: opacity 0.5s ease;
}

#frame-projects {
  position: fixed;
  z-index: 3;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  width: 74%;
  height: 100%;
  background-color: var(--c1);
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
  border-radius: 0px 25px 25px 0px;
  transition: all 0.2s ease;
}

.text-frame-projects {
  z-index: 3;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  left: 85%;
  top: 62%;
}


#frame-projects:hover {
  background-color: var(--c2);
}

#frame-projects:hover .letter {
  color: var(--c1);
}

#frame-projects:hover .letter-overlay {
  opacity: 1;
}


#frame-about {
  position: fixed;
  z-index: 2;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  padding: 3vw;
  width: 87%;
  height: 100%;
  background-color: var(--c1);
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
  border-radius: 0px 25px 25px 0px;
  transition: all 0.2s ease;
}

.text-frame-about {
  z-index: 3;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  left: 87%;
  top: 62%;
}

#frame-about:hover {
  background-color: var(--c2);
}

#frame-about:hover .letter {
  color: var(--c1);
}

#frame-about:hover .letter-overlay {
  opacity: 1;
}



#frame-contact {
  position: fixed;
  z-index: 1;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  padding: 3vw;
  width: 100%;
  height: 100%;
  background-color: var(--c1);
  transition: all 0.2s ease;
}

.text-frame-contact {
  z-index: 200;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  left: 89%;
  top: 62%;
}

#frame-contact:hover {
  background-color: var(--c2);
}

#frame-contact:hover .letter {
  color: var(--c1);
}

#frame-contact:hover .letter-overlay {
  opacity: 1;
}


@media (max-width: 768px) {

  #frame-start {
    width: 100%;
    height: 60%;
    border-radius: 0px 0px 25px 25px;
  }

  #header {
    margin-top: 38%;
    margin-left: 8%;
    width: 80%;
  }



  .text-container-start h1 {
    font-size: clamp(1.4rem, 4rem, 4.6rem);
  }

  @supports (font-size: 1cqw) {
    .text-container-start h1 {
      font-size: clamp(1.6rem, 14.3cqw, 5.15rem);
    }
  }

  .text-container-start-left {
    letter-spacing: -1;
  }

  .text-container-start-right {
    letter-spacing: -1.4;
  }

  #frame-projects {
    width: 100%;
    height: 73%;
    border-radius: 0px 0px 25px 25px;
  }

  .text-frame-projects {
    left: 50%;
    top: 87%;
    flex-direction: row;
    align-items: center;
  }

  #frame-about {
    width: 100%;
    height: 86%;
    border-radius: 0px 0px 25px 25px;
  }

  .text-frame-about {
    left: 50%;
    top: 90%;
    flex-direction: row;
    align-items: center;
  }

  #frame-contact {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .text-frame-contact {
    left: 50%;
    top: 92%;
    flex-direction: row;
    align-items: center;
  }


  .letter {
    font-size: 6vw;
  }

  .letter-overlay {
    font-size: 6vw;
  }

}


/* //////// FOLDERS //////////*/
.folder-contact {
  z-index: 9;
  content: 'projects';
  position: absolute;
  margin-top: 0.5%;
  width: 100%;
  height: 100%;
  top: 5%;
  left: 0;
  border-radius: 0;
  background-color: var(--c1);
  display: flex;
  justify-content: center;
  padding-top: 0.8vh;
}

.folder-contact::before {
  z-index: 9;
  content: 'contact';
  position: absolute;
  top: -4.8%;
  right: 0%;
  width: 15%;
  height: 4.1%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 0.8vh;
  font-family: "Medium";
  font-size: 1.5vw;
  text-transform: uppercase;
  box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
  /* transition: background-color all 0.2s ease, color all 0.2s; */
}

.folder-contact:hover::before {
  box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.15);
  text-decoration: underline;
}

@media (max-width: 1168px) {
  .folder-contact {
    top: 3.5%;
  }

  .folder-contact::before {
    top: -3.3%;
  }
}

@media (max-width: 768px) {
  .folder-contact {
    top: 2.5%;
  }

  .folder-contact::before {
    top: -2.7%;
    height: 2.2%;
    width: 22%;
    font-size: 2.2vw;
  }
}



.folder-about {
  z-index: 9;
  content: 'projects';
  position: absolute;
  margin-top: 0.5%;
  width: 100%;
  height: 100%;
  top: 5%;
  left: 0;
  border-radius: 0;
  background-color: var(--c1);
  display: flex;
  justify-content: center;
  padding-top: 0.8vh;
}

.folder-about::before {
  z-index: 9;
  content: 'about';
  position: absolute;
  top: -4.8%;
  right: 15%;
  width: 15%;
  height: 4.1%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 0.8vh;
  font-family: "Medium";
  font-size: 1.5vw;
  text-transform: uppercase;
  box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
  /* transition: background-color all 0.2s ease, color all 0.2s; */
}

.folder-about:hover::before {
  box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.15);
  text-decoration: underline;
}

@media (max-width: 1168px) {
  .folder-about {
    top: 3.5%;
  }

  .folder-about::before {
    top: -3.3%;
  }
}

@media (max-width: 768px) {
  .folder-about {
    top: 2.5%;
  }

  .folder-about::before {
    right: 22%;
    top: -2.7%;
    height: 2.2%;
    width: 22%;
    font-size: 2vw;
  }
}



.folder-projects {
  z-index: 9;
  content: 'projects';
  position: absolute;
  margin-top: 0.5%;
  width: 100%;
  height: 100%;
  top: 5%;
  left: 0;
  border-radius: 0;
  background-color: var(--c1);
  display: flex;
  justify-content: center;
  padding-top: 0.8vh;
}

.folder-projects::before {
  z-index: 9;
  content: 'projects';
  position: absolute;
  top: -4.8%;
  right: 30%;
  width: 15%;
  height: 4.1%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 0.8vh;
  font-family: "Medium";
  font-size: 1.5vw;
  text-transform: uppercase;
  box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
  /* transition: background-color all 0.2s ease, color all 0.2s; */
}

.folder-projects:hover::before {
  box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.15);
  text-decoration: underline;
}

@media (max-width: 1168px) {
  .folder-projects {
    top: 3.5%;
  }

  .folder-projects::before {
    top: -3.3%;
  }
}

@media (max-width: 768px) {
  .folder-projects {
    top: 2.5%;
  }

  .folder-projects::before {
    right: 44%;
    top: -2.7%;
    height: 2.2%;
    width: 22%;
    font-size: 2vw;
  }
}

/* ////////////////////////////////////////////////////*/