:root{
    --bgColor:#F9F9FF;
    --bg-dark:#292c35;
}
a{
    text-decoration: none;
}
@font-face {
    src: url('../font/Tanha-FD.ttf');
    font-family: 'Tanha';
}

body{
    background-color: var(--bgColor);
    font-family: 'Tanha';
    margin-right: 290px;
    transition: .4s;
}
body.dark{
    background-color: var(--bg-dark);
}
.menu-des{
    width: 290px;
    background-color: var(--bgColor);
    height: 100%;
    border-left: 1px solid rgba(0,0,0,.1);
    position: fixed;
    top: 0;
    transform: translate3d(0,0,0);
    transition: transform .3s;
    right: 0;
    z-index: 99;
}
body.dark .menu-des{
    background-color: #22242c;
}
body.dark .hero-title,
body.dark .sec-title,
body.dark .sec-des,
body.dark .f-o-link,
body.dark .form-contact h3,
body.dark .form-contact p,
body.dark .form-contact a,
body.dark .mail-link,
body.dark .fa-txt
{
    color: #fff!important;
}
body.dark .sec-des{
    background-color: #22242c!important;
}
body.dark .menu-des{
    border-left:1px solid rgba(255,255,255,0.1);
}
.menu-des ul{
    list-style: none;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding:95px 50px;
}
.menu-des ul li{
    text-align: justify;
    text-align: right;
    padding: 16px 0;
    font-size: 17px;
    font-weight: bold;
}
li.activenb a,
body.dark li.activenb a
{
    color: #3bc299;
}
.menu-des a{
    color: #353353;
    transition: color .3s;
}
body.dark .menu-des a,
body.dark .menu-li svg
{
    color: #fff;
    fill: #fff!important;
}
.menu-des a i{
    margin-left: 13px;
}
.menu-des a:hover{
    color: #3bc299;
}
.hero-title{
    font-weight: bold;
    font-size: 36px;
}
.slidees{
    display: inline-flex;
    width: auto;
    height: 70px;
    overflow: hidden;
    margin: 0 -5px;
    padding: 0 5px;
    
    }
    .slide1{
        color: #3bc299;
        font-size: 19px;
        display: flex;
        flex-flow: column nowrap;
        transform: translateY(100%);
        animation: slide-up 13s ease infinite;
    }
    .hero-des{
        direction: rtl;
        height: 80px;
        line-height: 80px;
    }
    @keyframes slide-up {
        10%,30%{
            transform: translateY(0%);
        }
       35%,55% {
            transform: translateY(-100%);
        }
        60%,75%{
            transform: translateY(-200%);
        }
        80%,100% {
            transform: translateY(-300%);
        }
    }
