/**
*** Name Theme: Frame Studio Website
**  Coder Name: Haneen Dh
**  Coder Url : fb.com/albanfsaj
**/

@import url('https://fonts.googleapis.com/css?family=Cairo&display=swap');

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    scroll-behavior: smooth;

}
::-moz-selection {
    background: #1D1B1C;
    color: #fff;
    text-shadow: none
}

::selection {
    background: #1D1B1C;
    color: #fff;
    text-shadow: none
}


::-webkit-input-placeholder {
    /* Edge */

    color: rgba(203, 204, 204, 0.589) !important;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: rgba(203, 204, 204, 0.589) !important;
}

::placeholder {
    color: rgba(203, 204, 204, 0.589) !important;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
/* *{
    box-sizing: border-box
} */
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: "HelveticaNeuBold";
    src: url("../fonts/HelveticaNeuBold.ttf");
}

@font-face {
    font-family: "HelveticaNeueLight";
    src: url("../fonts/HelveticaNeueLight.ttf");
}

@font-face {
    font-family:"HelveticaNeueMedium" ;
    src: url("../fonts/HelveticaNeueMedium.ttf");
}




body {
    font-family: 'Cairo', sans-serif !important;
    color: #000;
    height: 100vh;
    margin: 0;
    font-size: 16px;
    overflow-x: hidden;
}


a,
a:hover {
    text-decoration: none;
    color: inherit
}

.bg-dark {
    background-color: #000000ab!important;
}

a.navbar-brand {
    height: 60px;
}

.navbar-brand img {
    height: 100%;
}

.navbar-nav{
text-transform: uppercase;
font-size: 15px;
}

div#navbarSupportedContent {
    justify-content: flex-end;
}

a.nav-link.lang-btn {
    display: inline-block;
    height: 38px;
    line-height: 34px;
    padding: 0;
    width: 38px;
    margin-left: 15px;
    text-align: center;
    border: 1px solid #fff;
}

.header{
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.37);
}
.navbar{
    position: relative;
    z-index: 0;
}

.vid-cont{

    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
  }

  .vid-cont video{
      height: 100%;
      width: 100%;
      object-fit: cover;
  }


.header > .container{
    position: relative;
    z-index: 1;
    height: calc(100% - 75px);
}

.h2, h2 {
    font-size: 1.7rem;
}

.slide-cont{
    margin-top: 45vh;
}

.control-sound{
    position: absolute;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
}
.control-sound .icon-audio{
    background-image: url(../img/icons/sound.png);
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    vertical-align: bottom;
    background-size: contain;
    background-position: center;
    display: inline-block;
    margin-right: 3px;
}

/* .mute .icon-audio{
        background-image: url(../img/icons/mute.png);
} */

.big_logo{
    display: block;
    height:80px ;
}

.big_logo img{
    height: 100%;
}

.about-brief {
    width: 80%;
    margin: 40px auto;
    line-height: 2;
}

.goto-btn{
    display: inline-block;
    height: 45px;
    line-height: 40px;
    width: 240px;
    margin-top: 20px;
    text-align: center;
    border: 2px solid #000;
}
.portfolio .col-md-3{
padding-right: 5px;
    padding-left: 5px;
}
.protfolio-block{
    width: 100%;
    height: 220px;
    background-position: center;
    background-repeat: no-repeat;
    margin:5px 0;
    position: relative;
    background-size: cover;
    overflow:hidden;
}

 .port-overlay{
position: absolute;
background-color: rgba(0, 0, 0, 0.68);
color: #fff;
border: 10px solid #fff;
top:-100%;
right: 0;
width: 100%;
height: 100%;
 }

 .port-text.white-text {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
    font-size: 18px;
    width: 100%;
}
.portfolio-types{text-align: center}
.portfolio-types >li {
    display: inline-block;
    color: #808080;
    margin: 5px;
    padding: 5px;
    cursor: pointer;
position: relative;
text-transform: uppercase;
}
.portfolio-types >li.active { 
    color: #fff; 
}

.portfolio-types >li::after{
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
    right: 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.portfolio-types >li.active::after{
    background-color: rgba(255, 255, 255, 1);

}

#Container{
    overflow: hidden
}

#Container .mix{display: none;
}

