@media only screen and (max-width: 600px) {



    #adminbuttons {
        display: grid;
        grid-template-columns: auto auto auto auto;
        margin: 10px auto;
    }

    #headerlogo {
           max-width: 200px;
           height: auto;
           display: flex;
           justify-content: center;
           align-items: center;
           margin: auto;
           position: sticky;
           top: 0;
           left: 0;
           right: 0;
           z-index: 1000;
           box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    #header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: white;
        width: 100%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        display: grid;
        grid-template-columns: 20% 60% 20%;
    }
    
    #rate_div {
        box-sizing: border-box;
        top: 250px;
        padding: 20px 16px 16px 16px;
        background: linear-gradient(135deg, #f8f8fc 80%, #e3f0ff 100%);
        border: 1.5px solid #333;
        border-radius: 16px;
        width: 92%;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1200;
        box-shadow: 0 6px 24px rgba(74,144,226,0.10), 0 1.5px 6px rgba(0,0,0,0.04);
        transition: box-shadow 0.2s;
        text-align: center;
    }
    #rate_div div {
        margin: 8px 0;
        display: grid;
        grid-template-columns: auto auto auto auto auto;
        justify-content: center;
    }

    #rate_div div div {
        border: 1px solid #333;
        border-radius: 8px;
        padding: 8px 12px;
        margin: 0 4px;
        
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
}