/*Styleset von Torsten Klein*/

/*Transparente Hintergrundfarbe Navigationsleiste*/
.navbar {
  background-color: rgba(238, 235, 190, 0.85); 
}

/*Abstand Hintergrundbild FW*/
.backg {
  padding-top: 120px; 
}

/*Jumbotron Farben und Abstand*/
.jumbo {
  background-color: #e7e5e5;
  padding-top: 10px;
}

.bc {
  background-color: rgb(238, 235, 190);
}

/*Hintergrundfarbe der Seite
html, body {
  background-color: rgb(238, 235, 190);
}
*/
main, form {
  background-color: rgb(238, 235, 190);
}

.navbar-clapse {
  flex-grow: 0;
}

/*Eigenschaften für kleine Displays*/
@media (min-with: 1400px) {
  .container {
    max-width: 1140px;
  }

}

/*Verhalten für Links*/
a:link,
a:visited {
  text-decoration: none;
}
a:hover {
  color: rgb(128, 128, 255);
}

/*Rahmen für den Footer*/
.footer {
  border-color: #373277;
  border-width: 2px;
  border-style: solid;
}

/*Farben für den Footer*/
footer {
  background-color: rgb(238, 235, 190);
  color:#030303
}

/*Links gelb schreiben*/
.a-black {
  color: #080808
}


/* Überschrift 3 fett schreiben*/
h3 {
  font-weight: bold;
}

/*fett schreiben*/
li {
  font-weight: bold;
}

/*Abstand nach Bild*/
.ab {
  margin-right: 1em;
}


/*zentrieren von Buttons*/
.center {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

/*Entstördienst centrieren*/
.cen {
  text-align: center;
}


/* für Abstände von Jumbotrons*/
.bottom {
  margin-bottom: 30px;
  margin-top: 15px;
}


.icon {
  position: relative;
  /* Adjust these values accordingly */
}

.hover-button:hover {
  transform: scale(1.5);

}

.hover-button {
  transition: all 1s ease;
}

.button-gelb {
  background-color: #FFB119;
}

body {
  overflow-y: scroll;
}


.card-box-grau {
  /*border-color: #4738ce;*/
  border-width: 2px;
  border-style: none;
  box-shadow: 5px 5px 5px #75767a;
  /*border-radius: 3%;*/
  margin: 15px;
  /*padding-bottom: 15px;*/
  background-color: rgb(245, 244, 244);

}

.card-box-rot {
  /*border-color: #4738ce;*/
  border-width: 2px;
  border-style: none;
  box-shadow: 5px 5px 5px #941111;
  /*border-radius: 3%;*/
  margin: 15px;
  padding-bottom: 15px;
  background-color: rgb(245, 244, 244);
}
.card-box-grau {
  /*border-color: #4738ce;*/
  border-width: 2px;
  border-style: none;
  box-shadow: 5px 5px 5px #5e5e5e;
  /*border-radius: 3%;*/
  margin: 15px;
  padding-bottom: 15px;
  background-color: rgb(245, 244, 244);
}



#bild-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#bild-container img {
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#lightbox {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease-in;
}
#lightbox.zeigen {
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 1;
  visibility: visible;
}
#lightbox img {
  max-width: 90%;
}
#lightbox .schliessen {
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 3rem;
  color: white;
  font-size: 2rem;
}

table {
  width: 100%;
}

table,
th,
td {
  border: 1px solid black;
}

.navtop {
  position: fixed;
  top: 0;
}

.box {
  width: 100%;
  height: 10vh;
}

.object-fit {
  width: 300px;
  height: 300px;
  margin: 4em auto;
  border: 1px solid green;
}
.object-fit img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

         
/* Style the tab */
.tab {
  overflow: hidden;
  /*border: 1px solid #ccc;
  background-color: #f1f1f1; */
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #FFB119;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #FFB119;
  font-weight: bold;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  /*border: 1px solid #ccc;*/
  border-top: none;
} 

/*Fade in*/
.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}



/*Fließender Text um das Bild*/
.imgleft {
  margin-right: 0.5rem; /*Abstand vom Bild*/
  float: left;
  max-width: 30%;
}

