.sortingCard {
    box-shadow: var(--box-shadow);
    transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
    cursor: move;
    width: 22%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: relative;
    z-index: 3;
}

.dropOn1 .patientTop {
    background-color: var(--light-blue) !important;
}

.dropOn2 .patientTop {
    background-color: var(--light-red) !important;
}

.dropOn3 .patientTop {
    background-color: var(--green) !important;
}

.dropOn4 .patientTop {
    background-color: var(--dark-pink) !important;
}

.patientDropped .patientTop p,
.patientDropped .patientTop h4 {
    color: #ffffff !important;
}

.patientTop {
    padding: 10px 7px;
    background-color: #ffffff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.patientTop h4:after {
    content: "\F285";
    font-family: 'bootstrap-icons';
    float: right;
}


.patientBottom {
    padding: 10px;
    position: relative;
    height: 50px;
    background-color: var(--lighter-grey);
}

.patientBottom .dragPatientImg {
    border-radius: var(--border-radius);
    border: 1px solid var(--blue);
    background-color: #dddddd;
    position: absolute;
    top: -5px;
    right: -15px;
    height: 60px;
    width: 60px;
}

.dragIcon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translatey(-50%);
}

.dragging {
    transform: scale(1.2);
    box-shadow: var(--box-shadow-hover);
}

.continuumWrapper {
    background-image: url('/images/continuum_circle.png');
    background-position: center center;
    background-size: 65%;
    background-repeat: no-repeat;
}

