body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Черный фон */
    color: #fff; /* Белый текст по умолчанию */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 36px;
    font-family: Poetsen one;
}

nav {
    width: 100%;
}

nav ul {
  list-style-type: none;
  display: flex;
}

nav ul li {
  margin-right: 20px;
  width: 100%;
  text-align: center;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
}

nav ul li a:hover {
  color: #ff4500;
  filter: brightness(70%);
}

.main {
  display: flex;
}


.container {
    display: flex;
}

.sidebar {
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 100%;
    padding: 10px;
}

.sorting,
.filters {
    background-color: #333;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 10px;
}

.filter-group label {
    margin-right: 10px;
    color: #fff;
}

.filter-group input,
.filter-group select {
    padding: 5px;
    width: 100%;
}

.content {
    display: flex;
    flex-direction: column;
    width: 75%;
    height: 100%;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    align-items: flex-start;
    min-height: calc(100vh - 40px);
}

.product {
    flex: 0 0 calc(25% - 20px);
    margin: 10px;
    text-align: center;
    min-height: 300px;
    max-height: 500px;
    min-width: 300px;
    max-width: 500px;
    background-color: #111;
    padding: 15px;
    border-radius: 10px;
    position: unset;
    width: 100%;
    box-sizing: border-box; /* Добавлено для корректного учета padding */
}

.product:hover {
    background-color: #333; /* Новый цвет при наведении */
}

.product img {
    width: 250px; /* Установите желаемую ширину */
    height: 300px; /* Установите желаемую высоту */
    object-fit: cover;
    border-radius: 10px;
    transition: filter 0.3s; /* Плавный переход для изображения */
}

.product:hover img {
    filter: brightness(70%); /* Уменьшение яркости при наведении */
}

.product h3, .product p {
    margin: 0;
    color: #fff;
    transition: color 0.3s; /* Плавный переход для текста */
}

.product:hover h3,
.product:hover p {
    color: #ff4500; /* Новый цвет текста при наведении */
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.footer {
    margin-top: auto;
    background-color: #333;
    color: #fff;
    padding: 20px;
    width: 100%;
}


.sorting {
    margin-top: 10px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.apply-button,
.reset-button {
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.apply-button:hover,
.reset-button:hover {
    background-color: #555;
}

.apply-button {
    margin-right: 10px;
}

.logo {
    width: 250px;
    height: 200px;
}

.contacts{
    font-family: sans-serif;
    text-align: center;
}

select {
    padding: 8px;
    border: 1px solid #555;
    border-radius: 5px;
}

/* Стили для выкидных списков в блоке .filter-group */
.filter-group select {
    width: 100%;
}

/* Стили для кнопок применить и сбросить */
.apply-button,
.reset-button {
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.apply-button:hover,
.reset-button:hover {
    background-color: #555;
}

