html {
  scroll-behavior: smooth;
}

body {
    background-image: linear-gradient(to right, rgba(105, 105, 105, 0.267), rgba(255, 255, 255, 0), rgba(105, 105, 105, 0.267));
}

.navcontainer{
    position: relative;
    text-align: center;
  /*  background-image: repeating-linear-gradient(rgb(252, 210, 72), rgb(252, 210, 72) 40px,  rgb(184, 47, 13) 20px,  rgb(184, 47, 13) 80px); */
    padding: 30px;
    margin-bottom: 0px;
    border: 0;
} 

.navbar-brand{
    
    display: inline;
    float: left, top ;
    text-align: left;
}

h1{
    font-family: "Times New Roman", Times, serif;
    color: rgb(0, 0, 0);
    font-size: 50px;
    padding: 15px;
    margin: 5px;
}

h2{
  text-align: center;
  color: #000000;
  font-size: 36px;
  padding: 15px;
  margin: 5px;
}

.navpic {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;

}

.header {
  font-family: 'Times New Roman', Times, serif;
  color: #000000;
  font-size: 150px;
  font-size: 8vw;
  padding: 8px 12px;
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  margin-right: auto;
  margin-left: -20px;
 
}

.float-bar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  z-index: 9999;
  top: 0;
}

.float-bar ul {
  font-family: 'Times New Roman', Times, serif;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: rgb(184, 47, 13);
  position: -webkit-sticky; /* Safari */
  position: sticky;
  z-index: 9999;
  top: 0;
}

.float-bar li {
  float: left;
}

.float-bar li1 {
  float: right;
}

.Bild-Icon {
  float: right;
  width: 100%;
  margin: 0;
  padding: 0;
}

.float-bar li b {
    height: 48px;
  display: block;
  padding: 14px 16px;
}

