@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/* CSS Document */
.section-title {
  text-align: center;
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
	font-family: 'Manrope', sans-serif;
}

.product-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px;
}

.product-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border: 2px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s;
  width: 200px;
  background: #fff;
}

.product-button img {
  width: 100%;
  height: auto;
}

.product-button span {
  padding: 12px;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  background-color: #f5f5f5;
  width: 100%;
  text-align: center;
}

.product-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.poster {
  background-image: url('../image/todos2.png'); /* Замените на свою картинку */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 0 20px;
}

.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); /* затемнение */
  z-index: 1;
}

.poster-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.poster-content h1 {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
	color: #FFFFFF
}

/* 📱 Мобильные устройства */
@media (max-width: 768px) {
  .poster {
    height: 200px;
    padding: 0 10px;
  }

  .poster-content h1 {
    font-size: 24px;
  }
}

/* 📱 Очень маленькие устройства */
@media (max-width: 480px) {
  .poster {
    height: 180px;
  }

  .poster-content h1 {
    font-size: 20px;
  }
}

