@media only screen and (max-width: 710px){
    .main-list{
        flex-direction: column !important;
    }
    .grid-container{
        flex-direction: column !important;
    }

    .category{
        min-width: 70% !important;
        max-width: 70% !important;
        margin: auto;
    }
    .card{
        min-width: 100% !important;
        max-width: 100% !important;
        margin: auto;
    }
}
ul{
    padding: 0;
}
li{
    list-style: none;
}
body {
    background-color: #121212;
    color: #fff;
}
.card {
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 15px;
    text-align: center;
    justify-content: space-between;
    flex: 0 0 24.3333%;
}
.card-text{
    display: block;
}
.card-title {
    color: #f8b400;
    font-size: 1.4rem;
}
.category {
    margin-bottom: 40px;
    max-width: 800px;
    min-width: 600px;
}
.grid-container {
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
}

a{
    text-decoration: none;
    color: #fff;
}