main {
  position: relative;
  z-index: 10;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #7a81d1;
  position: relative;
  font-family: 'AverageMono', monospace;
  overflow-x: hidden;
}


.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
  animation: moveBlobs 10s ease-in-out infinite alternate;
  mix-blend-mode: multiply;
}

/* individuelle Blobs */
.blob1 {
  width: 500px;
  height: 500px;
  background: #d3a46c;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.blob2 {
  width: 400px;
  height: 400px;
  background: #a372be;
  top: 40%;
  left: 60%;
  animation-delay: 5s;
}

.blob3 {
  width: 600px;
  height: 600px;
  background: #61b697;
  top: 20%;
  left: 30%;
  animation-delay: 2s;
}

.blob4 {
  width: 450px;
  height: 450px;
  background: #a7a74c;
  top: 70%;
  left: 15%;
  animation-delay: 7s;
}

.blob5 {
  width: 500px;
  height: 500px;
  background: #ab4f60;
  top: 50%;
  left: 75%;
  animation-delay: 10s;
}

@keyframes moveBlobs {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-100px, 100px) scale(1.3);
  }
}


html {
  margin: 0;
  padding: 0;
  height: 100%;
}
  

@font-face {
    font-family: 'AverageMono';
    src: url('./fonts/AverageMono.otf') format('opentype'),
         url('./fonts/AverageMono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

p {
    font-family: 'AverageMono', monospace;
}

.accordion {
    width: 100vw;
    margin: 0;
    font-family: 'AverageMono', monospace;
  }
  
  .accordion-item {
    height: 25vh;
    border-left: none;
    border-right: none;
    border-bottom: none;
    overflow: hidden;
    /*margin-bottom: 1px;*/
  }

  /*Code banner*/

  .accordion-toggle-code {
    position: relative;
    overflow: hidden;
    border: none;
    width: 100%;
    height: 100%;
    padding: 1rem;
    font-size: 2rem;
    text-align: center;
    color: white;
    font-family: 'AverageMono', monospace;
    cursor: pointer;
    background: none;
    z-index: 1;
  }
  
  .accordion-toggle-code::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/darkmode_top_half_only.png');
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease; 
    z-index: -1;
  }
  
  .accordion-toggle-code:hover::before {
    transform: scale(1.1);
  }

  /*Code banner ende*/
  /*Über mich banner*/

  .accordion-toggle-forest {
    position: relative;
    overflow: hidden;
    border: none;
    width: 100%;
    height: 100%;
    padding: 1rem;
    font-size: 2rem;
    text-align: center;
    color: white;
    font-family: 'AverageMono', monospace;
    cursor: pointer;
    background: none;
    z-index: 1;
  }
  
  .accordion-toggle-forest::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/284553.jpg');
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease; 
    z-index: -1;
  }
  
  .accordion-toggle-forest:hover::before {
    transform: scale(1.1);
  }

  /*Über mich banner ende*/
  /*Hobbies banner*/

  .accordion-toggle-city {
    position: relative;
    overflow: hidden;
    border: none;
    width: 100%;
    height: 100%;
    padding: 1rem;
    font-size: 2rem;
    text-align: center;
    color: white;
    font-family: 'AverageMono', monospace;
    cursor: pointer;
    background: none;
    z-index: 1;
  }
  
  .accordion-toggle-city::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/1249808.jpg');
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease; 
    z-index: -1;
  }
  
  .accordion-toggle-city:hover::before {
    transform: scale(1.1);
  }

  /*Hobbies banner ende*/
  /*Reisen banner*/

  .accordion-toggle-street {
    position: relative;
    overflow: hidden;
    border: none;
    width: 100%;
    height: 100%;
    padding: 1rem;
    font-size: 2rem;
    text-align: center;
    color: white;
    font-family: 'AverageMono', monospace;
    cursor: pointer;
    background: none;
    z-index: 1;
  }
  
  .accordion-toggle-street::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/5381730.jpg');
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease; 
    z-index: -1;
  }
  
  .accordion-toggle-street:hover::before {
    transform: scale(1.1);
  }

  /*Reisen banner ende*/
  
  /*Abstand zu Anderen Karten und Ausklappen in 0.4 Sekunden*/
  .accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease, padding 0.4s ease;
    padding: 0 1rem;
    background: transparent;
    color: white;
    backdrop-filter: blur(2px);
  }
  
  
  /*Zoom-In bei Hover*/
  .accordion-toggle-code:hover {
    background-size: 110%;
  }
  
/*Weisser Schleier über Karten*/
.accordion-toggle-code::after,
.accordion-toggle-forest::after,
.accordion-toggle-city::after,
.accordion-toggle-street::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: opacity 0.5s ease;
  z-index: 2;
}

/*Weisser Schleier verschwindet bei Hover*/
.accordion-toggle-code:hover::after,
.accordion-toggle-forest:hover::after,
.accordion-toggle-city:hover::after,
.accordion-toggle-street:hover::after {
  opacity: 0;
}
  
/* Kompakte "Über mich"-Sektion – passt in dein bestehendes Accordion */
.about-compact {
  --card-bg: rgba(12, 12, 24, 0.45);
  --card-border: rgba(255,255,255,0.14);
  --muted: rgba(255,255,255,0.78);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  color: #fff;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  max-width: none;
  max-width: 98%;
  margin: 1% 1% 1% 0;
}

.about-compact__title { margin: 0; font-size: 1.35rem; }
.about-compact__subtitle { margin: .15rem 0 .6rem; color: var(--muted); font-size: .95rem; }
.about-compact__bio { margin: .6rem 0 1rem; line-height: 1.6; }

.about-compact__stats {
  list-style: none; padding: 0; margin: 0 0 .8rem; 
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem;
}
.about-compact__stats li {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: .6rem .5rem;
  text-align: center;
}
.about-compact__stats .num { display: block; font-weight: 700; font-size: 1.2rem; }
.about-compact__stats .label { display: block; font-size: .8rem; color: var(--muted); }

.about-compact__skills { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; }
.chip {
  font-size: .85rem; color: #fff;
  border: 1px dashed rgba(255,255,255,.35);
  padding: .3rem .55rem; border-radius: 999px;
  background: rgba(255,255,255,.06);
}

.about-compact__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.btn-mini {
  text-decoration: none; font-weight: 600; padding: .55rem .9rem;
  border-radius: 10px; border: 1px solid var(--card-border);
  transition: transform .12s ease, opacity .2s ease;
}
.btn-mini:active { transform: translateY(1px) scale(.99); }
.btn-mini--primary { background: #fff; color: #0b0b13; }
.btn-mini--primary:hover { opacity: .9; }
.btn-mini--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-mini--ghost:hover { background: rgba(255,255,255,.08); }

.about-compact__timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .4rem; color: #eaeaea; font-size: .95rem;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: .6rem;
}

.about-compact__timeline {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.about-compact__timeline li {
  display: grid;
  grid-template-columns: 160px 1fr; /* linke Spalte fix, rechte flexibel */
  gap: 1rem;
  align-items: start;
}

.about-compact__timeline strong {
  font-weight: 600;
  color: #fff;
  text-align: right; /* Jahres-Spalte rechtsbündig */
  padding-right: 0.5rem;
  white-space: nowrap; /* damit "Seit Sommer 2022" nicht umbrechen muss */
}

.about-compact__timeline li {
  color: #eaeaea;
}

@media (max-width: 720px) {
  .about-compact { padding: .9rem; }
  .about-compact__stats { grid-template-columns: repeat(3, 1fr); }
}

