body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #8B4513; /* Коричневый цвет */
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    margin: 0.5rem 0 0;
    font-size: 1.1em;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.bread-types {
    text-align: center;
}

.bread-types h2 {
    color: #8B4513;
    margin-bottom: 30px;
    font-size: 2em;
}

.bread-item {
    display: inline-block;
    width: 30%;
    margin: 1.5%;
    vertical-align: top;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    transition: transform 0.2s ease-in-out;
}

.bread-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bread-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.bread-item h3 {
    color: #A0522D; /* Светло-коричневый */
    margin-top: 0;
    font-size: 1.5em;
}

.bread-item p {
    font-size: 0.9em;
    color: #555;
    min-height: 40px; /* Для выравнивания карточек */
}

.bread-item .price {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #8B4513;
    margin-top: 15px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 40px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer a {
    color: #FFD700; /* Золотой цвет */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .bread-item {
        width: 45%;
        margin: 2.5%;
    }
}

@media (max-width: 480px) {
    .bread-item {
        width: 90%;
        margin: 5%;
    }
    header h1 {
        font-size: 2em;
    }
    .bread-types h2 {
        font-size: 1.8em;
    }
}
