*{
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
    padding-bottom: 30px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 100%;
}
.page-title {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.grid-container {
    display: grid;
    max-width: 900px;
    margin: auto;
    grid-template-columns:repeat(3,1fr);
    grid-gap: 12px;
}

@media only screen and (max-width: 600px) {
    .grid-container {
        grid-template-columns:repeat(2,1fr);
    }
}

.item {
    padding: 0;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio:1/1;
    position: relative;
}
.a-link {
    width: 100%;
    height: 100%;
    position: absolute;
}
.title-container {
    width: 100%;
    height: 100%;
    pointer-events: none;
    position: absolute;
    background: linear-gradient(0deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.09) 40%, rgba(255,255,255,0) 100%)
}
.title {
    position: absolute;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    text-align: center;
    width: calc(100% - 16px);
    font-size: 20px;
    font-weight: bold;
    bottom: 0;
}
.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}