@font-face {
    font-family: 'Mitra';
    src: url(../fonts/mitra.ttf) format(truetype);
}

body {
    direction: rtl;
    font-family: 'Mitra';
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: auto;
}

#center {
    width: 70%;
    margin: 0 auto;
}

#top {
    width: 100%;
    /* background-color: yellow; */
    /* height: 9vh; */
    margin-bottom: 10px;
}

#top > div:nth-child(1){
    float: right;
    /* display: inline-block; */
    width: 7%;
    height: 100%;
}

#top div img {
    width: 100%;
}

#top ul {
    float: right;
    margin-right:74% ;
    /* text-align: left; */
    /* width: 30%; */
    margin-top: 6px;
}

#top ul li {   
    display: inline-block;     
    list-style: none;
    margin: 0 7PX; 
}

#top ul li a{
    background-color: rgb(33,35,65);
    padding: 30px 25px;
    /* margin: 0 10PX; */
    border-radius: 15px;
}

/* #top ul > li:first-child > a:first-child{
     
} */

#poBuybox{
    background:linear-gradient(135deg ,rgb(0,92,111),rgb(11, 158, 187) , rgb(0,92,111) ) ;
    position: relative;
    transition: all 300ms;
}

#buybox {
    position: absolute;
    top: 10%;
    left: 23%;
    width: 500px;
    height: auto;
    background-color: white;
    box-shadow: 0 0 5px rgb(83, 83, 83);
    border-radius: 30px;
    border-top: 6px solid rgb(41, 187, 106);
    /* display: none; */
    transition: all 200ms;
    text-align: center;
}

#poBuybox:hover #buybox {
    display: block;
    transform: translate(0 10px);
}

/* #top ul > li:first-child > a:first-child:hover #buybox {
    display: block;
    transform: translate(0 10px);
} */

#buybox > div:first-child{
    float: right;
    width: 100%;
}

#buybox > div:first-child >p {
    display: inline-block;
    width: 15%;
    padding: 5px 20px;
    margin-right: 0px;
    font-size: 1.1em;
    font-weight: bold;
    color: gray;
    border-radius: 35px;
    background-color: rgb(212, 212, 214);
}

#buybox > div:first-child >a{
    display: inline-block;
    width:25%;
    margin-right: 40%;
    margin-top: 10px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: rgb(68, 67, 67);
}

#buybox > div:first-child a i{
    font-size: 0.7em;
    margin: 5px;
}

#buybox div:nth-child(2){
    float: right;
    width: 100%;
    margin-bottom: 0;
}

#buybox img{
    width: 50% !important;
}

#buybox > div:nth-child(3){
    float: right;
    width: 100%;
    margin: 0 auto;
}

#buybox div:nth-child(3) p{
    font-size: 1.3em; 
    color:rgb(100, 100, 100);
    text-align: center;
}

#buybox >div:nth-child(4) {
    float: right;
    margin: 0 auto ;
    width: 90%;
    height: 11%; 
    padding-bottom: 50px;
    margin-right: 5%;
    margin-bottom: 30px;
    border-radius: 20px;
    background-color: rgb(199, 209, 202);
    position: relative;
}

#buybox div:nth-child(4) p:first-child{
    display: inline-block;
    /* margin-right: 5%; */
    margin-bottom: 5px;          
    font-size: 1.3em; 
    color:black;
    font-weight: bold;
}

#buybox div:nth-child(4) p:nth-child(2){
    /* margin-right: 10%; */
    margin-right: 50%;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 1.3em; 
    color:rgb(30, 177, 55);
}


#buybox div:last-child{
    position: absolute;
    top: 87%;
    right: 0;
    width: 100%;
    /* background-color: brown; */
}

#buybox div:last-child a{
    font-size: 1.3em; 
    color:white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 15px;
    background-color: rgb(30, 177, 55);
    padding: 15px 155px;
}
 
#buybox div:last-child a:hover{
    background-color: rgb(44, 148, 61);
}

#top ul li a i{
    color: white
    /* width: auto; */
    /* padding-top:10px ;
    padding-bottom: 0; */
}

#buttom{
    clear: both;
    height: 8vh;
    width: 100%;
}

