body {
    margin: 0;
    overflow: hidden;
    background: rgb(234, 234, 234);
    font-family: Arial;
}


/* THREE.JS (model) VIEWER */

#viewer {
    margin: 20px auto 0;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    background:rgb(255, 192, 203);
}



/* CONTROL PANEL 4 model */

.panel {
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(255, 255, 255, 0.867);
    padding: 15px;
    border-radius: 12px;
    box-sizing: border-box;
}


/* CLASSES FOR TEXT N ALLAT  */

.coatgrid,
.markinggrid {
    padding: 20px;
    font-size: 20px;
    font-family: Georgia, serif;
    width: 325px;
    text-align: center;
    border-radius:8px;
    border:3px;
    border-color: rgb(208, 129, 248);
    border-style:solid;
}

.laayout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stylesel,
.coatsel {
    align-items: center;
    text-align: center;
    font-size: 30px;
    font-family: georgia;
    font-weight: bolder;
    color: rgb(242, 66, 255);
}


/* is combo valid msg */
#combinationMessage {
    font-family: georgia;
    font-style: italic;
    display: flex;
    font-size: 20px;
    flex-direction: column;
    align-items: center;
    color: rgb(214, 66, 255);
    margin-left: 10px;
    width: 100%;
    text-align:center;
    margin-top:5px;
}

/* MOBILE  */


@media (max-width: 600px) {

    #viewer {
        margin: 20px auto 0;
        height: 65vh;
        border-radius: 12px;
    }


    .panel {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
    }


    .coatgrid,
    .markinggrid {
        padding: 5px;
        font-size: 16px;
    }


    .stylesel,
    .coatsel {
        width: 100%;
        text-align: center;
        font-size: 18px;
        padding: 8px;
        box-sizing: border-box;
    }

    .mobile-layout {
        box-sizing: border-box;
        max-width: 100%;
    }

    select.mobile-layout {
        width: 100%;
    }

    #combinationMessage {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        box-sizing: border-box;
    }

}
