.navbar-brand {
  background: #0e975e;
  border-radius: 0 0 20px 20px;
  padding: 1rem 1.5rem;
  margin-right: 0;
}

.logo-pc {
  display: block;
}

@media (max-width: 1199px) {
  .logo-pc {
    display: none;
  }
}

.logo-mobile {
  display: none;
}

@media (max-width: 1199px) {
  .logo-mobile {
    display: block;
  }
}

a {
  text-decoration: none;
}

body {
  position: static;
  background: url("../../assets/img/bg.webp") 0 0 no-repeat;
  background-attachment: fixed;
  font-size: 1.25rem;
  font-family: 'Bebas Neue', sans-serif;
  color: white;
}

body:before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 320px;
  background: linear-gradient(to bottom, #2d6819 0%, #2d6819 120px, #2d6819 50%, transparent 100%);
  content: "";
  z-index: -1;
}

.navbar > .container {
  align-items: start;
}

@media (max-width: 1199px) {
  .navbar > .container {
    align-items: center;
  }
}

@media (min-width: 1199px) {
  .navbar-nav {
    flex-flow: row nowrap;
    gap: 4rem;
    padding: 1rem 0;
  }
}

@media (min-width: 1200px) and (max-width:1399px) {
  .navbar-nav {
    flex-flow: row nowrap;
    gap: 3rem;
    padding: 1rem 0;
  }
}

.nav-link {
  color: white;
  text-transform: uppercase;
  font: 400 1.375rem/24px Bebas Neue,sans-serif;
  white-space: nowrap;
  flex-flow: row nowrap;
  align-items: center;
  gap: .5rem;
}

.nav-link svg {
  width: 30px;
  height: 20px;
  margin-right: 3px;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: #ffd782;
}

.nav-link:focus, .nav-link:hover {
  color: #ffd782;
}

@media (max-width: 1199px) {
  .nav-link svg {
    display: none;
  }
}

.navbar-toggler {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.search-btn {
  cursor: pointer;
  font-size: 18px;
  color: white;
  display: flex;
  align-items: center;
  /*padding: 10px 5px;*/
}

@media (min-width: 1200px) {
  .search-btn {
    padding: 25px 5px;
  }
}

/* Search Modal */

.search-modal {
  background: rgba(42, 112, 43, 0.87);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  transition: 0.4s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
}

.search-modal-content {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 790px;
  color: #fff;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  margin: 0 auto;
  padding: 0 50px;
}

.search-modal.active {
  display: flex;
  transition: 0.4s;
  z-index: 10000;
}

.search-modal .search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 8px;
  background: #6a19c4;
  position: relative;
}

.search-modal .search-field {
  padding: 0;
  padding: 10px;
  padding-right: 0;
  border: 0;
  border-radius: 5px;
  height: auto;
  font-size: 20px;
  width: 360px;
  font-weight: bold;
  line-height: 1;
  color: #ececec;
  background: transparent;
  font-weight: normal;
}

.search-modal .search-field::placeholder {
  color: white;
}

.form-control:focus {
  box-shadow: none;
}

.search-modal .close-btn {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 45px;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  -webkit-text-stroke: 2px black;
}

.search-modal .close-btn:hover {
  color: rgba(255,255,255,1);
}

.search-cont {
  display: flex;
  background: rgba(239, 246, 255, .1019607843);
  border: 1px solid #eff6ff1a;
  overflow: hidden;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
}

.search-cont .search__button {
  background: none;
  border: none;
  padding: 0 16px;
  font-size: 18px;
  height: 46px;
}

.search-cont .search__button:hover, .search__button:focus, .search__button:active {
  background: none !important;
}

/* main */

.section-title {
  margin: 1.375rem 0;
  color: white;
  font: 400 2rem / 1 Bebas Neue, sans-serif;
}

@media screen and (min-width: 1280px) {
  .section-title {
    font-size: 3.438rem;
  }
}

.card-masonry {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  grid-gap: 15px;
  grid-auto-rows: auto;
  grid-auto-flow: dense;
}

@media (max-width: 992px) {
  .card-masonry {
    grid-template-columns: repeat(5,1fr);
  }
}