#menu {
    /* display: inline-block; */
    float: right;
    background-color: rgb(13,65,10);
    border-radius: 50px;
    width: 82%;
    height: 100%;
    box-sizing: border-box;
}

#menu nav ul li {
    display: inline-block;
    /* margin: 10px auto; */
}

#menu nav ul li a {
    color: white;
    /* margin: 0 30px; */
    margin-left:50px ;
    padding-top: 10px ;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
}

#menu nav ul li a i{
    margin-left:50px ;
    padding-top: 10px ;
}

.social{
    float: right;
    /* background-color: rgba(194, 152, 61,0.5); */
    background:linear-gradient(rgb(255,250,236) 10%,#ffffff ) ;
    border-radius: 30px;
    width: 14%;
    height: 100%;
    margin-right:45px ;
}


.social nav ul li {
    display: inline-block;
    margin:0 8px;
    padding-top: 10px ;
    transform: scale(1.5);
}

.social li a {
    color:rgb(255,176,53);
    transition: all 800ms;
}

.social li a:hover{
    color: black;
}

#product {
    clear: both;
    width: 100%;
    margin-top: 20px;
    /* margin-bottom: 100px; */
}

#product div {
    float: right;
    box-sizing: border-box;
}

#product div:first-child {
    width: 21%;
    height: 66vh;
    border-radius: 50px;
    /* background-color: white; */
    margin-left: 40px;
    margin-right: 20px;
    box-shadow: 0 50px 70px rgb(235, 234, 234);
}

#product div li {
    /* display: inline-block; */
    margin: 33px 30px 0 0 ;
}

#product div li a{
    text-decoration: none;
    color: rgb(73,73,73);
    font-size: 1.3em;
    font-weight: bold;
}

#product div:nth-child(2) {
    width: 48%;
    height: auto;
    
}

#product div:nth-child(2) img {
    border-radius: 40px;
}

#product div:last-child {
    /* background-color: blueviolet; */
    width: 25%;
    box-shadow: none;
    /* height:34vh ; */
}

#product div:last-child img {
    width: auto;
    height: auto;
    border-radius: 30px;
    /* margin: 10px 0; */
    /* float: right; */
}

#product div:last-child img:nth-child(2){
    margin-top: 20px;
}

#skintype {
    clear: both;
    float: right;
    width: 97%;
    margin-top: 18vh ;
    text-align: center;
    margin-bottom: 9vh;
}

#skintype img{
    border-radius: 40px;
}

#sale1 {
    clear: both;
    text-align: center;
    /* background-color: #709E40; */
}

#sale1 p{
    display: block;
    /* background-color: blue; */
}

#sale1 p:first-child {
    font-size: 1.5em;
    /* margin: 0 auto; */
    margin-bottom: 0;
}

#sale1 p:first-child i{
    margin: 0 8px;
}

#sale1 p:first-child i:nth-child(3) , i:nth-child(4) {
    transform: scale(150%);
}

#sale1 p:nth-child(2) {
    font-size: 2.2em;
    margin: 0 auto;
}

#sale1 p:nth-child(3) {
    background-color: white;
    margin: 0 auto;
    font-size: 2em;
    width: 15%;
    border-radius: 10px;
    /* position: relative; */
    /* overflow: hidden; */
}

#sale1 p:nth-child(3) span {
    font-weight: bold;  
}

#sale1 a{
    display: inline-block;
    /* position: absolute;
    left: 40%;
    top: 75%;
    width: 60%; */
    /* font-weight: bold; */
    font-size: 0.5em;
    border-radius: 0px 0px 10px 10px;
    background-color: rgb(13,65,10);
    color: white;
    margin-left: 45%;
    text-decoration: none;
    padding: 5px 10px;
}

#sale1 a i{
    display: inline-block;
    margin: 0 10px;
}

#saleProducts {
    /* background-color: chocolate; */
    clear: both;
    margin-top: 10vh;
    height: 70vh;
    z-index: 10 !important;
    /* float: right; */
}

.products{
    height: 50vh;
    float: right;
    width: 23%;
    margin:1%;
    color: white;
    border-radius: 50px;
    box-shadow: 0 0px 70px rgb(235, 234, 234);
    box-sizing: border-box;
    position: relative;
    transition: all 300ms;
}

