:root {
  --columns: 12;
  --gap: 5px;
  --highlight-color: red;
  --bg-color: white;
  --text-color: black;
}

:root.dark-mode {
  --bg-color: rgb(0, 0, 0);
  --text-color: white;
}


* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  scroll-padding-top: 20px;
}

body.dark-mode {
  --bg-color: rgb(0, 0, 0);
  --text-color: white;
}





/* Parameter für die Typedesign Projektseite */
@font-face {
  font-family: 'EdgeMetric';
  src: url(assets/EdgeMetric-Regular.woff2) format('woff2'),
       url(assets/EdgeMetric-Regular.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}

#editable-text {
  text-align: center;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  outline: none;
  border: none;
  min-height: 100px;
  transition: font-size 0.3s ease;
  -webkit-user-modify: read-write-plaintext-only;
  -webkit-tap-highlight-color: transparent;
}

.placeholder-font {
  font-family: "Helvetica Neue", sans-serif;
  color: var(--text-color); 
}


.edge-metric-font{
  font-family: "EdgeMetric";
}


.typed-text {
  font-family: 'EdgeMetric', sans-serif;
  font-size: 80px;
  color: var(--text-color); 
}



























/* Image Counter für die Projektseiten */
.image-counter {
  position: fixed;
  bottom: 20px;
  right: 40px;
  padding: 5px 10px;
  border-radius: 15px;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 25px;
  z-index: 1000;
  letter-spacing: -1.5px;
}










/* Media Queries für den Counter der Projektbilder */

/* Für Tablets und kleinere Desktops */
@media screen and (max-width: 1024px) {
  .image-counter {
    font-size: 18px;
    padding: 4px 8px;
  }
}

/* Für größere Smartphones */
@media screen and (max-width: 768px) {
  .image-counter {
    font-size: 16px;
    padding: 3px 7px;
    bottom: 20px;
    right: 15px;
  }
}

/* Für iPhones und kleinere Smartphones */
@media screen and (max-width: 480px) {
  .image-counter {
    font-size: 16px;
    padding: 2px 6px;
    bottom: 20px;
    right: 15px;
    letter-spacing: -1px;
  }
}

/* Spezifisch für sehr kleine Bildschirme oder im Landscape-Modus */
@media screen and (max-width: 380px), (max-height: 480px) {
  .image-counter {
    font-size: 16px;
    padding: 2px 5px;
    bottom: 8px;
    right: 8px;
  }
}
Last edited just now


















/* Das sind Parameter, welche mich zurück zum Ursprungsbild bringen auf der Startseite */

html {
  scroll-behavior: smooth;
}

.scale-animation {
  animation: scale 0.8s ease-in-out;
  /* Längere, sanftere Animation */
}

@keyframes scale {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}












/*Titel bei Projektseiten*/
.flex-container2 {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: normal;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2vmin;
  box-sizing: border-box;
}

.poster-text {
  font-family: "Helvetica Neue", sans-serif;
  font-size: min(12vw, 7.8vh, 100px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.poster-text>div {
  font-family: "Helvetica Neue", sans-serif;
  word-spacing: 1.5px;
  line-height: 100%;
}










/* Bilder bei Projektseiten*/
html,
body {
  margin: 0;
  padding: 0;
}


.project-page {
  overflow: hidden;
}

.fullscreen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  z-index: 1;
}

.fullscreen-section {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
}

.fullscreen-section img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}





/*Projekt-Videos Parameter?????? Braucht es das noch???*/
.project-video {
  height: 80vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
}

/*Projekt-Videos Parameter*/
.video-max-width {
  max-width: 90%;
  width: 1000px; 
  height: auto;
}


/* Media Queries */
@media screen and (max-width: 1280px) {
  .video-max-width {
      width: 90%;
  }
}

@media screen and (max-width: 1024px) {
  .video-max-width {
      width: 85%;
  }
}

@media screen and (max-width: 768px) {
  .video-max-width {
      width: 85%;
  }
}

/* iPhone-Größen */
@media screen and (max-width: 428px) { /* iPhone 12 Pro Max Breite */
  .video-max-width {
      width: 85%;
  }
}

@media screen and (max-width: 390px) { /* iPhone 12, 12 Pro Breite */
  .video-max-width {
      width: 85%;
  }
}

@media screen and (max-width: 375px) { /* iPhone SE, 8, 7, 6 Breite */
  .video-max-width {
      width: 85%;
  }
}







/*Center Text hinter Projektbilder*/
.text-section {
  color: var(--text-color);
}

.centered-text {
  width: calc((100% / var(--columns) * 6) - var(--gap));
  padding: 1rem;
  margin: 0 auto;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: normal;
  font-size: clamp(14px, 2.3vw, 30px);
  line-height: 1.0;
  margin: 0;
  text-align: left;
  letter-spacing: 0.09px; 
  position: fixed;
  bottom: 30px;
  left: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}









