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

body.poster {
    background-attachment: fixed;
}

p{
  font-size:20px;
}

.top-5 {
    top: 5px;
}
.content {
  border: 3px solid #4c4b49;
  border-radius: 500px;
  box-shadow: 0 6px 12px #445f3b;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.content:hover {
  box-shadow: 0 8px 16px #4c4b49;
  transform: translateY(-2px);
}

.content-box {
  border: 3px solid #4c4b49;
  border-radius: 1500px;
  box-shadow: 0 6px 12px #445f3b;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.image-box{
  height:400px;
}
@media (max-width:991px) {
  .image-box{
    height:250px;
  }
  p{
    font-size:16px;
  }
}

.price-box{
  height:500px;;
}

div.cookiejar__wrapper{
  height:120%;
}
.program{
  padding-top:30px;
  font-size:14px;
  
  border: 3px solid #4c4b49;
  border-radius: 5000px;  
}

.container-program {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Чтобы блоки не выходили за пределы экрана на маленьких устройствах */
    gap: 30px; /* Отступ между блоками */
}

/* Основные стили для раздела */
.programmes {
    background-color: #f7f7f7; /* Светлый фон для раздела */
    padding: 60px 20px;
    text-align: center;
}

.container-program {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Чтобы блоки не выходили за пределы экрана на маленьких устройствах */
    gap: 30px; /* Отступ между блоками */
}


.program {
    background-color: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    flex: 1 1 30%; /* Блоки будут занимать 30% ширины и адаптироваться */
    transition: transform 0.3s ease;
    text-align: left; /* Заголовки и текст будут слева */
    min-width: 280px; /* Минимальная ширина для блоков */
}

.program:hover {
    transform: translateY(-5px); /* Легкий эффект поднятия при наведении */
}

h3 {
    font-size: 2rem;
    color: #686647;
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Адаптивность для мобильных устройств (до 768px) */
@media (max-width: 768px) {
    .programmes {
        padding: 15px 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container-program {
        flex-direction: column; /* На мобильных устройствах блоки будут располагаться вертикально */
        align-items: center;
        
    }

    .program {
        flex: 1 1 100%; /* Каждый блок будет занимать 100% ширины на мобильных устройствах */
        margin-bottom: 20px; /* Отступы между блоками */
        margin-left:-20px;
    }

    h3 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Адаптивность для планшетов (до 1024px) */
@media (max-width: 1024px) {
    .programmes {
        padding: 15px 20px;
    }

    h2 {
        font-size: 2.8rem;
    }

    .container {
        flex-direction: row; /* Для планшетов возвращаем горизонтальное расположение */
        justify-content: space-between;
    }

    .program {
        flex: 1 1 45%; /* Каждый блок будет занимать 45% ширины */
    }

    h3 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.1rem;
    }
}

.about-image {
        max-width: 200px;
        margin-bottom: 10px;
        border-radius:150px;
}

.timeline {
position: relative;
margin: 0; /* reset */
padding: 0; /* reset */
list-style: none;
}


/* vertical line */
.timeline::before {
content: "";
position: absolute;
left: var(--step-line-x);
top: 0.5rem;
bottom: 0.5rem;
width: 2px;
background: rgba(0, 0, 0, 0.08);
}


.timeline-item {
position: relative;
padding-left: calc(var(--step-icon-size) + 1.25rem);
margin-bottom: 1.25rem;
}


.step-icon {
position: absolute;
left: 0;
top: 0.25rem;
width: var(--step-icon-size);
height: var(--step-icon-size);
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 700;
background: var(--bs-primary);
color: #fff;
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


.timeline-item .card {
border: 0;
box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}


.timeline-item .card-title {
margin-bottom: .25rem;
}


/* Hover affordance */
.timeline-item .card:hover { transform: translateY(-2px); transition: transform .2s ease; }


/* Responsive tightening for very small screens */
@media (max-width: 420px) {
:root { --step-icon-size: 2.25rem; --step-line-x: 1.125rem; }
.timeline-item { padding-left: calc(var(--step-icon-size) + 1rem); }
}

h1{
  font-size:28px;
  font-weight:600;
}

h2{
  font-size:24px;  
}

h3{
  font-size:20px;  
}