
.mainOne {
    margin: 2% 5% 5%;
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-content: center;
    justify-content: center;
    width: 100%;
}

.card {
    display: grid;
    grid-template-rows: repeat(auto-fill, minmax(68% , 40%));
/*     gap: 3%; */
    padding: 3% 1%;
}

.card:hover {
    cursor: pointer;
}

.card>.imgBox> img{
    width: 100%;
    height: 100%;
}

.card > .textbox {
    display: grid;
    padding: 1% 0;
}

.new {
    position: relative;
}
.new::after {
    position: absolute;
    content: 'N';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 10px;
    text-align: center;
    font-weight: bold;
    color: var(--white);
    border-radius: 50%;
    background-color: var(--main);
    width: 16px;
    height: 16px;
    top: 0;
    right: 0;
    transform: translateX(120%);
}

.card>.textbox>p {
    font-size: 26px;
}

.card>.textbox>p.bold {
    font-size: 20px;
}

.keywords {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 1%;
    flex-wrap: wrap;
}

.keyword {
    font-weight: bold;
    color: var(--white);
    border-radius: 8px;
    background-color: var(--main);
    padding: 1%;
    letter-spacing: 0;
    margin: 1% 0;
}

.keyword::before {
    content: '#';
}

.loadMore {
    margin: 5% auto;
    text-align: center;
    position: relative;
}

.loadMore > button {
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    width: 220px;
    height: 61px;
    border-radius: 30px;
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    cursor: pointer;
}

.loadMore::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--gray);
    top: 50%;
    left: 0;
    z-index: -1;
}

@media screen and (max-width: 1030px) {
    .card {
        padding: 3% 1% 7%;
    }
}

@media screen and (max-width: 1024px) {
    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .card>.textbox>p {
        font-size: 24px;
    }

    .keywords {
        font-size: 16px;
    }
}

@media screen and (max-width: 680px) {
    .cards {
        grid-template-columns: 1fr;
    }
}



@media screen and (max-width: 340px) {
    
    .card {
        padding: 6% 0%;
    }
}

@media screen and (max-width: 320px) {
    .card {
        padding: 12% 0%;
    }
}