/* Bestehende Responsive Anpassungen */
@media screen and (max-width: 768px) {
  .fullscreen-section {
    margin-bottom: 10vh;
  }
  .fullscreen-section img {
    max-width: 95%;
    max-height: 95%;
  }
  .centered-text {
    max-width: 100%;
    padding: 5px;
    font-size: 20px; /* Kleinere Schriftgröße */
    width: calc((100% / var(--columns) * 9) - var(--gap));
    padding-bottom: 20px;
  }
}

/* Anpassungen für kleine Bildschirme */
@media screen and (max-width: 480px) {
  .fullscreen-section {
    margin-bottom: 5vh;
  }
  .centered-text {
    max-width: 100%;
    padding: 5px;
    font-size: 18px; /* Kleinere Schriftgröße */
    width: calc((100% / var(--columns) * 9) - var(--gap));
  }
  .fullscreen-section img {
    max-width: 80%;
    max-height: 95%;
  }
}



/* Media Queries für die Projekttitel*/
@media screen and (max-width: 375px) {
  .centered-text {
    font-size: 0.8rem; /* Noch kleinere Schriftgröße */
    padding: 0.1rem;
    bottom: 45px;
    width: calc((100% / var(--columns) * 9) - var(--gap));
  }
  .fullscreen-section img {
    max-width: 65%; /* Etwas kleineres Bild */
  }
}

/* Anpassungen für Projekttitel */
@media screen and (max-width: 480px) {
  .project-title {
    font-size: 1.2rem; /* Kleinere Schriftgröße für Projekttitel */
    margin-bottom: 0.5rem; /* Weniger Abstand nach unten */
  }
}

/* Project-Video Anpassungen */
@media screen and (max-width: 719px) {
  .project-video {
    height: 60vh;
  }
}

@media screen and (max-width: 480px) {
  .project-video {
    height: 50vh;
  }
}






/* Zusätzliche Anpassungen für die Bildergalerie auf der Startseite */
@media screen and (max-width: 480px) {
  .gallery {
    transform: scale(1.0);
  }
}

































/* Zurück zur Startseite Button*/
.back-button {
  display: inline-flex;
  align-items: center;
  padding: 0px 15px;
  background-color: red;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  height: 35px;
  width: 55px;
}

.back-button:hover {
  background-color: black;
}

.back-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}








/* Media Query für den Backbutton */
@media screen and (max-width: 768px) {
  .back-button {
    width: 50px;
    height: 25px;
    padding: 15px;
    bottom: 20px;
    left: 15px;
  }

  .back-icon {
    width: 20px;
    height: 20px;
  }
}



@media screen and (max-width: 480px) {
  .back-button {
    width: 35px;
    height: 25px;
    padding: 8px;
    bottom: 10px;
    left: 10px;
  }

  .back-icon {
    width: 15px;
    height: 15px;
  }
}







/* Button Hell/Dunkelmodus*/
button#toggle-color {
  position: fixed;
  top: 25px;
  right: 35px;
  width: 48px;
  height: 48px;
  padding: 0;
  z-index: 20;
  background-color: rgb(255, 0, 0);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

button#toggle-color:hover {
  background-color: rgb(0, 0, 0);
  transform: scale(1.1);
}



/* Responsiveness für den Hell/Dunkel Button*/

@media (max-width: 1200px) {
  button#toggle-color {
    width: 44px;
    height: 44px;
    top: 20px;
    right: 35px;
  }
}

@media (max-width: 992px) {
  button#toggle-color {
    width: 40px;
    height: 40px;
    top: 18px;
    right: 35px;
  }
}

@media (max-width: 768px) {
  button#toggle-color {
    width: 36px;
    height: 36px;
    top: 15px;
    right: 35px;
  }
}

@media (max-width: 576px) {
  button#toggle-color {
    width: 32px;
    height: 32px;
    top: 12px;
  }
}

@media (max-width: 480px) {
  button#toggle-color {
    width: 28px;
    height: 28px;
    top: 15px;
  }
}


@media (max-width: 430px) {
  button#toggle-color {
    width: 28px;
    height: 28px;
    top: 15px;
    right: 15px;
  }
}


















/* Typography*/
.word-spacing {
  word-spacing: 1.5px;
}

.line-height {
  line-height: 100%;
}











/* Flex Container Startseite (Galerie)*/
.flex-container {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: normal;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2vmin;
  box-sizing: border-box;
  font-size: min(12vw, 7.8vh, 100px);
}

.highlight {
  color: var(--highlight-color);
  font-weight: bold;
  font-family: "Helvetica Neue", sans-serif;
}







/* Grid für die Galerie-Bilder */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(50px, auto);
  gap: 10px;
  padding: 20px;
  width: 100%;
  z-index: 10;
  position: relative;
  transform: scale(calc(0.4 + min(0.6, max(0, (100vw - 320px) / 1000))));
}

/* Stile für die einzelnen Bilder */
.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-margin-top: 20px;
}

