:root{
    --main-color:#272B30;
    --nav-color:#3A497B;
    --hover-nav:rgb(0, 153, 204);
}

header{
    background-image: url(../imgs/wraper.png);
    background-size: cover;
    height: 25vh;
    background-position: center center;
}

body{
    background-color: var(--main-color);
    background-repeat: no-repeat;
    font-family:cursive ;
}

/* navbar */
nav{
    position: relative;
    top: -10px;
    width: 90%;
    margin: auto;
}
nav img{
  width: 40px;
}
.navbar{
    background-color: var(--nav-color);
    border-radius: 20px;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.7);
    --bs-navbar-active-color:var(--hover-nav);
    --bs-navbar-hover-color: var(--hover-nav);
    --bs-navbar-brand-color: white;
    --bs-nav-link-color:white;
    --bs-nav-link-color: white;
    --bs-navbar-brand-hover-color: white;
    text-transform: uppercase;
}
.nav-link{
    color: white;
    font-size: 12px;
}
.navbar-brand{
    font-weight: 500;
    font-size: 20px;
    margin-left: 10px;
}

/* main data*/
#mainData{
    top: 12px;
}

.card{
    --bs-card-bg: var(--main-color);
      filter: grayscale(0.7);
      transition: all 0.6s;
      height: 390px;
}
.card p{
   font-size: 14px;
}
h1{
  font-weight: 500;
  font-size: 14px;
}
h2 .badge{
    font-weight: 700;
    font-size: 12px;
    background-color: #0D6EFD;
}
h3 span{
    background-color: #32383E;
}
.card:hover{
  filter: none; 
  transform: scale(1.08);   
}
/* loading */
#loading-screen{
   position: absolute;
   inset: 0;
   z-index: 9999;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #FFF;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  .loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-left: 4px solid #0D6EFD;
    border-bottom: 4px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
  }
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } 

  /* detailed */
  #detailedGame{
    position: absolute;
    inset: 0;
    z-index: 9999;
    background-color: #27282B;
  }
  .fa-xmark{
    right: 30px;
    top: 20px;
    color: rgb(255, 255, 255,0.5);
  }
  h5{
    margin-bottom: 13px;
  }
  .bg-badge{
    background-color:#0DCAF0 ;
    color: black;
    font-weight: 700;
    font-size: 12px;
  }
  #gameDetail{
   font-size: 28px;
   font-weight: 500;
   
  }
  #gamePDdetail{
    font-size: 14px;
  }
  #gameTitleDetail{
    font-size: 28px;
    font-weight: 500;
    
  }
  #gameCatDetail,#gamePlatformDetail,#gameStatusDetail{
    font-size: 16px;
  }