
@font-face {
    font-family: samim;
    src: url(../fonts/Samim-FD.ttf) format(truetype), url(../fonts/Samim-FD.woff) format(woff);
}

body {
    font-family:samim;
    padding: 0;
    margin: 0;
    direction: rtl;
}

#top {
    height: 6vh;
    background-color: #646871;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
#top div:first-child {
    margin-right: 5%;
    width: 65%;
}
#top div:last-child {
    margin-left: 7%;
    width: 30%;
    text-align: left;
}
#top ul li {
    list-style: none;
    display: inline-block;
}
#top ul li a {
    font-size: 12px;
    padding: 0 1px;
    display: inline-block;
    text-decoration: none;
    color: #b3b6bd;
    transition: all 400ms;
}
#top ul li::after {
    content: "|";
    padding-right: 4px;
    color: #b3b6bd;
}

#top div:last-child a {
    font-size: 14px;
    padding: 0 4px;
    display: inline-block;
    text-decoration: none;
    color: white;
} 
#top ul li a:hover {
    color: white;
}

/* header */

header > section:first-child {
    width: 220px;
}
#navMenu {
    width: 70%;
}
header section:last-child {
    width: 1%;
    margin-right: 30px;
}
header section:last-child a {
    text-decoration: none;
    color: #8c8d91;
    font-size: 26px;
}

header {
    width: 90%;
    margin: 0 auto;
    height: 12vh;
    display:flex;
    align-items: center;
    background-color: #fff;
    color: #666666;
}
#navMenu nav ul li{
    display: inline-block;
}
#navMenu nav ul li a{
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 28px 20px;
}
#navMenu li a:hover {
    color: #9C3;
}

/* zir menu 1 */

.menu {
    position: relative;
    z-index: 100;
}

.subMenu div {
    width: 15%;
}

.subMenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: absolute;
    top: 98%;
    margin: 0 auto;
    width: 1330%;
    right: -300%;
    padding-bottom: 0px;
    background-color: white;
    display: none;
    z-index: 100;
}
.subMenu a {
    display: block;
    width: 100%;
    font-size: 12px !important;
    padding: 10px 10px !important;
    color: #999 !important;
    line-height: 10px;
}
.subMenu a:hover {
    color: #9C3 !important;
}
.menu:hover .subMenu {
    display: flex;
}
.subMenu h3{
    padding-right: 10px;
    font-size: 14px;
    color: #999;
}
.subMenu span {
    color: #9C3;
}

#img1 img {
    width: 180px;
}

#img1 {
    margin: 0 5px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}


/* zir menu 2 */
.menu2 {
    position: relative;
}
.subMenu2 {
    position: absolute;
    top: 98%;
    width: 152%;
    background-color: white;
    display: none;
    z-index: 100;
}
.subMenu2 a {
    padding: 10px 10px !important;
    display: block;
    width: 90%;
    border-top: 1px solid #d2d3d6 ;
}
.menu2:hover .subMenu2 {
    display: block;
}

/* section one */

#one {
    width: 100%;
    height: 82vh;
    margin-bottom: 4vh;
}
#one img {
    width: 100%;
}

/* section two */

#two {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: space-evenly;
    
}
#two div {
    margin: -2px 1px;
    width: 24.8%;
    position: relative;
}
#two div img {
    width: 100%;
}

#two div::after {
    content: "";
    width: 100%;
    position: absolute;
    width: 100%;
    right: 0;
    top: 0;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, .5);
    transition: all 500ms;
    pointer-events: none;
}
#two:hover div::after {
    opacity: 1;
}
#two:hover div:hover::after {
    opacity: 0;
}


/* section three */
#three {
    width: 100%;
    height: 82vh;
    margin: -2px 0 4vh 0;
}
#three img {
    width: 100%;
}

/* section five */

#five {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
}
#five >div:first-child {
    position: relative;
    width: 49.9%;
    height: 60vh;
}
#five >div:first-child img { 
    width: 100%;
    height: 60vh;
}
#five >div:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: space-evenly;
    width: 49.5%;
    height: 60vh;
} 
#five >div:last-child > div:nth-child(1){
    width: 49.8%;
    position: relative;
    margin-left: 1px;
}
#five >div:last-child > div:nth-child(2){
    width: 49.5%;
    position: relative;
}
#five >div:last-child > div:nth-child(3){
    width: 49.5%;
    position: relative;
    margin-top: -5px;
}
#five >div:last-child > div:nth-child(4){
    width: 49.5%;
    position: relative;
    margin-top: -5px;
}
#five >div:last-child img {
    width: 100%;
}
#five a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-weight: 600;

}

/* position id five */


#five >div:first-child  div:nth-child(2){
    position: absolute;
    bottom: 3%;
    right: 2%;
}
#five >div:last-child > div:nth-child(1) div:last-child {
    position: absolute;
    bottom: 2%;
    right: 2%;
}
#five >div:last-child > div:nth-child(2) div:last-child {
    position: absolute;
    bottom: 0%;
    right: 2%;
}
#five >div:last-child > div:nth-child(3) div:last-child {
    position: absolute;
    bottom: 2%;
    right: 2%;
}
#five >div:last-child > div:nth-child(4) div:last-child {
    position: absolute;
    bottom: 2%;
    right: 2%;
}

/* after id five*/

#five div {
    position: relative;
}

.after::after {
    content: "";
    width: 99%;
    position: absolute;
    right: 0;
    top: 0;
    height: 97%;
    opacity: .6;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 500ms;
    pointer-events: none;
}

.after:hover::after {
    opacity:0;
}

