* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    background: url(./bg2.jpg) no-repeat center center fixed;
    background-size: cover;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(45deg, #a4ff80, #76c124);
    background: url(./bg2.jpg);
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    max-width: 1000px;
    margin: 0px auto !important;
    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(255 255 255 / 78%);
}

.sidebar a {
    color: #444;
    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 0 !important;
    background: url(./bg2.jpg) no-repeat center center fixed;
    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%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.game-card {
    margin: .5rem 0;
}

.game-card img {
    width: 100%;
    border-radius: 10px;
}

.game-recommendations {
    margin: 20px 0;
}

.game-recommendation {
    background: url(./bg2.jpg) no-repeat;
    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:url(./bg2.jpg);;
    background-position: bottom;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: .5rem;
    text-align: center;
    max-width: 1000px;
    margin: 0px auto !important;
    left: 50%;
    transform: translateX(-50%);
}

.img-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    border: 2px solid #fff;
    border-radius: 10px;
}

.img-container 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;
    color: #fff;
}

footer a {
    color: #fff !important;
}

.category {
    padding: .25rem;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    font-size: .8rem;
    background-color: #4ec699;
    color: #fff;
    vertical-align: middle;
    margin: .5rem auto;
    text-transform: uppercase;
}

.play-btn {
    padding: .5rem 1rem;
    border-radius: 8px;
    border: 1px solid #fff;
    font-weight: bolder;
    box-shadow: 2px 2px 5px #979797;
    color: #fff;
}

.play-btn2 {
    border: 2px solid #fff;
    padding: .75rem 1rem;
    margin-top: 1rem;
    text-align: center;
    border-radius: 8px;
    color: #fff;
    font-size: larger;
    font-family: fantasy;
    letter-spacing: 5px;
}

#game-detail {
    margin-bottom: 60px;
}


.banner-p {
    margin: 1rem 0;
    padding: .5rem;
    font-size: 1.5rem;
    text-shadow: 2px 2px #ccc;
    text-align: center;
    font-family: fantasy;
    text-shadow: 4px 4px #fbb286;
    border: 5px dotted #fbc7a8;
}

h1 {
    color: #fff;
}

#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;
}
#game-cards{
    margin-bottom: 120px;
}
@media (max-width: 768px) {
    .content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .sidebar {
        width: 200px;
    }

    .sidebar.active {
        left: 0;
    }
}


