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

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}
.content {
  height:100%;
  border:2px solid #00db85;
  border-radius: 12px;
  box-shadow: 3px 3px 3px 0 #00db85;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-card {
  background-color: #ffffff; /* Начальный цвет фона */
  color: #363635; /* Начальный цвет текста */
  border-radius: 8px; /* Закругленные углы */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень */
  padding: 20px; /* Отступы внутри блока */
  transition: all 0.3s ease-in-out; /* Плавная анимация для всех изменений */
}

.service-card:hover {
  background-color: #00db85; /* Цвет фона при наведении */
  color: #363635; /* Цвет текста при наведении */
  transform: scale(1.05); /* Легкое увеличение блока при наведении */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Увеличенная тень при наведении */
}
.approach {
  padding: 40px 0;
  text-align: center;
  background-color: #ffffff;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.image-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9f9f9;
}
.image-item img {
  width: 100%;
  height: auto;
  display: block;
}

.image-item p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }

  .image-item p {
    font-size: 0.9rem;
  }
  div.cookiejar__container{
    padding-bottom: 50px;;
}
}

