@media screen and (max-width: 575px) {
  html {
    font-size: 50%;
  }

  .container {
    max-width: 100%;
  }

  .col-1 {
    width: 8.33%;
  }

  .col-2 {
    width: 16.67%;
  }

  .col-3 {
    width: 25%;
  }

  .col-4 {
    width: 33.33%;
  }

  .col-5 {
    width: 41.67%;
  }

  .col-6 {
    width: 50%;
  }

  .col-7 {
    width: 58.33%;
  }

  .col-8 {
    width: 66.67%;
  }

  .col-9 {
    width: 75%;
  }

  .col-10 {
    width: 83.33%;
  }

  .col-11 {
    width: 91.67%;
  }

  .col-12 {
    width: 100%;
  }

  .search-category input {
    cursor: pointer;
    background-color: black;
    border: none;
    padding: 18px 0;
    border-radius: 60px;
    margin-top: 1px;
    height: 48px;
    margin-left: 9px;
  }

  .container {
    width: 100%;
    max-width: 992px;
    background-color: #000000cc;
    margin: 0 auto;
  }

  .game-data {
    padding: 44px 13px;
    background-color: #212121cf;
    margin: 0 26px;
    margin-top: -8px;
    border-bottom-left-radius: 33px;
    border-bottom-right-radius: 33px;
  }

  .term-main {
    width: 95% !important;
    max-width: 992px;
    background-color: #000000cc;
    margin: 0 auto;
  }

  .game-img h2 {
    position: absolute;
    top: 71px;
    font-size: 27px;
    color: white;
    font-family: "K2D";
  }

  .nav-links1 a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
  }

  .social a {
    font-size: 18px;
    margin: 5px;
  }

  .middle-footer h3 {
    font-size: 24px;
    color: wheat;
    margin-left: -7px;
    padding-bottom: 10px;
  }

  .games-fict {
    background-color: #292929cc;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 29px;
    margin: 0 12px;
    margin-top: 98px !important;
  }

  .game-title {
    display: none;
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.477);
    backdrop-filter: blur(3px);
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    font-size: 15px;
    transition: all 0.8s;
    border-bottom-left-radius: -9px;
    border-bottom-right-radius: -9px;
    padding: 16px 0;
    animation: 0.8s slide-bottom;
  }

  .pop {
    width: 82%;
    display: flex;
    justify-content: center;
    position: absolute;
    padding: 10px 21px;
    z-index: 999;
    color: white;
    background-color: #080808;
    border-radius: 12px;
    bottom: -137px;
    align-items: center;
    text-align: center;
  }

  #about {
    margin-top: 201px;
  }

  .title {
    font-size: 37px;
  }

  .div1 h2 {
    font-size: 30px;
    color: #66f100;
    font-family: "Chakra Petch", sans-serif;
  }

  .detail h2 {
    font-size: 29px;
  }

  .detail p {
    font-size: 13px;
  }

  .logo img {
    width: 174px;
    margin-left: -6px;
  }

  .main-box::before {
    width: 93%;
    height: 80%;
  }

  .sub-box {
    border-radius: 30px;
    background-color: rgb(22 22 22 / 49%);
    width: 92% !important;
    padding: 23px;
  }

  .sub-box h3 {
    font-size: 18px;
  }

  .sub-box p {
    font-size: 13px;
  }

  .data-dev h3 {
    font-size: 25px;
    color: white;
    padding-bottom: 11px;
    padding-top: 35px;
  }

  .data-dev p {
    font-size: 16px;
    color: rgb(160, 157, 157);
    padding-bottom: 10px;
  }

  .heading h2 {
    font-size: 32px;
    color: white;
    line-height: 40px;
    padding-left: 25px;
    padding-bottom: 17px;
  }

  .heading {
    padding-top: 85px;
  }
  .game-detail button a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 15px;
  }
  .card h2 {
    margin-bottom: 40px;
    font-size: 28px;
    color: white;
    font-weight: 400;
  }
}

