@font-face {
  font-family: "apotek";
  src: url(./assets/fonts/APOTEK/Apotek_Variable_Compressed_ExtraLight.otf)
    format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "apotek";
  src: url(./assets/fonts/APOTEK/Apotek_Wide_Regular.otf) format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "apotek";
  src: url(./assets/fonts/APOTEK/Apotek_Wide_Medium.otf) format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "apotek";
  src: url(./assets/fonts/APOTEK/Apotek_Wide_Semibold.otf) format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "apotek";
  src: url(./assets/fonts/APOTEK/Apotek_Wide_Bold.otf) format("opentype");
  font-weight: 500;
  font-display: swap;
}

* {
  font-family: apotek;
}

.line {
  background-color: #ff007f;
}
.overlay {
  position: absolute;
  /* pointer-events: none; disables blocking */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1000; /* Ensure it's on top of other content */
  cursor: crosshair; /* Indicate drawing mode */
  transition: all ease-in-out;
}

.ourwork::before {
  content: "";
  display: block;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  transition: all 2s ease-in-out;
}

.ourwork:hover::before {
  background-color: rgba(0, 0, 0, 0);
}

.ourwork {
  background-image: url("/assets/OUR_WORK.jpg");
  transition: all 1.5s ease-in-out;
  background-position: 0 0; /* Set default position */
  background-repeat: no-repeat;
  transition: background-position 1.5s ease-in-out;
  background-size: cover;
}

.ourwork:hover {
  background-position-x: -50px;
}

.overlay:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.ourwork:hover .ourwork-content {
  opacity: 100%;
}

.ourwork-content {
  color: #fff;
  font-size: 1.175rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.875rem; /* 136.364% */
  letter-spacing: 0.0275rem;
  opacity: 20%;
  transition: all 1.8s ease-in-out;
}

.event-livestream {
  background-image: url("./assets/485X590_EVENT.png");
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.media-production {
  background-image: url("./assets/485X590_MEDIA.png");
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.esports {
  background-image: url("./assets/970X590_ESPORTS.png");
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.event-livestream::before,
.media-production::before,
.esports::before {
  content: "";
  display: block;
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.6s ease-in-out;
}

.event-livestream:hover::before,
.media-production:hover::before,
.esports:hover::before {
  background-color: rgba(0, 0, 0, 0);
}

.event-livestream-text,
.media-production-text,
.esports-text {
  color: #fff;
  /* font-family: "Apotek Wide"; */
  /* font-size: 1.875rem; */
  /* font-style: normal; */
  /* font-weight: 383; */
  /* line-height: 1.875rem;  */
  /* opacity: 20%; */
  /* transition: all 0.8s ease-in-out; */
}

.gradient-text {
  background: linear-gradient(90deg, #2837f8 5%, #db1080 40%, #ff0968 45%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.event-livestream:hover .event-livestream-text {
  opacity: 100%;
}

.media-production:hover .media-production-text {
  opacity: 100%;
}
.esports:hover .esports-text {
  opacity: 100%;
}

.event-livestream:hover .event-livestream-container::after {
  width: 100%;
}

.media-production:hover .media-production-container::after {
  width: 100%;
}
.esports:hover .esports-container::after {
  width: 100%;
}

.event-livestream-container::after,
.media-production-container::after,
.esports-container::after {
  position: absolute;
  bottom: -2rem;
  left: 0;
  z-index: 9999;
  content: "";
  width: 0%;
  height: 10px;
  transition: all 0.36s ease-in-out;
  background: linear-gradient(90deg, #2837f8 5%, #db1080 40%, #ff0968 45%);
}

.feature-project-title {
  color: #fff;
  font-size: 4rem;
  font-style: normal;
  font-weight: 716;
  line-height: 6.5625rem;
}

.client-partner-container {
  background: #01010e;
}

.feature-project-content {
  color: #fff;
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.875rem;
  letter-spacing: 0.0275rem;
}
.more-btn {
  background: #e51666;
  width: 12.375rem;
  height: 2.6875rem;
  flex-shrink: 0;
  transition: all 0.5s ease-in-out;
}

.more-btn:hover {
  background: #000;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  z-index: 9999999;
}

.display-image::after {
  z-index: 99999;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--display-image-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.35s ease-in-out;
  opacity: 1;
}

.display-image:hover::after {
  opacity: 0;
  /* background-image: none; */
}

.display-image:hover h1 {
  display: block;
}

.break-word {
  word-wrap: break-word; /* For older browsers */
  overflow-wrap: break-word; /* Modern standard */
}

.client-partner-title {
  font-size: 4.375rem;
  font-style: normal;
  font-weight: 716;
  line-height: 7.5rem; /* 171.429% */
  background: linear-gradient(90deg, #2837f8 5%, #db1080 40%, #ff0968 45%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-project-container {
  /* background: linear-gradient(180deg, #191919 0%, #01010e 100%); */
  background: #01010e;
  /* padding: 4rem 15rem 0 15rem; */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(5, 179px);
  grid-template-rows: repeat(5, 115px);
  width: calc(179px * 5); /* 895px */
  height: calc(115px * 5); /* 460px */
  /* margin: 0 auto; */
  gap: 0;
}
.merge-last-row {
  grid-column: 1 / -1;
  width: auto;
  color: rgba(219, 219, 219, 0.33);
  font-size: 22px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px; /* 136.364% */
  letter-spacing: 0.44px;
  filter: brightness(0.6) invert(1);
}

.grid-item {
  position: relative;
}

.grid-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.6) invert(1);
  transition: all 0.9s ease-in-out;
  position: relative;
}

.grid-item::after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-image: var(--display-brand-image-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;

  transition: all 0.4s ease-in-out;
}

.grid-item:hover:after {
  opacity: 1;
  /* background-image: none; */
}

/* .grid-item img:nth-child(2) {
  opacity: 0;
  display: none;
}

.grid-item img:nth-child(1) {
  opacity: 1;
}

.grid-item:hover img:nth-child(1) {
  opacity: 0;
  display: none;
}

.grid-item:hover img:nth-child(2) {
  opacity: 1;
  display: block;
} */

/* Initial States */

/* On Hover */
.grid-item:hover .image-default {
  opacity: 0;
}

.grid-item:hover .image-hover {
  opacity: 1;
}

.email-info::after {
  /* content: "";
  position: absolute;
  top: -8rem;
  left: 0;
  height: 10px;
  width: 100%;
  background: linear-gradient(90deg, #2837f8 5%, #db1080 40%, #ff0968 45%); */
}
