*, ::after, ::before{
    -webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body{
    background: #f8f2dd;
    min-width: 320px;
}
.blok{
    padding: 0 15px;
}
.blok h1{
    margin-top: 0;
}
.container{
    position: relative;
}
/* Стили для кнопки бургера (как в прошлом примере) */
.navbar {
    padding: 0;
    height: auto;
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0;
    display: none;
    align-items: center;
}
.burger-btn {
    width: 47px;
    height: 42px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    padding: 9px;
    border-radius: 5px;
    border: 2px solid #775c00;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 4px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 10px;
}

/* Анимация бургера при active */
.burger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
  opacity: 0;
}
.burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


.blok div a:has(img.img-thumbnail) {
    display: block;
    text-align: center;
    line-height: 1;
    color: #000;
    font-size: 14px;
    font-weight: 600;
}
.blok div a:has(img.img-thumbnail) img{
    margin-bottom: 5px;
}






@media (max-width: 992px){
    .container{
        width: 100%;
    }
}
@media (max-width: 768px){
    .blok{
        width: 100%;
    }
    .blok + .col-lg-3{
        display: none;
    }
    .navbar{
        display: flex;
        top: 4px;
    }
    header {
        background-image: url(/img/shapka-1.jpg);
    }
    header img{
        display: none;
    }
    header .container{
        height: 57px;
        background: transparent;
    }
    header .container p{
        background-image: url(/img/pravila-igr.png);
        height: 42px;
        background-size: contain;
        margin-right: 60px;
        background-repeat: no-repeat;
        padding: 0;
        margin-bottom: 0;
    }
    .blok + .col-lg-3.active{
        display: flex;
        position: fixed;
        right: 10px;
        background: #f8f2dd;
        flex-direction: column;
        border: 2px dashed red;
        margin: 0;
        padding: 10px;
        filter: drop-shadow(0px 0px 5px black);
        border-radius: 10px;
        width: 290px;
        height: auto;
    }
    .blok + .col-lg-3.active
}























