* {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
}
/* card for story house */
.storyhousebody {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #222;
}

.storyhousebody::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: var(--orange-yellow-crayola); */
   background: linear-gradient(#04a2f4, #007de7); 
  clip-path: circle(30% at left 70%);
}

.storyhousebody::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#007de7, #262d37);
  /* var(--orange-yellow-crayola);*/
  clip-path: circle(20% at right 10%);
  border-radius: 20px;
}

.storyhousesections {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  flex-wrap: wrap;
  z-index: 1;
  margin: 50px 50px 50px 50px;
}

.storyhousesections .scard {
  position: relative;
  width: 280px;
  height: 400px;
  margin: 30px;
  box-shadow: 20px 20px 50px #12121280;
  border-radius: 15px;
  background: #ffffff1b;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #ffffff80;
  border-left: 1px solid #ffffff80;
  backdrop-filter: blur(5px);
}

.storyhousesections .scard .item {
  padding: 20px;
  text-align: center;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.5s;
}

.storyhousesections .scard:hover .item {
  transform: translateY(0px);
  opacity: 1;
}

.storyhousesections .scard .item h1 {
  position: absolute;
  top: -80px;
  right: 20px;
  font-size: 8em;
  pointer-events: none;
  color: #ffffff0d;
}

.storyhousesections .scard .item h2 {
  font-size: 1.8em;
  color: #fff;
  z-index: 1;
}

.storyhousesections .scard .item p {
  font-size: 1em;
  color: #fff;
  font-weight: 300;
}

 .top-tab {
        position: absolute;
        top: 18px;
        left: 18px;
        z-index: 2;
      }
      .top-tab .tabs {
        display: flex;
        gap: 10px;
      }
      .top-tab .tab {
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        font-weight: 600;
        font-size: 0.9rem;
        color: #fff;
        cursor: default;
        backdrop-filter: blur(6px);
      }
      .top-tab .tab.active {
        background: rgba(255,255,255,0.14);
        box-shadow: 0 6px 20px rgba(0,0,0,0.35);
      }
