body {
    margin: 0;
    background: #fafafa;
    font-family: Arial, sans-serif;
    color: #222;
}

.content {
    max-width: 1000px;
    width: 92%;
    margin: 50px auto;
}

h1 {
    font-size: 42px;
    margin-bottom: 35px;
}


/* Quiz Card */

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;

    padding: 25px 30px;
    margin-bottom: 18px;

    transition: .2s ease;
}

.card:hover {
    border-color: #cfcfcf;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}


/* Quiz Information */

.quiz-info {
    min-width: 0;
}

.quiz-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card h2 {
    margin: 0;
    font-size: 24px;
}

.card p {
    margin-top: 8px;
    margin-bottom: 0;

    color: #777;
    font-size: 15px;
}


/* Badges */

.premium-badge,
.free-badge {
    display: inline-block;

    padding: 5px 11px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 600;
}


/* Premium */

.premium-badge {
    color: #8c6b18;
    background: #fffaf0;
    border: 1px solid #c9a227;
}


/* Free */

.free-badge {
    color: #55705c;
    background: #f4f8f4;
    border: 1px solid #9caf9f;
}


/* Take Quiz Button */

.card a {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 130px;
    min-height: 44px;

    background: #000;
    color: #fff;

    text-decoration: none;

    padding: 12px 24px;

    border-radius: 8px;

    transition: .25s;
}

.card a:hover {
    opacity: .85;
}


/* Tablet / Mobile */

@media (max-width: 700px) {

    .card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .card a {
        display: flex;

        justify-content: center;
        align-items: center;

        min-width: 100px;
        min-height: 38px;

        padding: 8px 18px;
    }

}


/* Small Mobile */

@media (max-width: 480px) {

    h1 {
        font-size: 30px;
    }

    .card h2 {
        font-size: 20px;
    }

    .card p {
        font-size: 14px;
    }

    .card a {
        display: flex;

        justify-content: center;
        align-items: center;

        width: 100%;

        min-height: 38px;

        padding: 8px 18px;
    }

}