/* source-serif-4-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 400;
    src: url('../portfolio/fonts/source-serif-4-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: source-serif-4;
}

p{
    font-size: 1.313em;
    color: #000000;
    text-decoration: none;
}

.navigation {
  list-style: none;
  display: flex; 
  gap: 30px;      
  padding: 0;
  margin: 0;
}

.navigation-home {
  list-style: none;
  display: flex; 
  gap: 30px;      
  padding: 0;
  margin: 0;
}

.navigation-home li a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: normal;
}



body.home nav a{
    margin-left: 1.5rem;
    color: #Ffffff;
    text-decoration: none;
    font-size: 1.438em;
    list-style: none;
    display: flex; 
    gap: 30px;      
    padding: 0;
    margin: 0;
}


nav a{
    margin-left: 1.5rem;
    color: #000000;
    text-decoration: none;
    font-size: 1.438em;
    list-style: none;
    display: flex; 
    gap: 30px;      
    padding: 0;
    margin: 0;
}

.navigation a:hover, #akt_tab{
    text-decoration: underline;
    font-weight: bold;
}

.logo img{
    height: auto;
    width: 2.5em;
    padding: 0;
    z-index: 1;
}

.name{
    font-size: 1.938em;
    padding: 0em;
    z-index: 2;
  }

body{
    color: #000000;
    background-color: #F8F6F2; 
      overflow-x: hidden;
}

body.home{
    color: #Ffffff;
    background-color: #F8F6F2;
}

.grid-container{
    background-color: #F8F6F2;
}

header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.main{
    background-color: #F8F6F2;
    padding-top: 12.5em;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25em;
}


.main-about{
    background-color: #F8F6F2;
    flex-direction: column-reverse;
    order: 1;
    text-align: left;
    align-items: flex-start;
    align-content: center;
    flex-grow: 2;
    flex-basis: auto;
    justify-content: center;
   
}

aside {
    order: 2;
    flex-direction: co;
    justify-content: center;
    align-content: center;
    text-align: right;
    align-items: flex-start;
    flex-grow: 1;
}

hr {
  border: none;         
  height: 0.125em;           
  background-color: #294465; 
  width: 90%;               
  margin: 3em auto;          
  border-radius: 1em;        
}

.link {
  display: block;
  width: fit-content;
  margin: 2em auto;
  font-size: 1.25em;              
  text-align: center;
  color: #ffffff;
  background-color: #294465;
  border-radius: 0.75em;            
  padding: 0.5em 1em;             
  font-weight: bold;
  text-decoration: none;
  position: relative;
  z-index: 3;
}


.link:hover{
    background-color: #3B6291;
}

.link1{
  display: inline-block;
  font-size: 1.875em;
  text-align: center;
  color: #Ffffff;
  background-color: #294465;
  border-radius: 0.625em;
  padding: 0.75em 1.25em;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 3.125em;
  margin-top: 3.125em;
  margin-left: 13.438em;
}

.link1:hover{
  background-color: #3B6291;
}


h1{
    text-align: center;
}



h2{
    font-size: 2.188em;
    text-align: center;
    margin-top: 2.125em;
    color: #243B58;
    padding-bottom: 0.2em;
    padding-top: 0.2em;
    margin-bottom: 0.01em;
}





.flex-container{
    display: flex;
    padding-left: 1.375em;
 
}

.reverse {
  flex-direction: row-reverse;
  padding-left: 1.375em;
}

.image-container1 img{
    flex-direction: row;
    height: 37.5em;
    width: auto;
    order: 1;
    padding-left: 3.125em;
    padding-right: 0.625em; 
}

.image-container2 img{
    flex-direction: row;
    height: 37.5em;
    width: auto;
    order: 1;
    padding-left: 3.125;
    padding-right: 6.25em;
}

.text-about{
    flex-direction: row;
    order: 2;
   text-align: center;
   margin-left: 15%;
}

.banner{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(70%);
}

.banner-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
}

.banner-text h1{
    font-size: 3.125em;
    font-weight: normal;
}

.text-index{
    margin-top: 1.875em;
    flex-direction: row;
    order: 2;
   text-align: right;
}



.image-container3 img{
    flex-direction: row;
    height: 37.5em;
    width: auto;
    order: 1;
    padding-left: 12.5em;
    padding-right: 6.25em;
    border-radius: 3.125em;
}

h5{
    text-align: center;
    font-size: 1.125em;
    font-family: 'Source Serif 4';
    color: #294465;
    font-weight: 80;
    padding: 1.875em;
}


.footer{
    text-align: center;
    color: #000000;
    padding-top: 2.5em;
    padding-bottom: 2.5em;
    
}

.footer a {
  color: #243B58;
  text-decoration: none;
}

.footer a:hover {
  color: #243B58;
  text-decoration: underline;
}

@media (max-width: 48em) {
  nav ul.navigation {
      flex-direction: column;
      gap: 0.625em;
  }

  .name {
      font-size: 1.5rem;
  }
}

iframe{
    margin: 0 auto;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 0.75em;
    padding-bottom: 1.875em;
}

.map-container{
  width: 100%;
  max-width: 50em;
  height: 25em;
  margin: auto;
}




h3{
    text-align: center;
    font-size: 1.625em;
    font-weight: 550;
    color: #294465;
}

h4{
    font-size: 1.625em;
    font-weight: 150;
    text-align: center;
    color: #294465;
    padding-top: 1.438em;
    margin: 4.063em;
}



p{
    text-align: center;
    padding: 0em;
}

#akt_tab{
  text-decoration: underline;
}

.galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 15.625em; 
  gap: 1.25em;
  max-width: 75em;
  width: 100%;
  padding: 3.125em 0; 
  margin: 0 auto 3.75em auto;
  justify-items: center; 
}

.galerie img {
  width: 100%;
  max-width: 25em; 
  height: 18.75em; 
  object-fit: cover;
  box-shadow: 0 0.25em 0.625em rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  border-radius: 0.5em;
}

.galerie img:hover {
  transform: scale(1.04);
}

.galerie a {
  display: block;
  width: 100%;
  height: 100%;
}

.wide {
  grid-column: span 2;
}


  @media (max-width: 768px) {
    .galerie {
      grid-template-columns: 1fr;
    }
  }
  

  .wide {
    grid-column: span 2;
  }

  .galerie a {
    display: block;
    width: 100%;
    height: 100%;
  }

  .grid-container1{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr ;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
  }

body.about{
    color: black;
}

  .text-content{
    flex: 1;
    padding: 3.75em;
    max-width: 60ch;
  }

  .text-content h1{
    font-size: 2.5em;
    margin-bottom: 1.5rem;
  }

  .text-content p{
    font-size: 1.1rem;
    line-height: 1.6em;
    margin-bottom: 1.3rem;
  }

  .text-content a{
    text-decoration: underline;
    font-weight: bold;
    color: #000000;
  }

  .image-container {
    position: relative;
    width: 30%;
    height: 30%;
    overflow: hidden;
    border-radius: 1.688em;
  }
  
  .image-container img {
    margin-top: 1.875em;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%); 
    transition: transform 0.8s ease-in-out filter 0.6s ease-in-out;
    transform: scale(1);
    border-radius: 0.938em;
    display: block;
    margin-bottom: 1.875em;
  }



  
  
  .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #Ffffff;
    font-size: 2em;
    font-weight: bold;
    transition: opacity 0.6s ease-in-out;
    z-index: 2;
    opacity: 1;
    pointer-events: none;
    background-color: #294465;
    border-radius: 1.25em;
    margin: 0.625em;
    text-align: center;
  }

  
  .body-home{
    background-color: #294465;
    padding: 6.25em;
  }

  .flex-container-home .h2{
    color: #F8F6F2;
  }
  
  .image-container:hover img {
    filter: brightness(100%); 
  }
  
  .image-container:hover .text-overlay {
    opacity: 0; 
  }


  .image-link:hover img{
    filter: brightness(100%);
    transform: scale(1.02);
  }

  .image-link:hover .text-overlay{
    opacity: 0;
  }

  .image-link {
    text-decoration: none;
    display: inline-block;
    border-radius: 0.938em;
    overflow: hidden;
  }

  .main-impressum{
    text-align: left;
  }

  .ich-section{
    position: relative;
    height: 50em;
    width: 100%;
  }

  .ich-fotos-container{
    position: absolute;
    left: 120%;
    top: 15%;
    width: 70%;
    height: 100%;
    border-radius: 0.75em;
  }

  .ich-bild{
    position: absolute;
    width: 13.75em;
    height: auto;
    border-radius: 0.75em;
  }

  .bild-1{ left: 3.75em; top: -3.75em }
  .bild-2{ left: -11.25em; top: 6.875em }
  .bild-3{ left: 4.375em; top: 18.125em; }

  .familie-section{
    position: relative;
    height: 50em;
    width: 100%;
  }

  .familie-fotos-container{
    position: absolute;
    left: 25%;
    top: 0;
    width: 70%;
    height: 100%;
    border-radius: 0.75em;
  }

  .haustiere-bild{
    position: absolute;
    width: 20em;
    height: auto;
    border-radius: 0.75em;
  }

  .bild-8{ left: 52em; top: 18.75em }/*Bommel*/
  .bild-9{ left: 19.75em; top: 13.125em }/*beide*/
  .bild-10{ left: -6.875em; top: 18.125em; }/*Flocke*/


  .freunde-section{
    position: relative;
    height: 50em;
    width: 100%;
    z-index: 2;
  }

  .freunde-fotos-container{
    position: absolute;
    left: 25%;
    top: 0;
    width: 70%;
    height: 100%;
    border-radius: 0.75em;
  }

  .freunde-bild{
    position: absolute;
    width: 17.5em;
    height: auto;
    border-radius: 0.75em;
  }

  .bild-4{ right:26.25em; top: 1.25em; }
  .bild-5{ right: 3.125em; top: 7.5em; }
  .bild-6{ right:30em; top:19.375em; }
  .bild-7{ left:12.5em; top:24.375em; }
  .bild-11{ left:-37.5em; top:20em; }

  .tanzen-section{
    position: relative;
    height: 50em;
    width: 100%;
    z-index: 2;
  }

  .tanzen-fotos-container{
    position: absolute;
    left: 25%;
    top: 0;
    width: 70%;
    height: 100%;
    border-radius: 0.75em;
  }

  .tanzen-bild{
    position: absolute;
    width: 20em;
    height: auto;
    border-radius: 0.75em;
  }

  .bild-12{ left:-7.5em; top: 8.75em; }
  .bild-13{ left: -31.25em; top: 23.75em; }
  .bild-14{ left:-55em; top:30.375em; }
  .bild-15{ left:-3.125em; top:29.625em; }
  
  .text-about1{
    flex-direction: row;
    order: -1;
   text-align: center;
}