.about-me-img{
    text-align: right;
}
.fa-txt{
    position:absolute;
    top:88%;
    right:10px;
    direction:rtl;
    padding : 0 15px;
}
.soicl-icon li {
    width: 35px;
    height: 35px;
    background-color: #353353;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: background-color .4s;
    margin: 0 7px;
}
.soicl-icon li:hover{
    background-color: #3bc299;
}
.btncta{
    background-color: #3bc299;
}
  .btn-resume:hover{
    color: #fff;
}
.menu-mobile,.close-menu{
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    display: inline-block;
    display: none;
}
.close-menu{
    left: 20px;
}
body.dark .close-menu svg,
body.dark  .menu-mobile svg{
fill: #fff;
}
.sec-title{
    font-weight: bold;
    font-size: 36px;
    text-align: right;
}
.sec-des{
    text-align: right;
    font-size: 17px;
    line-height: 1.8;
    color: #5e5c7f;
    border-radius: 15px;
}
.sec-des{
    position: relative;
}
.sec-des::before{
    position: absolute;
    content: '';
    top: 20%;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 10px solid #fff;
    border-bottom:10px solid transparent;
}
body.dark .sec-des::before{
    border-left: 10px solid #22242c;
}
.btn-resume{
    background-color: #3bc299;
}
.progress{
    direction: rtl;
}
.kh-box{
    background-color: #3bc299;
    border-radius: 15px;
    padding: 35px 0 30px;
    transition:transform .4s ;
}
.kh-box-2{
    border-radius: 15px;
    background-color: #DBDBDB;
    color: #454360;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 27px 3px;
    box-shadow: 0px 5px 20px 0px rgb(69 67 96 / 10%);
    transition:transform .4s ;
}
.kh-box:hover,
.kh-box-2:hover{
    transform: translateY(-15px);
}
.kh-box img{
    width: auto!important;
    height: 150px!important;
}
.kh-text{
    font-size: 20px;
    font-weight: bold;
}
.f-o-link{
    font-size: 17px;
}
.bg-map{
   /* background-image: url('../img/map-bg.png');
    background-repeat: no-repeat;
    background-size: 90% auto;*/
}
.bg-map h4{
    font-weight: bold;
    font-size: 24px;
}
.bg-map p{
    font-size: 17px;
}
.mail-link{
    color: #54595f;
}
.input-cu::placeholder{
    text-align: right;
}
.input-cu{
    box-shadow: 0px 5px 20px 0px rgb(69 67 96 / 10%);
    border:none;
    height:50px;
    margin-bottom: 40px;
    border-radius: 25px;
}
.msg-txt{
    height: 150px;
}
.des-ex {
    height: max-content;
    max-height: 120px;
    overflow-y: scroll;
    padding: 10px 10px 5px;
    position: relative;
    direction: rtl;
}
.in-load{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1A2127;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease .5s;
}
.hi-load{
    opacity: 0;
    z-index: -111;
}
.loader {
    position: relative;
    width: 64px;
    height: 64px;
    background-color: rgba(0, 0, 0, 0.5);
    transform: rotate(45deg);
    overflow: hidden;
  }
  .loader:after{
    content: '';
    position: absolute;
    inset: 8px;
    margin: auto;
    background: #222b32;
  }
  .loader:before{
    content: '';
    position: absolute;
    inset: -15px;
    margin: auto;
    background: #3bc299;
    animation: diamondLoader 1.6s linear infinite;
  }
  @keyframes diamondLoader {
    0%  ,10% {
      transform: translate(-64px , -64px) rotate(-45deg)
    }
    90% , 100% {
      transform: translate(0px , 0px) rotate(-45deg)
    }
  }
.des-ex::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: -webkit-gradient(linear,
	    left bottom,
	    left top,
	    color-stop(0.44, #50dfb4),
	    color-stop(0.72, #3db893),
	    color-stop(0.86, #32a784));
    width: 4px;
    height: 100%;
}
.des-ex::-webkit-scrollbar
{
	width: 4px;
	background-color: #F5F5F5;
}

.des-ex::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
.btn-show-them{
    width: 100%;
    height: 40px;
    background-color: #3bc299;
    color: #fff;
    display: inline-block;
    line-height: 40px;
    margin-top: 15px;
    margin-bottom: 20px;
}
.btn-show-them:hover{
    color: #fff;
}  
  .checkbox-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 17px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}
.checkbox {
    opacity: 0;
    position: absolute;
  }
  
  .checkbox-label {
    background-color: #111;
    width: 50px;
    height: 22.5px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .fa-moon {color: #f1c40f;}
  .fa-sun {color: #f39c12;}
  .dark-op{
    position: absolute;
    top: 23px;
    left: 10px;
  }
  .checkbox-label .ball {
    background-color: #fff;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
  }
  .checkbox:checked + .checkbox-label .ball {
    transform: translateX(24px);
  }
.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}
footer{
    background-color:#22242c;
}
@media (max-width:992px) {
    .menu-des{
        transform: translate3d(290px,0,0);
        transition: transform .3s;
    }
   body.show-menu .menu-des {
        transform: translate3d(0,0,0);
        transition: transform .3s;
    }
    body{
        margin-right: 0;
    }
    .menu-mobile,.close-menu{
        display: block;
    }
    .text-center-mobile{
        text-align: center!important;
    }
    .des-ex{
        height: 140px;
       
    }
    .fa-txt {
        top: 90%;
        font-size:15px;
    }
}