@font-face {
  font-family: NunitoSans;
  src: url(NunitoSans.ttf);
}
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  scroll-behavior: smooth;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  font-family: NunitoSans;
  
}

ul {
  list-style: none;
  list-style-type: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
  color: white;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: 100;
  
}

/*=============== MAIN ============*/

.ppp{
    color: #777;
}

.huh{
    cursor: pointer;
    color: #777;
}
.huh:after{
    content:'';
    width: 0%;
    height: 2px;
    background: lightskyblue;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.huh:hover:after {
  /*color: lightskyblue;
  border-bottom: 5px solid lightskyblue;*/
  width: 20%;
}

.huh2{
    color: black;
}

.stt {
  position: fixed;
  display: inline-block;
  right: 1rem;
  bottom: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  bottom: 30px;
  right: 30px;
  text-align: center;
  background-color: #FF9800;
  /*background: rgb(128, 128, 255) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='currentColor' d='M352 352c-8.188 0-16.38-3.125-22.62-9.375L192 205.3l-137.4 137.4c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0l160 160c12.5 12.5 12.5 32.75 0 45.25C368.4 348.9 360.2 352 352 352z'%3E%3C/path%3E%3C/svg%3E") center no-repeat;*/
  box-shadow: 0 0.25rem 0.5rem 0 gray;
  opacity: 0.7;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  z-index: 1;
}

.stt:hover {
  opacity: 0.8;
  background-color: #333;
}

.stt:focus {
  opacity: 0.9;
  
}

.stt:active {
  opacity: 1;
  background-color: #555;
}

.stt:after{
    content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

.main{
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4,9,30,0.7)), url(images/BG-RG2.png);
    background-position: fixed;
    background-size: cover;
    position: relative;
    z-index: 10;
}

#logo {
  filter: grayscale(0%);
  transition: all 1s ease;
  border-radius: 10px;
}

#logo:hover {
  /*transform: translateY(10px);*/
  filter: grayscale(100);
  transform: scale(1.2);
  transition: all 1s ease;
}

.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 2s ease;
}

.reveal.active{
    transform: translateY(0px);
    opacity: 1;
}


.secondtxt {
  color: yellow;
}

.pkk{
  text-align: left;
  color: white;
  margin-left: 10px;
  margin-bottom: 20px;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;
    cursor: pointer;
    transition: 0.5s all ease;
}

