/*BASIC RESET*/

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

body {
    font-family: sans-serif;
    background-color: #f7f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/*BOARD*/
.container {
    text-align: center;
    width: 100%;
    padding: 1.2rem;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
    cursor: pointer;
}

.board {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.list {
    background-color: #e3e4eb;
    padding: 1rem;
    width: 30%;
    min-height: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.list h2 {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.card {
    background-color: #fff;
    color: #333;
    padding: 1rem;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: grab;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:active {
    cursor: grabbing;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.list.over {
    background-color: #d1d3d8;
}

@media (max-width: 768px) {
    .board {
        flex-direction: column;
        align-items: center;
    }

    .list {
        width: 80%;
        margin-bottom: 20px;
    }
}