.gallery-link {
  opacity: 0;
  transition: 2s opacity ease-in-out;
}

/* Positionierung der Bilder im Grid */
.gallery-link.first {
  grid-area: 27 / 3 / span 7 / span 4;
}

.gallery-link.second {
  grid-area: 3 / 8 / span 2 / span 4;
}

.gallery-link.third {
  grid-area: 10 / 6 / span 3 / span 5;
}

.gallery-link.fourth {
  grid-area: 41 / 2 / span 3 / span 4;
}

.gallery-link.fifth {
  grid-area: 25 / 8 / span 2 / span 3;
}

.gallery-link.sixth {
  grid-area: 2 / 3 / span 1 / span 3;
}

.gallery-link.seventh {
  grid-area: 23 / 2 / span 3 / span 5;
}

.gallery-link.eight {
  grid-area: 13 / 4 / span 7 / span 7;
}

.gallery-link.nineth {
  grid-area: 12 / 2 / span 2 / span 3;
}

.gallery-link.tenth {
  grid-area: 46 / 7 / span 3 / span 4;
}

.gallery-link.eleventh {
  grid-area: 53 / 4 / span 2 / span 5;
}

.gallery-link.twelfth {
  grid-area: 5 / 2 / span 1 / span 4;
}

.gallery-link.thirteenth {
  grid-area: 34 / 2 / span 2 / span 3;
}

.gallery-link.fourteenth {
  grid-area: 37 / 5 / span 3 / span 5;
}

.gallery-link.fifteenth {
  grid-area: 48 / 2 / span 2 / span 4;
}

.gallery-link.sixteenth {
  grid-area: 33 / 8 / span 2 / span 4;
}

.gallery-link.seventeenth {
  grid-area: 50 / 7 / span 2 / span 4;
}

.gallery-link.eightteenth {
  grid-area: 56 / 2 / span 2 / span 4;
}

.gallery-link.nineteenth {
  position: relative;
  top: -50%;
  grid-area: 59 / 7 / span 3 / span 5;
}






/* Hover Effekt bei Galeriebilder */
.gallery-link:hover .gallery-item {
  transform: scale(1.02);
}







/* Email Button Style, Position und Responsiveness */
.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 30px;
  padding: 0 8px;
  background-color: red;
  border-radius: 24px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
}

.email-button.visible {
  opacity: 1;
  pointer-events: auto;
}

.email-button:hover {
  background-color: black;
  transform: scale(1.05);
}

.email-text {
  color: white;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
  .email-button {
      height: 20px;
      padding: 0 10px;
      bottom: 15px;
      left: 15px;
  }
  
  .email-text {
      font-size: 10px;
  }
}

@media screen and (max-width: 480px) {
  .email-button {
      height: 20px;
      padding: 0 5px;
      bottom: 15px;
      left: 10px;
  }
  
  .email-text {
      font-size: 10px;
  }
}























/* Correctly calculated column widths considering the gap */
.col {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 10px;
}

.col-1 {
  flex: 0 0 calc(100% / var(--columns) * 1 - (var(--gap) * (var(--columns) - 1) / var(--columns)));
}

.col-2 {
  flex: 0 0 calc(100% / var(--columns) * 2 - (var(--gap) * (var(--columns) - 2) / var(--columns)));
}

.col-3 {
  flex: 0 0 calc(100% / var(--columns) * 3 - (var(--gap) * (var(--columns) - 3) / var(--columns)));
}

.col-4 {
  flex: 0 0 calc(100% / var(--columns) * 4 - (var(--gap) * (var(--columns) - 4) / var(--columns)));
}

.col-5 {
  flex: 0 0 calc(100% / var(--columns) * 5 - (var(--gap) * (var(--columns) - 5) / var(--columns)));
}

.col-6 {
  flex: 0 0 calc(100% / var(--columns) * 6 - (var(--gap) * (var(--columns) - 6) / var(--columns)));
}

.col-7 {
  flex: 0 0 calc(100% / var(--columns) * 7 - (var(--gap) * (var(--columns) - 7) / var(--columns)));
}

.col-8 {
  flex: 0 0 calc(100% / var(--columns) * 8 - (var(--gap) * (var(--columns) - 8) / var(--columns)));
}

.col-9 {
  flex: 0 0 calc(100% / var(--columns) * 9 - (var(--gap) * (var(--columns) - 9) / var(--columns)));
}

.col-10 {
  flex: 0 0 calc(100% / var(--columns) * 10 - (var(--gap) * (var(--columns) - 10) / var(--columns)));
}

.col-11 {
  flex: 0 0 calc(100% / var(--columns) * 11 - (var(--gap) * (var(--columns) - 11) / var(--columns)));
}

.col-12 {
  flex: 0 0 calc(100% / var(--columns) * 12 - (var(--gap) * (var(--columns) - 12) / var(--columns)));
}

@media (max-width: 768px) {

  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12 {
    flex: 0 0 calc(100%);
  }
}

/* 
***************
End Grid
***************
*/