.stacking-demo {
    background-color: #f7fafc;
    padding: 30px;
    border-radius: 8px;
    margin: 15px 0;
    position: relative;
    height: 150px;
}

.stacking-box {
    width: 100px;
    height: 80px;
    position: relative;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.box1 {
    background-color: #e53e3e;
    top: 0;
    left: 0;
    z-index: 1;
}

.box2 {
    background-color: #38a169;
    top: -50px;
    left: 30px;
    z-index: 3;
}

.box3 {
    background-color: #3182ce;
    top: -100px;
    left: 60px;
    z-index: 2;
}