@font-face {
    font-family: 'iranSans';
    src: url(../fonts/iransansdn.ttf);
}

@font-face {
    font-family: 'Aviny';
    src: url(../fonts/aviny_web.woff);
}


body{
    direction: rtl;
    background-color: #1d1e24;
}

*{
    color: white;
    font-family: 'iranSans';
}

a{
    text-decoration: none;
}

.back{
    width: 100%;
    height: 320px;
    position: absolute;
    background-image: url(../img/back1.jpg);
    background-position: 50% 20%;
    z-index: -1;
    filter: blur(4px);
}

.all{
    padding-top: 200px;
    z-index: 1;
}

.header{
    width: 100%;
    height: fit-content;
    border-radius: 30px;
    background: #23262b;
    /* border: 1px solid rgba(255,255,255,.2); */
    position: relative;
    display: flex;
    margin-bottom: 30px;
    padding: 30px;
}

.header-left , .header-right{
    width: 50%;
    display: flex;

}

.header-right > div{
    width: 40%;
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.profile{
    border-radius: 40px;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 8px solid #23262b;
    margin-top: -80px;
}

.info{
    flex-direction: column;
    justify-content: start !important;
}

.info > h1{
    font-size: 26px;
    font-weight: 600;
    margin: 5px 0;
}

.info > p{
    color: rgba(255,255,255,.5);
    font-size: 13px;
    margin: 5px 0;

}

.header .profile > img{
    width: 100%;
    height: 100%;
}

.main{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.main .content{
    background: #23262b;
    width: 90%;
    border-radius: 30px;
    /* border: 1px solid rgba(255,255,255,.2); */
    padding: 40px;
    height: fit-content;
}

.main .menu{
    /* border: 1px solid rgba(255,255,255,.2); */
    background: #23262b;
    border-radius: 30px;
    padding: 20px 30px;
    margin-right: 10px;
    height: fit-content;

}

.menu ul{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    /* height: 100%; */
    justify-content: space-around;
}

.menu ul > li{
    background: #2e2f36;
    margin: 10px auto;
    border-radius: 20px;
    cursor: pointer;
    transition: all ease .3s;
    outline: 1px solid #2e2f36;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100px;
}

.menu ul > li:hover{
    transform: scale(1.08);
    background: #202125;
}


.menu ul > li:active{
    outline: 1px solid #003fbe;
}

.menu-txt{
    font-size: 14px;
    text-align: center;
    margin: 0;
}

.menu-icon{
    /* display: block; */
    text-align: center;

}

.menu-icon > i{
    font-size: 30px;
}

.menu-active{
    background: linear-gradient(142.17deg, #0DA2FF 6.66%, #003fbe 91.48%) !important;
}

.menu-active:active{
    outline: 1px solid #fff !important;
}

.menu-div{
    display: flex;
    flex-direction: column;
    justify-content: center;

    box-sizing: content-box;
    width: 100%;
    height: 100px;
    transition: all ease .5s;
    background: rgba(46, 47, 54, 0) ;
    
}

.menu-active:hover a{
    background: #003fbe !important;
    /* opacity: 0 ; */
}

.titr{
    font-size: 35px;
    margin-bottom: 40px;
    position: relative;
}

.titr::after{
    content: "";
    border-radius: 20px;
    background: #0DA2FF;
    width: 20px;
    height: 5px;
    position: absolute;
    bottom: -20px;
    right: 0;
}

.titr::before{
    content: "";
    border-radius: 20px;
    background: #003fbe;
    width: 40px;
    height: 5px;
    position: absolute;
    bottom: -20px;
    right: 15px;
}


.main-txt{
    font-size: 16px;
    color: rgba(255,255,255,.7);
    line-height: 30px;
    margin: 0;
}

.titr > span > i{
    font-size: 15px;
    color: #003fbe;
}
.content > section{
    margin-bottom: 20px;
}


.footer {
    padding: 20px 0 ;
}

.footer > h6{
    margin: 0;
}

.header-left{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    text-align: left;
    height: fit-content;
}



.header-text{
    width: 50%;
    /* width: 150px; */
    margin: 5px 0;

}

.header-sm{
    font-size: 14px;
    color: #999ca3;
    margin: 0 0 5px 0;

}

.header-md{
    color: #dadada;
    font-size: 16px;
    margin: 0;
}

#info::after{
    content: "";
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, .2);
    position: absolute;
    left: -50px;

}

.icons{
    display: flex;
    margin: 8px 0;
}

.icons > i{
    font-size: 24px;
    margin: 10px  8px 0 0;
    cursor: pointer;
    transition: all ease .2s;
    color: rgba(255, 255, 255, .5);

}

.icons > i:hover{
    color: #4b7cdd;
}

.fa-circle{
    position: relative;
}
.fa-circle::after{
    content: "";
    background-color: transparent;
    outline: 2px solid rgba(255, 255, 255 , .8);
    outline-style: dashed;
    width: 21px;
    height: 21px;
    position: absolute;
    right: -3px;
    bottom: -3px;
    margin: auto;
    animation: cir linear infinite 3s;
    border-radius: 50%;

}

.card-works{
    text-align: right !important;
    height: fit-content;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,.2);
    margin: 5px;
    border-radius: 30px;
    padding: 12px 20px 12px 12px;
    box-sizing: content-box;
    transition: all ease .3s;
}
.card-works *{
    text-align: right !important;
}
.card-works h1{
    margin: 10px 0;
}
.card-works p{
    padding-right: 10px;
}

.card-skill{
    text-align: right !important;
    height: fit-content;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,.2);
    margin: 5px;
    border-radius: 30px;
    padding: 20px;
    transition: all ease .3s;
}
.card-skill h1{
    margin: 0 0 10px 0 !important;
}


.flex-auto{
    flex: auto !important;
}


/* --------------------------------- Works Page styles --------------------------------- */
.work-gallery-all{

}
.work-gallery-all img{
    border-radius: 12px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
}
.work-gallery-all article{
    transition: all ease-in-out .3s;
    background: #1d1e24;
}
.work-gallery-all article:hover{
    box-shadow: 0 0 50px rgba(255, 255, 255 , .2);
}
.work-gallery-all article a{
    font-size: smaller;
    height: fit-content;
    display: block;
    text-align: center;
}

/* --------------------------------- KeyFrames --------------------------------- */

@keyframes cir {
    0%{
        transform: rotate(0);
    }

    50%{
        transform: rotate(180deg);
    }

    100%{
        transform: rotate(360deg);
    }
}


/* --------------------------------- Preloader Page Styles --------------------------------- */

.BackLoader{
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(7 10 17) !important;
}
.loader {
width: 20px;
aspect-ratio: 1;
border-radius: 50%;
background: #fff;
box-shadow: 0 0 0 0 #888585;
animation: l2 1.5s infinite linear;
position: relative;
}
.loader:before,
.loader:after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
box-shadow: 0 0 0 0 #fff;
animation: inherit;
animation-delay: -0.5s;
}
.loader:after {
animation-delay: -1s;
}
@keyframes l2 {
    100% {box-shadow: 0 0 0 40px #0000}
}

::-webkit-scrollbar{
    background: #1d1e24;
    width: 12px;
}
::-webkit-scrollbar-thumb{
    background: rgba(255,255,255, 0.2);
    border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover{
    background: rgba(255,255,255, 0.3);
    border-radius: 100px;
}