@media (max-width: 768px) {
  .card-masonry {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 575px) {
  .card-masonry {
    grid-template-columns: repeat(2,1fr);
  }
}

.card-masonry .card {
  aspect-ratio: 1/1;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  border: none;
}

.card-masonry .card.big {
  grid-column: span 2;
  grid-row: span 2;
}

.card-masonry .card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.card-masonry .card-body {
  color: white;
  position: absolute;
  z-index: 0;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #6a19c4;
  border-radius: 15px;
  backface-visibility: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  text-decoration: none;
  transition: opacity .6s ease-in-out;
}

.card-body:after {
  position: absolute;
  z-index: -2;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-color: #112a5dbf;
  content: "";
}

.card:hover .card-body {
  opacity: 1;
}

.card-title {
  padding: 1rem 1.5rem 0;
  border-radius: 20px 20px 0 0;
  color: var(--app-color-text);
  font: 500 1.375rem / 1.1 Bebas Neue, sans-serif;
  text-align: center;
  transition: transform .3s ease-in-out;
}

.card-play {
  color: #ffd782;
  text-align: center;
}

.card-play svg {
  width: 2rem;
  height: 2rem;
  fill: #ffd782;
}

/* topgame */

.topgame {
  background: var(--bs-purple);
}

/* games */

.games {
  display: grid;
  gap: 0.5rem;
}

@media screen and (min-width: 1024px) {
  .games {
    grid-template-columns: 14rem auto;
  }
}

@media screen and (min-width: 1280px) {
  .games {
    grid-template-columns: 20rem auto;
  }
}

.gameside {
  padding: 1.125rem 1.5rem;
  border-radius: 20px;
  background-color: #2a702b;
  grid-template-columns: 20rem auto;
}

.items {
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
}

.game-side {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 1rem;
}

.game-side__thumb {
  width: 55px;
  flex: none;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.game-side__title {
  overflow: hidden;
  color: white;
  font: 400 1.375rem / 1 Bebas Neue, sans-serif;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gamesbox {
  display: grid;
  justify-content: center;
  counter-increment: section;
  counter-reset: chapter;
  grid-auto-flow: row dense;
  grid-gap: .5rem;
  grid-template-columns: repeat(5,1fr);
}

@media (max-width: 768px) {
  .gamesbox {
    grid-template-columns: repeat(3,1fr);
    grid-gap: 15px;
  }
}

@media (max-width: 575px) {
  .gamesbox {
    grid-template-columns: repeat(2,1fr);
    grid-gap: 15px;
  }
}

.text {
  background: #2a702b;
  padding: 1.125rem 1.5rem;
  border-radius: 20px;
}

.text p, .text ul {
  font-family: arial;
}

.text a {
  color: #ffd782;
  font-weight: 500;
  text-decoration: underline;
}

/* footer */

footer {
  margin-top: 3rem;
  background-color: #2a702b;
}

.ft {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1333333333);
}

.footmenu {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  padding: 1rem 0;
  margin: 0;
  gap: 4rem;
  list-style: none;
}

.footmenu a {
  color: white;
}

@media (max-width: 575px) {
  .ft, .footmenu {
    flex-flow: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .footmenu {
    padding: 0;
  }
}

/* categories */

.card-masonry.card-categories-page {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 768px) {
  .card-masonry.card-categories-page {
    grid-template-columns: repeat(3,1fr);
    grid-gap: 15px;
  }
}

@media (max-width: 575px) {
  .card-masonry.card-categories-page {
    grid-template-columns: repeat(2,1fr);
    grid-gap: 15px;
  }
}

.breadcrumb-item a {
  color: #ffd782;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: white;
}

.single-head {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin: 0 0 1rem;
  gap: 1rem;
}

.single-head img {
  width: 3.25rem;
  border-radius: 15px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.single-head .title {
  padding-top: 3px;
  color: white;
  font: 400 3.438rem / 1 Bebas Neue, sans-serif;
}

.single-head__rating {
  padding-left: 1rem;
}

.vote-block {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.vote-block ol.rating {
  position: relative;
  padding: 0 !important;
}

.vote-block .rating {
  display: flex;
  flex-flow: row-reverse nowrap;
  padding: 0;
  margin: 0 10px 0 0;
  background: none !important;
  list-style: none;
  vertical-align: middle;
}

.vote-block ol.rating li {
  position: relative;
  z-index: 2;
  cursor: default;
  /*font-size: 0;*/
}

.vote-block .rating li {
  display: block;
  margin-bottom: 0 !important;
  cursor: pointer;
}

.vote-block .rating li .icon {
  width: 2rem;
  height: 2rem;
  fill: #f5e10f;
  pointer-events: none;
}

.vote-block .rating li.current .icon, .vote-block .rating li.current ~ li .icon {
  fill: #f5e10f;
}

.vote-block__info {
  position: relative;
  display: block;
  padding-top: 4px;
  font: 400 1.375rem / 1 Bebas Neue, sans-serif;
}

.intro {
  font-family: arial;
}

/* game-play */

.game-player {
  background-color: #dedede;
  color: white;
  border-radius: 10px;
}

.game-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0.75rem;
}

.game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
}

.game-meta {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  padding: .75rem;
  border-radius: 20px;
  margin: 1rem 0 0;
  background-color: #6a19c4;
}

.game-meta__actions {
  display: flex;
  flex-flow: row nowrap;
  margin-left: auto;
  gap: 2rem;
  color: white;
}

.game-meta__actions > *:not(:last-child) {
  position: relative;
}

.game-meta__actions > *:not(:last-child):after {
  position: absolute;
  top: 3px;
  right: -1rem;
  bottom: 3px;
  width: 1px;
  background-color: #fff;
  content: "";
}

.game-meta__btn .icon {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  min-height: 2rem;
  box-sizing: border-box;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  padding: calc(.75rem + 2px) 1.5rem calc(.75rem - 1px);
  border: 1px solid #99ff82;
  border-radius: 20px;
  background-color: #dc4098;
  color: white;
  cursor: pointer;
  font: 400 1.375rem / 1 Bebas Neue, sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
  transition: .4sease-in-out;
}

.btn:hover, .btn:focus, .btn:active {
  background-color: #e7644c;
  text-decoration: none;
}

.tags {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.tag-link {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  padding: .375rem 1rem;
  border: 1px solid #99ff82;
  border-radius: 15px;
  background-color: #2a702b;
  color: #fff;
  font: 400 1.375rem / 1 Bebas Neue, sans-serif;
  gap: .5rem;
  text-decoration: none;
}

.card-masonry.card-detail {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
  .card-masonry.card-detail {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .card-masonry.card-detail {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 575px) {
  .card-masonry.card-detail {
    grid-template-columns: repeat(2,1fr);
  }
}