.flex-container1{
  display: flex;
  padding-right: 150px;
}

.main-about1{
  background-color: #F8F6F2;
  flex-direction: column-reverse;
  order: 2;
  text-align: left;
  align-items: flex-start;
  align-content: center;
  flex-grow: 2;
  flex-basis: auto;
  justify-content: center;
}

  table{
    border: o.7px #243B58;
    border-radius: 3.125em;
    border-width: 0.625em;
    border-style: initial;
    width: 100%;
    border-collapse: collapse;
    font-size: 1.063em;
    background: #F8F6F2;
    margin-top: 3.75em;
  }

  th{
    color: #243B58;
    font-weight: 600;
    font-size: 1.438em;
    padding: 0.938em;
    padding: 0.75em;
   text-align: left;
   border: 0.063em solid #243B58;
  }

  td{
    color: #243B58;
    font-size: 1.063em;
    padding: 0.938em;
    padding: 0.75em;
   border: 0.063px solid #243B58;
   text-align: left;
  }






  .image-spin{
    -webkit-animation:spin 5.2s linear infinite;
      -moz-animation:spin 5.2s linear infinite;
      animation:spin 5.2s linear infinite;
  }
  @-moz-keyframes spin { 
      100% { -moz-transform: rotate(360deg); } 
  }
  @-webkit-keyframes spin { 
      100% { -webkit-transform: rotate(360deg); } 
  }
  @keyframes spin { 
      100% { 
          -webkit-transform: rotate(360deg); 
          transform:rotate(360deg); 
      }
    }  


  .playlist-container {
  max-width: 62.5em;
  margin: 0 auto;
  padding: 1.25em;
}

