.mobile{
    display: none;
    margin-top: 10px;
}


#home-section{
    overflow: hidden;
}

.dashboard-menu {
    width: 23.5%;
    margin-right: 2%;
    float: left;
}

.dashboard-content {
    width: 74.5%;
    float: left;
}

.textarea-container {
    position: relative;
    display: flex;
    padding: 0;
    border-radius: 10px;
    background-color: #1d1e3a;
    overflow: hidden;
}

.textarea-line-numbers {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40px;
    background: #1d1e3a;
    color: #858585;
    text-align: right;
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    overflow-y: hidden;
    white-space: pre-line;
}

/* Chrome, Safari, Edge */
.textarea-line-numbers::-webkit-scrollbar {
    display: none;
}

.textarea-container textarea {
    margin-left: 40px; /* Adjusted to make room for line numbers */
    width: calc(100% - 40px); /* Adjusted to make room for line numbers */
    height:60%;
    background: transparent;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    box-sizing: border-box;
    font-family: monospace;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* opcjonalnie do wyrównania */
}

.flexbox > .stat-box {
    flex: 0 1 calc(50% - 10px); /* 2 kolumny z odstępem */
}

#top-user-box{
    margin-top: 120px;
}

.stat-box{
    background: #1d1e3a;
    display: flex; 
    align-items: center; 
    gap: 20px; padding: 20px; 
    border-radius: 10px;
}

@media (max-width:1275px){
    
    .desktop{
        display: none;
    }
    
    .mobile{
        display: block;
    }
    
    .dashboard-menu, .dashboard-content{
        width: 100% ;
        float: none;
    }
    
    #pasteform{
        display: grid;
    }
    
    .dashboard-menu{
        position: relative;
        order: 2;
        margin-top: 10px;
        margin-right: 0;
    }
    
    .flexbox{
        display: block;
    }
    
    .stat-box{
        margin-bottom: 10px;
    }
}