/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



body {
  font-size: 18px;
}
h1 {
  font-size: 2rem!important;
}
h2 {
  font-size: 1.7rem!important;
}

/* Base styles for the image container */
.game-element .gb-container {
  position: relative;
  overflow: hidden;
  border-radius: 10%;
}

/* Styles for the image within the container */
.game-element .gb-container .gb-block-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
  cursor: pointer;
}

/* Hover styles for the image container */
.game-element .gb-container:hover .gb-block-image {
  transform: scale(1.05);
}

/* Drop shadow styles for the image container */
.game-element .gb-container .gb-block-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(128, 0, 128, 0.7),
    rgba(128, 0, 128, 0)
  );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.game-element .gb-container:hover .gb-block-image::before {
  opacity: 1;
}

.game-element .gb-container:hover::before {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Headline styles */
.game-element .gb-headline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 5px;
  margin: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
}

/* Hover styles for the headline */
.game-element .gb-container:hover .gb-headline {
  opacity: 1;
}

/* Headline link styles */
.game-element .gb-headline a {
  color: inherit;
  text-decoration: none;
}

[class^="gb-container-"] {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2)!important;
}

/* Additional styles for game container */
#game-container {
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}


#game-info-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
}

#game-info {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
}
/* Media Query for Mobile Devices */
@media only screen and (max-width: 600px) {
  #game-info img {
    width: 100%; /* Make it fill the container width on mobile */
    height: auto; /* Automatically adjust the height to maintain the aspect ratio */
  }
}
#game-info img {
  width: 50px;
  height: 50px;
  min-height:100%;
  margin-right: 10px;
  border-radius: 10px;
}



#game-info div {
  display: flex;
  flex-direction: column;
}

#game-info h1 {
  margin: 0;
  margin-bottom: 3px;
  font-size: 1.5em;
}

#game-info p {
  margin: 0;
  font-size: 80%;
}

#fullscreen-button {
  display: flex;
  align-items: center;
}

#fullscreen-button span {
  display: flex;
  align-items: center;
}

#fullscreen-button span svg {
  margin-right: 5px;
	width:35px;
	height:35px;
}

button,
input,
textarea {
  border-radius: 10px !important;
}

.control-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px; /* Adjust the spacing as needed */
}

/* Hover effect for the fullscreen button */
#fullscreen-button {
    cursor: pointer;
    color: #0866ff;
    text-decoration: none;
    transition: color 0.5s ease, transform 0.3s ease;
}

/* Change color when hovering over the fullscreen button */
#fullscreen-button:hover {
  color: #0553cc; /* Color on hover */
  transform: scale(1.07);
}

/* Increase the spacing between the select and the fullscreen button */
#server-select {
  margin-right: 20px; /* Adjust the spacing as needed */
}
select {
  cursor: pointer;
  padding: 15px; /* Optional: Add padding to make it look better */
  border-radius: 10px; /* Border radius for rounded corners */
}
.list-has-columns {
  column-count: 2;
  column-gap: 10px; /* Adjust the gap between columns as needed */
  line-height: 1.15; /* Adjust the line height as needed */
}

.list-has-columns li {
  margin-bottom: 1px; /* Adjust spacing between items as needed */
}
.site-logo {
  position: relative;
  overflow: hidden;
}

.site-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%; /* Set the width to match the image width */
  height: 100%; /* Set the height to match the image height */
  transform: skew(-30deg);
  background: rgba(255, 255, 255, 0.5);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 10%,
    rgba(255, 255, 255, 0.35) 40%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  animation-name: sweep;
}

@keyframes sweep {
  0% {
    left: -180px;
  }

  60% {
    left: 180px;
  }

  100% {
    left: 180px;
  }
}


#mobile-fullscreen {
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1000;
            background-color: #000;
	
        }
        

        #exit-fullscreen-btn {
    display: none;
    position: fixed;
    top: 10px;
    left: 0;
    z-index: 1002;
    background-color: white;
    border: none;
    padding: 5px 7px;
    cursor: pointer;
    font-size: 16px;
    width: 45px;
    height: 40px;
    box-shadow: rgb(0 0 0/24%) 0 16px 32px;
    border-radius: 0 16px 16px 0!important;
}


        #game-container {
            position: relative;
        }

        #mobile-start-btn {
    color: white;
    cursor: pointer;
    width: 100px;
    height: 100px;
}
#mobile-background-container {
		display: none;
    position: relative;
    width: 100%;
    height: 350px;
		align-items: center;
    justify-content: center;
}

#mobile-blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    filter: blur(8px);
    z-index: 1;
}


