* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
 
}

body {
  background-color: #043d53e9;
}

main {
  background-color: #fffffff7;
  padding: 32px;
  border-style: solid;
  font-size: 0.8rem; /* Untertitel */
  border-width: 1px; 
  border-color: #bbb;
}

p {
     margin-bottom: 13px; /* between paragraphs */
     font-family: Arial, sans-serif;
  }

p.satzung_absatz {
  margin-left: 22px; /* between paragraphs */
  font-family: Arial, sans-serif;
  margin-bottom: 0px;

}

p.satzung_absatz1 {
  margin-left: 22px; /* between paragraphs */
  font-family: Arial, sans-serif;
  margin-bottom: 0px;
  margin-top: 10px;

}

p.satzung_absatz_break {
  margin-left: 22px; /* between paragraphs */
  font-family: Arial, sans-serif;
  margin-bottom: 10px;
}

p.satzung_absatz_break1 {
  margin-left: 22px; /* between paragraphs */
  font-family: Arial, sans-serif;
  margin-bottom: 10px;
  margin-top: 10px;
}

p.jfw {
  margin-left: 22px; /* between paragraphs */
  font-family: Arial, sans-serif;
  margin-bottom: 10px;
  margin-top: 2px;
}

p.jfw_liste {
  margin-left: 22px; /* between paragraphs */
  font-family: Arial, sans-serif;
  margin-bottom: 2px;
  margin-top: 2px;
}

p.satzung_absatz_liste {
  font-family: Arial, sans-serif;
  margin-bottom: 0px;
  margin-left: 37px;

}

p.satzung_absatz_liste_last {
  font-family: Arial, sans-serif;
  margin-bottom: 10px;
  margin-left: 37px;

}


h3.impressum {
  margin-left: 10px; /* between paragraphs */
  margin-bottom: 5px;
}

.kontaktlogo {
  margin-left: 0px; /* Dynamischer Abstand zum linken Rand */

}

.kontaktinfo {
  position: relative;
  margin-left: 40px; /* Dynamischer Abstand zum linken Rand */
  top:-25px;
}


.kontaktinfo_card {
  position: relative;
  margin-left: 40px; /* Dynamischer Abstand zum linken Rand */
  top:-25px;
}





h2 {
      margin-bottom: 10px; /* between paragraphs */
      font-family: Georgia, 'Times New Roman', Times, serif;
      font-size: 1.3rem; /* Große Schrift für Desktop */
   }

h3 {
      margin-bottom: 3px; /* between paragraphs */
      font-family: Georgia, 'Times New Roman', Times, serif;
      font-size: 1.0rem; /* Große Schrift für Desktop */
   }







/* Styling für den Header */
.header {
  display: flex; /* Flexbox für horizontale Anordnung */
  align-items: center;
  justify-content: flex-start;
  height: 18vh; /* Höhe in Relation zur Bildschirmhöhe */
  background-image: url('header.jpg'); /* Hintergrundbild */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1em;
  margin: 0;

}

