:root {
    --white: #f3f3f3;
    --black: #010101;
    --blue-dark: #0e2228;
    --blue-70: #020a26b3;
    --green: #123337;
    --green-90: #003438e6;
    --green-dark: #012121;
    --green-right-50: #32ca8f80;
    --red-75: #c1272dbf;
    --orange: #e6983f;
}

html {
    background-color: var(--black);
    height: 100%;
}

body {
    overflow: hidden;
    width: 1920px;
    height: 1080px;
    margin: auto;
    padding: 0;
    position: relative;
    color: var(--white);
    user-select: none;
}

img {
    width: 100%;
    height: auto;
}

.hide {
    display: none;
}

.overlay,
.modal {
    width: 100%;
    height: 100%;
    max-width: 1920px;
    max-height: 1080px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.modal,
.overlay,
.overlay .content {
    pointer-events: none;
}

.modal .overlay {
    pointer-events: auto;
    cursor: pointer;
}

.modal.correct .overlay {
    background-color: var(--green-right-50);
}

.info {
    position: relative;
    padding-top: 48%;
    border-radius: 40px;
    background-size: cover;
    z-index: 2;
}

.box-bg {
    background-size: auto 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.box-drag {
    cursor: grab;
}

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

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

.box-drop.solved {
    opacity: 0;
    cursor: pointer;
}

.box-drop img,
.box-drag img {
    width: 100%;
    height: auto;
    pointer-events: none;
}

.wrong {
    position: relative;
}

.wrong::before,
.faded:not(.ui-draggable-dragging)::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 100%;
}

.wrong::before {
    z-index: 2;
    background-color: var(--red-75);
}

#play-again {
    cursor: pointer;
}
