*{
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
body{
    scroll-behavior: smooth;
}
:root{
    --inline-gap: 0.9375rem;
    --animation:400ms;
    --primaryColor:#1E1E1E;
}
/* Start Nav bar section */
.navbar .navbar-nav .nav-link,.navbar-brand{
    color: white;
    text-transform: uppercase;
}
.navbar-brand{
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}
.bg-color{
    background-color: black;
}
.nav-item a{
    position: relative;
}
.nav-item a::before{
    content: "";
    position: absolute;
    bottom: 7px;
    left: var(--inline-gap);
    width: 0px;
    height: 2px;
    background-color: white;
    transition: width var(--animation);
}
.nav-item a:hover{
    color: #ffffff;
}
.nav-item a:hover::before,a.active::before{
    width: calc(90% - (var(--inline-gap) * 2));
}
.dropdown .dropdown-menu{
    display: none;
}
.dropdown:hover > .dropdown-menu, .dropend:hover > .dropdown-menu{
    display: block;
    margin-top: 0.125em;
    margin-left: .125em;
}

@media screen and (min-width:769px) {
    .dropend:hover > .dropdown-menu{
        position: absolute;
        top: 0;
        left: 85%;
    }
}
/* End Nav bar section */

/* Start of Home section */
.home{
    background: url(../Images/hero-bg.jpg);
    height: calc(100vh - 4.2rem);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 4;
}
.home-caption h1{
    font-size: 72px;
}
@media screen and (max-width: 768px){
    .home-caption h1{
        font-size: 3rem;
    }
}
.layer{
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.animation-text{
    font-size: 40px;
}
.animation-text span{
    position: relative;
}
.animation-text span::before{
    content: "Designer";
    color: white;
    animation: words 20s infinite;
}
.animation-text span::after{
content: "";
position: absolute;
width:calc(100% + 8px);
height: 46px;
background-color:rgba(0, 0, 0, 1);
border-left:2px solid white;
right: -8px;
top: 10px;
animation: cursor .8s infinite, typing 20s steps(14) infinite;
}
@keyframes cursor{
    to{
        border-left:2px solid rgba(0, 0, 0, 0.8);
    }
}
@keyframes words{
    0%,20%{
        content: "Designer";
    }
    21%,40%{
        content: "Freelancer";
    }
    41%,60%{
        content: "Developer";
    }
    61%,80%{
        content: "Photography";
    }
    81%,100%{
        content: "Gamer";
    }
}
@keyframes typing{
    10%,15%,30%,35%,50%,55%,70%,75%,90%,95%{
        width: 0;
    }
    5%,20%,25%,40%,45%,60%,65%,80%,85%{
        width: calc(100% + 8px);
    }
}
  
/* End of Home section */

/* Start of About section */
.container-about{
    width: 95%;
    margin: auto;
}
.title-box{
    position: relative;
}
.title-left:before {
    content: "";
    position: absolute;
    height: 3px;
    background-color: #0078ff;
    width: 100px;
    bottom: -12px;
}
/* End of About section */

/* Start of Services section */
.caption-a{
    color: var(--primaryColor);
    font-size: 3rem;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.line {
    width: 40px;
    height: 5px;
    background-color: #0078ff;
    margin: 0 auto;
    margin-bottom: 3rem;
}
.service-box {
    background-color: #fff;
    padding: 2.5rem 1.3rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    text-align: center;
}
.service-box:hover .ico-circle {
    transition: all 500ms ease;
    color: #fff;
    background-color: #0078ff;
    box-shadow: 0 0 0 10px #cde1f8;
}
.service-box .service-ico {
    margin-bottom: 1rem;
    color: #1e1e1e;
  }
  
.service-box .ico-circle {
    transition: all 500ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.svg-inline--fa {
    font-size: 3rem;
    line-height: 0;
}
.ico-circle{
    height: 100px;
    width: 100px;
    font-size: 2rem;
    border-radius: 50%;
    line-height: 1.55;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 0 0 10px #0078ff;
}
.service-box .s-caption {
    font-size: 1.4rem;
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 0;
}
.service-box .s-description {
    color: #4e4e4e;
}

/* End of Services section */

/* start of counter section */
.counter-box {
    color: #fff;
    text-align: center;
} 
@media (min-width: 577px) {
    .counter-box {
      margin-bottom: 1.8rem;
    }
}
.counter-ico {
    margin-bottom: 1rem;
}

.counter-box .service-ico {
    margin-bottom: 1rem;
    color: #1e1e1e;
  }
  
.counter-box .ico-circle {
    transition: all 500ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.service-box .s-caption {
    font-size: 1.4rem;
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 0;
}
.icons-counter{
    font-size: 2rem;
    line-height: 0;
}
.image-counter{
    background-image: url(../Images/counters-bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.overlay-mf {
    position: absolute;
    top: 0;
    left: 0px;
    padding: 0;
    height: 100%;
    width: 100%;
    opacity: 0.7;
}
.ico-color{
    height: 60px;
    width: 60px;
    font-size: 2rem;
    border-radius: 50%;
    line-height: 1.55;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 0 0 10px #ffffff99;
}
.overlay-mf{
    background-color: #0078ff;
}
@property --num {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
  }
.counter-num h3 {
    animation: counter 5s infinite alternate ease-in-out;
    counter-reset: num var(--num);
    font: 800 26px system-ui;
}
.counter-num h3::after {
    content: counter(num);
  } 
  @keyframes counter {
    from {
      --num: 0;
    }
    to {
      --num: 200;
    }
  }
/* End of counter section */

/* Start of Portfolio section */
.work-box {
    margin-bottom: 3rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #fff;
}
.work-box {
    margin-bottom: 3rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #fff;
}
.image-area{
    width: 100%;
    overflow: hidden;
}
.image-area img{
    width: 100%;
    transition: all 1.1s;
}
.image-area img:hover{
    transform: scale(1.3);
    cursor: pointer;
}
.work-caption {
    padding: 2rem 3% 1rem 4%;
}
.work-caption .w-more {
    color: #4e4e4e;
    font-size: 0.8rem;
}
.work-caption .w-more .w-ctegory {
    color: #0078ff;
}
.work-caption .w-like {
    font-size: 2.5rem;
    color: #0078ff;
    float: right;
}
.work-caption .w-like a {
    color: #0078ff;
}
.work-caption .w-like .num-like {
    font-size: 0.7rem;
}
.w-title {
    font-size: 1.2rem;
}
/* End of Portfolio section */

/* Start of testimonials section */
.image-testimonials{
    background-image: url(../Images/overlay-bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;  
}
.testimonial-box {
    color: #fff;
    text-align: center;
}
.testimonial-box .author-test {
    margin-top: 1rem;
}
.testimonial-box .author-test img {
    margin: 0 auto;
}
.testimonial-box .author {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    margin: 1rem 0;
    display: block;
    font-size: 1.4rem;
}
@media (min-width: 768px) {
    .testimonial-box .description {
      padding: 0 5rem;
    }
}
@media (min-width: 992px) {
    .testimonial-box .description {
      padding: 0 8rem;
    }
}
@media (min-width: 1200px) {
    .testimonial-box .description {
      padding: 0 13rem;
    }
} 
/* End of testimonials section */

/* Start of blog section */
.card-title a{
    color: #1E1E1E;
}
.card-title:hover a{
    color: #0078ff;
}
.card-blog .card-body {
    position: relative;
}
.card-blog .card-category-box {
    position: absolute;
    text-align: center;
    top: -16px;
    left: 15px;
    right: 15px;
    line-height: 25px;
    overflow: hidden;
}
.card-blog .card-category {
    display: inline-block;
    color: #fff;
    padding: 0 15px 5px;
    overflow: hidden;
    background-color: #0078ff;
    border-radius: 4px;
}
.card-blog .card-category .category {
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1px;
    margin-bottom: 0;
}
.card-blog .card-title {
    font-size: 1.3rem;
    margin-top: 0.6rem;
}
.card-blog .card-description {
    color: #4e4e4e;
}
.card-blog .post-author {
    display: inline-block;
}
.card-blog .post-date {
    color: #4e4e4e;
    display: inline-block;
    float: right;
}
.post-author img{
width: 30px;
}
.post-author a span{
    color: #4e4e4e;
}
.post-author:hover a span{
    color: #0078ff;
}
.post-date .blog-icons{
    font-size: 20px;
}
@media (min-width: 767px) {
    .card-blog {
      margin-bottom: 3rem;
    }
} 
/* End of blog section */

/* Start of Contact section */
.contact-mf {
    margin-top: 4rem;
}
 @media (min-width: 767px) {
    .contact-mf .box-pl2 {
      margin-top: 3rem;
      padding-left: 0rem;
    }
}
.form-control{
    resize: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    padding: 10px 20px;
}
.form-control:focus{
    border-color: #0078ff;
} 
.php-email-form textarea {
    padding: 12px 15px;
    margin-bottom: 0;
}
.btn-style{
    background: #0078ff;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
}
.btn-style:hover{
    background: #3393ff;
}
.contact-icons{
    font-size: 20px;
    color: #0078ff;
}
.line-contact{
    width: 100px;
    height: 4px;
    background-color: #0078ff;
    margin-bottom: 3rem;
}
.icons-circle{
    color: #1e1e1e;
    font-size: 40px;
}
.socials {
    padding: 1.5rem 0;
}
.socials .ico-circle{
    transition: all 500ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.socials .ico-circle {
    height: 50px;
    width: 50px;
    font-size: 1.2rem;
    border-radius: 50%;
    line-height: 1.6;
    margin: 0 15px 0 0;
    box-shadow: 0 0 0 3px #0078ff;
    transition: all 500ms ease;
}
.socials .ico-circle:hover {
    background-color: #0078ff;
    color: #fff;
    box-shadow: 0 0 0 3px #cde1f8;
    transition: all 500ms ease;
}
.soical-icons{
    font-size: 20px;
}
.contact-flex{
    display: flex;
}
.ico-circle a{
    color: #1E1E1E;
}
.ico-circle a:hover{
    color: #ffffff;
}
.ul-resect,.list-ico,.socials ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
/* End of Contact section */

/* Start of Footer section */
footer {
    text-align: center;
    color: #fff;
    padding: 25px 0;
    background: #0062d3;
}
footer .copyright {
    margin-bottom: 0.3rem;
}
footer .credits {
    margin-bottom: 0;
}
footer .credits a {
    color: #fff;
}
/* End of Footer section */
.back-to-top {
    position: fixed;
    /* visibility: hidden; */
    opacity: 1;
    right: 15px;
    bottom: 15px;
    z-index: 3;
    background-color: #0078ff;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}
.back-to-top i {
    font-size: 28px;
    color: #0c0c0c;
    line-height: 0;
}
.arrow-a{
    color: #ffffff;
    font-size: 20px;
}
.back-to-top:hover {
    background: #298eff;
    color: #fff;
}
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}
