@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sora", sans-serif !important;
  /* border: 1px solid gray; */
}

/* toggle navigation in phone */
.active,
.open {
  display: block;
}

/* navbar section */
nav {
  z-index: 20;
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
}

nav ul li a {
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  height: 5px;
  width: 5px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(59, 59, 248, 0.705);
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  transition: all 400ms ease-in;
}

nav ul li a:hover::after {
  visibility: visible;
  opacity: 1;
}

/* header or hero section */
.hero {
  width: 100%;
  height: 75vh;
  /* overflow: hidden; */
}

@media screen and (max-width: 640px) {
  .hero .swiper-slide img {
    height: 50%;
    object-fit: fill;
  }
}
.hero .swiper {
  width: 100%;
  height: 100%;
}
.hero .swiper-slide {
  position: relative;
}

.hero .swiper-slide::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top right, black, transparent);
}

.hero .swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .swiper-pagination span {
  display: flex;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  background-color: rgb(231, 229, 229);
}

.hero .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* UPECOMING EVENTS SECTION */
.event,
.event_one {
  display: flex;
  align-items: center;
}
.event_one::after {
  content: "";
  display: block;
  flex: auto;
  height: 1px;
  margin-left: 10px;
  background-color: rgba(203, 200, 200, 0.639);
}

.event::after {
  content: "";
  display: block;
  flex: auto;
  height: 1px;
  margin-left: 10px;
  background-color: rgba(255, 255, 255, 0.205);
}

.swiperEvent {
  width: 100%;
  height: 100%;
}

.swiperEvent .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiperEvent .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OTHER GAMES SECTION */

.other_games {
  background: linear-gradient(to top right, rgba(0, 0, 0, 0.3), rgb(1, 1, 84)),
    url("../img/pexels-mikhail-nilov-7887719.jpg") no-repeat center center/cover;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
}

/* LATEST EVENT SECTION */

.latest_events {
  background: linear-gradient(to top right, rgba(0, 0, 0, 0.564), rgb(1, 1, 84)),
    url("../img/pexels-yan-krukov-9003001.jpg") no-repeat center center/cover;
  height: 100%;
  width: 100%;
}

/* GALLERY SECTION */

.gallery_section {
  background: linear-gradient(
      to top right,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.4)
    ),
    url("../img/pool.jpg") no-repeat center center/cover;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
}

/* products section */
.swiperProducts .swiper-pagination {
  bottom: 0;
  position: relative;
}

.swiperProducts .swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.swiperProducts .swiper-pagination span {
  display: flex;
  border-radius: 7px;
  width: 15px;
}

/* testimonial section */
.testimonial {
  background: linear-gradient(to top right, rgba(0, 0, 0, 0.3), rgb(1, 1, 84)),
    url("../img/ps4.jpg") no-repeat center center/cover;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
}

.swiper-testimonial {
  overflow: hidden;
}
.swiper-testimonial .swiper-slide {
  background: transparent;
}

/* elite games details footer section */
.game_detail--footer {
  background: linear-gradient(
      to top right,
      rgba(1, 0, 61, 0.741),
      rgba(14, 1, 57, 0.476)
    ),
    url("../img/ps4.jpg") no-repeat top center/cover;
  height: 50vh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}
