/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&amp;display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #d1b900;
  --first-color-lighten: #7a7a7a;
  --title-color: #ff0000;
  --text-color: #656e81;
  --body-color: #000000;
  --nav-color: #3f3f3f;
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Scrollbar */
body::-webkit-scrollbar {
  width: 2px;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: #ff7e7e;
  outline: 0.5px solid rgb(27, 26, 13);
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  max-width: 1920px;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 7px 15px hsl(0, 0%, 0%);
  background-color: var(--nav-color);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  height: 48px;
  transition: color 0.3s;
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__toggle-menu,
.nav__toggle-close {
  font-size: 1.25rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.nav__toggle-close {
  opacity: 0;
}

.login-Mobile {
  display: none;
  position: absolute;
}

@media screen and (max-width: 1118px) {
  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }

  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }

  .login-Mobile {
    display: inline;
    background: linear-gradient(45deg, #ffc800 0%, #d7bb1f 51%, #fdf10b 100%);
    padding: 3px 17px;
    border-radius: 50px;
    color: #000000;
    box-sizing: border-box;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    right: 70px;
  }
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.nav__link:hover {
  background-color: var(--first-color-lighten);
}

.nav__link.active {
  color: #eca200;
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__button {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__content,
.dropdown__group,
.dropdown__list {
  display: grid;
}

.dropdown__container {
  background-color: var(--first-color-lighten);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}

.dropdown__content {
  row-gap: 1.75rem;
}

.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}

.dropdown__group:first-child {
  margin-top: 1.25rem;
}

.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}

.dropdown__icon i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.dropdown__list {
  row-gap: 0.25rem;
}

.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: color 0.3s;
}

.dropdown__link:hover {
  color: var(--title-color);
}

/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {

  /* Nav */
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    column-gap: 3rem;
    height: 100%;
  }

  .nav li {
    display: flex;
  }

  .nav__link {
    padding: 0;
  }

  .nav__link:hover {
    background-color: initial;
  }

  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }

  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: var(--body-color);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }

  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }

  .dropdown__group:first-child,
  .dropdown__group:last-child {
    margin: 0;
  }

  .dropdown__list {
    row-gap: 0.75rem;
  }

  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
  }

  .dropdown__icon i {
    font-size: 2rem;
  }

  .dropdown__title {
    font-size: var(--normal-font-size);
  }

  .dropdown__link {
    font-size: var(--small-font-size);
  }

  .dropdown__link:hover {
    color: var(--first-color);
  }

  .dropdown__item {
    cursor: pointer;
  }

  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }

  .dropdown__item:hover>.dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}

@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
}

/* Card Jadwal Items CSS */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600&amp;display=swap');

.card-container {
  max-width: 1500px;
  margin: 110px auto;
  font: 1em/1.618 Inter, sans-serif;
  align-items: center;
  justify-content: center;
  font-family: poppins;
  display: grid;
  padding: 2rem 8rem;
  grid-template-columns: repeat(auto-fit, minmax(475px, 1fr));
  gap: 50px;
}

.card_box {
  width: 550px;
  height: 200px;
  border-radius: 20px;
  background: #877e5e;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: all .3s;
}

.card_box:hover {
  transform: scale(1.1);
}

.card_box .images {
  display: flex;
  position: absolute;
  margin-top: 5px;
  width: 270px;
  height: 150px;
}

.card_box h3 {
  display: inline-flexbox;
  align-items: end;
  text-align: end;
  color: #000000;
  margin-top: 50px;
  margin-right: 25px;
}

.card_box .jadwal {
  text-align: end;
  color: #ffbb00;
  margin-top: -10px;
  margin-right: 25px;
}

