.vertical-demo {
    background-color: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.vertical-box {
    width: 80px;
    height: 50px;
    background-color: #e53e3e;
    color: white;
    text-align: center;
    line-height: 50px;
    position: relative;
    border-radius: 5px;
}

.top-box {
    top: 20px;
}

.bottom-box {
    bottom: 20px;
}