body {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    margin: 0;
    padding: 20px;
}
body {
    background-color: #1e1e2f;
    color: white;
}
.box {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.box {
    height: 180px;
    margin: 20px;
    width: 180px;
    border-radius: 20px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    cursor: pointer;
}

.box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.red {
    background-color: #ff4b5c;
}

.yellow {
    background-color: #f9c74f;
}

.green {
    background-color: #43aa8b;
}

.purple {
    background-color: #577590;
}

.flash {
    animation: flashAnim 0.3s ease;
}

.userflash {
    animation: userFlashAnim 0.3s ease;
}

@keyframes flashAnim {
    0% { background-color: white; }
    100% { background-color: inherit; }
}

@keyframes userFlashAnim {
    0% { background-color: #46d446; }
    100% { background-color: inherit; }
}
