* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ecf5d5;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
    color: white;
    padding: 1em;
    text-align: center;
}
.navbar{
    border-bottom: 2px solid #818181;
}
.main {
    padding: 1em;
}

/* 样式文件内容 */
#game-list{
    padding: 0 1rem;
}

.card {
    border: none;
    background: none;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #fff;
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.item{
    padding: 3px;
}
.navbar{
    background:linear-gradient(45deg, #d4ffd7, #eb8585);
}

#loading-indicator {
    display: none;
    text-align: center;
    margin-top: 20px;
}
.navbar-light .navbar-nav .nav-link{
    font-weight: bold;
}

footer {
    background: #eb8585;
    padding: 10px 0;
    text-align: center;
    bottom: 0;
    width: 100%;
    color: antiquewhite;
}

footer p {
    margin: 0;
}
footer a {
    color: #fff !important;
}
body{
    min-height: 100vh;
}

.scroll-container {
    width: 100%;
    text-align: center;
    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 */
    display: none;
}

.scroll-content {
    display: inline-flex;
    /* Align items in a row */
    padding: 10px 0;
}

.category-item {
    display: inline-block;
    min-width: 80px;
    margin-right: 10px;
    background-color: #55cdfb;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #fff;
    text-transform: capitalize;
}

.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 */
}

@media screen and (max-width:575px) {

    .scroll-container{
        display: block;
    }
}