.search-categories {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.category-games span {
  background-color: #9ef01a;
  padding: 7px 16px;
  border-radius: 22px;
  text-decoration: none;
  color: black;
  font-size: 17px;
  display: inline-block;
  cursor: pointer;
  margin: 3px 2px;
}

.game-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 2fr));
  gap: 20px;
  padding: 20px;
}

@media screen and (min-width: 576px) {
  html {
    font-size: 50%;
  }

  .container {
    max-width: 54rem;
  }

  .col-sm-1 {
    width: 8.33%;
  }

  .col-sm-2 {
    width: 16.67%;
  }

  .col-sm-3 {
    width: 25%;
  }

  .col-sm-4 {
    width: 33.33%;
  }

  .col-sm-5 {
    width: 41.67%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-7 {
    width: 58.33%;
  }

  .col-sm-8 {
    width: 66.67%;
  }

  .col-sm-9 {
    width: 75%;
  }

  .col-sm-10 {
    width: 83.33%;
  }

  .col-sm-11 {
    width: 91.67%;
  }

  .col-sm-12 {
    width: 100%;
  }

  .container {
    width: 90% !important;
    max-width: 992px;
    background-color: #00000000;
    margin: 0 auto;
  }

  .search-categories {
    display: flex;
    justify-content: center;
    margin-top: 14px;
  }

  .search-category input {
    cursor: pointer;
    background-color: black;
    border: none;
    padding: 13px 9px;
    color: white;
    height: 46px;
    margin: 3px 0px;
  }

  .game-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 2fr));
    gap: 20px;
    padding: 20px;
  }

  .game-img h2 {
    position: absolute;
    top: 71px;
    font-size: 26px;
    color: white;
    font-family: "K2D";
  }

  .nav-links1 {
    flex-direction: column;
  }

  .nav-links1 a {
    color: #fff;
    padding: 0 5px;
    text-decoration: none;
    font-size: 13px;
  }

  .games-fict {
    background-color: #323232cc;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 31px;
    margin: 0 12px;
    margin-top: 98px !important;
  }

  .game-title {
    display: none;
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.477);
    backdrop-filter: blur(3px);
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    font-size: 11px;
    transition: all 0.8s;
    border-bottom-left-radius: -9px;
    border-bottom-right-radius: -9px;
    padding: 16px 0;
    animation: 0.8s slide-bottom;
  }

  .pop {
    width: 82%;
    display: flex;
    justify-content: center;
    position: absolute;
    padding: 10px 21px;
    z-index: 999;
    color: white;
    background-color: #080808;
    border-radius: 12px;
    bottom: -172px;
    align-items: center;
    text-align: center;
  }

  #about {
    margin-top: 282px;
  }

  .div1 h2 {
    font-size: 37px;
    color: #66f100;
    font-family: "Chakra Petch", sans-serif;
  }

  .sub-box {
    border-radius: 30px;
    background-color: rgb(22 22 22 / 49%);
    width: 92% !important;
    padding: 23px;
  }
  .game-detail button a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 15px;
  }
}

