body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'UrbanGear';
    background-color: #f4f4f4;
}
@font-face {
    font-family: 'UrbanGear';
    src: url('../fonts/UrbanGear.ttf') format('truetype'); 
    font-weight: normal; 
    font-style: normal; 
}
.container {
    display: flex;
    width: 80%;
    max-width: 1200px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

.table-container {
    flex: 2;
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size:30px;
}

th {
    background-color: #f2f2f2;
}

.video-container {
    flex: 1;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    padding: 20px;
    background-color: #fafafa;
}

/* Video Thumbnail Styling */
.video-thumbnail {
    width: 100%;
    
    
    text-align: center; 
}

.video-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block; 
    margin: 0 auto; 
}

/* Matn uchun stil */
.video-thumbnail p {
    margin-top: 20px; 
    font-size: 20px; 
    
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .table-container, .video-container {
        flex: 1;
        padding: 5px;
    }
}
a:link {
    color: #1ba1e9;
    text-decoration: none;
}

/* visited link */
a:visited {
    color: green;
}

/* mouse over link */
a:hover {
    color:black;
}

/* selected link */
a:active {
    color: yellow;
}
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr); /* Har bir qatorda 10 ta ustun */
    grid-auto-rows: minmax(50px, auto); /* Minimal balandlik */
    gap: 10px; /* Elementlar orasidagi joy */
    list-style: none; /* Markerlarni olib tashlash */
    padding: 0; /* Ichki paddingni olib tashlash */
    margin: 5px 0; /* Yuqoridan va pastdan joy tashlash */
}

.thumb-grid li {
    background-color: #f0f0f0; /* Orqa fon rangi */
    border: 1px solid #ccc; /* Chegara */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
}
.top-div {
    margin-bottom: 50px; /* Pastki qismdan 50px joy tashlash */
    background-color: #e0e0e0;
    padding: 10px;
    
}

.bottom-div {
    background-color: #f0f0f0;
    padding: 10px;
    font-family:Arial, Helvetica, sans-serif
}
.thumb-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
.thumb-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}