@font-face {
    font-family: 'cream';
    src: url('/fonts/cream-DEMO.ttf');
}
@font-face {
    font-family: 'Lostar';
    src: url('/fonts/Lostar.ttf');
}
body {
  /*background-image: url('../Hintergründe/Frontpage.jpg');*/
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1e1e1e;
  --clr:#F5BDB3;
  margin: 0vw;
}
header{
  position: sticky;
  top:0;
  justify-content: space-around;
  display: flex;
  font-family: Helvetica, sans-serif;
  color: #000000;
  background-color: white;
  padding-top: 1vw;
  font-size: 1vw;
  z-index: 1;
  border: white solid 0.01vw ;
  padding-top: 2vw;
  padding-bottom: 2vw;
  box-shadow: #000000 1vw 1vw 10vw;
}
#natalieschmitzberger{
  font-weight: 1000;
}
header a{
  font-family: Inter;
  color: rgb(0, 0, 0);
  text-decoration: none;
}
header a:hover{
  color: #c0c0c0;
}
#head{
  display: block;
  margin-top: auto;
  margin-bottom: auto;
}
/********************* title frontpage *********************/
.title_frontpage{
  margin-top: 6vw;
  padding-bottom: 11vw;
}
.title_frontpage h1{
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  text-align: center;
  font-size: 10vw;
  margin-top: 0vw;
  letter-spacing: 1vw;
  margin-bottom: 0vw;
}
#middleP{
  -webkit-text-fill-color: #1e1e1e;
  -webkit-text-stroke: #ffffff 0.1vw;
}
.title_frontpage p{
  color:rgb(255, 255, 255);
  text-align: center;
  font-family: Inter;
  font-size: 2vw;
  margin-top: 2vw;
  letter-spacing: 1vw;
  font-weight: 100;
}
.logo {
  text-align: center;
  margin: auto;
}

.logo b{
  font: 1000 10vw "Arial";
  color: #fee;
  letter-spacing: 1vw;
  /*text-shadow: 0 -40px 100px, 0 0 2px, 0 0 1em #ffffff, 0 0 0.5em #ffffff, 0 0 0.1em #222222, 0 10px 3px #000000;*/
}
/*
.logo b span{
  animation: blink linear infinite 2s;
}
.logo b span:nth-of-type(2){
  animation: blink linear infinite 3s;
}*/
#middleP b span {
  display: inline-block;
  border: 1px solid white; /* falls du schon eine Border hast */
  padding: 0 4px;
  transition: background-color 0.3s, color 0.3s; /* Smooth transition */
  color: white; /* initial text color */
  background-color: transparent; /* initial background */
}

/* Hover auf die gesamte middleP Box */
#middleP:hover b span {
  animation: fillWhite 0.5s forwards;
}

/* Animation für jedes span, mit Verzögerung via nth-child */
#middleP:hover b span:nth-child(1) { animation-delay: 0s; }
#middleP:hover b span:nth-child(2) { animation-delay: 0.1s; }
#middleP:hover b span:nth-child(3) { animation-delay: 0.2s; }
#middleP:hover b span:nth-child(4) { animation-delay: 0.3s; }
#middleP:hover b span:nth-child(5) { animation-delay: 0.4s; }
#middleP:hover b span:nth-child(6) { animation-delay: 0.5s; }

/* Keyframes für die Animation */
@keyframes fillWhite {
  from {
    background-color: transparent;
    color: white;
  }
  to {
    background-color: white;
    color: black; /* optional, damit Text sichtbar bleibt */
  }
}

@keyframes blink {
  78% {
    color: inherit;
    text-shadow: inherit;
  }
  79%{
     color: #333;
  }
  80% {
    
    text-shadow: none;
  }
  81% {
    color: inherit;
    text-shadow: inherit;
  }
  82% {
    color: #333;
    text-shadow: none;
  }
  83% {
    color: inherit;
    text-shadow: inherit;
  }
  92% {
    color: #333;
    text-shadow: none;
  }
  92.5% {
    color: inherit;
    text-shadow: inherit;
  }
}

.ticker-wrap{
      width:100%;
      max-width:1200px;
      overflow:hidden;
      padding:12px 18px;
      border-radius:10px;
      background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      box-shadow: 0 6px 18px rgba(2,6,23,0.6);
    }

    /* the moving track - we'll duplicate its content to loop smoothly */
    .ticker {
      display:flex;
      align-items:center;
      gap: 2.5rem;
      white-space:nowrap;
      will-change: transform;
      /* animate by translating the whole track from -50% to 0% */
      animation: slide var(--speed) linear infinite;
    }

    /* individual items */
    .ticker-item{
      display:inline-block;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.03);
      color: var(--fg);
      font-weight:600;
      letter-spacing: 0.2px;
      font-size: 0.95rem;
      border: 1px solid rgba(255,255,255,0.04);
    }

    /* small muted label at left (optional) */
    .label {
      display:inline-block;
      margin-right: 1rem;
      color: var(--muted);
      font-weight:500;
      font-size:0.9rem;
    }

    @keyframes slide {
      0%   { transform: translateX(-50%); }
      100% { transform: translateX(0%); }
    }

    /* hover to pause */
    .ticker-wrap:hover .ticker { animation-play-state: paused; }

    /* accessibility: prefers reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .ticker { animation: none; }
    }

    /* responsive */
    @media (max-width:640px){
      :root{ --height:52px; --speed: 22s; }
      .ticker-item{ font-size:0.85rem; padding: 8px 10px; }
    }