@media screen and (min-width: 768px) {
  html {
    font-size: 56.25%;
  }

  .container {
    max-width: 72rem;
  }

  .col-md-1 {
    width: 8.33%;
  }

  .col-md-2 {
    width: 16.67%;
  }

  .col-md-3 {
    width: 25%;
  }

  .col-md-4 {
    width: 33.33%;
  }

  .col-md-5 {
    width: 41.67%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-7 {
    width: 58.33%;
  }

  .col-md-8 {
    width: 66.67%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-10 {
    width: 83.33%;
  }

  .col-md-11 {
    width: 91.67%;
  }

  .col-md-12 {
    width: 100%;
  }

  .container {
    width: 75% !important;
    max-width: 992px;
    background-color: #00000000;
    margin: 0 auto;
  }

  .games-fict {
    background-color: rgb(26, 26, 26);
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 26px;
    margin: 0 auto;
    text-align: center;
  }
  .game-card {
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 6px;
    background-color: #222222;
    border-radius: 17px;
  }
  .game-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .game-img h2 {
    position: absolute;
    top: 71px;
    font-size: 33px;
    color: white;
    font-family: "K2D";
  }

  .nav-links1 {
    flex-direction: column;
  }

  .nav-links1 a {
    color: #fff;
    padding: 10px 5px;
    text-decoration: none;
    font-size: 13px;
  }

  #about {
    margin-top: 264px;
  }

  .div1 h2 {
    font-size: 57px;
    color: #66f100;
    font-family: "Chakra Petch", sans-serif;
  }

  .sub-box {
    border-radius: 30px;
    background-color: rgb(22 22 22 / 49%);
    width: 48% !important;
    padding: 23px;
  }
  .game-detail button a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 15px;
  }
  .game-card {
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 10px;
    background-color: #222222;
    border-radius: 18px;
  }
}

@media screen and (min-width: 992px) {
  .container {
    max-width: 96rem;
  }

  .col-lg-1 {
    width: 8.33%;
  }

  .col-lg-2 {
    width: 16.67%;
  }

  .col-lg-3 {
    width: 25%;
  }

  .col-lg-4 {
    width: 33.33%;
  }

  .col-lg-5 {
    width: 41.67%;
  }

  .col-lg-6 {
    width: 50%;
  }

  .col-lg-7 {
    width: 58.33%;
  }

  .col-lg-8 {
    width: 66.67%;
  }

  .col-lg-9 {
    width: 75%;
  }

  .col-lg-10 {
    width: 83.33%;
  }

  .col-lg-11 {
    width: 91.67%;
  }

  .col-lg-12 {
    width: 100%;
  }

  .search-categories {
    display: flex;
    justify-content: end;
  }

  .search-categories {
    display: flex;
    justify-content: end;
    margin-top: 0;
  }

  .game-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .game-img h2 {
    position: absolute;
    top: 71px;
    font-size: 43px;
    color: white;
    font-family: "K2D";
  }

  .nav-links1 {
    flex-direction: column;
  }

  .nav-links1 a {
    color: #fff;
    padding: 10px 5px;
    text-decoration: none;
    font-size: 13px;
    padding-top: 0;
    display: inline-block;
  }

  .nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    padding: 8px 4px;
    border-radius: 5px;
    font-size: 17px;
  }

  .game-title {
    display: none;
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.477);
    backdrop-filter: blur(3px);
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    font-size: 13px;
    transition: all 0.8s;
    border-bottom-left-radius: -9px;
    border-bottom-right-radius: -9px;
    padding: 16px 0;
    animation: 0.8s slide-bottom;
  }

  .pop {
    width: 82%;
    display: flex;
    justify-content: center;
    position: absolute;
    padding: 22px 21px;
    z-index: 999;
    color: white;
    background-color: #080808;
    border-radius: 12px;
    bottom: -36px;
    align-items: center;
    text-align: center;
  }

  #about {
    margin-top: 117px;
  }
  .game-detail button a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 21px;
  }

  .game-card {
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 6px;
    background-color: #222222;
    border-radius: 17px;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 62.5%;
  }

  .container {
    max-width: 114rem;
  }

  .col-xl-1 {
    width: 8.33%;
  }

  .col-xl-2 {
    width: 16.67%;
  }

  .col-xl-3 {
    width: 25%;
  }

  .col-xl-4 {
    width: 33.33%;
  }

  .col-xl-5 {
    width: 41.67%;
  }

  .col-xl-6 {
    width: 50%;
  }

  .col-xl-7 {
    width: 58.33%;
  }

  .col-xl-8 {
    width: 66.67%;
  }

  .col-xl-9 {
    width: 75%;
  }

  .col-xl-10 {
    width: 83.33%;
  }

  .col-xl-11 {
    width: 91.67%;
  }

  .col-xl-12 {
    width: 100%;
  }

  .game-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .nav-links1 {
    flex-direction: column;
  }

  .nav-links1 a {
    color: #fff;
    padding: 10px 5px;
    text-decoration: none;
    font-size: 13px;
    padding-top: 0;
    display: inline-block;
  }

  .nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    padding: 8px 4px;
    border-radius: 5px;
    font-size: 19px;
  }

  .game-title {
    display: none;
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.477);
    backdrop-filter: blur(3px);
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    font-size: 18px;
    transition: all 0.8s;
    border-bottom-left-radius: -9px;
    border-bottom-right-radius: -9px;
    padding: 16px 0;
    animation: 0.8s slide-bottom;
  }
  .game-card {
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 10px;
    background-color: #222222;
    border-radius: 33px;
  }
}

