@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
  --dark-bg: #181C14;
}
*{
  font-family: "Poppins", sans-serif !important;
}
/* COMMON */
.mt-3rem{
    margin-top: 3rem;
}
.dark-bg{
    background-color: var(--dark-bg);
}
@media screen and (max-width: 575.98px) {
  .padding-576 {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}
.custom-title{
  background: linear-gradient(90deg, rgba(242, 69, 53, 0.4) 0%, rgba(242, 100, 48, 0.4) 100%);
  font-size: 1.2rem;
  font-weight: 500;
  color:white;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.custom-title h1{
  font-size: 1.2rem !important;
  margin-bottom: 0 !important;
}
.custom-text{
  font-size: 1.2rem;
  font-weight: 400;
  color:white;
  text-align: justify;
}

.custom-text-dim{
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
  color:white;
  text-align: justify;
}

.custom-game-name{
  font-size: 1.4rem;
  text-align: center;
  color: white;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .custom-title{
    font-size: 1.5rem;
    margin-left: 10px;
    margin-right: 10px;
  }
  .custom-text{
    font-size: 1rem;
    margin-left: 10px;
    margin-right: 10px;
  }
}
/* NAVBAR */
.floating-navbar {
    font-size: 1.1rem;
    margin: 20px auto;  
    padding:10px 0px;
    width: 90%;         
    padding: 0;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    position: relative;
    margin-bottom: -3rem;
  }
  .navbar-bg {
    /* background: linear-gradient(90deg, #e200e4, #fc577d); */
    background: linear-gradient(90deg, #F24535, #F26430);
    padding: 20px 0px;
  }
  .navbar-brand {
    font-size: 1.5rem;
  }
  .navbar-brand img {
    width: 250px;
  }
  .navbar-nav .nav-link {   
    font-weight: 500;
    color: #000;
    margin-right: 20px;
  }
  .navbar-nav .nav-link:hover {
    color: #F24535;
  }
/* HOME SCREEN */
.grid-item {
  padding: 10px;
}

.grid-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow effect for images */
}

.grid-container {
  margin: 40px 0; /* Margin between navbar and grid */
}
.block {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* Pop-up effect on hover */
.block:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}


/* Slide-up effect inside the block */
.block-caption {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 10px;
  transition: bottom 0.3s ease;
}

.block-caption h5{
  font-size: 1.1rem;
}

/* Show caption when hovering */
.block:hover .block-caption {
  bottom: 0;
}

.play-game-block {
  position: relative;
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

.play-game-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(242, 100, 48, 0.6); 
  z-index: 0;
}

.play-game-block::after {
  content: '';
  position: absolute;
  top: 0px; 
  left: 0px; 
  right: 0px; 
  bottom: 0px; 
  border: 2px solid #fff;
  z-index: 0; 
}


.play-game-btn {
  position: relative; /* Ensure button is on top of the overlay */
  padding: 15px 30px; /* Adjust padding as needed */
  background-color: #118F11; /* Bootstrap primary color with some transparency */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 1px;
  transition: background-color 0.3s;
  z-index: 2; /* Button above the overlay */
}

.play-game-btn:hover {
  background-color: rgba(0, 123, 255, 1); /* Change color on hover */
}

.game-desc{
  background-color: white;
  margin-top:2px;
}

.game-image-desc{
  height: 50px;
  width: 50px;
}

.tag{
  padding: 4px 10px;
  border-radius: 15px;
  border: 1px solid #515151;
  color: #fff;
  font-size: 1.1rem;
  font-weight: normal;
  margin: 5px;

}