@charset "utf-8";
/* CSS Document */

body {
    max-width: 100%;
    margin: 0 ; 
}

/* Einheitliche, serifenlose Schrift */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}


.img-fluid{
  border: none;   
  margin-top: 20px;
  width: auto;
}


.img {
    img: 90%;
    high: auto;
}

.bg__video {
position:fixed;
top: 0;
left: 0;
min-width:100%;
min-height:100%;
width:auto;
height:auto;
z-index: -100;
}   


    
.flex{   
    display: flex; 
    justify-content: center; 
    align-items: center;
    margin-top: 1em;
}

main {
  display: block;   
  max-width: 1200px;
  padding-bottom: 30px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  background:rgba(253,253,253,1.00);
  color: #333;
  border-radius: 30px;
  border: thin solid #DDF721;
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  height: auto;}


.grid-container {
  display: grid;
  font-size: 1.1rem;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1F175C;
  grid-template-columns: auto auto ;
  margin-left: 2em;
}


/* Style the navigation menu */
.navbar {
  width: 100%;
  background-color: white;
}

/* Navigation links */
.navbar a {
    float: left;
    padding: 10px;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    color: rgba(46,4,255,1.00);
    text-decoration: none;
    font-size: 1.6rem;
    width: 18%; /* Four equal-width links. If you have two links, use 50%, and 33.33% for three links, etc.. */
    text-align: center; /* If you want the text to be centered */
    font-weight: bold;
}


@media screen and (max-width: 550px) {
  .navbar a {
    float: left;
    display: block;
    width: 100%;
    text-align: left; /* If you want the text to be left-aligned on small screens */
    font-size: 1.2rem;
  }
}


    @media screen and (max-width: 1150px) {
  .navbar a {
    float: left;
    display: block;
    width: 100%;
    text-align: left; /* If you want the text to be left-aligned on small screens */
    font-size: 1.2rem;
  }
 }

.item1 {
    grid-area: 1 / 1 /span 1 / span 2;
    width: 1100px;
    padding: 20px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(253,253,253,1.00);
}

.item2 {
    grid-area: 2/ 1 /span 1 / span 1 ;
    padding: 25px;
    margin-top: 35px;
    width: 500px;  
    font-size: 1.1rem;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-radius: 30px;
    border: thin solid #DDF721;
    box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.item3 {
    grid-area: 2/2 /span 1 / span 1  ;
    padding: 25px;
    margin-top: 35px;
    width: 500px;
    border-radius: 30px;
    border: thin solid #DDF721;
    box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.item4 {
    grid-area: 3/ 1 /span 1 / span 1  ;
    padding: 25px;
    margin-top: 20px;
    width: 500px;
    border-radius: 30px;
    border: thin solid #DDF721;
    box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
    text-align: left;
}

.item5 {
    grid-area: 3/2 /span 1 / span 1;
    padding: 25px;
    padding-top: 10px;
    margin-top: 20px;
    width: 500px;
    border-radius: 30px;
    border: thin solid #DDF721;
    box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    color: #1F175C;
}



.item6 {
    grid-area: 4/1 /span 1 / span 1;
    padding: 25px;
    margin-top: 20px;
    width: 500px;
    border-radius: 30px;
    border: thin solid #DDF721;
    box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
    text-align: left;
}

.item7 {
    grid-area: 4/2 /span 1 / span 1 ;
    padding: 25px;
    margin-top: 20px;
    width: 500px;
    border-radius: 30px;
    border: thin solid #DDF721;
    box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.item8 {
    grid-area: 5/1 /span 1 / span 2;
    width: auto;
    height: 10px;
    background: rgba(239,10,14,1.00);
    margin-bottom: 20px;
    margin-top: 50px;
    margin-left: -35px;
}

.item9 {
  grid-area: 6 / 1 / span 1 / span 1;
  padding: 35px;
  margin-top: 20px;
  /* width: 500px;  ← bitte entfernen */
  text-align: center;

}
.item10 {
  grid-area: 6 / 2 / span 1 / span 1;
  padding-top: 6px;
  padding-left: 25px;
  margin-top: 20px;
  /* width: 500px;  ← bitte entfernen */
  text-align: left;
  color: #37FBE5;
  font-size: 2.5rem;
}


/* Button-Stil */
.btn-eltern {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 2px solid rgba(70,130,180,.35);
  text-decoration: none;
  font-weight: 800;
  background: radial-gradient(100% 100% at 30% 20%, #fff 0%, #eef7ff 50%, #dbeeff 100%);
  color: #0f2542;
}
.hint { font-size: .9rem; opacity: .7; margin-top: .35rem; }

/* Links ohne Unterstreichung */
a:link, a:visited { text-decoration: none; }


   @media only screen and (max-width: 1160px ) and (orientation:landscape) {
  .item1 { grid-area: 1 / 1 ; width: 80%; }
  .item2 { grid-area:2/ 1; width: auto;   float: left; }
  .item3 { grid-area: 2 / 2 ; width: auto; margin-left: 1em; }
  .item4 { grid-area: 3 / 1 ; width: auto; }
  .item5 { grid-area: 3 / 2; width: auto;  margin-left: 1em; }
  .item6 {grid-area: 4/ 1; width: auto; }
  .item7 {grid-area: 4 / 2; width: auto;  margin-left: 1em; }
  .item8 {grid-area: 5 / 1 1 / 2 ; width: auto;  }
  .item9 {grid-area: 6/ 2  ; width: auto;  }
  .item10 {grid-area: 6 / 1  ; width: auto;  }
   .grid-container {margin-left: 0; margin-right: 0; whidth: auto; }
   .main { padding-left: 0px; padding-right: 0px; width: auto; }
   .img-fluid {width: 98%; justify-content: center;}
  .img {width: auto; }
 
       
    } 
@media only screen and (max-width: 550px) {
  .item1 { grid-area: 1 / 1 ;  width: auto; }
  .item2 { grid-area: 2 / 1 ;  width: auto; margin-left: 0px;  }
  .item3 {grid-area: 3 / 1; width: auto; margin-left: 0px;}
  .item4 { grid-area: 4 / 1 ; width: auto; margin-left: 0px;}
  .item5 { display:none;}
  .item6 { grid-area: 5 / 1; width: auto; margin-left: 0px; ;}
  .item7 { grid-area: 6 / 1; width: auto; margin-left: 0px; }  
  .item8 { grid-area: 7 / 1 ; width: auto; height: 4px; margin-left: 0; }
  .item9 { grid-area: 9 / 1 ; width: auto; }
  .item10 { grid-area: 8 / 1 ; width: auto; padding-left: 2.5em }
    .img-fluid {width: 80%; justify-content: center;}
    .social P {font-size: 14px; }
    .counter {font-size: 18px; }
    .grid-container {margin-left: 0; margin-right: 0; whidth: auto; grid-template-areas: auto;} 
    
}
/* ===============================
   Eltern-Fotogalerie
   =============================== */

/* Container */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 0 20px;
}

/* Einheitliche, harmonische Bilddarstellung */
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* leichter Hover-Effekt */
.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

