body.index, body.amazon, body.idealo {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #00274e, #4e89ae);
}

body.impressum, body.datenschutzerklärung {      
    background: linear-gradient(to right, #00274e, #4e89ae);
    font-family: Arial, sans-serif;
    color: white;
    text-align: justify;
    width: 80%;
    margin: 0 auto;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    width: 60%;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-decoration: none;
}

.product-card:hover {
    transform: scale(1.01);
    transition: transform 0.3s;
}

.product-card:nth-child(3n) {
    break-after: always;
}

.product-card img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 30px 60px 30px;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: dodgerblue;
}

.product-price {
    margin-bottom: 5px;
    font-weight: bold;
    color: #008000;
}

.product-previous-price {
    text-decoration: line-through;
    color: #777;
}

/* Stil für die Navigationsleiste */
ul.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(to right, #00000000, #4e89ae);
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: left;
}

ul.navbar li {
    display: flex;
    align-items: center; /* Vertikal zentrieren */
}

ul.navbar li.logo a {
    display: flex;
    align-items: left; /* Vertikal zentrieren */
}

ul.navbar li.logo img {
    max-height: 40px;
    max-width: 100%;
    margin: 4px 0px 0px 5px;
    transition: transform 0.25s ease-in-out;
}

ul.navbar li.logo:hover img {
    transform: scale(1.05); /* Zoom-Effekt beim Schweben über das Logo */
}

ul.navbar li a {
    display: block;
    color: white;
    text-align: center;
    padding: 10px 30px;
    font-size: 20px;
    text-decoration: none;
}

ul.navbar li a:hover {
    transform: scale(1.05);
}

ul.navbar li.active a {
    background-color: #4CAF50; /* Hervorhebungsfarbe für aktive Seite */
    color: white;
}

/* Platzhalter für den Inhalt unter der Navigationsleiste */
.content {
    margin-top: 100px; /* Höhe der Navigationsleiste */
    padding: 20px;
    text-align: left;
}

footer {
    font-size: small;
    bottom: 0;
    position: relative;
    padding: 5px;  
}

footer.index {
    font-size: small;
    bottom: 0;
    position: absolute;
    padding: 5px;  
}

.whitetext {
    font-family: var(--my-font);
    color: white;
    text-decoration: none;

}

.wrapper {
    display: flex;
    flex-direction: column; /* Änderung auf Spaltenausrichtung */
    align-items: center; /* Horizontal zentrieren */   
    padding-top: 60px;     
}

.mybutton {
        display: inline-block;
        padding: 15px 30px 15px 30px;
        background: linear-gradient(to right, #229ed9, #5ec1ff);
        border-color: #ffffff;
        color: white;
        text-decoration: none;
        font-weight: bold;
        border-radius: 12px;
        transition: transform 0.3s;
        margin-top: 20px;
        margin-bottom: 20px;	
        transition-duration: 1s;
        font-size: 140%;
        box-shadow: 5px 5px 1px 0px rgba(0, 0, 0, 0.1);
    }

.box{
    margin-top: 50px;
    margin-bottom: 50px;
}

.box2 {
    margin: 30px;
}

.mybutton:hover{
	background: linear-gradient(to left, #5ec1ff, #229ed9);
    transition-duration: 1s;
	transform: scale(1.025);
	transition: 0.25s;
}

