<style>
  body {
       background: #171717;
     
   }
   </style>


<section class="game-section">
  
  <div class="owl-carousel custom-carousel owl-theme">
    <div class="item active" style="background-image: url(https://sun9-west.userapi.com/sun9-12/s/v1/ig2/y0862ytStCVDSTRbXOMe2AoZ5g8sTwfuZL189SCwneQWCzUph-6cvmRf94RMtx3V9B7wsNy37clwQfwq-POcxADt.jpg?size=2200x1800&quality=95&type=album);">
      <div class="item-desc">
        <h3>BOeng.</h3>
        <p>Брендинг для школы Английского языка. 
          
          <a href="https://milacraiton.com/boeng" target=" _parent."> Подробнее</a>
          <a href="#" onclick="setTimeout(function(){window.close()},3000)" target="_blank"></a>
        </p>
      </div>
    </div>
    <div class="item" style="background-image: url(https://static.tildacdn.com/tild6235-6233-4438-b061-383931653862/12ai.png);">
      <div class="item-desc">
        <h3>Юрист рядом</h3>
        <p>Брендинг для юридической компании.
          <a href="https://milacraiton.com/uristradom"
             target=" _parent."> Подробнее</a>
            
          </p>
      </div>
    </div>
    
        <div class="item" style="background-image: url(https://static.tildacdn.com/tild3565-6666-4162-a136-636566643133/photo_2023-06-29_16-.jpg);">
      <div class="item-desc">
        <h3>Афиша LSD</h3>
        <p>Афиша танцевальной вечеринки LadiesSpecialDay.
        <a href="https://milacraiton.com/lsd"
           target=" _parent."
           window.close();> Подробнее</a>
        </p>
      </div>
    </div>
    
    <div class="item" style="background-image: url(https://static.tildacdn.com/tild3662-3833-4637-b931-303035386433/__2.png);">
      <div class="item-desc">
        <h3>Сертификаты</h3>
        <p>Подарочные сертификаты на парфюм.
        <a href="https://milacraiton.com/sertifikatnaparfum"
           target=" _parent."
           window.close();> Подробнее</a>
        </p>
      </div>
    </div>
<div class="item" style="background-image: url(https://static.tildacdn.com/tild3636-3565-4433-b065-666238396264/2.png);">
      <div class="item-desc">
        <h3>YOULIK</h3>
        <p>Вывеска для магазина женской одежды.
          <a href="https://milacraiton.com/youlik"
             target=" _parent."> Подробнее</a>
            
          </p>
      </div>
    </div>
 
       <div class="item" style="background-image: url(https://static.tildacdn.com/tild3235-6634-4365-a462-623532633031/__3.png);">
      <div class="item-desc">
        <h3>Сертификаты</h3>
        <p>Подарочный сертификат 
на массаж к Елене Пономарёвой.
          <a href="https://milacraiton.com/page28819683html"
             target=" _parent."> Подробнее</a>
            
          </p>
      </div>
    </div>
  
    <div class="item" style="background-image: url(https://static.tildacdn.com/tild3834-6336-4134-a335-663238663665/MilaCreighton_Projec.png);">
      <div class="item-desc">
        <h3>Force Reconstruction</h3>
        <p>Фирменный стиль для ремонтной компании.
          <a href="https://milacraiton.com/forcereconstruction"
             target=" _parent."> Подробнее</a>
            
          </p>
      </div>
    </div>
    
     <div class="item" style="background-image: url(https://static.tildacdn.com/tild6234-6438-4736-a534-633031636238/Branding_Business_Ca.png);">
      <div class="item-desc">
        <h3>Визитки</h3>
        <p>Визитные карты для регрессолога/диетолога.
          <a href="https://milacraiton.com/businesscardforolgaperep"
             target=" _parent."> Подробнее</a>
            
          </p>
      </div>
    </div>
    
  </div>
  </div>
</section>
@charset "utf-8";

/******* Fonts Import Start **********/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
/********* Fonts Face CSS End **********/

/******* Common Element CSS Start ******/
* 
::-webkit-scrollbar {
  width: 0;}
{
  
  margin: 0px;
  padding: 0px;
}