@media screen and (min-width: 1400px) {
  .container {
    max-width: 132rem;
  }

  .col-xxl-1 {
    width: 8.33%;
  }

  .col-xxl-2 {
    width: 16.67%;
  }

  .col-xxl-3 {
    width: 25%;
  }

  .col-xxl-4 {
    width: 33.33%;
  }

  .col-xxl-5 {
    width: 41.67%;
  }

  .col-xxl-6 {
    width: 50%;
  }

  .col-xxl-7 {
    width: 58.33%;
  }

  .col-xxl-8 {
    width: 66.67%;
  }

  .col-xxl-9 {
    width: 75%;
  }

  .col-xxl-10 {
    width: 83.33%;
  }

  .col-xxl-11 {
    width: 91.67%;
  }

  .col-xxl-12 {
    width: 100%;
  }

  .game-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
  }
}

@media screen and (min-width: 1610px) {
  .container {
    max-width: 132rem;
  }

  .col-xxl-1 {
    width: 8.33%;
  }

  .col-xxl-2 {
    width: 16.67%;
  }

  .col-xxl-3 {
    width: 25%;
  }

  .col-xxl-4 {
    width: 33.33%;
  }

  .col-xxl-5 {
    width: 41.67%;
  }

  .col-xxl-6 {
    width: 50%;
  }

  .col-xxl-7 {
    width: 58.33%;
  }

  .col-xxl-8 {
    width: 66.67%;
  }

  .col-xxl-9 {
    width: 75%;
  }

  .col-xxl-10 {
    width: 83.33%;
  }

  .col-xxl-11 {
    width: 91.67%;
  }

  .col-xxl-12 {
    width: 100%;
  }

  .game-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .main-footer {
    flex-direction: column;
    align-items: baseline;
    gap: 20px;
    margin-left: 24px;
  }

  .left-footer img {
    width: 161px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
  }

  .social {
    justify-content: center;
  }

  .bottom-footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .nav-links1 a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
  }

  .social a {
    font-size: 18px;
    margin: 5px;
  }

  .left-footer img {
    width: 135px;
  }

  .middle-footer h3 {
    font-size: 24px;
    color: wheat;
    margin-left: -7px;
    padding-bottom: 10px;
  }
}

.hamburger {
  font-size: 24px;
  cursor: pointer;
  color: #7fdd4c;
  border: 2px solid #7fdd4c;
  padding: 4px 8px;
  border-radius: 6px;
  display: none;
}

@media (max-width: 1100px) {
  .hamburger {
    display: block;
    color: #7fdd4c;
    border: none;
    padding: 0 8px;
    border-radius: 6px;
  }

  .menu-bar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background-color: #000000cc;
    flex-direction: column;
    padding: 0 15px;
    gap: 10px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    z-index: 999;
    border-radius: 0 0 12px 12px;
  }

  /* When show class is added (menu open) */
  .menu-bar.show {
    max-height: 500px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    color: #fff;
    padding: 0 5px;
    text-decoration: none;
    font-size: 13px;
  }
}
