body {
    padding: 0;
    font-family: Montserrat, sans-serif;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: ghostwhite;


}

.content {
    flex: 1;
    padding: 20px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    text-decoration: none;
}

li {
    display: inline-block;
    margin: 0 15px;
    text-decoration: none;
}

.pro-pic {
    max-width: 30vw;
    object-fit: fill;
}

a {
    color: #000000;
    padding-top: 15px;
    text-decoration: none;
}

.product {

    color: #353535;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
    text-decoration: none;
    width: 30vw;
}

.down {
    color: white;
    padding-top: 15px;
    text-decoration: none;
}

a:hover {
    color: #00b2b2;
}

a:active {
    font-weight: bold;
}

h1, h2 {
    text-align: center;
}

.headline {
    font-size: clamp(25px, 5vw, 40px);
}



h2 {
    font-size: clamp(17px, 3vw, 30px);
}

.container1 {
    text-align: center;
    padding: 15px;
}

#inner {
    width: 200px;
    max-width: 800px;
    margin: auto;
}

#footdiv {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
}

#footnav{
    color: #fff;
    text-decoration: none;
}

#foot {
    text-align: center;
    text-decoration: none;
}

footer p {
    margin-top: 10px;
    text-decoration: none;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;

}

#foot {
    color: #fff;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

#footdiv {
    text-align: center;
    padding: 10px;
}


/* Formular-Container */
.form-container {

    max-width: 400px;
    margin: 2rem auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Formularüberschrift */
.form-container h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}

/* Formulargruppen */
.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

/* Labels */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

/* Eingabefelder */
.form-group input {

    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background: #f9f9f9;
    transition: border-color 0.3s ease-in-out;
}

.form-group input:focus {
    border-color: #2575fc;
    outline: none;
    background: #fff;
}

/* Button */
.form-group button {
    width: 100%;
    padding: 10px;
    background: #2575fc;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.form-group button:hover {
    background-color: #1a5bcc;
}

/* Link-Stile */
.form-container a {
    color: #2575fc;
    text-decoration: none;
    font-weight: bold;
}

.form-container a:hover {
    text-decoration: underline;
}

/* Anpassung für mobile Geräte */
@media (max-width: 768px) {
    .form-container {
        margin: 1rem;
        padding: 15px;
    }

    .form-container h2 {
        font-size: 1.25rem;
    }

    .form-group button {
        font-size: 0.9rem;
    }
}

/* Suchergebnis-Liste */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Abstand zwischen den Buttons */
    margin-top: 20px;
    padding: 0 20px;
}

/* Produkt-Button */
.product-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.product-button:hover {
    background-color: #0056b3;
}

/* Produktdetails */
.product-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}

.product-image {

    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-description {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.5;
    max-width: 600px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.add-to-cart {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #218838;
}

#product-picture {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

