.instructionsMobile{
    font-size: 15px;
    text-transform: uppercase;
    text-align: left;
    align-self: baseline;
    margin-left: 20px;
    margin-bottom: 10px !important;
}

@media (max-width:961px) {
    body{
        padding-top: 24px;
        padding-bottom: 24px;
        height: 100%;
        width: 100%;
    }
    .desktop-only{
        display: none;
    }
    .medium-mobile-only{
        display: block !important;
    }
    .medium-mobile-only-flex{
        display: flex !important;
    }
    .short-top{
        max-height: 35%;
    }
    .instructionsMobile{
        align-self: center;
    }
    #logoDiv{
        display: none;
    }
    .logo-mobile{
        display: block !important;
        margin-left: 16px;
    }
    .avatar-small{
        width: 70px;
        height: 70px;
    }
    .name-label{
        font-size: 16px;
    }
    #footerCenterPart{
        width: 100%;
    }
    .chosenImg{
        height: unset;
    }
    
    #writerChoosing{
        .chosenImg{
            margin-right: unset;
        }
    }
    #detailsActivePart{
        padding-right: 0px; 
        flex-direction: column;
    }
    .down-part-container{
        flex: 2;
        justify-content: center;
    }
    #lobbyActivePart{
        width: 90%;
        margin-top: 0px;
    }
    .lobby-details{
        padding: 0px;
    }
    .lobby-code p{
        width: 300px;
    }
    .mobile-inline-player{
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;

        .name-label{
            margin-left: -14px;
            font-size: 15px;
            margin-top: 4px;
        }
        .avatar{
            width: 60px;
            height: 60px;
        }
        .admin-crown{
            position: absolute;
            margin: 0px 0px 60px 16px;
            width: 28px;
        }
    }
    .timer{
        margin-right: unset !important;
        height: 47px;
        width: 73px;
        img{
            width: 73px;
        }
        p{
            padding-right: 13px;
            font-size: 17px !important;
            line-height: 20px;
            margin-top: 0px !important;
        }
    }

    #judgePickingWinner{
        max-height: unset;
    }
    
    #writerCheckingCards .mobile-inline-player{
        margin-right: 10px;
    }

    #judgeWaitingOthers>.topPartStyled{
        margin-right: unset;
        >div:last-child{
            max-width: 100%;
        }
    }

    #cardsTextDivAll{
        justify-content: center;
    }

    #cardsTextDiv .text-card:hover{
        transform: translate(0px, 0px);
    }
    
    .carouselCardView{
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: clip;
        justify-content: unset !important; 
        align-items: anchor-center;
        scroll-snap-type: both;

        width: 100% !important;

        /*
        TODO other way of display*/
        height: min-content;
        flex-wrap: nowrap !important;

    }
    .text-card-outer{
        width: calc(25% - 5px);
        flex: none;
        position: relative;
    }
    .carouselCardView .text-card{ 
        scale: 0.9;
        transition: scale 1s, transform 1s;
        flex: none;
        aspect-ratio: 0.6;
        align-items: baseline;
        height: fit-content;
        >img{
            display: none;
        }
    }
    
    .carouselCardView{
        gap: 0px !important;
    }

    
    #writerChoosing{
        .ready-people{
            top: 25px;
            right: 25px;
        }
    }

    .enlarged-card{
        scale: 1 !important;
    }

    .player-choice-card .inline-player{
        top: unset;
        bottom: 20px;
        margin-left: 5px;
        .avatar{
            width: 40px;
            height: 40px;
        }
    }
    
    .text-card-outer{
        width: 25%;
        padding: 0px 0px 0px 10px;
        scroll-snap-align: start;
    }
    .carouselCardView > * > *{
        scroll-snap-align: none;
    }
    
    #cardsTextDiv::before{
        content: " ";
    }

    .wait_for_others{
        max-width: 60%;
        text-align: center;
    }

    .chosenImgDiv{
        flex: 1 0 100%;
        order: 2;
        margin-right: 0px;
    }

    .chosenImg{
        aspect-ratio: 1.5;
        border: none;
        object-fit: contain;
        border-radius: 10px;
    }

    .judge-badge-on-photo{
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        height: 30%;
        position: unset !important;
        
        .judgeBadge{
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translate(-50%, 0px);
            z-index: 3;
            .admin-crown{
                display: none;
            }
        }
    }

    #lockBtn{
        position: relative;
        right: unset;
    }

    #cardsJudgeTextDiv{
        flex-direction: column;
        margin-left: unset;
        margin-right: unset;
        align-items: flex-start;
        padding-bottom: 50px;
    }
    #endingScreen{
        flex-direction: column;
    }
    #languageButton{
        left: auto;
        right: 30px;
    }
    

    .mimic-card{
        display: block;
        min-width: calc(37% - 4px);
    }

}
