body {
    background-color: white;
    text-align: center;
}

a {
    color: rgb(255, 0, 0);
    transition: 0.2s;
    cursor: pointer;
}

.link {
    border: 4px solid rgb(0, 0, 0);
    padding: 10px;
    color: rgb(0, 0, 0);
    background-color: white;
    transition: 0.2s;
    font-size: 2em;
    padding-left: 2em;
    padding-right: 2em;
    text-decoration: none;
    border-radius: 20px;
}

.link:hover {
    border: 4px solid rgb(144, 0, 0);
    padding-left: 1.5em;
    padding-right: 1.5em;
    color: rgb(113, 0, 0);
    background-color: white;
    transition: 0.2s;
}

hr {
    margin-bottom: 3em;
    margin-top: 3em;
}

.title {
    border: 4px solid black;
    padding: 5px;
    color: rgb(0, 0, 0);
    text-decoration: underline;
    background-color: white;
    border-radius: 0;
    font-size: 50px;
}

.bigtitle {
    font-size: 20em;
}

@media (min-width: 2000px) {
    .bigtitle {
        font-size: 20em;
    }
    .title {
        font-size: 70px;
    }
}

@media (max-width: 900px) {
    .bigtitle {
        font-size: 15em; /* زيادة الحجم ليظهر أكبر على الشاشات المتوسطة */
    }
    .title {
        font-size: 40px;
    }
}

@media (max-width: 700px) {
    .bigtitle {
        font-size: 14em; /* زيادة الحجم على الشاشات الأصغر */
    }
}

@media (max-width: 600px) {
    .bigtitle {
        font-size: 8em; /* أكبر من السابق */
    }
    .title {
        font-size: 28px;
    }
    .link {
        margin-bottom: 20px;
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .bigtitle {
        font-size: 9em; /* زيادة الحجم أكثر */
    }
}

@media (max-width: 400px) {
    .bigtitle {
        font-size: 7.5em; /* زيادة الحجم قليلاً */
    }
    
    .link {
        font-size: 1.3em;
        margin: 10px 0;
        padding: 12px 20px;
    }
}

@media (max-width: 390px) {
    .bigtitle {
        font-size: 7em; /* الحفاظ على الحجم أكبر */
    }
    .title {
        font-size: 20px;
    }
}

@media (max-width: 320px) {
    .bigtitle {
        font-size: 6.5em; /* زيادة الحجم بشكل مناسب */
    }
    .title {
        font-size: 10
    }
}



/* الصفحة الرئيسية */

.home-box{
    text-align: center;
    margin-top: 30px;
}

/* تحسين توزيع الأزرار */

.link{
    display: inline-block;
    margin: 10px;
}

/* تحسين العنوان الرئيسي */

.bigtitle{
    margin-bottom: 20px;
    color: black;
}

/* تحسين النصوص */

h2{
    font-family: Arial, sans-serif;
    font-weight: normal;
}
