/* -------Fullscreen at the top -------*/
.detail-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* initial fullscreen */
  overflow: hidden;
}

/*.detail-hero img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;  /* etwas größer für Parallax 
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.1s linear, height 0.5s ease;
}*/
.detail-hero picture, 
.detail-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* -------Bild und Text ---------*/

.detail-split {
  display: flex;
  align-items: center;
  gap: 80px;
  margin: 80px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.split-image picture,
.split-image img {
  width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.split-text {
  flex: 1; /* text nimmt übrig gebliebene fläche ein sonst wäre container nur so gross wie inhalt (inhalt gequetscht)*/
}

.split-text h2 {
  font-family: 'Impact', sans-serif;
  font-size: 45px;
  margin-bottom: 40px;
  color: black;
 
}

.split-text p {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom:  20px;
  color: black;
   text-align: justify;
  hyphens: auto;       /* Standard */
  -webkit-hyphens: auto; /* Für WebKit */
  -moz-hyphens: auto; 
}

/* Responsive: stack image above text on mobile */
@media (max-width: 1100px) {
  .detail-split {
    flex-direction: column;
    align-items: center;
  }

  .split-image img {
    width: 100%;
    max-width: 500px;
  }
}
@media (max-width: 500px) {
.split-text h2{
  font-size: 35px;
  margin-bottom: 30px;
}
.split-text p{
 font-size: 18px;
  line-height: 1.2;
}
}
/* -------back to homepage-------*/
.back-to-home {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  background: white;
  z-index: 3;
}

.home-preview {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.home-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* -------Link to About Me page-------*/
.about-link{
  font-family: Impact, sans-serif;
  font-size: 40px;
  color: black;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
  
}
.about-link:hover {
  font-size: 44px;
  text-decoration: none; /* sicherstellen, dass keine Unterstreichung kommt */
}

/*-------all links black and no underline-------*/
.a {
  color: black;
  text-decoration: none;
}


/* --------About me unterseite -----------*/
/* Insta und Email link*/

.all-projects-link {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 0px;
  color: black;   
  text-decoration: none; 
  margin-right: 20px;
}

.link-back {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding-bottom: 20px;
  padding-left: 20px;
  color: black;   
  text-decoration: none;
}


.all-projects-link:hover,
.link-back:hover {
  
  text-decoration: none; /* sicherstellen, dass keine Unterstreichung kommt */
  font-weight: bold;
}

.link-center{
    text-align: center;
    margin-bottom: 50px;
}



/*-------Insta & Email Icons------*/
.link-center a {
  margin: 0 10px;
  text-decoration: none;
  color: black;
  font-size: 24px; /* Icon-Größe */
  font-family: 'Oswald', sans-serif;
}

.link-center a:hover {
 font-size: 30px;
}