* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #fff;
/*     background: url(./bg.jpg) no-repeat center center fixed; */
    background-size: cover;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: #f5eb70;
/*     background: url(./bg.jpg); */
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    font-size: 24px;
}

.hamburger-menu {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.sidebar {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: 100%;
    background: rgb(255 255 255 / 78%);
    color: #444;
    padding: 20px;
    transition: left 0.3s;
    z-index: 1000;
}

.sidebar.active {
    left: 0;
    background: rgb(245 235 112);
}

.sidebar a {
    color: #ff505e;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    font-weight: bold;
}

.sidebar a:hover {
    background-color: #555;
}

.content {
    padding: 20px;
    max-width: 1000px;
    margin: 60px auto !important;
/*     background: url(./bg.jpg) no-repeat center center fixed; */
    background: #fff68f63;
    background-size: cover;
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    transition: opacity 0.5s ease;
    height: 35vh;
}

.carousel-item:not(.active) {
    opacity: 0;
    pointer-events: none;
}

.carousel-inner img {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    border: 7px solid #f55656;
    border-radius: 10px;
}

.game-card {
    margin: .5rem 0;
}

.game-card img {
    width: 100%;
    border-radius: 10px;
}

.game-recommendations {
    margin: 20px 0;
}
.logo-text{
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 2px -2px #ff505e;

}
.game-detail-container{
    position: relative;
}
.game-recommendation {
    background: linear-gradient(180deg, #88b1ff, #bcffe9);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0);
    border-radius: 10px;
    text-align: center;
    color: #fff;
    background-size: cover;
    margin-bottom: 20px;
}

.game-recommendation img {
    width: 100%;
    border-radius: 10px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #f5eb70;
/*     background: url(./bg.jpg); */
    background-position: left;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: .5rem 0;
    text-align: center;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
}

.img-container img{
width: 80px;
height: 80px;
}
.img-container1,.img-container2 {
    width: 100%;
    padding-top: 100%;
    position: relative;
/*     border: 2px solid #fff; */
    border-radius: 10px;
    text-align: center;
    color: #919191;
}

.img-container1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 5px #1e1e1e;
}
.img-container2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 5px #1e1e1e;
}
footer p {
    margin-bottom: 0;
}

footer a {
    color: #fff !important;
}

.category {
    padding: .25rem .5rem;
    border-radius: 8px;
    position: absolute;
    font-size: 1rem;
    background-color: #f55656;
    color: #fff;
    top: 10px;
    left: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.play-btn {
    padding: .5rem 1rem;
    border-radius: 8px;
    border: 1px solid #fff;
    font-weight: bolder;
    box-shadow: 2px 2px 5px #979797;
    color: #fff;
    background: #66dbe1;
}

.play-btn2 {
    border: 2px solid #737373;
    padding: .75rem 1rem;
    margin-top: 1rem;
    text-align: center;
    border-radius: 8px;
    color: #737373;
    font-size: larger;
    font-family: fantasy;
    letter-spacing: 5px;
}

#game-detail {
    margin-bottom: 60px;
}


.banner-p {
    margin: 1rem 0;
    font-size: 1.5rem;
    text-align: left;
    font-family: fantasy;
    border-bottom: 3px solid #f5eb70;
    color: #fb5d6a;
}

h1 {
    color: #737373;
    text-align: center;
    margin-top: 10px;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px #464bd8;
}

#game-cards2 {
    margin-bottom: 30px;
}

.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 1;
}

.carousel-control-prev {
    left: 10px;
    background: none;
}

.carousel-control-next {
    right: 10px;
    background: none;
}
#game-list{
 margin-bottom: 60px;
}
.moregame-list{
margin-bottom: 60px;
}

@media (max-width: 768px) {
    .content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .sidebar {
        width: 200px;
    }

    .sidebar.active {
        left: 0;
    }
}
.game-card {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-title {
    flex-grow: 1;
    text-align: center;
    font-size: 1.2rem;
    color: #ff8c8c;
    font-weight: bold;
    text-shadow: 2px 2px white;
}

.play-btn-container {
    margin-left: 10px;
}

.play-btn {
    padding: .5rem .75rem;
    border-radius: 8px;
    border: 1px solid #fff;
    font-weight: bolder;
    box-shadow: 2px 2px 5px #979797;
    color: #fff;
    text-decoration: none;
    background-color: #66dbe1;
    font-size: .9rem;
}
.des{
    font-weight: bold;
    color: #737373;
    font-size: 1.2rem;
}
/* @media (min-width: 767px) {
    body {
        background: url(./bg.jpg) no-repeat center center fixed;
        background-size: cover;
    }
}
 */
 @media screen and (min-width:1200px) {
    .carousel-item{
        height: 45vh;
    }
}



.scroll-container {
    width: 100%;
    overflow-x: scroll;
    /* Enable horizontal scrolling */
    overflow-y: hidden;
    /* Disable vertical scrolling */
    white-space: nowrap;
    /* Prevent line breaks in the container */
    -webkit-overflow-scrolling: touch;
    /* Enable smooth scrolling on iOS */
}

.scroll-content {
    display: inline-flex;
    /* Align items in a row */
    padding: 10px 0;
}

.category-item {
    display: inline-block;
    /* Prevent items from wrapping */
    min-width: 80px;
    /* Fixed width for each item */
    margin-right: 10px;
    /* Space between items */
    background-color: #fb5d6a;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    /* Makes items look clickable */
    transition: background-color 0.3s ease;
    color: #fff;
}

.category-item:hover {
    background-color: #e0e0e0;
    /* Changes background on hover */
}

/* Hide scrollbar for Webkit browsers */
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
.scroll-container {
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}
.img-container1 .hot{
    width: 50px;
    height: 50px;
    box-shadow: none;
    left: -5px;
    top: -5px;
}
.title{
    display: -webkit-inline-box !important;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    color: #fc7171;
    font-weight: bold;
    text-shadow: 1px 1px #cbcbcb;
}
