body {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: white;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* Enables scrolling */
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 27px;
    font-weight: bold;
    color: white;
}


.logo img {
    height: 65px;
    margin-right: 10px;
    border-radius: 30px;
}

input[type="text"] {
    width: 35%;
    padding: 8px;
    border-radius: 45px;
    border: none;
    height: 35px;
    font-size: 16px;
    margin-right: -50px; /* Brings search bar closer to icons */
}

input[type="text"]::placeholder {
    font-size: 125%; /* Makes the placeholder text 25% bigger */
}

.icons {
    display: flex;
    gap: 20px; /* Reduced gap to bring icons 25% closer */
    margin-right: 100px;
}

.icons a img {
    height: 60px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.icons a:hover img {
    transform: scale(1.2);
}

.container {
    padding: 80px 20px 20px; /* To account for fixed header */
}

.category {
    margin-bottom: 30px;
}

h2 {
    margin-bottom: 10px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    justify-content: center;
}

/* Button Style */
.button {
    display: flex;
    width: 150px;
    height: 225px; /* Ensures all images are the same size */
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.button img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps images looking uniform */
    border-radius: 10px;
}

.button.locked img {
    filter: grayscale(100%);
    opacity: 35%;
}

.button:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.button:active {
    transform: scale(0.95);
}
