@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins";
}

body {
    background-color: #f7f9fc;
    color: #444343;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}


.container {
    text-align: center;
    width: 100%;

    /* background-color: rebeccapurple; */
    padding: 1.2rem;
}

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

.board {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    /* background-color: rebeccapurple; */
}

.list {
    background-color: #e3e4e8;
    color: #444343;
    border-radius: 20px;
    min-height: 400px;
    width: 30%;
    padding: 1.2rem;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.578);
}

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

.card {
    padding: 1rem;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: grab;
    width: 80%;
    text-align: center;
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.over{
    background-color: #adacac;
}
.card:active{
    cursor: grabbing;
      transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



/*  TODO:add media queries. */
@media (max-width:700px) {
    .board{
        flex-direction: column;
        align-items: center;
    }
    .list{
        width: 80%;
        min-height: 200px;
    }
    .card{
        margin: 20px auto;
    }
}