* {
    margin: 0 auto;
    padding: 0;
    user-select: none;
}

html,
body {
    width: 700px;
    height: 590px;
    overflow: hidden;
    margin: 0 auto;
}

#interactive {
    height: calc(100% - 10px);
    margin: 5px 0;
}

#dragdrop {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.cardPile {
    width: 120px;
    background: #ddd;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

#cardSlots {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-end;
    align-items: center;
    padding: 20px;
}

#dragdrop .card,
#dragdrop .slot {
    width: 120px;
    height: 170px;
}

#cardSlots .slot {
    border: dashed 3px #bbb;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#cardSlots .slot p {
    text-align: center;
    padding: 5px;
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
}

.cardPile,
#cardSlots .slot,
.card img {
    border-radius: 20px;
}

.hovered {
    background: #eee;
}

.modaal-content-container {
    padding: 20px;
}

.modaal-content-container img {
    width: 100%;
    height: auto;
}

.modaal-content-container h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

.modaal-content-container h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 6px 0;
}

.modaal-content-container p {
    font-size: 16px;
    line-height: 1.3;
}

#successMessage {
    clear: both;
    padding-top: 20px;
    margin: 0;
    font-size: 3em;
}

.wrong {
    position: relative;
}

.wrong::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c1272dbf;
    background-size: 100%;
    z-index: 2;
}

.hide {
    display: none;
}

.ui-draggable {
    cursor: grab;
}

.ui-draggable-dragging {
    cursor: grabbing;
}

.ui-draggable-disabled {
    cursor: initial;
}
