html {
    font-family: "Trebuchet MS", sans-serif;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: start;
    align-items: flex-start;
}

.category-flex-container {
    flex-basis: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-card-container {
    flex: 1;
    border-radius: 12px;
    margin: 5px 10px;
    position: relative;
    display: flex;
    cursor: pointer;
    height: 300px;
}

.category-card-container * {
    cursor: pointer;
}

.category-card-container:active {
    filter: brightness(0.9);
}

.category-card-container:hover {
    box-shadow: 1px 3px 5px 1px #bbbbbb;
}

.category-card-image {
    background-color: yellow;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
}

.category-card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.category-card-image {
    position: absolute;
    border-radius: 12px;
    z-index: 0;
}

.category-card-flex-body {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
}

.category-card-flex-body-info {
    display: flex;
    padding: 10px 20px 15px 20px;
    min-height: 80px;
    color: white;
    background-color: #55555588;
    flex-direction: column;
    border-radius: 0 0 12px 12px;
    align-items: stretch;
    justify-content: space-around;
}

.category-title {
    font-size: 22px;
    font-weight: bold;
    padding-bottom: 16px;
}

.category-card-info {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-self: flex-end;
    align-items: center;
}

.category-card-info .check {
    text-decoration: none;
    color: white;
    background-color: rgb(25, 159, 204);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.category-card-info .check:hover {
    color: whitesmoke;
    background-color: deepskyblue;
}

.category-card-info .price {
    margin-right: 15px;
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.category-card-info .date {
    margin-right: 15px;
    font-size: 16px;
    font-weight: bold;
}

@media screen and (max-width: 1500px) {
    .category-card-container {
        height: 310px;
    }
    .category-flex-container {
        flex-basis: 33.333%;
    }
}

@media screen and (max-width: 1200px) {
    .category-card-container {
        height: 320px;
    }
    .category-flex-container {
        flex-basis: 50%;
    }
}

@media screen and (max-width: 900px) {
    .category-card-container {
        height: 320px;
    }
    .category-flex-container {
        flex-basis: 75%;
    }
}

@media screen and (max-width: 600px) {
    .category-flex-container {
        flex-basis: 100%;
    }
    .category-card-container {
        height: 350px;
    }
    .category-card-title {
        font-size: 20px;
    }
    .category-card-info .date {
        font-size: 15px;
    }
    .category-card-info .price {
        font-size: 17px;
    }
    .category-card-info .check {
        font-size: 16px;
    }
}