<div class="katalog__nomber">
<img class="katalog__img" src="img/avatar__course.png">
<div class="katalog__main">
hsdjhfshd
</div>
</div>
.katalog__nomber{
display: flex;
height: 266px;
border-radius: 15px;
box-shadow: 0 0 18px #e1e1e1;
overflow: hidden;
}
.katalog__img{
min-width: 270px;
}
.katalog__nomber.active{
display: flex;
flex-direction: column;
width: calc(33.33% - 13.33px);
height: 796px;
}