.card_box span {
  position: absolute;
  overflow: hidden;
  width: 150px;
  height: 150px;
  top: -10px;
  left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_box span::before {
  content: 'Pasaran';
  position: absolute;
  width: 150%;
  height: 40px;
  background-image: linear-gradient(45deg,  #ffc800 0%, #d7bb1f 51%, #fdf10b 100%);
  transform: rotate(-45deg) translateY(-20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.23);
}

.card_box span::after {
  content: '';
  position: absolute;
  width: 10px;
  bottom: 0;
  left: 0;
  height: 10px;
  box-shadow: 140px -140px #fdf10b;
  background-image: linear-gradient(45deg,  #ffc800 0%, #d7bb1f 51%, #fdf10b 100%);
}

.PLAY {
  background-image: linear-gradient(45deg,  #ffc800 0%, #d7bb1f 51%, #fdf10b 100%);
  padding: 9px 20px;
  display: inline-flex;
  margin: 15px 80px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  color: #000000;
}

/* Mobile Query */
@media (max-width: 769px) {
  .card-container {
    margin: 50px auto;
    display: grid;
    padding: 1rem 2rem;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  }

  .card-container .card_box {
    width: 350px;
    height: 170px;
  }

  .card_box .images {
    width: 210px;
    height: 110px;
  }

  .card_box h3 {
    margin-top: 30px;
    font-size: 12pt;
  }

  .PLAY {
    padding: 5px 15px;
    font-size: 9pt;
    margin: 15px 40px;
  }

}

@media (max-width: 768px) {

  .card-container {
    display: grid;
    padding: 3rem 5rem;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  }

  .card-container .card_box {
    width: 320px;
    height: 170px;
  }

  .card_box .images {
    width: 210px;
    height: 110px;
    margin-left: -20px;
  }

  .card_box h3 {
    margin-top: 30px;
    font-size: 10pt;
  }

  .card_box .jadwal {
    font-size: 8pt;
    margin-top: -1px;
  }

  .PLAY {
    padding : 8px 15px;
    font-size: 7pt;
  }

  .card_box span {
    width: 130px;
    height: 120px;
  }

  .card_box span::before {
    width: 140%;
    height: 30px;
    z-index: 1;
  }

  .card_box span::after {
    width: 5px;
    height: 5px;
    
  }

}

/* Footer */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&amp;display=swap');

.row {
  display: flex;
  flex-wrap: wrap;
}

ul {
  list-style: none;
}

.footer {
  background-color: #333333;
  padding: 70px 0;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer-col h4 {
  font-size: 18px;
  color: #e40808;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #e40808;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  font-weight: 300;
  color: #bbbbbb;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #edc33a;
  padding-left: 8px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #ffffff;
  background-color: #900000;
}

footer .cr-con {
  background-color: #000000;
  color: white;
  text-shadow: 0 10px 8px#000000;
  padding: 1rem 4rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: -110px;
}

/*responsive*/
@media(max-width: 767px) {
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
}

@media(max-width: 574px) {
  .footer-col {
    width: 100%;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: shadow for better visual */
}

.navbar .logo {
  padding-left: 400px; /* Geser logo ke kanan */
}

.navbar .logo img {
  width: 120px;
  height: auto;
}
.navbar .menu {
  display: flex;
  list-style: none;
}
.navbar .menu li {
  margin-left: 20px;
}
.navbar .menu li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 18px;
}
.navbar .menu li a:hover {
  color: #000000;
}

/* Mobile Menu Button */
.navbar .menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 25px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .menu {
      display: none;
      flex-direction: column;
      background-color: #333;
      position: absolute;
      top: 50px;
      right: 20px;
      width: 200px;
  }
  .navbar .menu li {
      margin: 15px 0;
      text-align: center;
  }
  .navbar .menu-btn {
      display: block;
      color: white;
  }
  .navbar .menu.active {
      display: flex;
  }

  .navbar .logo {
    padding-left: 0; /* Hapus padding di tampilan mobile */
}
}

/* Content styling for demonstration */
.content {
  padding: 20px;
  height: 2000px; /* To demonstrate the sticky navbar */
}