position: fixed;
top: 0;
left: 0;
right: 0;
body {
  
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}



.clear {
  clear: both;
}
img {
  max-width: 100%;
  border: 0px;
}
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
a:focus,
a:active,
a:visited,
a:hover {
  text-decoration: none;
  outline: none;
}
a:hover {
  color: #a60000;
}


h2 {

  margin-bottom: 48px;
  padding-bottom: 16px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  position: relative;
  text-transform: capitalize;
}
h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 36px;
}
/******* Common Element CSS End *********/

/* -------- title style ------- */
.line-title {
  position: relative;
  width: 400px;
}
.line-title::before,
.line-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 2px;
}
.line-title::before {
  width: 100%;
  background: #f2f2f2;
}
.line-title::after {
  width: 32px;
  background: #e73700;
}

/******* Middle section CSS Start ******/
/* -------- Landing page ------- */
.game-section {
  padding: 60px 50px;
}
.game-section .owl-stage {
  margin: 15px 0;
  display: flex;
  display: -webkit-flex;
}
.game-section .item {
  margin: 0 15px 60px;
  width: 320px;
  height: 400px;
  display: flex;
  display: -webkit-flex;
  align-items: flex-end;
  -webkit-align-items: flex-end;
  background: #343434 no-repeat center center / cover;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.game-section .item.active {
  width: 500px;
  box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
}
.game-section .item:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}
.game-section .item-desc {
  padding: 0 24px 12px;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translateY(calc(100% - 54px));
  -webkit-transform: translateY(calc(100% - 54px));
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
.game-section .item.active .item-desc {
  transform: none;
  -webkit-transform: none;
}
.game-section .item-desc p {
  opacity: 0;
  -webkit-transform: translateY(32px);
  transform: translateY(32px);
  transition: all 0.4s ease-in-out 0.2s;
  -webkit-transition: all 0.4s ease-in-out 0.2s;
}
.game-section .item.active .item-desc p {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.game-section .owl-theme.custom-carousel .owl-dots {
  margin-top: -20px;
  position: relative;
  z-index: 5;
}
/******** Middle section CSS End *******/

/***** responsive css Start ******/

@media (min-width: 992px) and (max-width: 1199px) {
  h2 {
    margin-bottom: 32px;
  }
  h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 32px;
  }

  /* -------- Landing page ------- */
  .game-section {
    padding: 50px 30px;
  }
  .game-section .item {
    margin: 0 12px 60px;
    width: 260px;
    height: 360px;
  }
  .game-section .item.active {
    width: 400px;
  }
  .game-section .item-desc {
    transform: translateY(calc(100% - 46px));
    -webkit-transform: translateY(calc(100% - 46px));
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  h2 {
    margin-bottom: 32px;
  }
  h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 32px;
  }
  .line-title {
    width: 330px;
  }

  /* -------- Landing page ------- */
  .game-section {
    padding: 50px 30px 40px;
  }
  .game-section .item {
    margin: 0 12px 60px;
    width: 240px;
    height: 330px;
  }
  .game-section .item.active {
    width: 360px;
  }
  .game-section .item-desc {
    transform: translateY(calc(100% - 42px));
    -webkit-transform: translateY(calc(100% - 42px));
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
  h2 {
    margin-bottom: 20px;
  }
  h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 24px;
  }
  .line-title {
    width: 250px;
  }

  /* -------- Landing page ------- */
  .game-section {
    padding: 30px 15px 20px;
  }
  .game-section .item {
    margin: 0 10px 40px;
    width: 200px;
    height: 280px;
  }
  .game-section .item.active {
    width: 270px;
    box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.25);
  }
  .game-section .item-desc {
    padding: 0 14px 5px;
    transform: translateY(calc(100% - 42px));
    -webkit-transform: translateY(calc(100% - 42px));
  }
}
$(".custom-carousel").owlCarousel({
  autoWidth: true,
  loop: true
});
$(document).ready(function () {
  $(".custom-carousel .item").click(function () {
    $(".custom-carousel .item").not($(this)).removeClass("active");
    $(this).toggleClass("active");
  });
});

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css
  2. https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css
  3. https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.css

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js
  2. https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js