body{
  background-color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin:0;
  background-color: #f0e9fd;
}

a{
  text-decoration: none;
  color:black;
}

.nav-link {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.topbar{
  position: sticky;
  top:0;
  z-index: 1000;
  background: #eee4ff;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav {
  max-width: 1100px;
  margin-left:75px;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.me{
    display: flex;
    background-color: #eee4ff;
    align-items: center;      /* vertikal */
}

.me_name{
  font-size: 3rem;
  margin-left: 400px;
}


.bold{
  font-weight: bold;
}

.me_info{ 
  font-size: 1.1rem;
  color:rgba(44, 44, 44, 0.815);
  margin-left: 400px;
  margin-top: 0px;
}


.me_picture{
    margin-bottom: 0px;
    height: 370px;
    margin-left:300px;
}

.me_jump_button{
    width: 250px;
    height: 40px;
    border-radius: 32px;
    background-color: #7c8ee6;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left:400px;
    margin-top: 30px;
    font-size: 1.3rem;
    

}

.hero-wrap {           
  background: linear-gradient(90deg, #fff 0%, #f5fbff 100%);
}

.hero {          
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.about_me{
  margin-left: 120px;
  margin-right: 120px;
}

.head_about_me{
  margin-top:20px;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.head_skill_me{
  margin-top:20px;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.about_me_text p{
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

.about_me_icons{
  display: flex;
  margin-top:30px;
}

.about_icons_head{
  font-size: 1.4rem;
}

.trait {
  display: flex;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f0e9fd;
  width: 400px;
  margin-right: 150px;
  border:solid;
  border-color: white;
  border-width: 2px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.486),
    0 2px 6px rgba(0, 0, 0, 0.473);
}

.trait:hover{
  transform: translateY(4px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.06);
}
.picture_about{
  width: 50px;
  margin-right: 18px;
  height: 50px;
}

.about_icons_head{
  margin-top:0;
}


.skills{
  margin-left: 120px;
  margin-right: 120px;
  margin-top:40px;
}

.skills_me{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-columns: 1fr 1fr;
}

.skill_python{
  display:flex;
  border:solid;
  border-color: white;
  border-radius: 6px;
  border-width: 2px;
  margin-top: 15px;
  margin-bottom: 0px;
  margin-right: 10px;
  height: 90px;
  align-items: center;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.486),
    0 2px 6px rgba(0, 0, 0, 0.473);
}

.skill_pyt_logo{
  width: 50px;
  margin-right: 100px;
  margin-left:20px;
}


.skill_pyt_head{
  align-content: center;
}

.skill_pyt_title{
  font-weight: bold;
}

.skill_html{
  display: flex;
  border:solid;
  border-color: white;
  border-radius: 6px;
  border-width: 2px;
  margin-top: 15px;
  margin-bottom: 0px;
  margin-left: 10px;
  height: 90px;
  align-items: center;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.486),
    0 2px 6px rgba(0, 0, 0, 0.473);
}
.skill_html_logo{
  width: 50px;
  margin-right: 100px;
  margin-left:20px;
}

.skill_html_title{
  font-weight: bold;
}

.skill_java{
  display: flex;
  border:solid;
  border-color: white;
  border-radius: 6px;
  border-width: 2px;
  margin-top: 15px;
  margin-bottom: 0px; 
  margin-right: 10px; 
  height: 90px;
  align-items: center;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.486),
    0 2px 6px rgba(0, 0, 0, 0.473);
}
.skill_java_logo{
  width: 50px;
  margin-right: 100px;
  margin-left:20px;
}

.skill_java_title{
  font-weight: bold;
}

.skill_excel{
  display: flex;
  border:solid;
  border-color: white;
  border-radius: 6px;
  border-width: 2px;
  margin-top: 15px;
  margin-bottom: 0px; 
  margin-left: 10px; 
  height: 90px;
  align-items: center;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.486),
    0 2px 6px rgba(0, 0, 0, 0.473);
}
.skill_excel_logo{
  width: 50px;
  height: 50px;
  margin-right: 100px;
  margin-left:20px;
}

.skill_excel_title{
  font-weight: bold;
}








.projects{
  margin-left: 120px;
  margin-right: 120px;
}

.head_projects_me{
  margin-top:20px;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.projects_carousel{
  position: relative;
  margin-top: 18px;
  height: 420px;
  border-radius: 18px;
  overflow: visible;
}

.projects_stage{
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: pan-y;
}

.project_card{
  position: absolute;
  width: min(820px, 86vw);
  height: 320px;
  border-radius: 16px;
  background: #f0e9fd;
  border: 2px solid white;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.12);
  padding: 18px;
  display: flex;
  gap: 16px;
  cursor: pointer;
  transform-origin: center;
  transition: transform 320ms ease, opacity 320ms ease, filter 320ms ease;
}

.project_thumb{
  flex: 0 0 48%;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project_thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  cursor: zoom-in;
}

.project_thumb_placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(44, 44, 44, 0.7);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.05),
      rgba(0,0,0,0.05) 10px,
      rgba(255,255,255,0.25) 10px,
      rgba(255,255,255,0.25) 20px
    );
  border-radius: 14px;
}

