* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    body {
    font-family: Arial, sans-serif;
    background-color: #1c1c1c;
    color: #fff;
    }
    .game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 125px;
    }
    .game-container .game {
    display: inline-block;
    vertical-align: top;
    margin: 10px;
    margin-top: 10px;
    width: 160px;
    height: 275px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    background-color: #2c2c2c;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    text-align: left;
    }
    .game-container .game img {
    width: 160px;
    height: 225px;
    margin-bottom: 1px;
    border: 2px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    }
    .game-container .game img:hover {
    transform: scale(1.05);
    }
    .game-container .game h2 {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 12px;
    text-align: left;
    overflow: hidden!important;
    text-overflow: ellipsis;
    white-space: nowrap!important;
    }
    .game-container .game p {
    margin-top: 1px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 10px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-spacing: -0.05em;
    color: #aaa;
    }
    header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Choose your desired background color */
    color: #fff; /* Choose your desired text color */
    padding: 10px;
    z-index: 1000; /* Ensure it's above other elements */
    }
    header h1 {
    font-size: 18px;
    margin: 0;
    }
    #core-controls,
    #controls {
    display: flex;
    align-items: center;
    margin-top: 10px;
    }
    #core-controls label,
    #controls label {
    margin-right: 10px;
    }
    #core-controls select,
    #controls input[type="text"],
    #controls select {
    padding: 5px;
    font-size: 12px;
    border-radius: 5px;
    border: none;
    background-color: #333;
    color: #fff;
    width: 200px;
    }
    .totalgames {
    padding: 5px;
    font-size: 12px;
    border-radius: 5px;
    border: none;
    background-color: #333;
    color: #fff;
    width: 190px;
    }
    .image-container {
    position: relative;
    display: inline-block;
    height: 75%;
    }
    .rating-label {
    position: absolute;
    top: 3px;
    right: 3px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 10px;
    }

    @media only screen and (max-width: 600px) {
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            }
            body {
            font-family: Arial, sans-serif;
            background-color: #1c1c1c;
            color: #fff;
            }
            .game-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding-top: 125px;
            }
            .game-container .game {
            display: inline-block;
            vertical-align: top;
            margin: 10px;
            margin-top: 10px;
            width: 100px;
            height: 200px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
            background-color: #2c2c2c;
            overflow: hidden;
            transition: transform 0.2s ease-in-out;
            text-align: left;
            }
            .game-container .game img {
            width: 100px;
            height: 141px;
            margin-bottom: 1px;
            border: 2px;
            border-radius: 5px;
            cursor: pointer;
            transition: transform 0.3s ease;
            }
            .game-container .game img:hover {
            transform: scale(1.05);
            }
            .game-container .game h2 {
            margin-top: 0px;
            margin-left: 10px;
            margin-right: 10px;
            font-size: 10px;
            text-align: left;
            overflow: hidden!important;
            text-overflow: ellipsis;
            white-space: nowrap!important;
            }
            .game-container .game p {
            margin-top: 1px;
            margin-left: 10px;
            margin-right: 10px;
            font-size: 10px;
            text-align: justify;
            hyphens: auto;
            -webkit-hyphens: auto;
            word-spacing: -0.05em;
            color: #aaa;
            }
            header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #333; /* Choose your desired background color */
            color: #fff; /* Choose your desired text color */
            padding: 10px;
            z-index: 1000; /* Ensure it's above other elements */
            }
            header h1 {
            font-size: 18px;
            margin: 0;
            }
            #core-controls,
            #controls {
            display: flex;
            align-items: center;
            margin-top: 10px;
            }
            #core-controls label,
            #controls label {
            margin-right: 10px;
            }
            #core-controls select,
            #controls input[type="text"],
            #controls select {
            padding: 5px;
            font-size: 12px;
            border-radius: 5px;
            border: none;
            background-color: #333;
            color: #fff;
            width: 200px;
            }
            .totalgames {
            padding: 5px;
            font-size: 12px;
            border-radius: 5px;
            border: none;
            background-color: #333;
            color: #fff;
            width: 190px;
            }
            .image-container {
            position: relative;
            display: inline-block;
            }
            .rating-label {
            position: absolute;
            top: 3px;
            right: 3px;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px;
            border-radius: 5px;
            font-size: 10px;
            }
        
        }
            