.client-block {
    width: 100%;
    height: 90px;
    border: 1px solid #cecece;
    padding: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.client-block img{height: 100%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.client-block:hover img{
    transform: scale(1.2);
    -webkit-filter: grayscale(0);
	filter: grayscale(0);
}

.clients h4{
    color: #707070;
}
.clients .col-md-2{
padding-right: 5px;
    padding-left: 5px;
}


.btm-logo {
    display: block;
    height: 90px;
}

 .btm-logo img {
     height: 100%;
}
.flw{font-size: 16px;}
.social-list a {
    font-size: 25px;
    margin: 0 5px;
}
.social-list a:hover{
}

/* Services Page  */

.innerpage{
    height: 400px;
    background-position: bottom;
}

.innerpage .slide-cont h1{
position: relative;
}

.innerpage .slide-cont h1::after{
    content: "";
    position: absolute;
    width: 80px;
    height: 1px;
    background-color: #fff;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
}


.innerpage .slide-cont {
    width: 70%;
    margin: auto;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
}

.services-cont .col-md-4{
    padding-right: 5px;
        padding-left: 5px;
    }

.service-block{
    height:380px ;
 background-position: center;
background-repeat: no-repeat;
background-size: 100%;
position: relative;
margin-bottom: 15px;
}

.service-block::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.486);
    bottom: 0;
    right: 0;
 }

 .service-block:hover{
    background-size: 105%;
 }

.service-block-cont{
    position: absolute;
    top: 50%;
    right: 50%;
    width: 80%;
    transform: translate(50%,-50%);
}

.serv-icon{
    display: block;
    margin: auto;
    margin-bottom: 20px;
    width: 80px;
    height: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(../img/icons/preview.png);
}

.serv-brief {
    height: 0;
   overflow: hidden;
   /* display: none; */
}
.service-block:hover .serv-brief{
height: 75px;
}
.plyr--full-ui input[type=range] {
    color: #fff;
}

.plyr--video .plyr__control.plyr__tab-focus, .plyr--video .plyr__control:hover, .plyr--video .plyr__control[aria-expanded=true] {
    background: #000000;
}

.plyr__control--overlaid {
    background: rgba(0, 0, 0, 0.8);
}

.otherVid{
    position: relative;
    margin: 20px 0;
    cursor: pointer;
}
.otherVid::after{
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    content: "\f04b";
    color: #fff;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
    font-size: 18px;
    font-weight: 900;
    z-index: 2;
}

.otherVid::before{
    position: absolute;
    content: "";
    background-color: rgba(0, 0, 0, 0.36);
    top: 0;
    right: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}


.img-vid-cont{
height: 150px;
}

.img-vid-cont img{
    width: 100%;
    height: 100%;
}



.static-block{

}

.static-icon{
height: 50px;
margin: auto;
}

.static-num{
font-size: 45px;
}

.static-title{
    font-size: 20px;
}

.yt:hover{
    color: #ff0000;
}
.tw:hover{
    color: #55acee;
}
.fb:hover{
    color: #3b5998;
}
.ins:hover{
    color: #e95950;
}


.nav-link{
    position: relative;
}
.nav-link:before, .nav-link:after {
    content: '';
    position: absolute;
    transition: transform .5s ease;
  }

  .nav-link {
    padding-top: 10px;
    opacity: 0.8;
  }
  .nav-link:hover {
opacity: 1;
}
  .nav-link:before {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
  }
  .nav-link:hover::before ,
  .active .nav-link::before {
    transform: scaleX(1);
  }
  .active .nav-link{
    opacity: 1;
    }


.inner-portfolio-block{

}
.inner-portfolio-block img{
 height: 220px;
 width: 100%;
 padding-bottom: 10px;
 object-fit: cover; 
}


/* ==========================================================================
Groups classes
========================================================================== */

