html:root {
    --primary: #838cc8;
}

#main2 {
    padding: 20px;
}

.label {
    width: 100%;
    background-color: #919191;
    color: white;
    padding: 14px 20px;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 0;
    img {
        margin-right: 10px;
        vertical-align: bottom;
    }
}

.container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0 1em;
    width: 100%;
}

figure {
    width: 100%;
    margin: 1em 0 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    figcaption {
        background-color: #f1f1f1;
        text-align: left;
        padding: 0 10px;
        position: relative;
        p {
            font-size: 24px;
            font-weight: bold;
            margin: 0;
        }
        span {
            color: var(--primary);
            font-size: 18px;
        }
    }
    img {
        width: 100%;
    }
    .ribbon {
        position: absolute;
        right: 1em;
        top: 50%;
        transform: translateY(-50%);
        img {
            width: 70px;
        }
    }
    ul {
        background-color: #fff;
        list-style-type: none;
        display: grid;
        padding-inline-start: 0;
        margin-inline: 1em;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        li {
            display: flex;
            width: 100%;
            font-size: 12px;
            align-items: center;
            gap: 10px;
            img {
                width: 30px;
                height: 30px;
            }
        }
    }
}

.rows {
    display: flex;
    flex-direction: column;
}

@media only screen and (min-width: 768px) {
    .container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

