@font-face {
  font-family: 'Myfont';
  src: url('css/Splatch.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.custom-font-RTPGacor {
  font-family: 'Myfont', sans-serif;
  font-size: 25px;
}
.custom-font-title {
  font-family: 'Myfont', sans-serif;
}
.custom-font-percentage {
  font-family: 'Myfont', sans-serif;
  font-size: 10px;
}
body {
  background-color: #151424;
  font-family: 'fantasy', sans-serif;
  color: white;
  text-align: center;
}
.category-title {
  font-size: 1.8em;
  font-weight: bold;
  margin: 1px 0px;
  padding-bottom: 5px;
  animation: titleFlash 1s infinite;
  background-color: #151424;
}
@keyframes titleFlash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}
.sticky-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 1000;
  margin-top: 5px;  
}
.space-betweennav {
  height: 20px;
  background-color: #151424;
  width: 100%;
}
.flex-scroll-x {
  display: flex;
  overflow-x: auto;
}
.rtp-tabs {
  scroll-snap-type: x mandatory;
  padding: 10px;
  background-color: #151424;
}
.rtp-tab-link {
  scroll-snap-align: start;
}
.center-text-black {
  color: black;
  padding: 0 0;
  margin: 0 0;
}
.logo-container,
.logo-container-2 {
  margin: 1px 0;
  padding: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.logo-container img {
  width: 60%;
  max-width: 80%;
  height: auto;
  margin-bottom: 1px;
}
.logo-container-2 img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1px;
}
.pulse-button-awal,
.pulse {
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.button-36 {
  background: #200f42;
  border-radius: 8px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.button-36-secondary {
  background-color: #0b2873;
}
.button-36-primary {
  background-color: #e51b0a;
}
.photo-button {
  margin: 5px;
  cursor: pointer;
  background-color: #ffffff;
  border: 2px solid #E4A0F7;
  box-sizing: border-box;
}
.photo-button img {
  width: 50px;
  height: 50px;
  padding: 5px;
  margin: 5px;
}
.progress-bar {
  width: 100%;
  background-color: #AeB6B8;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.progress {
  height: 20%;
  background-color: #AeB6B8;
  transition: width 1s ease-in-out;
}
.progress[style*="--bar-color: #1E8449"] {
  background-color: #1E8449;
}
.progress[style*="--bar-color: #FF1100"] {
  background-color: #FF1100;
}
.progress[style*="--bar-color: #FFd700"] {
  background-color: #FFd700;
}
.percentage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;

}
.popup-content {
  background-color: #151424;
  color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  max-width: 400px;
}
.popup-content h2 {
  font-weight: bold;
  background-color: #00008B;
  border:2px solid white;
}
.popup-content p {
  margin: 10px 0;
}
.popup-content p.provider,
.popup-content p.fuel {
  display: flex;
  justify-content: space-between;
  background-color: #000000;
  padding: 2px 0px;
  margin: 0;
}
.popup-content p.provider strong,
.popup-content p.fuel strong {
  margin-right: 10px;
}
.popup-content p.provider .category-value,
.popup-content p.fuel .fuel-value {
  font-weight: bold;
}
.popup-content p.special-pattern {
  background-color: #800080;
}
.popup-content p.repeat,
.popup-content p.turbo {
  background-color: #90EE90;
  color: #000000;
  font-weight: bold;
  margin: 0;
}
.popup-content .special-pattern {
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 5px;
  border:2px solid white;
}
.popup-button.pulse {
  background-color: #FF0000;
  color: #FFFFFF;
  animation: pulse 1s infinite;
  font-weight: bold;
  border:2px solid white;
}
.popup-button-go {
  background-color: #000000;
  color: #FFFFFF;
}
.blinking {
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.popup-content .button-container {
  margin-top: 20px;
}
.popup-text {
  font-size: 24px;
}
.popup-image,
.popup-content img {
  max-width: 100%;
  max-height: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.popup-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #200f42;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 0 10px;
}
.justified-list {
  list-style: none;
  padding-left: 20px;
  text-align: justify;
}
.justified-list li {
  display: inline-block;
  position: relative;
  padding-left: 15px;
  margin-right: 20px;
}
.justified-list li::before {
  content: "•";
  color: white;
  position: absolute;
  left: 0;
}
.menu-flash {
  display: inline-block !important;
  padding: 2px;
  z-index: 1;
  animation: pragmaticGlow 1.5s ease-in-out infinite;
  will-change: opacity, box-shadow; 
}
.menu-flash {
  display: inline-block !important;
  padding: 1px;
  z-index: 1;
  animation: pragmaticGlow 1.5s ease-in-out infinite;
  will-change: background-color, opacity; /* Hint to the browser for optimization */
}
@keyframes pragmaticGlow {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 50px #E4A0F7);
  }
 100% {
    opacity: 0.8;
    filter: drop-shadow(0 0 3px #E4A0F7);
  }
}
.menu-flash img {
  animation: pragmaticGlow 0.5s infinite;
}
.article {
  border: 2px solid white;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.article h2 {
  text-align: center;
  margin-bottom: 10px;
}
.article p {
  text-align: justify;
}
@media (max-width: 539px) {
  .popup-content img {
    width: 100%;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border: 2px solid white;
    padding-bottom: 30px; 
  }
  .product img {
    margin-top: 10px;
    width: 100px;
    height: 100px;
  }
  .progress-bar {
    border: 1px solid white; 
  }
}
@media (min-width: 540px) and (max-width: 768px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border: 2px solid white;
    padding: 10px; 
  }
  .product img {
    margin-top: 10px;
    width: 150px;
    height: 150px;
  }
}
@media (min-width: 769px) and (max-width: 1920px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    border: 2px solid white;
    padding: 10px; 
  }
  .product img {
    margin-top: 20px;
    width: 200px;
    height: 200px;
  }
  .progress-bar {
    max-width: 200px;
    margin: 0 auto;
    border-radius: 10px;
  }
  .progress {
    height: 20px;
  }
  .percentage {
    font-size: 14px;
  }
}
@media (min-width: 1920px) {
  .gallery {
    border: 2px solid white;
    padding: 10px; 
  }
.logo-container,
.logo-container-2 {
  margin: 1px 0;
  padding: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.logo-container img {
  width: 20%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1px;
}
.logo-container-2 img {
  width: 50%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1px;
}
}