@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}

.main-section {
    height:80vh;
}

@media (max-width:991px) {
    .main-section {
        max-height: 60vh!important;
    }
}

/* Основной контейнер для блоков */
.about-container {
  display: flex;
  justify-content: space-between; /* Разделение блоков с отступом */
  gap: 20px; /* Добавляем отступы между блоками */
  margin-top: 60px;
  flex-wrap: wrap; /* Обеспечивает перенос блоков на новые строки при маленьких экранах */
  padding: 0 20px;
}

.about-box {
  background-color: #d3e0b0; /* Цвет фона */
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 calc(33% - 20px); /* Равномерное распределение, минус отступ */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  min-height: 250px; /* Устанавливаем минимальную высоту для блоков */
}

.about-box h3 {
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.about-box p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 300;
}

.about-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px 80ff00rgba(0, 0, 0, 0.2);
  background-color: #a2c700;
}

.about-box:nth-child(1):hover {
  background-color: #a2c700;
}

.about-box:nth-child(2):hover {
  background-color: #77a87f;
}

.about-box:nth-child(3):hover {
  background-color: #77a87f;
}

/* Заголовок */
h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    animation: fadeInUp 1s ease-out;
}

/* Абзац */
p {
    font-size: 1.1rem;
    color: #022e66;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.5s;
}

/* Подсветка важного текста */
strong {
    color:#1a2a2c ;
    font-weight: bold;
}

/* Анимации */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

.about-image {
        max-width: 300px;
        margin-bottom: 10px;
        border-radius:15px;
}
/* Основные стили секции */
.donation-section {
  background-color: #022e66; /* Темный фон для секции */
  color: #a8a669; /* Основной цвет текста */
  padding: 50px 20px;
  text-align: center;
}

.donation-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.donation-description {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 40px;
}

/* Контейнер для блоков */
.donation-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap; /* Позволяет блокам адаптироваться при сужении экрана */
}

/* Блоки донатов */
.donation-box {
  background-color: #a8a669;
  color: #022e66;
  padding: 30px;
  border-radius: 8px;
  width: 30%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-box h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.donation-box p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 400;
}

.donate-button {
  background-color: #022e66;
  color: #96785b;
  padding: 12px 30px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.donate-button:hover {
  background-color: #96785b;
  color: #022e66;
  border:2px #1a2a2c solid;
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .donation-container {
    flex-direction: column;
    align-items: center;
  }

  .donation-box {
    width: 80%;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .donation-title {
    font-size: 2rem;
  }

  .donation-description {
    font-size: 1rem;
  }

  .donation-box {
    width: 90%;
  }
}

div.cookify__view:active{
  padding-right:50px;
}

