﻿/* Custom styles for the Gaming Hub website */

body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
}

header {
    background-color: #343a40;
    color: white;
}

footer {
    background-color: #343a40;
    color: white;
}

.card {
    border: none;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .card-img-top {
        max-height: 150px;
    }
}
.img {
    width: 100%;
    height: 200px;
    max-height: 200px;      
}
.game-img {
    width: 100%;
    height: 200px;
    max-height: 200px;
}
.margin{
    margin-top:-8px;

}
.navbar-toggler-icon {
    background-image: url('path/to/your/icon.png'); /* If you want a custom icon */
    filter: invert(1); /* Inverts the color of the icon to white */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 11px 100px;
    background: rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: background-color 0.3s ease; /* Add this line */
}

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
        transition: .5s;
    }

    .header:hover::before {
        left: 100%;
    }

.logo {
    color: #fff;
    font-size: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
}

.navbar a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    margin-left: 40px;
    transition: .3s;
}

    .navbar a:hover {
        color: red;
    }

#menu-icon {
    font-size: 36px;
    color: #fff;
    display: none;
}

@media (max-width: 992px) {
    .header {
        padding: 1.25rem 4%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 0.5rem 4%;
        display: none;
    }

        .navbar.active {
            display: block;
        }

        .navbar a {
            display: block;
            margin: 1.5rem 0;
        }

    .nav-bg {
        position: fixed;
        top: 8.5%;
        left: 0;
        width: 100%;
        height: 295px;
        background: rgba(255, 255, 255, .1);
        backdrop-filter: blur(10px);
        z-index: 99;
        display: none;
    }

        .nav-bg.active {
            display: block;
        }
}