/* section six */

#six {
    width: 85%;
    margin: 3% auto;
    display: flex;
}
#six h6 {
    font-size: 14px;
    color: #595f64;
}
#six p {
    font-size: 11px;
    color: #868e96;
}
#six > div:first-child {
    margin-right: 20px;
    width: 42%;
    height: 10vh;
    display: flex;
    align-items: center;
    /* justify-content: space-around; */
    border-left: 1px solid #e9e9e9;
    line-height: 0px;
}
#six > div:first-child div:last-child {
    font-family: none;
    direction: ltr;
    margin-right: 70px;
}

#six > div:last-child  {
    width: 58%;
    line-height: 0px;
    height: 9vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#six > div:first-child a {
    text-decoration: none;
    padding: 10px 15px;
    color: #999999;
    font-size: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: all 200ms;
}
#six > div:last-child a {
    text-decoration: none;
    padding-left: 8px;
    color:#c5c3c3 ;
    font-size: 2.5em;
    font-weight: lighter;
    transition: all 200ms;
}

#six > div:first-child a:hover {
    border-color:#9C3;
    box-shadow: 0 0 0 2px #8dc63f;
    color: #9C3;
}
#six > div:last-child a:hover {
    color: #9C3;
}

/* footer */

footer {
    width: 100%;
    background-color: #ededed;
    color: #9c9c9c;
    overflow: hidden;
}
#seven {
    width: 85%;
    margin: 5vh auto;
    display: flex;
    justify-content: space-evenly;
    /* align-items: center; */
}
#seven div {
    width: 16%;
}
#seven li {
    list-style: none;
    padding-top: 2px;
}
#seven li a {
    text-decoration: none;
    font-size: 12px;
    color: #999;
    transition: all 200ms;
}
#seven h3 {
    color: #777575;
    font-size: 18px;
}
#seven li a:hover {
    color: rgb(126, 163, 51);
}
/*section eight */

#eight {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #646871;
    line-height: 12px;
}
#eight li {
    padding-top: 7px;
    display: inline-block;
}
#eight li:first-child {
    padding-right: 8%;
}
#eight li a {
    text-decoration: none;
    padding: 5px;
    display: block;
    font-size: 12px;
    color: white;
}
#eight div:nth-child(1){
    width: 100%;
}
#eight div:nth-child(2){
    width: 55%;
    color: #cccccc;
    font-size: 14px;
    padding-right: 8%;
}
#eight div:nth-child(3){
    width: 23%;
    color: #cccccc;
    font-size: 14px;
}
#eight div:nth-child(3) a {
    text-decoration: none;
    display:inline-block;
    font-size: 14px;
    color: white;
}

@media screen and (max-width:575px) {
#top {
    height: 40px;
    background-color: #646871;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#top div:first-child {
    width: 80%;
    margin-right: -5%;
}
#top div:last-child {
    margin-left: 0%;
    width: 19%;
}
#top ul li a {
    font-size: 11px;
}
#top ul li::after {
    content: "|";
    padding-right: 1px;
}
#navMenu {
    display: none;
}
header > section:first-child {
    width: 220px;
    text-align: center;
    margin-right: 28%;
}
header section:last-child {
    width: 32px;
    margin-right: 14%;
    text-align: left;
}
header {
    width: 100%;
    height: 64px;
}
#one {
    width: 100%;
    height: auto;
    margin-bottom: 0vh;
}
#two {
    display: block;
}
#two div {
    margin: -5px 0px;
    width: 100%;
    position: relative;
}
#three {
    width: 100%;
    height: auto;
    margin: 0;
}
#five {
    display: block;
}
#five >div:first-child {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: -5px;
}
#five >div:first-child img { 
    width: 100%;
    height: auto;
}
#five >div:last-child {
    display: block;
    width: 100%;
    height: auto;
    /* margin-top: -5px; */
}
#five >div:last-child > div:nth-child(1){
    width: 100%;
    margin-top: -5px;
}
#five >div:last-child > div:nth-child(2){
    width: 100%;
    margin-top: -5px;
}
#five >div:last-child > div:nth-child(3){
    width: 100%;
    margin-top: -5px;
}
#five >div:last-child > div:nth-child(4){
    width: 100%;
    margin-top: -5px;
}
.after::after {
    content: "";
    width: 99%;
    position: absolute;
    right: 0;
    top: 0;
    height: 97%;
    opacity: .6;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 500ms;
    pointer-events: none;
}
#six {
    width: 85%;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding-bottom: 10px;
}
#six > div:first-child {
    padding: 20px 0;
    margin: 0 ;
    width: 100%;
    height: auto;
    display:block;
    border-left: none;
    line-height: 0px;
}
#six > div:first-child div:last-child {
    width: 100%;
    margin: 8vh 0;
    margin-right: 0px;
}
#six > div:first-child div:first-child {
    width: 100%;
}

#six > div:last-child  {
    width: 100%;
    line-height: 0px;
    height: auto;
    display: block;
    margin-bottom: 2vh;
}
#six > div:last-child div:last-child {
    width: 100%;
    margin-top: 5vh;
    margin-right: 0px;
}
#seven {
    width: 95%;
    margin: 5vh auto;
    display: block;
}
#seven div {
    width: 100%;
}
#eight {
    text-align: center;
    display: block;
    line-height: 17px;
}
#eight div:nth-child(2){
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding-right: 0%;
    padding-bottom: 10px;
}
#eight div:nth-child(1){
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
}
#eight li:first-child {
    padding-right: 0%;
}
#eight div:nth-child(3){
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 10px;
}
}