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

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}


.content {
    
    transition: transform 0.3s ease-in-out;
}

.content:hover {
    transform: scale(1.05); /* Легкий эффект увеличения при наведении */
}


strong {
    font-weight: bold;
    color: #8b7c5d; /* Подсветка названия школы */
}


/* Заголовок */
h1, h2, h3, h4, h5 {
    animation: fadeInUp 1s ease-out;
    color: #8b7c5d;
}

/* Анимации */
@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%;
    }
}
@media (max-width:680px) {
    body.poster {
        margin-top: 0;
    }
    .main-img{
        height:5vh;
    }
}
.price-block{
    width:100%;
}

.content-box{
    position: relative;
    border-radius:5px;
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Легкая тень блока */
  transition: all 0.3s ease;  /* Анимация при наведении */
  box-shadow: 1px 1px 2px 2px #8b7c5d;
}
.content-box:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Более сильная тень */
  transform: translateY(-6px);  /* Легкий сдвиг блока вверх */
}

/* Анимация появления */
.content-box {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

/* Ключевые кадры для анимации */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.image-info{
    border-radius:3px;
    border:2px #271e3d solid;
    box-shadow: 1px 1px 3px 3px #271e3d;
}

.block-border{
    border-radius:3px;
}

.hero{
    height:80vh;
}
.image-contact{
    height:70%;
    width:70%;
}

.img-service{
    width:100px;
}



@media (max-width: 768px) {
  .cookiejar__wrapper {
    margin-bottom:70px;
    
  }
}