.seeProduct {
    position: absolute;
    top: 85%;
    /* height: auto; */
    /* float: right; */
    width: 100%;
    /* margin: 0 auto; */
    border-radius: 50px;  
    background-color: white;
    display: none;
}

.seeProduct a {
    display:inline-block;
    /* width: 22%;
    margin: 1.5%; */
    /* float: right; */
    text-decoration: none;
    box-sizing: border-box;
    color: black;
    /* padding: 5px 5px; */
    /* padding-right: 10px; */
    margin-right: 20px;
}

.seeProduct a:first-child{
    /* width: 30%; */
    border-radius: 20px;
    padding:5px 10px;
    background-color: rgba(232, 233, 235, 0.5);
    font-size: 1.1em;
    
}

.seeProduct a:first-child:hover{
    background-color: rgba(164, 167, 170, 0.5);
}

.seeProduct a:nth-child(2){
    color: black !important;
    width: 10%;
    /* height: 3px; */
    /* border-radius: 50%; */
    /* background-color: lightslategray */
}
.seeProduct a:nth-child(3){
    color: black;
    width: 10%;
    /* width: 5px;
    height: 5px; */
    /* border-radius: 50%; */
    /* background-color: lightslategray */
}
.seeProduct a:nth-child(4){
    color: black;
    width: 10%;
    /* width: 5px;
    height: 5px; */
    /* border-radius: 50%; */
    /* background-color: lightslategray */
}

.products:hover .seeProduct{
    display: block;
} 

.products img {
    padding: 30px 45px;
    text-align: center;
    width: 70%;
    height: 25vh;
    transition: all 200ms;
}

.products:hover img{
    filter: blur(5px);
}

.compare img{
    position: relative;
    transition: all 300ms;
}

#compare{
    position: absolute;
    top: 35%;
    left: 35%;
    display: none;
}

.compare > img:hover #compare {
    display: block;
}

#compare a{
    border-radius: 20px;
    background-color: #709E40;
    padding: 6px 15px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
}

#compare a i{
    margin-left: 5px;
    transform: scale(80%);
}

#saleProducts div a:nth-child(2){
    text-decoration: none;
    color: rgb(73,73,73);
    font-size: 1.3em;
    font-weight: bold;
    padding: 10px 30px;
}

#saleProducts div a:nth-child(3){
    display: block;
    text-decoration: none;
    color: black;
    font-size: 1.4em;
    font-weight: bold;
    padding: 10px 30px 0 0;
    margin-top: 60px;
}

#middleShop {
    clear: both;
    height: 11vh;
    border: 1px solid rgb(222,222,222);
    border-radius: 50px;
    margin-bottom: 5vh;
    margin-top: 0;
}

#middleShop div {
    float: right;
}

#middleShop  a{
    text-decoration: none;
    color: black;
    font-weight: bold;
}

#middleShop div:first-child{
    width: 10%;
    margin-right: 10%;
}

#middleShop div:first-child h4{
    font-size: 1.5em;
    margin-bottom: 0;
    margin-top: 15px;
}
#middleShop div:first-child p{
    font-weight: bold;
    color: rgb(145,145,148);
    margin-top: 5px;
}

#middleShop div:nth-child(2){
    width: 40%;
    background-color: rgb(242,243,245);
    border-radius: 30px;
    margin-top: 27px;
}

#middleShop div:nth-child(2) li {
    display: inline-block;
    margin: 10px 10px;
    padding: 4px;
}

#middleShop div:nth-child(2) li a{
    transition: all 200ms;
}

#middleShop div:nth-child(2) li:first-child a{
    border-radius: 20px;
    background-color: white;
    padding: 10px 20px;
}


#middleShop div:nth-child(2) li a:hover{
    border-radius: 20px;
    background-color: white;
    padding: 10px 20px;
}



#middleShop div:nth-child(3){
    width: 10%;
    /* margin: 10px 10px; */
    margin-right: 7%;
    padding-top: 40px;
}

#middleShop div:nth-child(3) i{
    padding: 5px 5px;
    background-color: rgb(242,243,245);
    border-radius: 5px;

}

#middleShop div:nth-child(3) i:first-child{
    margin-left: 10px;
}

#middleShop div:nth-child(4){
    width: 20%;
    /* margin: 10px 10px; */
    margin-left: 3%;
    padding-top: 40px;
}