.trans,
.client-block,
.client-block img,
.social-list a,
.goto-btn,
.service-block,
.serv-brief{
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */


.black-text {
    color: #000
}

.white-text{
    color: #fff
}

.grey-text {
    color: #4B4B4B
}

.black-bg {
    background-color: #000
}

.goto-btn{
    display: inline-block;
    height: 45px;
    line-height: 40px;
    width: 240px;
    margin-top: 20px;
    text-align: center;
    border: 2px solid #000;
    position: relative;
    background: none;
    cursor: pointer;
    letter-spacing: 1px;
    outline: none;
    overflow: hidden;

}

.goto-btn:after {
    width: 100%;
    height: 0;
    top: 50%;
    z-index: -1;
    position: absolute;
    content: "";
    left: 50%;
    background: #000;
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(30deg);
    transform: translateX(-50%) translateY(-50%) rotate(30deg);
    transition: all 0.3s;
  }

  .goto-btn:hover {
    color: #fff;
  }

  .goto-btn:hover:after {
    height: 400%;
    opacity: 1;
  }

.white-btn {
    border: 2px solid #fff;
color: #fff;
}


.white-btn:after {
    background: #000;
  }

  .white-btn:hover {
    color: #000;
    background-color: #fff;
    border-color: #000;
  }

.md-text {
    font-family:"HelveticaNeueMedium" ;
}

.nrml-text {
    font-family: "HelveticaNeueLight";
}

.bold-text {
	font-family: 'Cairo', sans-serif !important;
}

.overflow {
    overflow: hidden;
}

.sm-text {
    font-size: 20px
}

.tiny-text{
    font-size: 12px;
}

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: none;
}

  .py-7 {
    padding: 7rem 0!important;
}
  .pb-7 {
    padding-bottom: 7rem  !important;
}

  .py-6 {
    padding: 6rem 0!important;
}

.py-5r{
    padding: 8rem 0!important;

}






@media (min-width: 2000px) {
    .header > .container {
        width: 90%;
        max-width: 90%;
    }
    .slide-cont {
        /* position: absolute;
        bottom: 10vh; */
    }

}

@media (min-width: 1900px) {
    .service-block {
        height: 450px;
    }

    .protfolio-block {
         height: 360px;
    }

}


@media (max-width: 768px) {

    /* .navbar-nav {
        text-transform: uppercase;
        font-size: 15px;
        position: absolute;
        height: auto;
        width: 100%;
        z-index: 999999999;
        background-color: #000;
        padding: 0 16px 20px;
        left: 0;
    } */
    .innerpage {
        height: auto;
        padding-bottom: 20px;
    }
    .header > .container {
        height: auto;
    }
    .innerpage .slide-cont {
        width:100%;
        position: static;
        transform: none;
    }
    div#navbarSupportedContent {
        justify-content: flex-end;
        text-align: center;
    }
    .nav-link {
        display: inline-block;
        text-align: center;
    }

.about-brief {
    width: 100%;
}
.static-block{margin-bottom: 20px;}
}

/* Gray Scale */
.hover08 img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover08 img:hover  {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

/*

   Add By Alaa

*/

.counter-box{
      margin-bottom: 30px;
    text-align: center;
    position: relative;
} 
.counter-box .box-content{
    position: relative;
    padding: 1.5rem 3rem;
} 

.counter-box:before,
.counter-box:after{
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    opacity: 1;
    transition: all 0.6s ease 0.3s;
}
.counter-box:before{
    border-bottom: 10px solid #040404;
    border-left: 10px solid #040404;
    bottom: 0px;
    left: 0px;
}
.counter-box:after{
    border-bottom: 10px solid #040404;
    border-right: 10px solid #040404;
    bottom: 0px;
    right: 0px;
}
.counter-box:hover:before,
.counter-box:hover:after{
    width: 50%;
    height: 50%;
}
.counter-box .box-content:before,
.counter-box .box-content:after{
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    opacity: 1;
    transition: all 0.6s ease 0.3s;
}
.counter-box .box-content:before{
    border-left: 10px solid #040404;
    border-top: 10px solid #040404;
    top: 0px;
    left: 0px;
}
.counter-box .box-content:after{
    border-top: 10px solid #040404;
    border-right: 10px solid #040404;
    top: 0px;
    right: 0px;
}
.counter-box:hover .box-content:before,
.counter-box:hover .box-content:after{
    width: 50%;
    height: 50%;
}
.counter-box .count{
    font-size: 62px;
    font-weight: bold;
}
.counter-box .title{
    font-size: 20px;
    color: #000;
    font-weight: bold;
    margin: 0;
    position: relative; 
    transition: all 1s ease 0.01s;
}
.counter-box:hover .title{ 
    opacity: 1;
    transition: all 0.5s cubic-bezier(1, -0.53, 0.405, 1.425) 0.01s;
}
.counter-box .title:after{
    content: "";
    width: 0;
    height: 1px;
    background: #040404;
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: all 1s ease 0s;
}
.counter-box:hover .title:after{
    width: 80%;
    transition: all 1s ease 0.8s;
}
