* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--colors-gray1);
    padding: .5rem;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
}

.container {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    min-width: 0; 
}

.item {
    position: relative;

    border: .5px solid var(--colors-grayA4);
    border-radius: .5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: .5rem;
}

.item.small {
    height: 300px;
}

.item.medium {
    height: 375px;
}

.item.large {
    height: 450px;
}

.item img,
.item video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: .5rem;
    object-fit: cover;
}

.info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: .65em .65em .5em .65em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.title {
    color: rgb(255, 255, 255);
    gap: .25rem;
    font-size: 13px;
    font-weight: 400;
}

.year {
    color: rgba(255, 255, 255, 0.592);
    font-size: 13px;
    font-weight: 400;
    margin-top: 5px;
}


@media (max-width: 900px) {
    .container {
        flex-direction: row;
    }

    .item {
        height: auto;
    }
}

@media (max-width: 600px) {

    .container {
        flex-direction: column;
    }

    .item {
        height: auto;
    }
}
