main.center {
    width: calc(var(--width) - 60px);
    background-color: #f0f0f0;
    margin-bottom: 30px;
}

main .list {
    margin-bottom: 20px;
}

main h2 {
    border-bottom: 3px solid #242424;
    text-transform: uppercase;
    font-size: 22px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 10px;
    color: #4d4d4d;
    font-family: 'Courier New', Courier, monospace;
}

main .big-box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.all_big_box a .img-box::before {
    padding-top: 67%;
}

.all_big_box a .text-box {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 0;
    gap: 15px;
    color: #000;
    font-size: 14px;
}

.all_big_box a .text-box h3 {
    color: #4d4d4d;
    font-family: 'Courier New', Courier, monospace;
    font-size: 19px;
}

.all_big_box a .text-box span {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #676767;
}

.all_big_box a .text-box p {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
}

@media screen and (min-width:770px) {
    .all_big_box a {
        width: calc((100% - 60px) / 3);
    }
}

@media screen and (max-width:769px) {
    main {
        padding: 0 5px;
    }

    main .big-box {
        display: block;
        columns: 2;
        column-gap: 10px;
    }

    .all_big_box a .img-box::before {
        padding-top: 0;
    }

    main.center {
        width: 100%;
    }

    .all_big_box a {
        width: 100%;
        display: block;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        background-color: #fff;
        box-shadow: 0 0 8px #00000028;
        break-inside: avoid;
    }

    .all_big_box a .text-box {
        padding: 10px 5px;
        gap: 8px;
    }

    .all_big_box a .img-box img {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .all_big_box a .text-box h3 {
        font-size: 17px;
    }
}