* {
    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,
}
/* چیدمان فلکس‌باکس برای بخش‌های علمی */
.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;
}

/* منوی اصلی */
.menu {
    list-style: none;
    margin: 0;
    background:linear-gradient(#0e3475,#205cc2,#0f326f,#004494);
    display: flex;
    justify-content: center;
    
}

.menu ul {
    list-style: none;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 25px;
}
.menu ul li{
    position: relative;
}
.menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 19px;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: 0.3s;
    font-family:'Noor nazanin';
    
}
.menu ul li ul{
   position: absolute;
   width: 150px;
   background:linear-gradient(#205cc2,#205cc2,#1a4a9d,#004494);
   top: 46px;
   box-shadow: 0px 1px 6px #342626;
   opacity: 0;
   visibility: hidden;
   transition: all .2s ease-out;
   display: block;
   border-radius: 10px;
   
}
.menu ul li ul li{
    list-style: none;

}
.menu ul li ul li a{
   padding: 9px;
   display: block;

}

.menu ul li a:hover {
    background-color: #dbe0e7;
    color: #000;
    border-radius: 5px;
}

.menu ul li:hover ul{
    opacity: 1;
    visibility: visible;
    animation: fadeln 0.4s ease-in-out forwards;
}
.menu ul li img {
    vertical-align: baseline;
    position: relative;
    top: 6px
}
.menu ul li ul li ul {
    display: none; /*این یعنی زیر منوش نیست*/
    right:100%;
    top: 0;
    opacity: 0;
}
.menu ul li ul li:hover ul{
    opacity: 1;
    visibility: visible;
    display: block; /*این یعنی زیر منو پیدا بشه وقتی موس رفت روش*/

}
.font-1{
    font-family: 'Neirizi';
    font-size: 28px;
    margin: 0px 30px;
    text-align: right;
}

.cotainer{
    width: 100%;
    height: 458px;
    display: flex;
    justify-content: space-between;
}
.left{
    width: 40%;
    display: flex;
    flex-direction: column;
    /* margin-left: 331px; */
    margin-top: 43px;
    align-items: self-end;

}
.left img{
    background-color: #18beb83f;
    height: 118px;
    padding: 6px;
    margin: 10px;
    border-radius: 5px;

}
.right{
    width: 74%;
    background-color: chartreuse;
    display: flex;
    margin-right: 124px;
    height: 400px;
    margin-top: 50px;
    margin-left: 19px;
}
.right img{
     width: 100%;
    height: 400px;
}

.abzar{
    width: 30%;
    background-color: #342626;
    margin: 8px;
    height: 900px;
    
}
/* هدر */
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;
}
}


    .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
            -webkit-user-select: none;
            -moz-user-select: none;
            user-select: none;
        }

        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }

        .b-example-divider {
            width: 100%;
            height: 3rem;
            background-color: rgba(0, 0, 0, .1);
            border: solid rgba(0, 0, 0, .15);
            border-width: 1px 0;
            box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
        }

        .b-example-vr {
            flex-shrink: 0;
            width: 1.5rem;
            height: 100vh;
        }

        .bi {
            vertical-align: -.125em;
            fill: currentColor;
        }

        .nav-scroller {
            position: relative;
            z-index: 2;
            height: 2.75rem;
            overflow-y: hidden;
        }

        .nav-scroller .nav {
            display: flex;
            flex-wrap: nowrap;
            padding-bottom: 1rem;
            margin-top: -1px;
            overflow-x: auto;
            text-align: center;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
        }

        .btn-outline-secondary {
            --bs-btn-color: #6c757d;
            --bs-btn-border-color: #6c757d;
            --bs-btn-hover-color: #fff;
            --bs-btn-hover-bg: #6c757d;
            --bs-btn-hover-border-color: #6c757d;
            --bs-btn-focus-shadow-rgb: 108, 117, 125;
            --bs-btn-active-color: #fff;
            --bs-btn-active-bg: #6c757d;
            --bs-btn-active-border-color: #6c757d;
        }


@font-face{
    font-family: 'b nazanin','Neirizi';
    src: url(images/BNaznnBd.ttf) format('woff2'),
         url(images/BNaznnBd.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 Bold';
    src: url(font/B\ Titr\ Bold-.ttf) format('woff2'),
         url(font/B\ Titr\ Bold-.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Noor nazanin';
    src: url(font/Noor_Nazanin.ttf) format('woff2'),
         url(font/Noor_Nazanin.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'rey black';
    src: url(font/Ray-Black.ttf) format('woff2'),
         url(font/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(font/SD-Studio-Bold.ttf) format('woff2'),
         url(font/SD-Studio-Bold.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@media (max-width: 768px) {
    
/* منوی اصلی */
.menu {
    list-style: none;
    margin: 0;
    background:linear-gradient(#0e3475,#205cc2,#0f326f,#004494);
    display: flex;
    justify-content: center;
    height: 49px;
}

.menu ul {
    gap: 3px;
    z-index: 2;
}}