body {
    background-color: #edf2f6;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

h1 {
    text-align: center;
    margin-top: 20px;
    font-size: 1.6em;
    font-weight: bolder;
}

.cards {
    cursor: pointer;
}

.absolute-center {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card {
    background-color: white;
    padding: 20px 24px;
    border-radius: 20px;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
    width: 360px;
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: transform 300ms;
    transform-origin: 200% 0%;
}

.card:nth-child(1) {
    transform: translate(-50%, 100%);
    z-index: 10;
}
.card:nth-child(2) {
    transform: translate(-50%, 95%);
    z-index: 9;
}
.card:nth-child(3) {
    transform: translate(-50%, 90%);
    z-index: 8;
}
.card:nth-child(4) {
    transform: translate(-50%, 85%);
    z-index: 7;
}

.title {
    font-weight: bold;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.icon {
    width: 50px;
    height: 50px;
    font-size: 1.6em;
    border-radius: 50px;
    background-color: ;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 20px 0px 0px;
}

.green {
    background-color: green;
}

.orange {
    background-color: orange;
}

.purple {
    background-color: mediumvioletred;
}

.blue {
    background-color: darkblue;
}

@media (max-width: 486px) {
    .card {
        width: 300px;
        padding: 24px 14px;
    }
}
