body {
    background-color: #0f0f0f;
    font-family: 'Montserrat', sans-serif;
    color: #f0f0f0;
    margin: 0;
    /* padding: 20px; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    overflow: auto;
    scroll-behavior: smooth;
}

.file-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    margin-top: 50px;
    margin-left: 50px;
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 20px;
}

.file-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.file-container::-webkit-scrollbar-track {
    background: #ffffff0d;
    border-radius: 10px;
}

.file-container::-webkit-scrollbar-thumb {
    background: #ffffff40;
    border-radius: 10px;
    border: 2px solid #0f0f0f;
    transition: background 0.3s;
}

.file-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.file-item {
    text-align: center;
    background: #ffffff0d;
    border-radius: 12px;
    padding: 20px;
    width: 120px;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 6px 12px #00000033;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.file-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}

.file-name {
    font-size: 14px;
    font-family: helvetica, sans-serif;
    color: #f0f0f0;
    overflow: hidden;
    word-wrap: break-word;
    width: 100%;
    font-weight: 500;
    text-align: center;
    display: block;
}

.file-link {
    text-decoration: none;
    color: inherit;
}

.folder-icon {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.folder-link {
    text-decoration: none;
}

.folder-img {
    width: 72px;
    height: 72px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}

.folder-img:hover {
    opacity: 0.8;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .file-container {
        gap: 16px;
        margin-left: 20px;
        padding-right: 10px;
        justify-content: left;
    }

    .file-item {
        width: 50px;
        padding: 15px;
    }

    .file-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .file-name {
        font-size: 12px;
    }
}