.float-bar li a {
    height: 48px;
  line-height: 20px;
  font-size: 20px;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.float-bar li1 a {
  height: 48px;
  line-height: 20px;
  font-size: 20px;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.float-bar li1 a:hover {
  background-color: #ffbb00;
}

.float-bar li a:hover {
  background-color: #ffbb00;
}

.float-bar li1 a img {
  padding: none;
   position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container{
  position: relative;
  margin: auto;
  width: 70%;
  padding: 60px;
  text-align: center;
  font-size: 30px;
  background-color: rgba(250, 194, 177, 0.267);
}

.Text-Hauptseite1 hr{
  display: block;
  position: relative;
  margin: auto;
  width: 10%;
  height: 10px;
  margin-bottom: 20px;
  color: #ffbb00;
  background-color: #ffbb00;
  border: none;
}

.Text-Hauptseite1 {
  position: relative;
  margin: auto;

  padding: 60px;
  text-align: center;
  font-size: 30px;
}

.Text-Hauptseite1:hover{
  transition: all 0.7s;
  transform: scale(1.05);
}

.Bild-Hauptseite1{
  padding: 30px;
  width: 70%;
  border-radius: 40px;
}

.Text-Hauptseite2 hr{
  display: block;
  position: relative;
  margin: auto;
  width: 10%;
  height: 10px;
  margin-bottom: 20px;
  color: #ffbb00;
  background-color: #ffbb00;
  border: none;
}

.Text-Hauptseite2 {
  position: relative;
  margin: auto;
  padding: 60px;
  text-align: center;
  font-size: 30px;
}

.Text-Hauptseite2:hover{
  transition: all 0.7s;
  transform: scale(1.05);
}

.Bild-Hauptseite2{
  padding: 30px;
  width: 60%;
  border-radius: 40px;
}

.Text-Hauptseite3 hr{
  display: block;
  position: relative;
  margin: auto;
  width: 10%;
  height: 10px;
  margin-bottom: 20px;
  color: #ffbb00;
  background-color: #ffbb00;
  border: none;
}

.Text-Hauptseite3 {
  position: relative;
  margin: auto;
  padding: 60px;
  text-align: center;
  font-size: 30px;
}

.Text-Hauptseite3:hover{
  transition: all 0.7s;
  transform: scale(1.05);
}

.Text-Hauptseite4 hr{
  display: block;
  position: relative;
  margin: auto;
  width: 10%;
  height: 10px;
  margin-bottom: 20px;
  color: #ffbb00;
  background-color: #ffbb00;
  border: none;
}

.Text-Hauptseite4 {
  position: relative;
  margin: auto;
  padding: 60px;
  text-align: center;
  font-size: 30px;
}

.Text-Hauptseite4:hover{
  transition: all 0.7s;
  transform: scale(1.05);
}

.Bild-Hauptseite4{
  padding: 30px;
  width: 80%;
  border-radius: 40px;
}

.Text-Hauptseite4 figcaption{
  font-size: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.Text-Hauptseite5 hr{
  display: block;
  position: relative;
  margin: auto;
  width: 10%;
  height: 10px;
  margin-bottom: 20px;
  color: #ffbb00;
  background-color: #ffbb00;
  border: none;
}

.Text-Hauptseite5 {
  position: relative;
  margin: auto;
  padding: 60px;
  text-align: center;
  font-size: 30px;
}

.Text-Hauptseite5:hover{
  transition: all 0.7s;
  transform: scale(1.05);
}

.Bild-Hauptseite5{
  padding: 30px;
  width: 40%;
  border-radius: 50px;
}

.Text-Hauptseite5 figcaption{
  font-size: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}


.Text-Hauptseite6 hr{
  display: block;
  position: relative;
  margin: auto;
  width: 10%;
  height: 10px;
  margin-bottom: 20px;
  color: #ffbb00;
  background-color: #ffbb00;
  border: none;
}

.Text-Hauptseite6 {
  position: relative;
  margin: auto;
  padding: 60px;
  text-align: center;
  font-size: 30px;
}

.Text-Hauptseite6:hover{
  transition: all 0.7s;
  transform: scale(1.05);
}

.Text-Hauptseite7 hr{
  display: block;
  position: relative;
  margin: auto;
  width: 10%;
  height: 10px;
  margin-bottom: 20px;
  color: #ffbb00;
  background-color: #ffbb00;
  border: none;

}

.Text-Hauptseite7 {
  position: relative;
  margin: auto;

  padding: 60px;
  text-align: center;
  font-size: 30px;
}

.Text-Hauptseite7:hover{
  transition: all 0.7s;
  transform: scale(1.05);
}

.container-grid{
  padding-top: 50px;
  margin-left: -30%;
  width: 160%;
}

div.gallery img{
  width: 100%;
  height: auto;
}

div.Beschreibung{
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.grid-responsive {
  
  padding: 0 2px;
  float: left;
  width: 24.99999%;
}


@media only screen and (max-width: 700px) {
  .grid-responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .grid-responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}


.Bild-Hauptseite7{
  padding: 30px;
  width: 30%;
  border-radius: 50px;
}


.Text-Hauptseite8 hr{
  display: block;
  position: relative;
  margin: auto;
  width: 10%;
  height: 10px;
  margin-bottom: 20px;
  color: #ffbb00;
  background-color: #ffbb00;
  border: none;

}

.Text-Hauptseite8 {
  position: relative;
  margin: auto;

  padding: 60px;
  text-align: center;
  font-size: 30px;
}

.Text-Hauptseite8:hover{
  transition: all 0.7s;
  transform: scale(1.05);
}


/* --- Karte ---*/

#map {
  width: 100%;
  height: 75vh;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.leaflet-popup-content h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.leaflet-popup-content p {
  margin: 0 0 8px;
}

.leaflet-popup-content a {
  display: inline-block;
  margin-top: 4px;
  font-weight: bold;
  color: #0066cc;
  text-decoration: none;
}

.map-legend {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: inherit;
  min-width: 230px;
  max-width: 280px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.legend-toggle {
  width: 100%;
  border: none;
  background: transparent;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legend-arrow {
  transition: transform 0.2s ease;
}

.legend-content {
  padding: 0 16px 14px;
}

.map-legend.collapsed .legend-content {
  display: none;
}

.map-legend.collapsed .legend-arrow {
  transform: rotate(-90deg);
}

.legend-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.legend-section:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legend-section p {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: bold;
  opacity: 0.7;
}

.map-legend label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  cursor: pointer;
  font-size: 14px;
}

.map-legend input {
  cursor: pointer;
}

.map-legend img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.map-legend span {
  line-height: 1.2;
}

.regio-karte{
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  height: auto;
  border-radius: 20px;
} 

.bonansa {
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.map-container img{
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.collapse-btn{
  background-color: rgb(184, 47, 13);
  color: white;
  cursor: pointer;
  padding: 5px;
  width: 60%;
  border: none;
  
  text-align: left;
  outline: none;
  font-size: 20px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  justify-content: center;
  align-items: center;

}

.collapse-btn img{
  height: 30px;
  margin: 2px;
 margin-top: auto;
 margin-bottom: auto;
}

.active, .collapse-btn:hover{
  background-color: #ffbb00;
    border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.collapse-content{
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 18px;
  padding: 0 18px;
  overflow: hidden;
  background-color: #f1f1f1;
  display: none;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

  /* --- Gesteine ---*/

  .button-group{
    text-align: center;
    margin-bottom: 40px;
  }

  .button-group .button{
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: antiquewhite;
    font-size: 18px;
    letter-spacing: 1px;
    transition:all 0.3s;
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
  }

.button-group .button.is-checked{
    background-color: #000000;
    color: aliceblue;

  }


.grid {
  transition: all 0.3s; 
  transition-duration: 0s; 
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.048), rgba(105, 105, 105, 0.116), rgba(0, 0, 0, 0.048)), url(../grid_background.jpg);
  background-size: 450px;
  background-repeat: repeat;
  border-radius: 15px;
}

div.grid  .element-item{
  position: relative;
  margin: 20px;
  width: 400px;
  overflow: hidden; 
  padding: 20px;
  background: #888;
  color: #262524;
  border-radius: 15px;
}

div.grid .panorama-item {
  position: relative;
  margin: 20px;
  width: 400px;
  overflow: hidden;
  padding: 20px;
  background: #888;
  color: #262524;
  border-radius: 15px;
  display: block;
  text-decoration: none;
}

.element-item img{
  position: relative;
  display: block;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 1px;
}

div.grid .element-item:hover img{
  transition: all 0.4s;
  transform: scale(1.15);
}

.element-item .overlay,
.panorama-item .overlay {
  text-align: center;
  position: relative;
}

div.overlay .name a{
  color: #000000;
  margin: auto;
  text-align: center;
  padding-bottom: 5px;
  width: 256px;
  margin-top: 2px;
  font-size: 30px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  text-decoration: underline;
}

div.grid .devon {
  background-color: rgba(0, 102, 255, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .karbon {
  background-color: rgba(43, 43, 43, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .permotrias {
  background-color: rgba(255, 80, 11, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .trias {
  background-color: rgba(255, 11, 11, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .jura {
  background-color: rgba(96, 11, 255, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .kreide {
  background-color: rgba(11, 206, 255, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .tertiaer {
  background-color: rgba(255, 231, 11, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

.panorama-item {
  display: block;
  width: 300px;
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
}

.panorama-item img {
  position: relative;
  display: block;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 1px;
}

div.grid .panorama-item:hover img {
  transition: all 0.4s;
  transform: scale(1.15);
}

div.grid .bonansa {
  background-color: rgba(0, 102, 255, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .laspaules {
  background-color: rgba(43, 43, 43, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .alins {
  background-color: rgba(255, 80, 11, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .espes {
  background-color: rgba(96, 11, 255, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .collespina {
  background-color: rgba(179, 152, 0, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .abella {
  background-color: rgba(185, 42, 185, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}

div.grid .noales {
  background-color: rgba(9, 151, 92, 0.5);
  background-image: linear-gradient( to bottom, hsl(0, 0%, 100%), hsla(0, 0%, 20%, 0.333) );
}


 /* ---  ---*/

.sitecontainer {
  overflow: auto;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 100px;
}


.leftcon {
  margin-left: auto;
  margin-right: auto;
  display: inline;
  float: left;
  width: 49%;
  font-family: "Times New Roman", Times, serif;
  text-align: left;
  font-size: 23px;
  line-height: 2.2;
}

.leftcon h3 {
  font-size: 40px;
  margin-bottom: 10px;

}

.leftcon {

  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.text-steine p{
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

.rightcon {
  margin-top: 125px;
  display: inline;
  float: right;
  width: 49%;
}

.rightcon ul {
  list-style-type: none;
  margin-left: auto;
  display: inline;
  float: right;
  font-family:arial;
  font-size:12px;
  width: 100%;
}


.rightcon li {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

.pic {
  float: inline-end;
  margin-right: auto;
  margin-left: auto;

}

.pic img{
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-decoration: none;
  width: 75%;
  border-radius: 20px;
}

.pic figcaption {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: block;
  font-size: 20px;
  color: black;
  text-decoration: none;
}

.model-box {
  padding-top: 150px;
  position: relative;
  margin: auto;
  width: 100%;
 
}

model-viewer {
    margin: auto;
    
    width: 50%;
    height: 600px;
    background-image: linear-gradient(to bottom, rgba(110, 110, 110, 0.747), rgba(226, 226, 226, 0.856),  rgba(110, 110, 110, 0.747));
    border-radius: 25px;
}

/** **/

.comp-container{
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}


.ba-slider {
  width: 75%;
  position: relative;
  overflow: hidden;
  margin-right: auto;
  margin-left: auto;
}

.ba-slider img {
  border-radius: 15px;
  width: 100%;
  display:block;
}

.resize {
  position: absolute;
  top:0;
  left: 0;
  height: 100%;
  width: 1%;
  overflow: hidden;
}


.handle { 
position:absolute; 
left:1%;
top:0;
bottom:0;
width:2px;
margin-left:-2px;
border-radius: 5px;

background: rgba(0,0,0,.5);
cursor: ew-resize;

}



.handle:after { 
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;


  content:'\21d4';
  color: #ffbb00;
  font-weight:bold;
  font-size:35px;
  text-align:center;
  line-height:40px;

  background: rgb(184, 47, 13);
  border:1px solid rgb(184, 47, 13); 
  border-radius: 50%;
  transition:all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  transform: scale(1);
  animation: pulse 2s infinite;

}

@keyframes pulse {
  0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.draggable:after {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  line-height:48px;
  font-size:30px;
}

.pic-slider-caption h2{
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  font-family: "Times New Roman", Times, serif;
  padding-top: 50px;
  font-size: 35px;
}

.pic-slider-text {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  font-family: "Times New Roman", Times, serif;
  font-size: 23px;
  padding-bottom: 50px;
}

.container.panorama-container {
  width: 90%;
  max-width: 1400px;
  padding: 40px;
  font-size: 20px;
}

#panorama {
  display: block;
  margin: 40px auto 0 auto;
  width: 100%;
  max-width: 1200px;
  height: 600px;
  border-radius: 15px;
  overflow: hidden;
  font-size: 14px;
}

#panorama .pnlm-tooltip span {
  font-size: 12px !important;
  line-height: 1.2 !important;
  text-align: center;
}

#panorama-map {
  display: block;
  margin: 40px auto 0 auto;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