.project_meta{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.project_title{
  margin: 4px 0 8px 0;
  font-size: 22px;
}

.project_desc{
  margin: 0 0 10px 0;
  color: rgba(44, 44, 44, 0.82);
  line-height: 1.45;
}

.project_tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.project_tag{
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.07);
  white-space: nowrap;
}

/* Positionen */
.pos_center{
  transform: translateX(0) scale(1);
  opacity: 1;
  filter: none;
  z-index: 3;
}
.pos_left{
  transform: translateX(-52%) scale(0.88);
  opacity: 0.72;
  filter: saturate(0.95);
  z-index: 2;
}
.pos_right{
  transform: translateX(52%) scale(0.88);
  opacity: 0.72;
  filter: saturate(0.95);
  z-index: 2;
}
.pos_back{
  transform: translateX(0) scale(0.78);
  opacity: 0;
  filter: blur(2px);
  z-index: 1;
  pointer-events: none;
}

/* Controls */
.projects_controls{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.projects_btn{
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid white;
  background: #eee4ff;
  box-shadow:
    0 10px 22px rgba(0,0,0,0.18),
    0 2px 8px rgba(0,0,0,0.10);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.projects_btn.prev{ left: 14px; }
.projects_btn.next{ right: 14px; }
.projects_btn svg{ width: 18px; height: 18px; }

.projects_dots{
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(238, 228, 255, 0.8);
  border: 2px solid white;
}

.projects_dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(44, 44, 44, 0.25);
  cursor: pointer;
}
.projects_dot.active{
  background: rgba(44, 44, 44, 0.75);
  width: 24px;
  transition: width 200ms ease;
}

/* =========================
   Projekt-Modal (Details)
   ========================= */
.projects_modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}
.projects_modal.open{ display: block; }

.projects_modal_backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.projects_modal_panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 92vw);
  border-radius: 18px;
  background: #f0e9fd;
  border: 2px solid white;
  box-shadow:
    0 24px 70px rgba(0,0,0,0.30),
    0 8px 24px rgba(0,0,0,0.18);
  padding: 18px 18px 16px;
}

.projects_modal_close{
  position: absolute;
  right: 14px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid white;
  background: #eee4ff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.projects_modal_title{
  margin: 6px 0 10px 0;
  font-size: 26px;
}

.projects_modal_desc{
  margin: 0 0 14px 0;
  line-height: 1.55;
  color: rgba(44, 44, 44, 0.85);
}

.projects_modal_tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.projects_modal_links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid white;
  background: #7c8ee6;
  color: white;
  margin-right: 10px;
}

/* =========================
   Image Lightbox (Bild groß)
   ========================= */
.img_modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 3000;
}
.img_modal.open{ display: block; }

.img_modal_backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}

.img_modal_panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 94vw);
  height: min(720px, 86vh);
  border-radius: 18px;
  background: #f0e9fd;
  border: 2px solid white;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.45),
    0 10px 28px rgba(0,0,0,0.22);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img_modal_close{
  position: absolute;
  right: 14px;
  top: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid white;
  background: #eee4ff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.img_modal_img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
}

/* Responsive */
@media (max-width: 780px){
  .projects_carousel{ height: 460px; }
  .project_card{
    width: min(820px, 92vw);
    height: 380px;
    flex-direction: column;
  }
  .project_thumb{ flex-basis: auto; height: 52%; }
  .pos_left{ transform: translateX(-34%) scale(0.90); }
  .pos_right{ transform: translateX(34%) scale(0.90); }
}





.align{
    display: flex;
    justify-content: center;
    align-items: center;
}

.turn-container{
    width: 170px;
    height: 80px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    position: relative;
}

.turn-container h3{
    margin: 0;
    grid-column-start: 1;
    grid-column-end: 3;
}

.turn-container .turn-box{
    border: 3px solid #000;
    font-size: 1.6rem;
    font-weight: 700;
}

.turn-container .turn-box:nth-child(even){
    border-right: none;
}

.bg{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 85px;
    height: 40px;
    background-color: #FF2E63;
    z-index: -1;
}

.main-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    height: 250px;
    width: 250px;
    margin: 30px auto;
    border: 2px solid #000;
}

.box{
    cursor: pointer;
    font-size: 2rem;
    font-weight: 700;
    border: 2px solid #000;
}

.box:hover{
    background-color: rgb(45, 187, 235);
}

.button-container{
    display: flex;
    justify-content: center;
    margin-top: 0px;
}

#play-again{
    background-color: #FF2E63;
    padding: 10px 25px;
    border: none;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    display: block;
}

#play-again:hover{
    padding: 10px 25px;
    background-color: #08D9D6;
    color: #000;
}

.result-written{
    margin-top: 50px;
    text-align: center;
}

.tiktactoe{
  margin-left: 120px;
  margin-right: 120px;
}


.head{
  margin-top:20px;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.contact{
  margin-left: 120px;
  margin-right: 120px;
}

.contact_grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
}


