.popupText {
    padding: 20px 50px 20px 50px;
}
.richtig-messen-tischdecken {
    display: flex; 
    flex-direction: column; 
    padding: 20px 0px 20px 170px;
}
.tischdecke-image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Abstand zwischen den Bildern */
    justify-content: left;
}
.tischdecke-image-div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Abstand zwischen den Bildern */
    justify-content: left;
    height: 100%;
}
.h2tischdecke {
    font-size: 1.8em;
    font-weight: 600;
}
.h3tischdecke {
    font-size: 1.55em;
      font-weight: 600;
}
.tischdeckeText {
    font-size: 20px; 
    font-weight: 400;
    line-height: 1.6em;
}
.tischdeckeBestellmass {
    display: flex;
}
    .tischdeckeBestellmass > img {
        width: 100%;
        max-width: 300px;
    }
    .tischdeckeBestellmass > p {
        font-size: 20px;
        font-weight: 400;
        display: flex;
        align-self: center;
    }
.tischdecke-image-div > div > p {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}			
.tischdecke-image-container img {
    /*flex: 1 1 calc(33.33% - 10px); /* Drei Bilder nebeneinander */
    height: 155px;
}
.tischdecke-image-div div {
    flex: 1 1 calc(20% - 10px); /* Drei Bilder nebeneinander */
    /*height: 195px;*/
}
.imgCenter {
    padding-left: 16%;
}
.variableTischdecke {
    font-size: 28px;
      font-weight: 600;
}

@media (max-width: 768px) {
    .popupText {
        padding: 10px 5px 10px 5px;
    }
    .richtig-messen-tischdecken {
        padding: 0px;
    }
    .tischdecke-image-container img {
        flex: 1 1 100%; /* Bei mobiler Breite auf eine Spalte umstellen */
    }
    .tischdecke-image-div div {
        flex: 1 1 100%; /* Bei mobiler Breite auf eine Spalte umstellen */
    }
    .imgCenter {
        padding-left: 25%;
    }
    .tischdeckeBestellmass {
        display: flex;
        flex-direction: column;
    }
}