﻿body {
    font-family: 'Cairo', 'sans-serif';
}

p, h1, h2, h3, h4, h5, h6, h7 {
    font-family: 'Cairo', 'sans-serif';
}
.folder-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* مسافة بين الصفوف */
    justify-items: center; /* توسيط المجلدات أفقياً */
}

.folder-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.folder {
    position: relative; /* لضبط العناصر النسبية */
    width: 175px; /* عرض أصغر */
    height: 110px; /* ارتفاع أصغر */
    background-color: #FFD54F; /* اللون الأصفر الخاص بمجلدات Windows */
    border: 1px solid #FFCA28; /* تحديد اللون الأقرب */
    border-radius: 5px; /* زوايا طفيفة التدوير */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* ظل يشبه العمق */
    display: flex; /* لتنظيم المحتوى داخل المجلد */
    flex-direction: column;
    justify-content: flex-end; /* يجعل النص في الأسفل */
    align-items: center;
    padding: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    /* تأثير المجلد عند التمرير */
    .folder:hover {
        transform: scale(1.05); /* تكبير طفيف */
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    }

    /* الغطاء العلوي للمجلد */
    .folder::before {
        content: "";
        width: 60%;
        height: 50px;
        background-color: #FFCA28; /* لون الغطاء */
        border-radius: 5px 5px 0 0; /* زوايا دائرية للغطاء */
        position: absolute;
        top: -20px;
        left: 10%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

/* تنسيق النص داخل المجلد */
.folder-name {
    font-weight: bold;
    color: #212121;
    font-size: 1rem;
    text-align: center;
}

/* النص السفلي داخل المجلد */
.folder a {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: #212121;
    font-size: 0.9rem;
    text-decoration: none;
}