.underHeader_skills {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-top: white solid 0.1vw;
    border-bottom: white solid 0.1vw;
    padding: 1vw;
    color: white;
    background-color: #1e1e1e;
    font-size: 1vw;
    display: flex;
    font-family: Inter, Helvetica, sans-serif;
    font-weight: 100;
    box-shadow: #0f0f0f 1vw 1vw 1vw;
}

/* Wrapper für das Laufband */
.underHeader_skills .marquee {
    display: flex;
    gap: 8vw; /* Abstand zwischen den p-Tags */
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

/* Verlangsamung bei Hover */
.underHeader_skills:hover .marquee {
    animation-play-state: paused; /* alternativ langsamer: animation-duration: 30s; */
}

/* Animation für das Laufband */
@keyframes marquee {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/********************* About Me *********************/
#portrait{
  height: max-content;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 5vw;
  width: 30vw;
}
.aboutMe{
  display: flex;
  margin-top: 10vw;
  padding-top: 4.5vw;
  padding-bottom: 4.5vw;
  border: white solid 0.5vw;
  color: white;
  /*background-color: #800E0B;
  box-shadow:0 0 1vw #FA1C16, 0 0 3vw #FA1C16, 0 0 5vw #FA1C16, 0 0 10vw #FA1C16, 0 0 .4vw #FED128, .5vw .5vw .1vw #806914 ;
*/}

.aboutMe_text{
    font-family: Inter;
    font-weight: 200;
    color: rgb(255, 255, 255);
    margin-left: 0vw;
    
}
.aboutMe_text h1{
  font-family: Inter,Arial, Helvetica, sans-serif;
  border-bottom: white solid 0.2vw;
  font-size: 5vw;
  margin-right: 0vw;
  padding-left: 5vw;
}
.aboutMe_text h2{
  font-family: Inter,Arial, Helvetica, sans-serif;
  border-bottom: white solid 0.2vw;
  font-size: 3vw;
  font-weight: lighter;
  margin-right: 23vw;
  padding-left: 5vw;
}
.aboutMe_text p{
  font-family: Inter,Arial, Helvetica, sans-serif;
  padding-right: 7vw;
  font-size: 1.3vw;
  margin-bottom: 5vw;
  margin-top: 3vw;
  padding-left: 5vw;
  font-weight: 100;
}


.blob-container {
  position: absolute;
  display: inline-block;
  width: 30vw; /* gleiche Größe wie Bild */
  height: 30vw;
}
.blob-container2 {
  position: absolute;
  display: inline-block;
  width: 50vw; /* gleiche Größe wie Bild */
  height: 50vw;
  margin-left: 60vw;
  margin-top: -30vw;
}
.blob-container3 {
  position: absolute;
  display: inline-block;
  width: 30vw; /* gleiche Größe wie Bild */
  height: 20vw;
  margin-left: 0vw;
  margin-top: 5vw;
}

.blob {
  position: absolute;
  inset: 0; /* füllt den Container komplett */
  background:
  radial-gradient(circle at 15% 20%, rgba(252, 245, 175, 0.6) 0%, transparent 70%),
  radial-gradient(circle at 40% 30%, rgba(186, 1, 26, 0.8) 0%, transparent 75%),
  radial-gradient(circle at 60% 60%, rgba(11, 75, 139, 0.8) 0%, transparent 70%),
  radial-gradient(circle at 70% 40%, rgba(240, 165, 51, 0.75) 0%, transparent 75%),
  radial-gradient(circle at 85% 70%, rgba(228, 79, 10, 0.85) 0%, transparent 75%);
  background-color: #000; /* damit dunkle Bereiche wirklich dunkel sind */
  background-blend-mode: screen, overlay, screen, overlay, hard-light;
  border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
  filter: blur(5vw);
  /*animation: morph 5s ease-in-out infinite alternate;*/
  z-index: -2; /* ganz hinten */
  margin-left: 5vw;
}
.blob-container img {
  position: relative;
  width: 30vw;
  margin-left: 10vw;
  object-fit: cover;
  border-radius: 1rem; /* optional */
  z-index: 1; /* liegt vor dem Blob */
}

@keyframes morph {
  0% {
    border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
    transform: rotate(0deg) scale(1);
  }
  100% {
    border-radius: 40% 60% 50% 70% / 60% 50% 60% 40%;
    transform: rotate(35deg) scale(1.2);
  }
}
.contacts{
  display: flex;
  flex-wrap: nowrap;
}
.contacts p{
  padding: 0.5vw;
  border: #000000 solid 0.1vw;
  border-radius: 1vw;
  margin: 0.5vw;
  background-color: #000000;
}
/**********************projects**********************/
.projects h1{
  color: rgb(0, 0, 0);
  text-align: center;
  margin-top: 10vw;
  font-family: Inter;
  font-size: 10vw;
  padding-top: 5vw;
}
.projects{
  background-color: white;
  font-family: Inter;
  font-weight: lighter;
}

 /* === Sections (Scroll Reveal) === */
    section {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      gap: 10vw;
      min-height: 40vw;
      --x: -100%;
      padding-right: 5vw
    }
    section:nth-of-type(even) {
      grid-template-columns: 1fr auto;
      --x: 100%;
    }

    section img, section video {
      max-width: 40vw;
      margin-left: 5vw;
      opacity: 0;
      animation: item-reveal 1s ease-out forwards;
      animation-timeline: view();
      animation-range: cover 10% cover 30%;
      box-shadow: #7e7e7e 1vw 1vw 1.5vw;
    }

    section p {
      font-size: 1vw;
      background: hsl(210, 2%, 22%);
      padding: 1rem;
      backdrop-filter: blur(4px);
      border-radius: 0.5rem;
      opacity: 0;
      animation: item-reveal 1s ease-out forwards;
      animation-timeline: view();
      animation-range: cover 30% cover 50%;
    }

    @keyframes item-reveal {
      0% { opacity: 0; transform: translateX(var(--x)); }
      100% { opacity: 1; transform: translateX(0); }
    }

    /* === Tech Badge Styling === */
    .tech-stack {
      margin-top: 0.5rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5vw;
    }

    .tech-badge {
      background: var(--surface-3);
      color: white;
      font-size: 0.75rem;
      padding: 0.3rem 0.6rem;
      border-radius: 0.5rem;
      box-shadow: var(--shadow-2);
      background-color: #333;
    }

    @media(prefers-color-scheme: dark) {
      section p { background: hsl(0, 0%, 0%); color: white;}
    }
/**********************portfolio**********************/
/*body {
  background: #0a0a0a;
  color: white;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}
*/
.portfolio{
  background: #0a0a0a;
  color: white;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.circle-gallery {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.circle-image {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  transform-origin: center center;
  transition: transform 0.6s ease, opacity 0.6s ease;
  cursor: pointer;
}

.circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-image.selected {
  transform: scale(1.2) translateY(-10px);
  z-index: 10;
}

.info-panel {
  margin-top: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  max-width: 500px;
}

#more-button {
  background: white;
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-top: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

#more-button:hover {
  transform: scale(1.05);
  background: #ddd;
}

#more-details {
  margin-top: 1rem;
  opacity: 1;
  max-height: 500px;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

#more-details.hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}
/**************************connectSide*********************/
#connectSide {
  margin: 5vh auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 40vw;
  padding: 2rem;
  color: #ffffff;
  margin-top: 14vw;
  margin-bottom: 14vw;
  font-family: Inter, sans-serif;
  font-weight: 100;
  background: rgb(255, 255, 255);
  box-shadow: 1vw 1vw 1vw 1vw 1vw rgb(0, 0, 0);
  position: relative;
  z-index: 10; /* sicherstellen, dass die weiße Box über dem Raster liegt */
  background-color: #1e1e1e; /* dunkler Hintergrund für Kontrast */
  background-image:
    repeating-linear-gradient(
      90deg,                /* vertikale Linien */
      rgba(255,255,255,0.05), /* sehr dezente weiße Linien */
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      0deg,                  /* horizontale Linien */
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 40px
    );
  background-size: 80px 80px;  /* Abstand zwischen den Linien */
  background-position: 0 0, 20px 20px; /* leicht versetzte zweite Schicht für abstraktes Muster */

}
#connectSide h1 {
  font-size: 2vw;
  font-weight: 700;
  margin-bottom: 1rem;
}

#connectSide p {
  font-size: 1vw;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.contactsConnect {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 3vw;
  padding-top: 1vw;
}

#connectSide h1, 
#connectSide p, 
.contactsConnect {
  transition: transform 0.2s ease-out;
}
.contactsConnect a {
  border: 1px solid rgb(255, 255, 255);
  padding: 0.6vw 1.2vw;
  font-weight: 500;
  font-size: 1vw;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 5vw;
  color: #ffffff;
}

.contactsConnect a:hover {
  background-color: white;
  color: black;
  background-color: #000;
  border-color: #000;
  color: white;
  transform: translateY(-2px); 
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
