

.logo-mobile{
    display: none;
    float: left;
    align-self: baseline;
    /* img{ //CHANGED ICON
        width: 60px;
        height: 50px;
    } */
    img{
        height: 27px;
    }
}

.mobile-only{
    display: none;
}

.mobile-only-flex{
    display: none;
}



@media (max-width:481px)  { 
    
    body{
        padding-top: 0px;
        gap: 10px;
        padding-bottom: 8px;
        height: fit-content; /*TODO*/
    }
    .instructionsMobile{
        align-self: unset;
        margin-left: 24px;
    }
    .medium-desktop-only{
        display: none;
    }
    .mobile-only{
        display: block !important;
    }
    .mobile-only-flex{
        display: flex !important;
    }

    .supersmall-text{
        font-size: 10px;
    }
    .descriptive-text{
        font-size: 12px;
    }
    .subtitle-text{
        font-size: 18px;
    }
    .value-text{
        font-size: 21px;
    }

    .logo-mobile{
        margin-top: 16px;
    }
    
    #detailsActivePart, #homeActivePartOuter{
        margin-bottom: 0px;
        width: calc(100% - 60px);
        #detailsUsernamePart, #homeRoomsPart, #homeActivePart{
            width: 100%;
        }
    }
    #logoDiv{
        margin-top: 20px;
    }
    #logoDiv img {
        width: 100px;
    }
    #submitName{
        width: min(400px, 100%);
    }
    
    .transparent-button{
        border: black 3px solid;
    }
    .mobile-black-button{
        background-color: black;
        color: var(--colorGreen);
        box-shadow: none;
        border: none;
    }
    
    #languageButton {
        right: 30px;
        background-color: black;
        top: 0px;
        left: auto;
        img{
            display: none;
        }
        p{
            font-size: 18px;
            color: white;
        }
    }
    #judgePickingWinner{
        max-height: unset;
    }
    .home-button{
        padding: 22px 12px 9px 12px;
    }
    #homeActivePart{
        .avatar{
            width: 90px;
            height: 90px;
        }
    }
    .avatar-big{
        width: 150px;
        height: 150px;
    }
    .avatar-small{
        width: 50px;
        height: 50px;
    }
    .name-label{
        font-size: 14px;
    }

    .lobby-details, .lobby-code{
        display: none;
    }
    .lobby-details-mobile{
        display: flex !important;
        align-items: center;
        img{
            width: 24px;
            height: 30px;
            object-fit: contain;
        }
        div{
            width: 50px;
        }
        .descriptive-text{
            text-transform: uppercase;
            margin-top: 3px;
        }
    }

    .lobby-modes{
        display: flex;
        gap: 10px;
        margin-top: 7px;
        div{
            background: white;
            border: black solid;
            border-width: 5px !important;
            padding: 10px;
            flex: 1;
            img{
                margin-top: 2px;
                height: 35px;
                width: 36px;
                object-fit: contain;
            }
            .subtitle-text{                
                font-size: 16px;
                padding: 6px 0px 9px 0px;
            }
            .descriptive-text{
                font-size: 12px;
                font-weight: 400;
            }
        }
    }

    .black-mobile-btn{
        background-color: black;
        color: var(--colorGreen);
        box-shadow: none;
        img{
            display: none;
        }
    }

    .red-mobile-btn{
        background-color: transparent;
        color: var(--colorRed);
        box-shadow: none;
        img{
            display: none;
        }
    }

    .transperant-mobile-btn{
        background-color: transparent;
        border: black solid 2px;
        color: black;
        box-shadow: none;
        img{
            display: none;
        }
    }

    #swapBtn{
        width: 50px;
        height: 50px;
    }

    #homeActivePart .vertical-line{
        width: 100%;
        height: 1px;
    }
    #homeActivePart{
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    #homeRoomsPart{
        text-align: center;
        gap: 13px;
        >*:first-child{
            text-align: left;
        }
    }
    #homeRoomsPart div{
        flex-direction: column-reverse;
        margin-top: 16px;
    }
    #homeRoomsPart div button{
        width: 100%;
    }
    #homeActivePartOuter{
        margin-bottom: 120px;
    }

    #lobbyActivePart{
        width: calc(100% - 60px);
        margin-top: 0px;
        gap: 20px;
    }
    #lobbyBtns{
        width: calc(100% - 60px);
    }
    #confirmButton{
        width: calc(100% - 60px);
        margin-bottom: 20px;
    }
    #joinRoomBtn{order:3;}
    #buttons_or{order:2;}
    #createRoomBtn{order:1;}
    .big-button{
        width: 100%;
    }
    .big-numbers{
        font-size: 45px;
    }
    .mobile-inline-player{
        border: black 3px solid;
        display: flex;
        align-items: center;
        padding-bottom: 4px;
        padding-left: 9px;
        padding-right: 9px;
        width: 100%;
        .admin-crown{
            order: 3;
            width: 22px;
            height: 17px;
            position: unset;
            margin: unset;
        }
        .avatar{
            background: none !important;
            border: none;
        }
        .name-label{
            background-color: transparent;
            border: none;
            box-shadow: none;
            flex: 1;
            text-align: left;
        }
    }
    #cardsTextDiv{
        scrollbar-width: none;
        padding-left: 0px;
        padding-right: 0px;
    }
    #writerChoosing{
        display: block;
    }

    #playersDiv{
        display: flex;
        align-content: flex-start;
        gap: 15px;
    }
    /* .mimic-card{
        width: 25% !important;
        min-width: 25%;
    } */
    #lobbyBtns{
        padding-bottom: 23px;
    }
    .timer{
        height: 47px;
        img{
            width: 73px;
        }
        p{
            font-size: 20px;
        }
    }

    
    #judgePickingWinner{
        margin-top: 0px;
    }

    .judgeOrders{
        margin: 0px;
    }
    .active-top-part{
        flex: 0;
        width: 100%;
    }
    #cardsPhotoDiv
    {
        display: flex;
        flex-direction: column;
        align-items: center;
        >div{
            width: 90%;
            flex-direction: column;
            align-items: center;
        }
    }
    
    .player-choice-card .inline-player {
        transform: translate(-50%, 0px) !important;
    }
    
    .player-choice-card:has(.enlarged-card) .inline-player {
        transform: translate(-50%, 60px) !important;
    }
    
    .carouselCardView{
        scrollbar-width: none;
    }
    
    .text-card-outer{
        width: 45%;
    }
    .text-card{
        p{
            font-size: 15px;
        }
    }

    #judgeWaitingOthers .topPartStyled {
        flex:1;
    }

    #lockBtn, #confirmWinnerButton{
        width: calc(100% - 20px);
    }
    #downloadBtn{
        margin-bottom: 25px;
    }

    .short-top{
        flex: none !important;
    }

    .photo-card{
        border-width: 5px;
        width: 90%;
        height: auto;
    }
    #judgeChoosing{
        flex-wrap: wrap;
        justify-content: center;
        .judgeOrders {
            order: -1;
        }
    }

    .chosenImgDiv{
        display: block;
    }
    .chosenImg{
        max-height: unset;
        border: none;
    }

    #judgeWaitingOthers {
        padding-top: 0px;
    }

    #winnerScreen{
        order: 1;
        .inline-player{
            width: 100%;
        }
    }
    #winnerScreen>div:last-of-type{
        flex-direction: column;
    }
    #winnerLabel{
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    #winnerMeme, #winnerMeme div{
        width: 100% !important;
    }

    .winnerMeme-outer{
        flex: 1;
        align-content: center;
    }

    #judgePickingWinner .text-card{
        top: 100%;
        bottom: auto;
        position: sticky;
    }
    .mobile-down-left{
        position: fixed !important;
        bottom: 10px !important;
        right: 10px !important;
    }
    #cardsTextDivAll {
        justify-content: center;
    }
    
}


.superHide{
    display: none !important;
}