.text-box h1:hover{
    color: aqua;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.main-g{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.mode-g{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.privacy{
    width: 80%;
    margin: auto;
    text-align: left;
    padding-top: 100px;
}

.row {
  flex-basis: 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mode-col{
    flex-basis: 31%;
    background: #b3ffff;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.mode-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

.action-btn{
    background-color: aqua;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}


.action-btn:hover{
    scale: 1.05;
    color: #fff;
}

.action-btn:active{
    scale: 0.95;
}


.profile-g{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.profile-g h1{
    color: #fff;
}

#ind{
    color: #fff;
}

.IDN{
    background:linear-gradient(rgba(4, 9, 30, 0.7), rgba(4,9,30,0.7)) ;
}

.EMBED{
    background:linear-gradient(rgba(4, 9, 30, 0.7), rgba(4,9,30,0.7)) ;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px; /* Sesuaikan lebar maksimum */
  margin: 20px auto; /* Pusatkan video */
}

.video-container iframe {
  width: 100%;
  height: 450px; /* Atur tinggi video */
  border-radius: 10px; /* Opsional: buat sudut membulat */
}




.profile-col{
    flex-basis: 31%;
    background: #b3ffff;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.profile-col:hover{
    box-shadow: 0 0 20px 0px rgba(255,255,255,0.8);
}

#demo{
    font-size: 20px;
    font-weight: 600;
    color: yellow;
}


.col-2 {
  flex-basis: 50%;
  min-width: 300px;
}

.col-2 img {
  max-width: 100%;
  padding: 50px 0;
}

.col-2 h1 {
  font-size: 50px;
  line-height: 60px;
  margin: 25px 0;
}

.small-container {
  max-width: 1080px;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
}

/*.footer {
  background-color: #454545;
  color: #8a8a8a;
  font-size: 14px;
  padding: 60px 0 20px;
}*/

.footer p {
  color: #8a8a8a;
}

.app-logo {
  margin-top: 20px;
  padding-left: 3px;
  padding-right: 3px;
  transition: all 1s ease;
  
}

.app-logo img {
  width: 40px;
}

.app-logo:hover {
  transform: scale(1.2);
  transition: all 1s ease;
}

.app-logo1 {
  margin-top: 30px;
  padding-left: 5px;
  padding-right: 5px;
  transition: all 1s ease;
}

.app-logo1 img {
  width: 30px;
}

.app-logo1:hover {
  transform: scale(1.2);
  transition: all 1s ease;
}

.app-logo2 {
  margin-top: 28px;
  padding-left: 5px;
  padding-right: 5px;
  transition: all 1s ease;
}

.app-logo2 img {
  width: 25px;
}

.app-logo2:hover {
  transform: scale(1.2);
  transition: all 1s ease;
}

/* Kolom 1: Logo + Nama Studio */
.footer-col-1 {
  display: flex;
  align-items: center;
  gap: 10px; /* Jarak antara logo dan teks */
}

.footer-logo {
  width: 80px; /* Ukuran logo */
  height: 80px;
}

/* Kolom 2: Sosial Media */
.footer-col-2 a {
  color: white;
  font-size: 24px;
  margin: 0 10px;
  text-decoration: none;
  transition: 0.3s;
}


.footer-col-3{
  flex-basis: 30px;
  flex-wrap: flex;
  display: inline-flex; 
}

.footer-col-1,
.footer-col-2,
.footer-col-3 {
  min-width: 250px;
  margin-bottom: 20px;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--black-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--white-color);
    padding-top: 1rem;
  }
}

.nav__link {
  color: var(--black-color);
  background-color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  /*background-color: var(--black-color-light);*/
  /*background-color: var(--white-color);*/
  color: #c4c4c4;
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--black-color);
  background-color: var(--white-color);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: #c4c4c4;
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--white-color);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}





/*TEST*/
#game {

  padding: 70px 0;
  background: #efefef;
  width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.game-box {
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
}

.game-box {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
  
}

.game-single {
  flex-basis: 48%;
  text-align: center;
  border-radius: 7px;
  margin-bottom: 20px;
  color: white;
  height: 270px;
}

.game-single img {
  width: 100%;
  height: 270px;
  border-radius: 5px;
}

.overlay {
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  border-radius: 5px;
  cursor: pointer;
  background: linear-gradient(rgba(255, 255, 255, 0.5), #00ffff);
  opacity: 0;
  transition: 1s;
  margin-top: -285.5px;
}

.game-single:hover .overlay {
  
  opacity: 1;
}

.game-desc {
  width: 80%;
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: 1s;
  margin-top: -100px;
}

.game-single:hover .game-desc {
  bottom:-50%;
  opacity: 1;
}

.game-desc p{
  font-size: 16px;
}

/* Footer Styling */
.footer {
  background-color: #222;
  color: white;
  padding: 20px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

/* Kolom 1: Nama Studio */
.footer-col-1 h3 {
  margin-bottom: 5px;
}

/* Kolom 2: Sosial Media */
.footer-col-2 a {
  color: white;
  font-size: 24px;
  margin: 0 10px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col-2 a:hover {
  color: #ffcc00;
}

/* Responsif: Jika layar kecil */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    padding: 15px;
  }

  .footer-col-2 a {
    font-size: 28px;
  }
  
    .footer-logo {
    width: 50px; /* Ukuran lebih kecil untuk layar kecil */
    height: 50px;
  }
}
