@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600&display=swap');
*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* MAIN STYLE */

.card {
    width: 100%;
    height:auto !important;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    overflow: hidden;
    background: #fafbff;
}

.card .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.card p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #878a9a;
}

.card button {
    outline: 0;
    border: 0;
    -webkit-appearence: none;
    background: #5256ad;
    color: #fff;
    border-radius: 4px;
    transition: 0.3s;
    cursor: pointer;
    font-weight: 400;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
    padding: 8px 13px;
}

.card button:hover {
    opacity: 0.8;
}

.card button:active {
    transform: translateY(5px);
}

.card .drag-area {
    width: 100%;
    height: 400px;
    border-radius: 5px;
    border: 2px dashed #d5d5e1;
    color: #c8c9dd;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    background: #dfe3f259;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    margin-top: 10px;
}

.card .drag-area .visible {
    font-size: 18px;
    text-align:center;
}

.card .select {
    color: #5256ad;
    margin-left: 5px;
    cursor: pointer;
    transition: 0.4s;
}

.card .select:hover {
    opacity: 0.6;
}

.card .container {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    align-items:flex-start;
    flex-wrap: wrap;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    margin:10px auto;
    gap:13px;
    padding: 20px 0px;
    overflow-y: auto;
}

.card .container .image {
    position: relative;
    margin-bottom: 8px;
}

.card .container .image img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    border-radius: 5px;
}

.card .container .image span {
    position: absolute;
    top: 10px;
    padding:5px 10px ;
    background:white;
    right: 9px;
    font-size: 20px;
    z-index:10;
    cursor: pointer;
}


/* dragover class will used in drag and drop system */

.card .drag-area.dragover {
    background: rgba(0, 0, 0, 0.4);
}

.card .drag-area.dragover .on-drop {
    display: inline;
    font-size: 28px;
}

.card input,
.card .drag-area .on-drop,
.card .drag-area.dragover .visible {
    display: none;
}