:root {
    --main-purple-color: #5c48f1;
    --elements-background-color: #eeecfd;
    --element-border-color: #e0e0e1;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.flex {
    display: flex;
}

.container {
    flex-direction: column;
    background-color: #f5f5f5;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px auto;
    padding: 5px;
}

.intro {
    color: var(--main-purple-color);
    background-color: var(--elements-background-color);
    padding: 15px 10px;
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: larger;
}

.cards {
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    height: auto;
    flex-wrap: wrap;
    gap: 5px;
}

.card {
    min-width: 300px;
    height: 150px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px;
    border: solid 3px var(--element-border-color);
    border-radius: 8px;
}

.card img {
    width: 50px;
}

.card input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
}

.card input[type="checkbox"]:checked {
    background-color: #5c48f1;
    /* Background color when checkbox is checked */
}

.active {
    background-color: #9f95eb;
}

input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #555;
    background-color: white;
}