#middleShop div:nth-child(4) a{
    padding: 13px 50px;
    background-color: rgb(242,243,245);
    border-radius: 30px;
}

#sale2 {
    clear: both;
    width: 100%;
    height: 90vh;
    /* background-color: bisque; */
    margin-top: 0;
    position: relative;
}

#greenSpace{
    position: absolute;
    top: 10%;
    /* background-image: url(../images/MEiGr.png); */
    background-color: rgb(17,60,23);
    width: 100%;
    height: 60vh;
    z-index: -100 ;
    border-radius: 30px;
}

#sale2 > div:first-child {
    width: 30%;
    margin: 0 auto;
    height: 20vh;
    background-color: white;
    border-radius: 50%;
    overflow: hidden;
}

#sale2 > div:first-child h3 {
    font-weight: bold;
    text-align: center;
    font-size: 2em;
    margin-bottom: 0;
    padding-top: 10px;
    /* margin-top: 40vh; */
}

#sale2 > div:first-child p:nth-of-type(1) {
    /* font-weight: bold; */
    text-align: center;
    font-size: 1.2em;
    margin-top: 0;
    color: #979797;
}

#sale2 > div:first-child p:nth-of-type(2) {
    /* font-weight: bold; */
    text-align: center;
    font-size: 1.2em;
    margin-top: 0;
    color: black;
}

#advertise{
    clear: both;
    width: 100%;
    height:40vh ;
    margin-top: 0;
    margin-bottom: 10vh;
    /* background-color: #709E40; */
}

#advertise div{
    float: right;
    width: 48%;
    margin: 1%;
}

#advertise div img{
    border-radius: 30px;
}

#article {
    clear: both;
    margin-top: 10vh;
    margin-bottom: 15vh;
    width: 100%;
    /* background-color: beige; */
}

#article > div:first-child {
    width: 20%;
    margin: 0 auto;
    height: 12vh;
}

#article > div:first-child h2{
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0;
}

#article > div:first-child h2 span{
    background-color: #DBE7CF;
    padding: 2px 5px;
}

#article > div:first-child p {
    /* display: block; */
    width: 20%;
    margin-right: 40%;
    /* margin: 0 auto; */
    border-bottom: 1px solid black;
}

#article > div:first-child a{
    /* display: block; */
    margin-right: 30%;
    /* margin-top: 15px; */
    font-size: 1.2em;
    border-radius: 20px;
    background-color: rgb(13,65,10);
    /* width: auto; */
    color: white;
    text-decoration: none;
    padding: 6px 20px;
}

#article > div:last-child {
    width: 100%;
}

.articles {
    background:linear-gradient(rgb(114,98,212) 30% , black );
    float: right;
    width: 31%;
    height: 45vh;
    margin: 1.1%;
    box-sizing: border-box;
    border-radius: 35px;
    position: relative;
    margin-bottom: 15vh;
}
.articleMatn {
    position: absolute;
    width:85%;
    top: 50%;
    right: 7%;
    background-color: #ffffff;
    border-radius: 40px;
}

.articleMatn a{
    display: block;
    text-decoration: none;
    font-weight: bold;
    color: #202240;
    font-size: 1.2em;
    padding: 40px 30px 0 10px;
}

.articleMatn p{
    font-size: 1.1em;
    font-weight: bold;
    text-align: justify;
    padding: 30px;
    color: #52546e;
}

#uper {
    clear: both;
    width: 100%;
    height: 5vh;
    margin-top: 20vh;
    margin: 0 auto;
}
#uper > div{
    background-color: #709E40;
    text-align: center;
    margin-top: 5vh;
    margin: 0 auto;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 50%;
}

#uper > div >a{
    color: white;
    padding-top: 30px;
}

#uper > div >a>i{
    padding-top: 15px;
}

footer {
    clear: both;
    /* background-color: antiquewhite; */
    width: 100%;
    height: auto;
    margin-top: 5vh;
}

#topFooter {
    float: right;
    margin-bottom: 4vh;
}

#topFooter> div:first-child{
    float: right;
    width: 33%;
    /* background-color: rgb(157, 157, 173); */
}

