body {
  background-color: #272b30;
  font-family: "Comfortaa", cursive;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Nerko One",cursive;
}
a {
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}
.back img{
    max-height: 30vh;
    object-fit: cover;
    vertical-align: middle;
}
/***************** NavBar *******************/
nav.navbar {
  background-color: #3a497b;
  border-radius: 20px;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.7);
    width: 75%;

}
.navbar .navbar-brand img {
  max-width: 40px;
}
.navbar .nav-link {
  color: #fff;
  font-size: 12.5px;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
}
.navbar .nav-link:hover {
  color: #0099cc;
}
.navbar .nav-link.active {
  color: #0099cc;
}
.navbar-toggler:focus{
  box-shadow: none;
}
@media screen and (max-width:576px){
  nav.navbar {
    width: 100%;
  
  }
}


/***************** Games Section *******************/
.card{
    cursor: pointer;
    filter: grayscale(0.7);
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -webkit-filter: grayscale(0.7);
}

.card:hover{
    filter: grayscale(0);
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    -webkit-filter: grayscale(0);
}

.card-body .card-title h3{
font-size: 14px;
}
.card-footer .text-bg-dark{
font-size: 10.5px;
padding: 3.675px 6.825px;
background-color: #32383E !important; 

}

/***************** Details Section *******************/
.game-details{
    background-color: #272729be;
    
}
    
/***************** Scrollbar *******************/
::-webkit-scrollbar {
    width: 0.625rem;
}
::-webkit-scrollbar-thumb {
    background-color:#272b30 ;
    border-radius: 50px;
    box-shadow: 0 0 5px rgb(0 0 0 / 0.5) inset;
}
::-webkit-scrollbar-track {
    background-color:#32383e;
}

/***************** Spinner *******************/
.spinner-container{
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: #272b30e3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    margin: 0;

}
.loader {
  width:100px;
  height: 100px;
  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:100px;
  height: 100px;
  border-radius: 50%;
  border-left: 4px solid #FF3D00;
  border-bottom: 4px solid transparent;
  animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 

/***************** Error Message *******************/
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #2c3e50;
  border: 1px solid #e74c3c;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 400px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 1);
}

.error-icon {
  font-size: 50px;
  margin-bottom: 10px;
  color: #FFB02E;
}

.error-title {
  font-size: 22px;
  margin: 10px 0;
  color: #e74c3c;
}

.error-message {
  font-size: 16px;
  margin-bottom: 15px;
}

.retry-button {
  background-color: #e74c3c;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.retry-button:hover {
  background-color: #c0392b;
}

.retry-button:focus {
  outline: none;
}
