.image-container {
    position: relative;
    display: inline-block;
	max-width: 800px;
}
.image-container img.main-image {
    display: block;
    width: 100%; /* Breite des Hauptbildes auf 100% des Containers festlegen */
    max-width: 800px; /* Maximale Breite des Hauptbildes auf  Pixel festlegen */
}


.hover-text {
    display: none;
    position: absolute;
    top: 0;
    left: 85%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.image-container:hover .hover-text {
    display: block;
}


.info-button {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    display: none; /* Info-Buttons standardmäßig ausblenden */
}
.image-container:hover .info-button {
    display: flex; /* Info-Buttons anzeigen, wenn die Maus über das Bild fährt */
}
#info1 {   			/* DMU50 1 */
    top: 33%;
    left: 17%;
}
#info2 {			/* DMU50 1 */
    top: 22%;
    left: 37%;
}
#info3 {			/* M1 Pro */
    top: 17%;
    left: 55%;
}
#info4 {			/* DMU75 1 monoBLOCK */
    top: 44%;
    left: 44%;
}
#info5 {			/* Lang neu RoboTrex  */
    top: 70%;
    left: 55%;
}
#info6 {			/* DMU75 alt monoBLOCK */
    top: 35%;
    left: 65%;
}
#info7 {			/* Lang alt RoboTrex  */
    top: 58%;
    left: 75%;
}
#info8 {			/* Maschinen Monitoring */
    top: 40%;
    left: 83%;
}

#info9 {			/* Maschinen Monitoring */
    top: 29%;
    left: 48%;
}


.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
}
.popup.active {
    display: block;
}
.popup img {
    max-width: 300px;
    height: auto;
}

.popup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
