﻿.div-main-container {
    background-color: #f9f9f9;
    width: 100%;
    align-content: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid #0066ff;
    height: 45vh; /* default for mobile & tablets */
}

/* For larger screens (PC) */
@media (min-width: 1024px) {
    .div-main-container {
        height: 70vh;
    }
}




.box {
    color: black;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 25%;
    border: 2px solid #0066ff;
    text-align: center;
    display: flex;
    cursor: default;
    background-image: url(../../../media/misc/hockey-puck.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80% 80%;
}

@media screen and (max-width: 767px) {
    .box {
        background-image: none;
    }
}

.num-text {
    /*    font-size: 2vw;
    margin:1%;*/
}

/*@media only screen and (max-width: 768px) {
    .num-text {
        font-size: 3vw;
        margin: 1%;
    }
}

@media only screen and (max-width: 320px) {
    .num-text {
        font-size: 3vw;
        margin: 1%;
    }
}*/

* {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    user-select: none;
}

.box-selected {
    color: white;
}


.display-hidden {
    display: none;
}



@media only screen and (max-width: 600px) {
    .btn-generate {
        margin-left: 3%;
        margin-top: 2%;
    }

    .btn-leave-room {
        margin-left: 3%;
        margin-top: 2%;
    }

    .btn-search {
        margin-left: 3%;
        margin-top: 2%;
    }
}

.fireworks {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 9;
    overflow: auto;
    pointer-events: none;
}


@media screen and (min-width: 320px) {
    .grid-selection-text {
        font-size: 14px !important;
    }

    .num-text {
        font-size: calc(16px + 6 * ((100vw - 320px) / 680)) !important;
        pointer-events: none;
    }
}

@media screen and (min-width: 1000px) {
    .grid-selection-text {
        font-size: 26px !important;
    }

    .num-text {
        font-size: 12px !important;
        pointer-events: none;
    }
}


#fluid {
    position: absolute;
    z-index: 1;
}

    #fluid a {
        position: absolute;
        /* background-color: rgba(0, 0, 0, 0.5); */
    }

    #fluid img {
        width: 30%;
        height: auto;
    }

@media (max-width: 768px) { /* mobile breakpoint */
    #fluid img {
        width: 70%;
    }
}

#player_img_container {
    position: relative;
}

.clear {
    clear: both;
}

.grid-selection-text {
    background-color: #e30000;
    padding: 2% 2%;
    border-radius: 25px;
}

.grid-selection-text-label {
    background-color: #e30000;
    padding: 1% 2%;
    border-radius: 25px;
}


.gameroom-selection-text-label {
    background-color: #0066ff;
    padding: 1% 2%;
    border-radius: 25px;
}

.card_content {
    max-height: 30vh;
    overflow-y: scroll;
}


    .card_content::-webkit-scrollbar {
        display: none;
    }

.custom_font {
    font-size: 10px !important;
}