/* Dynamisches Logo-Styling */
.logo {
 max-width: 270px; /* Begrenzung der maximalen Breite */
 height: 18vw;
 max-height:220px; /* Proportionen beibehalten */
  -webkit-filter: drop-shadow(5px 5px 5px #222222);
  filter: drop-shadow(5px 5px 5px #222222);
 margin-left: 0vh;
 margin-top: 3vh;

}






/* Header-Text */
.header h1 {
  font-size: 2.5rem; /* Große Schrift für Desktop */
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: center;
  text-shadow: 1px 1px #043c53;
}




/* Responsives Design */
@media (max-width: 1100px) {
  .header {
      height: 16vh;
      font-family: Georgia, 'Times New Roman', Times, serif;
      text-align: center;
  }

  .header h1 {
      font-size: 1.9rem;
      font-family: Georgia, 'Times New Roman', Times, serif;
  }

/* Dynamisches Logo-Styling */
.logo {
  max-width: 270px; /* Begrenzung der maximalen Breite */
  height: 18vh;
  max-height:220px; /* Proportionen beibehalten */
   -webkit-filter: drop-shadow(5px 5px 5px #222222);
   filter: drop-shadow(5px 5px 5px #222222);
  margin-left: 0vh;
  margin-top: 3vh;
 
 }


}


@media (max-height: 1100px) {
  .header {
      height: 170px;
      font-family: Georgia, 'Times New Roman', Times, serif;
  }


/* Dynamisches Logo-Styling */
.logo {
  max-width: 270px; /* Begrenzung der maximalen Breite */
  height: 190px;
  max-height:220px; /* Proportionen beibehalten */
   -webkit-filter: drop-shadow(5px 5px 5px #222222);
   filter: drop-shadow(5px 5px 5px #222222);
  margin-left: 1vh;
  margin-top: 3vh;
 
 }

}


@media (max-height: 500px) {
  .header {
      height: 170px;
      font-family: Georgia, 'Times New Roman', Times, serif;
  }


/* Dynamisches Logo-Styling */
.logo {
  max-width: 270px; /* Begrenzung der maximalen Breite */
  height: 190px;
  max-height:220px; /* Proportionen beibehalten */
   -webkit-filter: drop-shadow(5px 5px 5px #222222);
   filter: drop-shadow(5px 5px 5px #222222);
  margin-left: 1vh;
  margin-top: 10px;
 
 }

}


@media (max-width: 480px) {
  .header {
      height: 120px;
      font-family: Georgia, 'Times New Roman', Times, serif;
  }

  .header h1 {
      font-size: 1.6rem;
      font-weight: 500%;
      font-family: Georgia, 'Times New Roman', Times, serif;
      margin-left: -20px;
  }

/* Dynamisches Logo-Styling */
.logo {
  max-width: 270px; /* Begrenzung der maximalen Breite */
  height: 140px;
  max-height:220px; /* Proportionen beibehalten */
   -webkit-filter: drop-shadow(5px 5px 5px #222222);
   filter: drop-shadow(5px 5px 5px #222222);
  margin-left: 4vw;
  margin-top: 5vh;
 
 }

}

@media (max-width: 340px) {
  .header {
      height: 10vh;
      font-family: Georgia, 'Times New Roman', Times, serif;
  }

  .header h1 {
      font-size: 1.2rem;
      font-family: Georgia, 'Times New Roman', Times, serif;
  }

  .logo {
      height: 12vh; /* Logo-Größe relativ zur Höhe des Headers */
      max-width: 220px; /* Begrenzung der maximalen Breite */
      margin-left: 4vw; /* Dynamischer Abstand zum linken Rand */

  }

}


.footer {
  background-color: #043c53;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  color:  rgba(255, 255, 255, 0.542);
  text-align: center;
  padding: 8px;
  border: 1px solid #ccc;
  border-width: 1px 0; 
  margin-bottom: 0px; /* between paragraphs */
} 

#impressum a {
color: white;
text-align: center;
padding: 10px;
text-decoration: none;
font-size: 0.8rem;
}

#impressum a:hover {
color: rgba(255, 255, 255, 0.542);
}

/* Galerieformattierung */
.container {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
grid-template-rows: repeat(2, 200px);
img {
border: 1px solid #043c53;   
border-radius: 3px;
padding: 2px;
width: 100%;
height: 100%;
object-fit: cover;

}

img:hover {
box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}
}



/*Kameraden-Bildergalerie*/
.row {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  gap: 10px; /* Space between columns */
  justify-content: center; /* Center the columns */

}

.column {
  width: calc(33.333% - 10px); /* Adjusted for spacing */
  padding: 10px;
  margin-bottom: 10px;
  padding: 5px 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
  justify-content: center; /* Center the columns */
  margin-left: 0px;
  margin-right: 0px;
}


/* Display the columns below each other instead of side by side on small screens */
@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

/* Some left and right padding inside the container */
.container_kameraden {
  padding: 0 16px;

}

/* Clear floats */
.container_kameraden, .row::after {
  content: "";
  clear: both;
}

.name {
  margin-bottom: 3px; /* between paragraphs */
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.3rem; /* Große Schrift für Desktop */
  font-weight: bold;

}

.title {
  font-size: 16px;;
  color: black;
  font-weight: bold;
  margin-bottom: 3px;
}

.title2 {
  color: grey;
  margin-bottom: 14px;
}

p.telefon {
  margin-left: 0px; /* between paragraphs */
  font-family: Arial, sans-serif;
  margin-bottom: 0px;
}

p.telefon_blank {
  margin-left: 0px; /* between paragraphs */
  font-family: Arial, sans-serif;
  margin-bottom: 0px;
  color: white;
}


.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 7px;
  color: white;
  background-color: #043c53;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.button:hover {
  background-color: #82aec1;
}

/* ENDE - Kameraden-Galerie*/



@media screen and (max-width: 1100px) {
  .navbar a, .dropdown .dropbtn {
       display: none;
      }
}


@media screen and (min-width: 1100px) {
  a.icon {
       display: none;
      }
}


/* Style the hamburger menu */
.icon {
  margin: 1px;
  color: whitesmoke;
  text-align: center;
  padding: 2px 2px;
  background: #043c53;
  position: relative;
  float:right;
  height: auto;
  right: 10px;
  top: -34px;
  font-size: 20px;
  border-left: 1px solid #bbb;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  border-right: 1px solid #bbb;
  border-radius: 2px;
  width: 30px;
  box-shadow: 1px 1px 0px 0px rgba(0,0,0,0.2);
}

/* Hover effect */
.icon:hover {
  background: #82aec1; /* Slightly lighter blue */
  border-color: #fff; /* Highlight effect */
  transform: scale(1.05); /* Slight zoom */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); /* Soft glow */
}



/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: #043d53; /* Black fallback color */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 19%; /* 15% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.logo_nav {
  display: flex;
  justify-content: center;
  position: absolute; /* Positions relative to the nearest positioned ancestor (or viewport) */
  top: 3%;
  left: 50%; /* Centers the element horizontally */
  transform: translateX(-50%); /* Ensures perfect centering */
  max-width: 130px;
  -webkit-filter: drop-shadow(3px 3px 3px #222222);
  filter: drop-shadow(3px 3px 3px #222222);

}

/* The navigation links inside the overlay */
.overlay a {
  padding: 12px;
  text-decoration: none;
  font-size: 24px;
  color: lightgrey;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: white;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.dropdown-content-mobil a {
  font-weight: lighter;
  font-size: 20px;
  color: lightgrey;
  padding: 8px;
}

/* Style the Clients button */
.dropbtn-mobil {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  width: 100%;
}



/* Dropdown content (

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}


.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #043c53;
  padding: 0px;
  font-family: Arial, sans-serif;
    border: 1px solid #043c53;
    border-width: 4px;
    height: 36px;

}

.navbar a, .dropdown .dropbtn {
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 2px 15px;
  text-decoration: none;
  background-color: inherit;
  border: none;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  border-right: 1px solid #bbb;
}


.navbar a:last-child {
  border-right: none; 
}


.navbar > div {
  display: flex;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #82aec1c9;
}

.dropdown {
  position: relative;
  display: inline-block;
  
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
 
}

.dropdown-content a {
  color: white;
  background-color: #043c53;
  padding: 7px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-right: 1px;
  border-right-color: white;
}

.dropdown-content a:hover {
  background-color: #82aec1c9;
  color: white;;
}

.dropdown:hover .dropdown-content {
  display: block;
}



/*Button Förderverein*/

@import url("https://fonts.googleapis.com/css?family=Mukta:700");


button.learn-more {
  width: 16rem;
  height: auto;
  font-family: "Mukta", sans-serif;
  top: -10px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  font-size: inherit;
  font-family: inherit;
  padding-left: 22px;
  padding-top: 0px;


}
button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 2rem;
  height: 2rem;
  background: #043d53;
  border-radius:3.625rem;
  top: 0px;
  font-family: "Mukta", sans-serif;



}
button.learn-more .circle .icon1 {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0px;
  bottom: 0px;
  margin: auto;
  background: #fff;



}
button.learn-more .circle .icon1.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.2rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
  top: -0.2rem;



}
button.learn-more .circle .icon1.arrow::before {
  position: absolute;
  content: "";
  top: -0.28rem;
  right: 0.05rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.15rem solid #fff; /*Dreieckspitze oben*/
  border-right: 0.15rem solid #fff;  /*Dreieckspitze unten*/
  transform: rotate(45deg);
}


button.learn-more .button-text {  /*Text neben dem Button*/
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0;
  margin: 0 0 0 0.8rem; /*Abstand Text zu Button*/
  color: #043d53;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  font-family: "Mukta", sans-serif;


}
button:hover .circle {
  width: 85%; /*Länge Button nach Anklicken*/
  background: #82aec1;

}
button:hover .circle .icon1.arrow {
  background: #fff;
  transform: translate(1rem, 0);


}
button:hover .button-text {
  color: #fff;

}


.link-1 {
  position: relative;
  text-decoration: none;
  display: inline-block;
  color: #043d53;
  font-weight: bold;
  padding: 0 1px;
  transition: color ease 0.3s;
  
  &::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: $underlineHeight;
    left: 0;
    bottom: 0;
    background-color: #82aec1;
    transition: all ease 0.3s;
  }
  
  &:hover {
    color: white;
    background-color: #82aec1;
    
    &::after {
      height: 100%;
    }
  }
}

/* Dynamisches Logo-Styling */
.jfw_team {
  -webkit-filter: drop-shadow(5px 5px 5px #222222);
  filter: drop-shadow(5px 5px 5px #222222);
  margin-top: 3vh;
  width: 100%; /* Begrenzung der maximalen Breite */
}

.JFW_Container {
  position: relative;
  text-align: center;
  color: white;
  font-family: "Mukta", sans-serif;
  margin-top: -20px;
}

.betreuer1 {
  position: absolute;
  bottom: 7%;
  left: 16%;
  font-size: 17px;
  color: white;
text-shadow: 1px 1px #222222;
}

.betreuer1_titel {
  position: absolute;
  bottom: 4%;
  left: 17%;
font-size: 13px;
text-shadow: 1px 1px #222222;
}


.betreuer2 {
  position: absolute;
  bottom: 27%;
  left: 33%;
  font-size: 17px;
  color: white;
  text-shadow: 1px 1px #222222;
}

.betreuer2_titel {
  position: absolute;
  bottom: 24%;
  left: 32.8%;
  font-size: 13px;
  text-shadow: 1px 1px #222222;
}


.betreuer3 {
  position: absolute;
  bottom: 17%;
  left: 50%;
  font-size: 17px;
  color: white;
  text-shadow: 1px 1px #222222;
}

.betreuer3_titel {
  position: absolute;
  bottom: 14%;
  left: 50.7%;
  font-size: 13px;
  text-shadow: 1px 1px #222222;
}


.betreuer4 {
  position: absolute;
  bottom: 23%;
  left: 65%;
  font-size: 17px;
  color: white;
  text-shadow: 1px 1px #222222;
}

.betreuer4_titel {
  position: absolute;
  bottom: 20%;
  left: 64.6%;
  font-size: 13px;
  text-shadow: 1px 1px #222222;
}

.betreuer5 {
  position: absolute;
  bottom: 19%;
  left: 80%;
  font-size: 17px;
  text-shadow: 1px 1px #222222;
  color: white;
}

.betreuer5_titel {
  position: absolute;
  bottom: 16%;
  left: 79.8%;
  font-size: 13px;
  text-shadow: 1px 1px #222222;
}


@media screen and (max-width: 600px) {
 
  .betreuer1 {
    position: absolute;
    bottom: 7%;
    left: 16%;
    font-size: 15px;
    color: white;
  text-shadow: 1px 1px #222222;
  }
  
  .betreuer1_titel {
    position: absolute;
    bottom: 3%;
    left: 18%;
  font-size: 12px;
  text-shadow: 1px 1px #222222;
  }
  
  
  .betreuer2 {
    position: absolute;
    bottom: 27%;
    left: 33%;
    font-size: 15px;
    color: white;
    text-shadow: 1px 1px #222222;
  }
  
  .betreuer2_titel {
    position: absolute;
    bottom: 23%;
    left: 32%;
    font-size: 12px;
    text-shadow: 1px 1px #222222;
  }
  
  
  .betreuer3 {
    position: absolute;
    bottom: 17%;
    left: 50%;
    font-size: 15px;
    color: white;
    text-shadow: 1px 1px #222222;
  }
  
  .betreuer3_titel {
    position: absolute;
    bottom: 13%;
    left: 51%;
    font-size: 12px;
    text-shadow: 1px 1px #222222;
  }
  
  
  .betreuer4 {
    position: absolute;
    bottom: 23%;
    left: 65%;
    font-size: 15px;
    color: white;
    text-shadow: 1px 1px #222222;
  }
  
  .betreuer4_titel {
    position: absolute;
    bottom: 19%;
    left: 64%;
    font-size: 12px;
    text-shadow: 1px 1px #222222;
  }
 

  .betreuer5 {
    position: absolute;
    bottom: 19%;
    left: 80%;
    font-size: 15px;
    text-shadow: 1px 1px #222222;
    color: white;
  }
  
  .betreuer5_titel {
    position: absolute;
    bottom: 15%;
    left: 79%;
    font-size: 12px;
    text-shadow: 1px 1px #222222;
  }

  .kontaktlogo {
    margin-left: 0px; /* Dynamischer Abstand zum linken Rand */
  margin-top: 0px;
  
  }
  
  .kontaktinfo {
    position: relative;
    margin-left: 48px; /* Dynamischer Abstand zum linken Rand */
    top:-25px;
  }
 
}


@media screen and (max-width: 500px) {
 
/* Dynamisches Logo-Styling */
.jfw_team {
  -webkit-filter: drop-shadow(5px 5px 5px #222222);
  filter: drop-shadow(5px 5px 5px #222222);
  margin-top: 3vh;
  width: 115%; /* Begrenzung der maximalen Breite */
  margin: -36px;
  margin-top: 30px;
}

  .betreuer1 {
    position: absolute;
    bottom: -9%;
    left: 1%;
    font-size: 15px;
    color: white;
  text-shadow: 1px 1px #222222;
  }
  
  .betreuer1_titel {
    position: absolute;
    bottom: -15%;
    left: 4%;
  font-size: 12px;
  text-shadow: 1px 1px #222222;
  }
  
  
  .betreuer2 {
    position: absolute;
    bottom: 10%;
    left: 26%;
    font-size: 15px;
    color: white;
    text-shadow: 1px 1px #222222;
  }
  
  .betreuer2_titel {
    position: absolute;
    bottom: 4%;
    left: 24%;
    font-size: 12px;
    text-shadow: 1px 1px #222222;
  }
  
  
  .betreuer3 {
    position: absolute;
    bottom: -9%;
    left: 44%;
    font-size: 15px;
    color: white;
    text-shadow: 1px 1px #222222;
  }
  
  .betreuer3_titel {
    position: absolute;
    bottom: -15%;
    left: 46%;
    font-size: 12px;
    text-shadow: 1px 1px #222222;
  }
  
  
  .betreuer4 {
    position: absolute;
    bottom: 10%;
    left: 62%;
    font-size: 15px;
    color: white;
    text-shadow: 1px 1px #222222;
  }
  
  .betreuer4_titel {
    position: absolute;
    bottom: 5%;
    left: 60%;
    font-size: 12px;
    text-shadow: 1px 1px #222222;
  }
 

  .betreuer5 {
    position: absolute;
    bottom: -9%;
    left: 80%;
    font-size: 15px;
    text-shadow: 1px 1px #222222;
    color: white;
  }
  
  .betreuer5_titel {
    position: absolute;
    bottom: -15%;
    left: 78%;
    font-size: 12px;
    text-shadow: 1px 1px #222222;
  }

  
.kontaktlogo {
  margin-left: 0px; /* Dynamischer Abstand zum linken Rand */
margin-top: 30px;

}

.kontaktinfo {
  position: relative;
  margin-left: 48px; /* Dynamischer Abstand zum linken Rand */
  top:-25px;
}
 
}