* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f7fb;
    color: #444;
    line-height: 1.6;
}


#playing-cards {
    background: #0f172a;
    color: white;
    padding: 50px 20px;
}

.cards-header {
    text-align: center;
    margin-bottom: 40px;
}

.cards-header h1 {
    font-size: 3rem;
}


.card-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1800px;
    margin: 0 auto;
}


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

    width: 320px;
    height: 480px;

    background-color: white;
    border-radius: 12px;
    padding: 10px;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-49px) scale(1.24);
}

.left {
    align-self: flex-start;
}

.middle {
    align-self: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.right {
    align-self: flex-end;
}

.card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.reflection {
    max-width: 1000px;
    margin: 40px auto 60px;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.reflection h2 {
    color: #0f172a;
    margin-bottom: 20px;
    border-bottom: 3px solid #1e3a8a;
    padding-bottom: 10px;
}

.reflection h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.analytical {
    color: #8c1b06;
}

.arranger {
    color: #4e0461;
}

.includer {
    color: #1b2480;
}

.context {
    color: #8c1b06;
}

.adaptability {
    color: #1b2480;
}

.reflection p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {

    .cards-header h1 {
        font-size: 2rem;
    }

    .card {
        width: 180px;
        height: 270px;
    }

    .reflection {
        margin: 25px 15px 40px;
        padding: 25px;
    }
}
