@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: #00d89a; /* Подсветка названия школы */
}


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

/* Анимации */
@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%;
}

.hero{
     position: relative;
    width: 100%;
    height: 500px; /* Установите необходимую высоту */
    background-image: url('assets/images/18861.jpg');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Черный цвет с 50% прозрачностью */
    z-index: 1; /* Слой должен быть поверх фона */
}

/* Контент внутри блока */
.content {
    position: relative;
    z-index: 2; /* Контент должен быть поверх затемняющего слоя */
    color: white; /* Цвет текста для контраста */
    
}

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

/* Ключевые кадры для анимации */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.image-info{
    border-radius:5px;
    border:2px #00d89a solid;
}


.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.left-side, .right-side {
    width: 48%;
    margin-bottom: 20px;
}

h2 {
    color: #00d89a;
    font-size: 35px;
    margin-bottom: 15px;
}

.item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid #00d89a; /* Бордер в вашем цвете */
    padding: 10px;
    border-radius: 8px;
    margin-left: 10px;
    background-color: #363636; /* Тёмный фон для блоков */
}

.item .icon {
    background-color: #00d89a;
    padding: 15px;
    margin-right: 20px;
    margin-left:20px;
    border-radius: 50%;
}

.item img {
    width: 100%;
    
}

.item p {
    font-size: 18px;
    margin: 0;
}

.right-side .item {
    flex-direction: row-reverse; /* Зеркальное отображение для правой колонки */
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding:5px;
    }

    .left-side, .right-side {
        width: 100%;
        margin-bottom: 20px;
        padding-left:5px;
        
    }

    .item {
        flex-direction: column;
        align-items: center;
        font-size:16px;
    }

    .item .icon {
        margin-bottom: 10px;
    }
}
a{
    text-decoration: none;;
}

.logo{
    width:50px;
}

.img-last{
    height:350px;
}

.about-us{
    width:1200px;
}

@media (max-width: 768px) {
    .about-us {
        width:98%;
    }
    .img-last{
        height:250px;
    }
}
.icon-custom{
    width:50px;
}

