/* Header Section */
.rw {
    background-image: url("http://www.smagicmakers.com/images/PNGs/Headers/section - explore characters.png");
    background-repeat: no-repeat;
    background-color: black;
    background-size: cover; /* Ensures full coverage */
    width: 100%; /* Make responsive */
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rw h1 {
    color: white;
    font-family: 'Didact Gothic', 'Century Gothic', Verdana, sans-serif, Arial;
    font-size: 36px;
    text-align: center;
    margin: 0;
}

/* Horizontal Scroll Menu */
.scrollmenu {
    display: flex;
    overflow-x: auto; /* Allow horizontal scrolling */
    overflow-y: hidden; /* Prevent vertical scroll */
    white-space: nowrap;
    background: url("http://www.smagicmakers.com/images/JPGs/BGs/Space strip Bg -01.jpg");
    padding: 20px; /* Adds space around items */
    gap: 20px; /* Adds consistent spacing between items */
    scrollbar-width: thin; /* Adjust scrollbar size */
}

/* Scrollmenu Item Styling */
.scrollmenu a {
    display: inline-block;
    color: white;
    font-family: 'Didact Gothic', 'Century Gothic', Verdana, sans-serif, Arial;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    margin: 0;
}

.scrollmenu a img {
    width: 120px; /* Adjust for uniform thumbnail sizing */
    height: 120px;
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add depth */
}

.scrollmenu a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle hover effect */
    border-radius: 10px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .rw h1 {
        font-size: 28px; /* Adjust title size for smaller screens */
    }

    .scrollmenu a img {
        width: 100px; /* Smaller thumbnails */
        height: 100px;
    }
}

@media screen and (max-width: 480px) {
    .scrollmenu a img {
        width: 80px; /* Even smaller thumbnails for mobile */
        height: 80px;
    }

    .rw {
        height: 150px; /* Adjust header height */
    }
}