#topFooter > div:first-child h1 {
    display: inline-block;
    /* float: right; */
    width: 50%;
    font-weight: bold;
    font-size: 1.5em;
    color: #709E40;
}

.socialFooter{
    /* float: right; */
    display: inline-block;
    /* background-color: #709E40; */
    width: 45%;
    /* height: 100%; */
    /* margin-right:45px ; */
}

#topFooter > div:first-child p {
    font-weight: bold;
    font-size: 1.1em;
    color: #52546e;
    text-align: justify;
}


.socialFooter nav ul li {
    display: inline-block;
    margin:0 7px;
    margin-top: 20px;
    /* padding-top: 10px ; */
    transform: scale(1.5);
}

.socialFooter li a {
    text-decoration: none;
    background-color:#dee0e4;
    padding: 4px 5px 0 5px; 
    border-radius: 50%;
    
}

.socialFooter li a i{
    text-decoration: none;
    color:#a6a8aa;
    transition: all 800ms;
}

/* footer > div:first-child div:last-child {
    float: right;
} */


#topFooter > div:nth-child(2) {
    float: right;
    width: 28%;
    margin-right: 20px;
    /* background-color: rgb(175, 175, 184); */
}

#topFooter > div:nth-child(2) div:first-child {
    float: right;
    width: 40%;
    margin: 20% 0;
    /* background-color: aqua; */
}
#topFooter > div:nth-child(2) div:first-child li {
    margin: 10px 0;
}

#topFooter > div:nth-child(2) div:first-child a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.1em;
}

#topFooter > div:nth-child(2) div:nth-child(2){
    float: right;
    width: 40%;
    margin: 0 73px 0 0;
    /* background-color: rgb(194, 105, 105); */
}

#topFooter > div:nth-child(2) div:nth-child(2) p:first-child {
    color: rgb(147,154,164);
    font-weight: bold;
    font-size: 1.1em;
    display: inline;
}

#topFooter > div:nth-child(2) div:nth-child(2) p:first-child i {
    color: white;
    background-color: rgb(112,158,64);
    border-radius: 50%;
    padding: 3px;
    transform: scale(180%);
    margin-left: 10px;
    /* display: block; */
}

#topFooter > div:nth-child(2) div:nth-child(2) p:nth-child(2) {
    color: black;
    font-weight: bold;
    font-size: 1.4em;
    display: inline;
    margin-right: 20px;
}

#topFooter > div:last-child {
    float: right;
    width: 35%;
    /* background-color: chartreuse; */
    text-align: center; 
    margin-top: 4%;
}

 label{
    display: block;
    font-size: 1.2em;
    color: #504f4f;
    margin-bottom: 20px;
}

#topFooter > div:last-child form label span{
    font-weight: bold;
    color: black;
}


#topFooter > div:last-child form label i{
    color: rgb(147,154,164);
    transform: scale(120%);
    margin-left: 10px;
}

#topFooter > div:last-child form input{
    display: inline-block;
    width: 80%;
    margin-right: 90px;
    border-radius: 30px;
    border: none;
    background-color: #e6e7e7;
    padding: 15px 0;
    margin-bottom: 30px;
}

#topFooter > div:last-child form input:focus{
    outline: 1px solid red;
    
}

::placeholder{
    font-family: 'Mitra';
    color: #504f4f;
    font-size: 1.2em;
    font-weight: bold;
    /* margin-right: 10px !important; */
    padding-right: 20px;
}

#topFooter > div:last-child a{
    background-color: rgb(112,158,64);
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 20px;
    padding: 8px 30px;
    margin-left: 150px;
}

#topFooter > div:last-child a:hover{
    background-color: rgb(59, 44, 139);
}

#middleFooter {
    float: right;
    width: 100%;
    height: 15vh;
    border-top: 1px solid rgb(226, 226, 226);
}

#middleFooter div {
    float: right;
    width: 6%;
    margin-top: 4vh;
}

#middleFooter div img {
    width: 100%;
}

#buttomFooter{
    float: right;
    width: 100%;
    height: 13vh;
    text-align: center;
    background-color: rgb(32,79,38);
    border-radius: 50px 50px 0 0;
    margin-bottom: 3vh;
}

#buttomFooter p{
    color: white;
    font-size: 1.2em;
    /* font-weight: bold; */
    margin-top: 5vh;
}