/*
*
* ThemplateName  : Navid
* Creator        : Amir hossein hosseinkhani
* Company        : Studioaleph
* Creator Contact: amirh27hosseinkhani@gmail.com
* Company Contact: info@studioaleph.com
* Creator Website: amirportfolio.com
* Company Website: studioaleph.com
*
*
*/

*{
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    border: 0 none;
    transition-timing-function: ease-out;
    letter-spacing: 2px;
    font-style: normal;
}

img, video{
    max-width: 100%;
}

@font-face {
    font-family: 'CenturyGothic';
    src: url('../../fonts/ufonts.com_century-gothic.eot');
    src: url('../../fonts/ufonts.com_century-gothic.eot?#iefix') format('embedded-opentype'),
    url('../../fonts/CenturyGothic.ttf') format('truetype'),
    url('../../fonts/CenturyGothic.svg') format('svg');
    font-face-name: 'CenturyGothic';
}

p,h1,h2,h3,h4,h5,h6,span,a,input,textarea,label,button{
    font-family: CenturyGothic;
}

input:focus, textarea:focus{outline: none}

/* ____________/// Home Page \\\____________ */
.body-fixed{
    overflow: hidden;
    position: relative;
    width: 100vw;
    height: 100vh;
}

.main-fixed{
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.background-theme{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
}

.background-theme img, .background-theme img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: .5;
}

.menu-home{
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-width: 300px;
    max-width: 1000px;
    height: 38%;
    z-index: 1;
    overflow: visible;
    transition: 0.5s all;
}

.home-logo{
    width: 100%;
    height: 100px;
    position: relative;
}

.home-logo img{
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -25%);
    width: 200px;
}

.home-menu-list{
    width: 100%;
    height: calc(100% - 100px);
}

.home-menu-list ul{
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: 0;
    text-align: center;
}

.home-menu-list ul li{
    display: inline-block;
    margin: 0px -4px;
    text-align: center;
}

.home-menu-list ul li:last-of-type{
    border: 0 none;
}

.home-menu-list ul li a{
    text-align: center;
    line-height: 100%;
    font-size: 18px;
    color: #5e5f5f;
    transition: 0.5s all;
    position: relative;
    padding: 2px 0;
    letter-spacing: 9px;
}

.home-menu-list ul li a::after{
    content: "";
    display: block;
    width: 0%;
    height: 1px;
    bottom: 0;
    position: absolute;
    z-index: 1;
    transition: 0.25s all;
    background: #4edcc6;
    left: 50%;
    transform: translateX(-50%);
}

.home-menu-list ul li a:hover{
    color: #4edcc6;
}

/* .home-menu-list ul li a:hover::after{
    width: 100%;
} */

.home-menu-list ul li a.active{
    color: #4edcc6;
}

/* .home-menu-list ul li a.active::after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    position: absolute;
    z-index: 1;
    transition: 0.25s all;
    background: #74cbcc;
    left: 50%;
    transform: translateX(-50%);
} */

footer.home-footer{
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 1;
    /* width: 300px; */
}

footer.home-footer ul{
    width: 100%;
    text-align: center;
}

footer.home-footer ul li{
    display: inline-block;
    margin: 0px 10px;
    padding: 5px 10px;
    vertical-align: middle;
}

footer.home-footer ul li a{
    text-align: right;
}

footer.home-footer ul li a img{
    width: 24px;
}

footer.home-footer ul li a img.black{
    display: block;
}

footer.home-footer ul li a img.color{
    display: none;
}

footer.home-footer ul li a:hover img.black{ display: none}
footer.home-footer ul li a:hover img.color{ display: block}

.menu-logo{
    padding: 0!important;
    margin: 0 10px!important;
}

.menu-logo> a> img{
    width: 80px;
}

.ajax-content{
    width: 100%;
    /* max-width: 1200px; */
    /* height: calc(100vh - 150px); */
    height: 100vh;
    position: absolute;
    top: 100%;
    background: rgba(255, 255, 255, 0.5);
    left: 50%;
    transform: translateX(-50%);
    /* box-shadow: 0px 1px 5px #5e5f5f; */
    display: none;
}

.content-scroll{
    overflow-y: scroll;
}

.text-content{
    max-width: 860px;
    min-width: 300px;
    /* width: 100%; */
    padding: 15px 70px;
    margin: 80px auto;
}

.text-content> div p{
    text-align: justify;
    line-height: 25px;
}

.text-content> div p, .text-content> div h1, .text-content> div h2, .text-content> div h3, .text-content> div h4, .text-content> div h5, .text-content> div h6{
    margin: 20px auto;
    text-align: left;
}

.hamburger-menu{
    width: 35px;
    height: 35px;
    padding: 5px;
    z-index: 3;
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    cursor: pointer;
}

.hamburger-menu div{
    position: relative;
    width: 35px;
    height: 35px;
}