@keyframes continuum {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.continuumInner {
    width: 50%;
    height: 300px;
    padding: 50px 25px 20px 25px;

}

.continuumInner p {
    padding: 2px;
    border-radius: var(--border-radius-sm);
    background-color: #ffffff;
}

.continuumCopy {
    opacity: 0;
    animation: continuum .5s ease-in-out;
    animation-fill-mode: forwards;
}

.continuumInner:nth-of-type(1) {
    border-right: 3px solid var(--blue);
    border-bottom: 3px solid var(--blue);
    padding-left: 0px;
}

.continuumInner:nth-of-type(1) .continuumCopy {
    animation-delay: 0s;
}

.continuumInner:nth-of-type(2) {
    border-left: 3px solid var(--blue);
    border-bottom: 3px solid var(--blue);
    padding-right: 0px;
    animation-delay: .3s;
}

.continuumInner:nth-of-type(2) .continuumCopy {
    animation-delay: .3s;
}

.continuumInner:nth-of-type(3) {
    border-right: 3px solid var(--blue);
    border-top: 3px solid var(--blue);
    padding-left: 0px !important;
    animation-delay: .6s;
}

.continuumInner:nth-of-type(3) .continuumCopy {
    animation-delay: .6s;
}

.continuumInner:nth-of-type(4) {
    border-left: 3px solid var(--blue);
    border-top: 3px solid var(--blue);
    padding-right: 0px !important;
    animation-delay: .9s;
}

.continuumInner:nth-of-type(4) .continuumCopy {
    animation-delay: .9s;
}

.continuumInner.continuumBottom {
    padding: 20px 25px 50px 25px;
}

.continuumCopy {
    padding: 10px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    background-color: #ffffff;
}

.continuumCopy li {
    font-size: 18px;
}

.continuumCopy ul {
    max-height: 200px;
    overflow-y: scroll;
}

.continuumLabel {
    z-index: 999999;
    color: var(--blue);
    background-color: #ffffff;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow);
    padding: 5px;
}

.highKnowledge {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.highWillingness {
    top: 46%;
    right: -20px;
    transform: translateY(-90%);
}

.continuumInner {
    position: relative;
}

.continuumInner p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.continuumInner.continuumBottom p {
    top: unset;
    bottom: 0;
    left: 0;
}

.continuumLightBlue {
    border: 1px solid var(--light-blue);
    color: var(--light-blue);
}

.continuumLightRed {
    border: 1px solid var(--light-red);
    color: var(--light-red);
}

.continuumGreen {
    border: 1px solid var(--green);
    color: var(--green);
}

.continuumDarkPink {
    border: 1px solid var(--dark-pink);
    color: var(--dark-pink);
}





.sorting-how-to {
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.gameIntro {
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.selectPatient {
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.patientInfoWrap {
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.gameContainer {
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.gameResults {
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.gameFinish {
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.signUp {
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.swcPrivacy {
    display: none;
    z-index: 99999;
}

.privacyInner {
    max-height: 500px;
    overflow-y: scroll;
    padding-right: 20px;
}


.signUpThanks {
    display: none;
    z-index: 99999;
}




.snapArea {
    width: calc(50% - 1px);
    padding-bottom: 26%;
    max-height: 200px;
    background-color: #ffffff;
    margin: -1px;
    position: relative;
    z-index: 1;
}

.snapArea i {
    display: none;
    font-size: 24px;
    position: absolute;
    right: 10px;
    top: 0px;
}

.snapArea.hasDropped i {
    display: block;
}

.area-top-right i,
.area-bottom-right i {
    right: unset;
    left: 0px;
}

.area-bottom-left i,
.area-bottom-right i {
    top: unset;
    bottom: 0px;
}

.snapAreaBottom {
    padding-bottom: unset;
    padding-top: 22%;
}

.dropAreasWrapper {
    background-color: var(--blue);
    gap: 6px;
}

.selectPWrapper {
    min-height: 500px;
}


.selectPCard {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-name: dealCard;
    animation-fill-mode: forwards;
    animation-duration: 1s;
    opacity: 0;
}

.selectPCard.selectCard1 {
    transform: translate(-50%, -50%);
}

.selectPCard.selectCard2 {
    transform: translate(-45%, -55%);
    animation-delay: .5s;
}

.selectPCard.selectCard3 {
    transform: translate(-40%, -60%);
    animation-delay: 1s;
}

.selectPCard.selectCard4 {
    transform: translate(-35%, -65%);
    animation-delay: 1.5s;
}

@keyframes dealCard {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.patientBasic {
    box-shadow: var(--box-shadow);
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 220px;
    pointer-events: none;
}

.patientBasic.activate {
    pointer-events: all;
}

.patientBasic img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: 0% 40%;
    border-radius: var(--border-radius);
}

.patientBasicCopy {
    padding: 10px;
}

.patientBasicCopy p {
    margin-bottom: 0px;
    line-height: 1.1;
    font-size: 14px;
}

.patientBasicNameAge {
    margin-bottom: 7px;
}

.patientName:after {
    opacity: 0;
    content: "\F285";
    font-family: 'bootstrap-icons';
    float: right;
    margin-right: 15px;
    transition: all .3s ease-in-out;
}

.patientBasic.activate .patientName:after {
    opacity: 1;
}

.patientAwareness {
    background-color: var(--green);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 5px;
}

.patientKnowledge {
    background-color: var(--light-blue);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 5px;
}

.patientAttitude {
    background-color: var(--dark-pink);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
}

.selectPatientCTAwrapper {
    gap: 10px;
}

.patientInfo {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff
}

.patientInfoInner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.patientInfoInner img {
    height: 200px;
}

.closePatient {
    top: -15px;
    right: -15px;
    color: var(--blue);
    font-size: 32px;
    box-shadow: var(--box-shadow);
    line-height: 0.8;
    border-radius: 50px;
    background-color: #ffffff;
}

.patientInfoLeft {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.patientDescription {
    height: 220px;
    overflow-y: scroll;
    padding-right: 20px;
    font-size: 18px;
}

.patientDescription p {
    font-size: 18px;
}

.patientInfoLeft h3 {
    font-size: 24px;
}

.patientInfoImg img {
    object-fit: cover;
    border-radius: var(--border-radius);
}

.patientInfoAwarenessShort,
.patientInfoWoundShort,
.patientInfoAttitudeShort {
    border-radius: var(--border-radius);
}

.patientInfoRightBox {
    height: 31%;
    max-height: 200px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    font-size: 18px;
    color: var(--blue);
    padding: 15px !important;
}

.patientInfoAwareness {
    border: 1px solid var(--green);
}

.patientInfoWound {
    border: 1px solid var(--light-blue);
}

.patientInfoAttitude {
    border: 1px solid var(--dark-pink);
}

.patientInfoRightBoxInner {
    overflow-y: scroll;
    height: 90%;
    padding-right: 10px;
}



.resultAnswer {
    font-size: 20px;
}

.patientResult img {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.patientResultWrapper {
    perspective: 1000px;
    height: 120px;
}

.patientResultInner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.8s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 1s;
    -o-transform-style: preserve-3d;
    -o-transition: -o-transform 1s;
    -moz-transform-style: preserve-3d;
    -moz-transition: -moz-transform 1s;
}

.patientResultFront {
    -webkit-z-index: -1;
    z-index: -1;
}

.patientResultFront,
.patientResultBack {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    background-color: #ffffff;
    border-radius: var(--border-radius);
}

.patientResultBack {
    transform: rotateY(180deg);

    -webkit-z-index: 1;
    z-index: 1;
}



.flipResult {
    top: 5px;
    right: 10px;
    font-size: 20px;
    z-index: 999;
    cursor: pointer;

}

.flipResult i {
    position: absolute;
    right: 0;
    top: 0;
    display: none;
}

.reset-btn {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    background-color: #ffffff !important;
}

.reset-btn.active {
    visibility: visible;
    opacity: 1;
}

.reset-card {
    display: none;
    color: var(--light-grey) !important;
}


/*Scrollbar*/
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
    border-radius: var(--border-radius);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.game-grey-top-element {
    opacity: 0;
    visibility: hidden;
    height: 36vh;
    width: 100%;
    background-color: #F6F8F9;
    transition: all .3s ease-in-out;
    box-shadow: var(--box-shadow);
}

.game-grey-top .game-grey-top-element {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
}