.playlist-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5em;
}

.track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  box-shadow: 0 0.25em 1em rgba(0,0,0,0.1);
  border-radius: 0.75em;
  padding: 1em;
  margin-bottom: 1.875em;
  gap: 1.25em;
  transition: transform 0.2s;
}

.track:hover {
  transform: scale(1.01);
}

.track img {
  width: 9.375em;
  height: 9.375em;
  object-fit: cover;
  border-radius: 0.5em;
}

.track-info {
  flex: 1;
}

.track-info p {
  margin: 0 0 0.5em 0;
  font-size: 1.1rem;
  color: #333;
}

audio {
  width: 100%;
  border-radius: 0.375em;
}

@media (max-width: 43.75em) {
  .track {
    flex-direction: column;
    text-align: center;
  }

  .track img {
    width: 100%;
    max-width: 15.625em;
    height: auto;
  }

  .track-info {
    width: 100%;
  }
}


li{
  padding: 0.375;
  font-size: 1.25em;
  font-weight: 250;
  list-style-type: none;
  color: #243B58;
  text-align: center;
}

img{
  align-items: center;
  margin: 0 auto;
  
  
}










.tooltip-container {
  position: relative;
  width: 250px; /* oder "auto" für flexible Größe */
  height: auto;
  display: inline-block;
  overflow: hidden;
  border-radius: 8px; /* optional für abgerundete Ecken */
}

.tooltip-container img {
  width: 100%;
  height: auto;
  display: block;
}

.tooltip-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 192, 203, 0.7); /* rosa transparent */
  color: #243B58;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1em;
  font-size: 1em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tooltip-container:hover .tooltip-text {
  opacity: 1;
}










.hover-container {
  position: relative;
  display: inline-block;
  height: 23.75em; /* entspricht 380px */
  overflow: hidden;
}

.hover-container img {
  display: block;
  width: auto;
  height: 100%;
}

.hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); 
  color: #F8F6F2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 1em;
}

.hover-container:hover .hover-text {
  opacity: 1;
}



