.hamburger-menu span{
    display: block;
    width: 100%;
    height: 2px;
    background-color: #5e5f5f;
    transition: 0.5s all;
    transform-origin: center center;
    position: absolute;
}

.hamburger-menu span:first-of-type{
    transform-origin: top left;
    top: 5px;
}

.hamburger-menu span:nth-of-type(2){
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu span:last-of-type{
    transform-origin: bottom left;
    bottom: 5px;
}

.mobile-open span:first-of-type{
    transform: rotateZ(45deg);
    top: 5px;
    left: 6px;
    background-color: #fff;
}
.mobile-open span:nth-last-of-type(2){
    opacity: 0;
    background-color: #fff;
}
.mobile-open span:last-of-type{
    transform: rotateZ(-45deg);
    left: 6px;
    bottom: 4px;
    background-color: #fff;
}

.mobile-menu{
    background-color: #5e5f5f;
    z-index: 2;
    height: 100vh;
    width: 100vw;
    top: 0;
    position: absolute;
    left: 100%;
    display: none;
    transition: 0.5s all;
}

.mobile-menu ul{margin-top: 145px;}

.mobile-menu ul li{
    width: 200px;
    margin: 20px auto;
    text-align: right;
}

.mobile-menu ul li a{
    text-align: center;
    line-height: 100%;
    font-size: 18px;
    color: #fff;
    transition: 0.5s all;
    position: relative;
    padding: 2px 0;
    letter-spacing: 9px;
}

.mobile-logo{margin-top: 85px;}
.mobile-logo a{
    display: block;
}

.mobile-logo> a img{
    width: 145px;
    margin: 0px auto;
    display: block;
}

.mobile-menu-open{
    left: 0;
}

.latest-work{
    width: 180px;
    height: 600px;
    overflow: hidden;
    margin: 0px auto;
    position: absolute;
    right: 90px;
    top: 50px;
}

.lastest-work-parent{
    position: absolute;
    top: 0;
    left: 0;
}

.latest-work li{
    margin: -4px;
    height: 120px;
    width: 120px;
    position: relative;
    overflow: hidden;
    transition: 05s all;
}

.latest-work li p{
    position: absolute;
    bottom: -100%;
    transition: 0.5s all;
    left: 0;
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    background-color: rgba(94, 95, 95, 0.8);
    width: calc(100% - 20px);
    overflow: hidden;
}

.latest-work li:hover p{
    bottom: 0;
}

.latest-work li> a> div> img{
    width: auto;
    max-width: 100vw;
    height: 120px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: 0.5s all;
}

/* .latest-work li:hover{
    transform: scale(1.5);
} */

.latest-work li:hover img{
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.last-arrow{
    position: absolute;
    height: 40px;
    width: 160px;
    top: 44%;
    right: -30px;
    transform: translateY(-50%) rotateZ(-90deg);
    color: #5e5f5f;
}

.arrow-top{
    position: absolute;
    width: 40px;
    height: 40px;
    top: 3px;
    cursor: pointer;
    text-align: center;
    right: 165px;
}

.arrow-top img{
    width: 24px;
    margin-top: 6px;
    transform: rotateZ(90deg);
}

.arrow-bottom{
    position: absolute;
    width: 40px;
    height: 40px;
    cursor: pointer;
    text-align: center;
    bottom: 90px;
    right: 165px;
}

.arrow-bottom img{
    width: 24px;
    margin-top: 6px;
    transform: rotateZ(-90deg);
}

@media only screen and (max-width: 1000px){
    .latest-work, .arrow-bottom, .arrow-top, .last-arrow{display: none;}
    
    .background-theme img{
        width: 150%;
        max-width: 50000px;
    }
}

@media only screen and (max-width: 750px){
    .background-theme img{
        width: 200%;
        max-width: 50000px;
    }
}

@media only screen and (max-width: 520px) {
    .background-theme img{
        width: 268%;
        max-width: 10000%;
    }

    .home-menu-list ul{
        height: auto;
        top: 20px;
    }

    .home-menu-list ul li {
        display: block;
        margin: 20px auto;
        text-align: right;
        width: 200px;
    }

    .home-logo img {
        position: absolute;
        top: -87%;
        left: 50%;
        transform: translate(-50%, -25%);
        width: 145px;
    }

    footer.home-footer{
        width: 100%;
        right: 0;
        bottom: 60px;
    }

    .hamburger-menu, .mobile-menu{display: block}
}

@media only screen and (max-width: 376px) {
    .text-content {
        padding: 10px
    }
    
    .latest-work{display: none;}
    
    .home-menu-list ul{
        top: 90px;
    }
    
    footer.home-footer{bottom: 30px;}
}

@media only screen and (max-width: 375px) and (max-height: 667px){
    footer.home-footer {
        bottom: 80px;
    }
}
