html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent scrolling */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background-color: orange;
	
    font-family: system-ui, sans-serif;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never; 
	
}
#pano {
    position: relative;
    width: 100%;
    height: 100%;
  
    background-size: cover; /* Bild auf die gesamte Größe des Elements skalieren */
    background-repeat: no-repeat; /* Bild nicht wiederholen */
    background-position: center; /* Bild in der Mitte positionieren */
    display: flex;
    justify-content: flex-end; /* Corrected to flex-end */
    align-items: flex-end;
    transition: transform 0.3s ease; /* Add transition for transform */
}

#start {
    position: relative;
    width: 100%;
    height: 100%;
  	 background-image: url('startbg.jpg');
    background-size: cover; /* Bild auf die gesamte Größe des Elements skalieren */
    background-repeat: no-repeat; /* Bild nicht wiederholen */
    background-position: center; /* Bild in der Mitte positionieren */
    display: flex;
    justify-content: flex-end; /* Corrected to flex-end */
    align-items: flex-end;
    transition: transform 0.3s ease; /* Add transition for transform */
}



#karte {
    position: absolute;
    bottom: 55px;
    z-index: 6;
    background-color: #333;
    left: 10px;
    width: 300px;
    height: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 10px;
}

 #karte:hover {
    width: 85%;
    height: 85%;
}

#karte.expanded {
    width: 85% !important;
    height: 85% !important;
}

.toggleButton {
    position: absolute;
    bottom: 10px;
    left: 220px;
    z-index: 99999999;

    padding: 10px 20px;
    background-color: #444;
    border: none;
    border-radius: 10px;
    cursor: pointer;
   
}

header {
    width: 100px;
    height: 50px;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.0);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0; /* Positioniere den Header am linken Fensterrand */
    z-index: 500;
    transition: transform 0.3s ease; /* Add transition for transform */
}

ul {
    list-style: none;
    margin-left: 20px; /* 10px nach rechts */
    margin-top: 20px;  /* 30px nach unten */
}

ul li {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 3rem;
    font-weight: 400;
    
       
    
}

a {
    color: white;
    text-decoration: none;
}

.zeit {
    min-width: 75px; /* Hier die gewünschte Mindestbreite einstellen */
    display: inline-block; /* Damit die Breite berücksichtigt wird und das Element nicht über die ganze Breite geht */
    font-weight: 600;
    font-size: 1.2rem;
    text-align: left;
    padding: 0 0 0 5px; /* Optional: Innenabstand hinzufügen */
}

.content {
    margin-top: 0px;
    background-color: #aaa;
    position: relative;
    z-index: 1;
}

#nav-footer {
    position: absolute;
    bottom: 40px;
    right: 0;
    left: 0;
    padding: 0 10px;
    width: 100%;
}

.pano-container {
    width: 100%;
    height: calc(100vh - 50px);
    z-index: 1010;
}

.pano {
    width: 100%;
    height: 100%;
    background-color: #c1c1c1;
}



#overlay {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: none;
    z-index: 800;
}

.hover-div-button {
    position: absolute;
    bottom: 10px;
    width: 300px;
    left: 160px;
    color: #fff;
    transform: translateX(-50%);
    padding: 10px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    z-index: 550;
    border-radius: 10px;
    cursor: pointer;
   
    outline: none;
}

  .hover-div-button.hoverred {
        width: 85%;
        left: 10px;
        transform: unset;
        transition: transform 0.3s ease; /* Add transition for transform */
    }

    #hoverDiv .expanded .hover-div-button.hoverred {
        width: 85%;
        left: 10px;
        transform: unset;
      transition: transform 0.3s ease; /* Add transition for transform */
    }

.hover-div-button:active,
.hover-div-button:focus {
    border: none;
    outline: none;
}

/* Off-canvas menu styles */

button {

border-width: 0px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
}
.off-canvas {
    position: fixed;
    top: 0;
    left: -270px;
    width: 250px;
    height: 100%;
    overflow: hidden;
	 background-color: #2E3192;  /* 160deg, #2E3192 20%, #1BFFFF 100%  */
  background-image: -webkit-linear-gradient(160deg, #2E3192 0%, #1BFFFF 100%);
  background-image: -moz-linear-gradient(160deg, #2E3192 0%, #1BFFFF 100%);
  background-image: -o-linear-gradient(160deg, #2E3192 0%, #1BFFFF 100%);
  background-image: linear-gradient(160deg, #2E3192 0%, #1BFFFF 100%);  
  /* background: rgb(131,58,180);
background: linear-gradient(252deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%); */
    color: white;
    transition: left 0.3s ease;
    z-index: 9998;
    padding: 10px;
    list-style: none;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.off-canvas.open {
    left: 0;
    
}

/* Push content to the right */
.push-right {
    transform: translateX(270px);
}

div#overlay.show {
    display: block;
    z-index: 1000;
      transition: transform 3.8s ease; /* Add transition for transform */
}

.shadow-box {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border: 1px solid #000;
    position: relative;
    margin: 50px auto;
    box-shadow: inset 0 0 0 0 red;
    animation: none;
    display: none;
}

/* Keyframes für die Animation */
@keyframes red-shadow {
    0% {
        box-shadow: inset 0 0 0 0 red;
    }
    50% {
        box-shadow: inset 0 0 20px 10px red;
    }
    100% {
        box-shadow: inset 0 0 0 0 red;
    }
}

/* Stil für den Timer */
.timer-container {
    text-align: center;
    font-size: 1rem;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid #000;
    border-radius: 5px;
}
#userinfo {
    position: absolute;
    top: 1px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
}


#modusscoreDIV {
    position: absolute;
    display: flex;
            flex-wrap: wrap;
    top: 0;
    right: 0;
    width: 300px;
    height: auto; /* Beispielhöhe, kann angepasst werden */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px; margin: 8px; 
          border-radius: 5px;
}

#modusscoreDIV2 {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    top: -5px;
    right: 0;
    width: 90px;
    height: auto; /* Beispielhöhe, kann angepasst werden */
    background-color: rgba(0, 0, 0, 0);
    padding: 10px; margin: 8px; 
          border-radius: 5px;
}
@media (max-width: 1023px) {
    #modusscoreDIV {
        width: 90px;
    }
}
@media (max-width: 823px) {
    #modusscoreDIV {
        width:90px;
    }
}
.modus1 {
        flex: 1 1 80px; /* Flex-Wachstumsfaktor, Schrumpffaktor und Basisbreite */
        min-width: 50px;
        height: 20px;
        align-items: center; 
         color: white; border: none; 
         padding: 0 10 0 10 px; margin: 8px; cursor: pointer;
          border-radius: 5px;
    }




