/* style.css */
/* =========================== allgemein =========================== */

body {
  background-color: #fff;
  font-family: "acumin-pro", sans-serif;
  font-weight: 500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;   
}

html, body {
    color: #000;
    font-size: 85%;
}

body {
    background-color: #ffffff;
    height: 600vh;
    overflow-y: scroll;
}

/* Deaktiviere Scrolling für About-Seiten */
body:has(.about-intro) {
    height: 100vh;
    overflow-y: hidden;
}


.content {
  width: 100%;
  position: fixed;
  top: 20px;
  left: 20px;
  padding-right: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

h1 {
    font-family: "acumin-pro", sans-serif;
    font-weight: 500;
    font-size: 2.625rem;
    line-height: 95%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

h1.visible {
    opacity: 1;
    
}

h1.indented {
    padding-left: 2em;
    text-indent: -2em;
}

h1.full-indent::before {
    content: '';
    display: block;
    width: 2em;
    margin-left: -2em;
    height: 0;
}

h1.single-indent {
    padding-left: 2em;
}

h1.right-aligned {
    text-align: right;
    margin-right: 20px;
}

h2 {
    font-family: "acumin-pro", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 105%;
}

h3 {
    font-size: 1.1875rem;
}

/* Transition for non-visible headers */
h1:not(.visible) {
    transition: opacity 0.3s ease-in-out;
}

/* =========================== nav =========================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;  
    mix-blend-mode: difference;  
    color: white;  
}

nav ul {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Ändere von 4 auf 3 Spalten */
  padding: 10px 25px;
  font-family: "acumin-pro", sans-serif;
  font-weight: 500;
  font-size: 1.1875rem;
  color: inherit;
  gap: 0;
}

nav li:nth-child(1) { grid-column: 1; }
nav li:nth-child(2) { grid-column: 2; }
nav li:nth-child(3) { grid-column: 3; justify-self: end; } /* Download CV jetzt rechts */

nav a {
    text-decoration: none;
    color: inherit;  

}
  
.current {
    color: inherit;  
}
  

#hi{
    padding-top:10px;
    text-decoration: none;
    color:#000;
}

a{
    text-decoration: none;
}



/* =========================== bottom nav =========================== */

.navbar {
    overflow: hidden;
    position: fixed;
    bottom: 2px;
    width: 100%;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px 25px;
    font-family: "acumin-pro", sans-serif;
    font-weight: 500;
    font-size: 1.1875rem;
    box-sizing: border-box;
    text-decoration: none;
    color: #000000;
    gap: 0;
}

.navbar li:nth-child(1) { grid-column: 1; }
.navbar li:nth-child(2) { grid-column: 2; }
.navbar li:nth-child(3) { grid-column: 3; }
.navbar p { grid-column: 4; justify-self: end; }
  
  .navbar p, .navbar li {
    margin: 0;
  }
  
  .email-link {
    text-decoration: none;
    color: #000000; /* Ändere die Textfarbe auf eine gewünschte Farbe */
  }

  .impressum {
    text-decoration: none;
    color: #000000; /* Ändere die Textfarbe auf eine gewünschte Farbe */
  }
  
  .email-link:hover {
    color: #000000; /* Optional: Ändere die Textfarbe beim Hover */
  }

/* CV Download nur auf Mobile - auf Desktop verstecken */
.cv-download {
  display: none !important;
}

.about-intro {
  font-family: "acumin-pro", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 105%;
  grid-column: 2 / span 2;
  margin: 0;
  padding: 0;
  padding-top: 60px;
  box-sizing: border-box;
}

/* Globale Navigation und Bottom-Navigation Schriftgewicht */

.navbar p, .navbar li {
  font-family: "acumin-pro", sans-serif;
  font-weight: 500;
}

.email-link, .impressum, .instagram-link {
  font-family: "acumin-pro", sans-serif;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
}

.email-link:hover, .impressum:hover, .instagram-link:hover {
  color: #000000;
}
  