  ul,
ol {
  list-style: none;
}
.flex_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 5%;
}

.heading {
  font-size: 103px;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.outer_container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  overflow-y: hidden;
  overflow-x: inherit;
}

.inner_container {
  padding-bottom: 32.8%;
  position: relative;
}

.ul_container {
  position: absolute;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  list-style: none;
  width: 100%;
  height: 100%;
  padding: 0;
}

.item_container {
  flex: 1 1 0%;
  align-items: flex-start;
  width: 35px;
  height: 100%;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
  background-color: #111;
  background-image: linear-gradient(0deg, transparent, #000);
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.7);
}

.item_container:hover:not(.expanded) {
  flex-basis: 8%;
}
.item_container:hover:not(.expanded) img {
  opacity: 0.7;
}
.item_container:hover:not(.expanded) .item_number {
  opacity: 0.9;
}

.expanded {
  flex-basis: 56.25%;
  padding-left: 256px;
}
.expanded img {
  opacity: 1 !important;
}
.expanded .item_number {
  opacity: 0;
}

.item_number {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
  text-shadow: 0px 0px 2px black;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  padding: 10px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.image_info_container {
  position: relative;
  height: 100%;
  width: 100%;
}

.info_container {
  height: 100%;
  width: 256px;
  margin-left: -256px;
  position: relative;
}

.info_container_inner {
  height: 100%;
}

.info_number {
  display: flex;
  justify-content: center;
  height: 66%;
}

.info_bottom_container {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
}

.info_bottom_text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0 1.5rem;
}
.info_bottom_text > strong {
  font-weight: 800;
}
.info_bottom_text a {
  display: block;
  color: rgb(var(--main-pink));
  font-weight: 300;
  padding: 5px;
  font-size: 1.2rem;
  white-space: nowrap;
}
.info_bottom_text a:hover {
  color: #fff;
}

.number_image {
  object-fit: cover;
  align-self: flex-start;
  max-width: 100%;
  height: auto;
}

.image {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  height: 100%;
  padding-left: 100%;
}

.image:hover .bottom_title_text {
  opacity: 1;
}

.flex_container img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-left: 0px;
  max-width: 100%;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.bottom_title {
  padding: 1rem;
  overflow: hidden;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px 0;
  text-align: center;
  color: #fff;
  text-shadow: black 0px 0px 2px, black 0px 0px 10px;
  background-image: linear-gradient(transparent 0px, rgba(0, 0, 0, 0.5) 100%);
}

.bottom_title_text {
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05rem;
}

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;
}
button {
  outline: none !important;
}
/******* 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: 0px 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));
  }
}
    #cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;  
  max-width: 100%;
  width: calc(100%);
  margin-bottom: 3%;
}

#cards:hover > .card::after {
  opacity: 1;
}

.card {
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  height: 260px;
  flex-direction: column;
  position: relative;
  width: 300px;  
  transition: 300ms;        
}
.card:hover{
    margin-top: -2%;
}

.card:hover::before {
  opacity: 1;
}

.card::before,
.card::after {
  border-radius: inherit;
  content: "";
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  transition: opacity 500ms;
  width: 100%;
}

.card::before {
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y), 
    rgba(255, 255, 255, 0.01),
    transparent 40%
  );
  z-index: 3;
}

.card::after {  
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y), 
    rgba(255, 255, 255, 0.1),
    transparent 40%
  );
  z-index: 1;
}

.card > .card-content {
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  inset: 1px;
  padding: 10px;
  position: absolute;
  z-index: 2;
}

/* -- ↓ ↓ ↓ extra card content styles ↓ ↓ ↓ -- */

h1, h2, h3, h4, span {
  color: rgb(240, 240, 240);
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  margin: 0px;
}

i {  
  color: rgb(240, 240, 240);
}

.card-image {
  align-items: center;
  display: flex;
  height: 140px;
  justify-content: center;
  overflow: hidden;font-size: 80px;
  color: #fff;background: transparent!important;
  text-align: center;-webkit-mask-image: linear-gradient(to top, transparent 0%, black 0%); */
    mask-image: linear-gradient(to top, transparent 0%, black 0%);
}

.card-image > i {
  font-size: 6em;
  opacity: 0.25;
}

.card-info-wrapper {
  align-items: center;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  padding: 0px 0px;
}

.card-info {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.card-info > i {  
  font-size: 1em;
  height: 20px;
  line-height: 20px;
}

.card-info-title > h3 {
  font-size: 1.1em;
  line-height: 20px;
}

.card-info-title > h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85em;
  margin-top: 8px;
}

/* -- ↓ ↓ ↓ some responsiveness ↓ ↓ ↓ -- */

@media(max-width: 1000px) {
  body {
    align-items: flex-start;  
    overflow: auto;
  }
  
      #cards {
  flex-wrap: wrap;
 
}

  
  .card {
    flex-shrink: 1;
    width: calc(50% - 4px);
  }
}

@media(max-width: 500px) {

      #cards {
  flex-wrap: wrap;
 
}
  .card-image {
    height: 80px;  
  }
  
  .card-image > i {
    font-size: 3em;
  }
    
  .card-info-wrapper {
    padding: 0px 10px;
  }
  
  .card-info > i { 
    font-size: 0.8em; 
  }
  
  .card-info-title > h3 {
    font-size: 0.9em;
  }

  .card-info-title > h4 {
    font-size: 0.8em;
    margin-top: 4px;
  }
}

@media(max-width: 320px) {
  .card {
    width: 100%;
  }
}