.body-no-scroll {
    overflow: hidden;
    position: fixed; /* This can help on some mobile browsers */
    width: 100%;
}


.game-title{
	font-size: 1.8rem;
}
.site-footer li.wp-social-link.wp-block-social-link {
    margin-bottom: unset;
}
h3 {
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 2.25rem;
    font-weight: 600;
    margin-bottom: 32px;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgba(0,0,0,.87);
    margin: 0;
    text-size-adjust: 100%;
}
#menu-footer-menu{
	line-height: 1.15;
}
.site-header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
	z-index:3;
}
#menu-main-menu li.menu-item a{
    font-weight: 500;
}
.IUvXcc {
    box-shadow: rgba(65,69,73,.25) 0 1px 10px 0;
}
#related-game .gb-grid-wrapper{
  justify-content: center;
  align-items: center;
	gap:10px;
	
}
#related-game{
	
	padding: 20px 0px;
}
 .gb-container-b850d34d{
	border-radius:10px!important;
}
img{
	border-radius:10px;
}

.entry-content:not(:first-child), .entry-summary:not(:first-child), footer.entry-meta {
    margin-top: 0em;
}
/*tablet*/
@media (min-width: 768px) and (max-width: 1024px) {
    .generate-columns.tablet-grid-50, .grid-sizer.tablet-grid-50 {
        width: 33%;
    }
}
/*mobile*/
@media (max-width: 767px) {
    .generate-columns.mobile-grid-100, .grid-sizer.mobile-grid-100 {
        width: calc(50% - 5px);
        padding-left: 10px;
    }
}

.gg-external-games .gb-container-6d526422 {
    padding: 5px!important;
}
.gg-external-games {
	padding: 10px 0px;
	
	
}



.gg-external-games .gb-grid-wrapper > .gb-grid-column-d475d71b {
    width: 33%!important;
}


#game-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
#game-preview .video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  opacity: 1;
}

#game-preview .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(12, 13, 20, 0.8);
  z-index: 1;
}

#game-preview button {
  max-width: 320px;
  display: flex;
  overflow: hidden;
  position: relative;
  padding: 0.875rem 72px 0.875rem 1.75rem;
  background-color: #039be5;
  background-image: linear-gradient(to top right, #039be5, #29b6f6);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  align-items: center;
  border-radius: 0.5rem;
  gap: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: none;
  transition: all 0.6s ease;
}
#game-preview .button-container{
  display:flex;
  align-items: center;
justify-content: center;
z-index: 1;
  
  
}
#game-preview .desc-container {
  padding:1px;
  color: white;
  text-align: center;
  z-index: 1;
   display: flex;
  flex-direction: column; /* Ensure a vertical stacking of elements */
  align-items: center;
  justify-content: center;
  margin: 5px 0;
}

#game-preview button span {
  background-color: rgb(3 155 229);
  display: grid;
  position: absolute;
  right: 0;
  place-items: center;
  width: 3rem;
  height: 100%;
}

#game-preview button span svg {
  width: 1.5rem;
  height: 1.5rem;
}

#game-preview button:hover {
  box-shadow: 0 4px 30px rgba(4, 175, 255, 0.1), 0 2px 30px rgba(11, 158, 255, 0.06);
  transform: translateY(-5px); /* Move the button up by 5 pixels on hover */
}


#game-preview img {
  border-radius: 10%;
}

#game-preview .desc-container h1, #game-preview img, #game-preview p {
  margin: 5px 0;
  padding: 0px 20px;
}

#game-preview span {
  font-size: 2rem;
}

#game-preview p{
  margin-bottom:20px;
  color:gray;
}


#nav-below.paging-navigation {
  opacity: 1;
  text-align: center;
}

.nav-previous, .nav-links {
  display: inline-block;
  margin-right: 20px;
}

#nav-below.paging-navigation {
  opacity: 1;
  text-align: center;
}

.nav-previous, .nav-links {
  display: inline-block;
  margin-right: 20px;
}

.nav-previous a, .nav-links a {
  text-decoration: none;
  color: black;
  background-color: transparent;
  border: 2px solid black;
  border-radius: 10px; /* Bo góc 10px */
  padding: 10px 20px;
  font-size: 1.2em;
  transition: background-color 0.3s, color 0.3s;
}

.nav-previous a:hover, .nav-links a:hover {
  background-color: black;
  color: white;
}

.page-numbers.current {
  border: 2px solid black;
  background-color: #007bff; /* Màu nền cho trang hiện tại */
  color: white;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1.2em;
}

.icon-arrow svg {
  width: 20px; /* Kích thước mũi tên */
  height: 20px;
}

