.grid-container {
    display: flex;
    justify-content: center; /* Center items horizontally */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 10px;
    padding: 10px;
    width: 100%; /* Set to 100% to take the full width */
    margin: auto; /* Center the container horizontally */
    background-color: #333;
    box-sizing: border-box;
}

.grid-item {
    background-color: white;
    color: black; /* Ensure visibility against white background */
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 200px; /* Set a fixed width */
    max-width: 255px;
    max-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px;
    box-shadow: 0 1px 0 white;
}


.grid-item.center-img {
    justify-content: center; /* Center image vertically if no download link */
}

.grid-item:hover {
    background-color: #FFFFFF;
}

.grid-item img:hover {
    filter: brightness(88%);
    transform: scale(1.05); /* Slightly scale up the image */
}

.grid-item img {
    width: calc(100% - 10px);
    height: auto;
    display: block;
    box-shadow: 0 0 0 5px white;
    margin: 0 auto;
    margin-bottom: 0;
}

.google-play-container {
    height: 10px;
    background-color: green;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: auto; /* Align at the bottom */
    padding: 5px 0;
    margin-top: 5px;
    z-index: 1;
    border-radius: 5px;

}

.apple-icon {
    width: 15px;
    height: 15px;
    background-image: url('thumb/apple.png');
    background-size: cover;
    margin-right: 2px;
    margin-bottom: 2px;
}

.google-play-icon {
    width: 15px;
    height: 15px;
    background-image: url('thumb/play.png');
    background-size: cover;
    margin-right: 5px;
}

.google-play-text {
    color: white;
    font-size: 12px;
    vertical-align: middle;
}
