* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    text-align: center;
    background: #f9f9f9;
}
.claerfix{
    clear: both;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 0%, rgba(0,76,149,1) 41%, rgba(0,212,255,1) 100%);
}
/* هدر */
header img {
    width: 80%;
    height: auto;
    align-items:center;
}
.left-img {
    width: 30%;
}
.right-img {
    width: 30%;
    align-items:right,
}
/**ریسپانسیو هدر**/
@media (max-width: 768px) {
 header{
    display: flex;
    height: 200px;
    align-items: center;
 }
    /* هدر */
.header img {
    width: 104%;
    height: auto;
    align-items:center;
}
.left-img img {
    width: 97%;
}
.center-img img{
    width: 105%;
}
.right-img img {
    opacity: 0;
}
}

/* چیدمان فلکس‌باکس برای بخش‌های علمی */
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.box {
    width: 200px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.box img {
    width: 100%;
    border-radius: 5px;
}

.box p {
    margin-top: 10px;
    font-weight: bold;
}

.font-1{
    font-family: 'Neirizi';
    font-size: 28px;
    margin: 0px 30px;
    text-align: right;
}
.container{
    background-color: #eaefd1;
    max-width: 90%;
    margin: auto;
    margin-top: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.safhe{
    max-width: 90%;
    height: 200px;
    display: flex;
    margin-top:-527px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
.safhe h1{
    font-family: 'B Titr Bold';
    margin-top: 62px;

}
.safhe button{
    border-radius: 13px;
    color: #fffefe;
    background-color: #f6601b;
    margin-top: 23px;
}
.safhe button p{
    font-size: 62px;
}

.boxs{
    width: 100%;
    height: 293px;
    margin-top: 33px;
    color: #1b1b1b;
}
.boxs h1{
    font-family:'B titr' ;
    margin-top: 10px;

}
.im{
    width: 100%;
    height: 219px;
}
.im img{
    width: 687px;
    height: 353px;
}
@media (max-width: 768px) {
  .im img {
    width: 431px;
    height: 252px;
    margin-left: 63px;}
}
.boxs1{
    display: flex;
    justify-content: center;
    margin-top: 34px;
    flex-direction: column;
    /* margin: 25px; */
    padding: 20px;
    align-items: center;
}
.tozih{
    background-color: #d3f5f5;
    width: 71%;
    height: 352px;
    border-radius: 10px;  
    font-family:'B titr' ;
    font-size: 35px;
    direction: rtl;
}
.tozih p{
    font-family: 'YekanBakh';
    font-size: 21px;
    margin: 11px;
}
@media (max-width: 768px) {
  .tozih p{
    font-size: 15px;
    margin: 11px;
}
}

.sarf{
    background: #f2ed46;
    background: linear-gradient(90deg, rgba(242, 237, 70, 1) 0%, rgba(87, 136, 199, 1) 50%, rgba(196, 199, 28, 1) 100%);
    width: 56%;
    height: 88px;
    border-radius: 10px;
    margin-top: 76px;
}
@media (max-width: 768px) {
    .sarf{width: 72%;
    height: 64px;
    border-radius: 10px;
    margin-top: -24px;}

    .a{text-decoration: none;color: black;}
}
.sarf p{
    font-family: 'sahel';
    font-size: 30px;
    margin-top: 20px;
}
.sarf:hover{
    background: linear-gradient(90deg, rgb(78, 197, 201) 0%, rgb(78, 197, 201) 50%, rgb(34, 148, 200) 100%);;
}
.quran{
   background: #2a9b52;
   background: linear-gradient(90deg, rgba(42, 155, 82, 1) 0%, rgba(87, 136, 199, 1) 50%, rgba(28, 199, 168, 1) 100%);
    width: 56%;
    height: 88px;
    border-radius: 10px;
    margin-top: 29px;
}
.quran p{
    font-family: 'sahel';
    font-size: 30px;
    margin-top: 20px;
}
.quran:hover{
    background: linear-gradient(90deg, rgb(78, 197, 201) 0%, rgb(78, 197, 201) 50%, rgb(34, 148, 200) 100%);;
}
.hadith{
    background: #9b2a8e;
    background: linear-gradient(90deg, rgba(155, 42, 142, 1) 0%, rgba(87, 113, 199, 1) 50%, rgba(237, 83, 211, 1) 100%);;
    width: 56%;
    height: 88px;
    border-radius: 10px;
    margin-top: 29px;

}
.hadith p{
    font-family: 'sahel';
    font-size: 30px;
    margin-top: 16px;
    color: #321d4e;
}
.hadith:hover{
    background: linear-gradient(90deg, rgb(78, 197, 201) 0%, rgb(78, 197, 201) 50%, rgb(34, 148, 200) 100%);;
}

@font-face{
    font-family: 'sahel';
    src: url(assets/fonts/Sahel-Black.ttf) format('woff2'),
         url(assets/fonts/Sahel-Black.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Neirizi';
    src: url(font/Neirizi.ttf) format('woff2'),
         url(font/Neirizi.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'B titr';
    src: url(assets/fonts/B\ Titr\ Bold-.ttf) format('woff2'),
         url(assets/fonts/B\ Titr\ Bold-.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Noor nazanin';
    src: url(assets/fonts/Noor_Nazanin.ttf) format('woff2'),
         url(assets/fonts/Noor_Nazanin.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'rey black';
    src: url(assets/fonts/Ray-Black.ttf) format('woff2'),
         url(assets/fonts/Ray-Black.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'vazir';
    src: url(font/Vazir.ttf) format('woff2'),
         url(font/Vazir.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'sd';
    src: url(assets/fonts/SD-Studio-Bold.ttf) format('woff2'),
         url(font/SD-Studio-Bold.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'YekanBakh';
    src: url(assets/fonts/YekanBakh-Bold.ttf) format('woff2'),
         url(assets/fonts/YekanBakh-Bold.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}



a{text-decoration: none;color: black;}

