/*
Theme Name: My Portfolio
Version: 1.0
Author: Musfiq Rubel
*/

/*---------- page loader-------------*/
.loader-bg{
    position: fixed;
    z-index: 999999;
    background: #fff;
    width: 100%;
    height: 100%;
}  
 .loading{
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 0 solid transparent;
    top: calc(50vh - 75px);
    left: calc(50vw - 75px);
}

.loading:before , .loading:after{
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    border: 10px solid #FF6C3D;
    top: 0;
    left: 0;
    animation: loading 2s linear infinite;
    opacity: 0;
}
.loading:before{
    animation-delay: .5s;
}
@keyframes loading{
    0%{
        transform: scale(0);
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 0;
    }
}

/*----X------ page loader------X-------*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


/*------- cta button and ripple animation ----------------------*/
.cta-btn{
    background: linear-gradient(to top right, #FF6C3D 25%, #111122 25% ,  #5C7070 75% , #FF6C3D 75%);
    border: none;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    color: #fff;
    position: absolute;
    z-index: 1;
    font-family: poppins;
    font-size: 18px;
    top: 60%;
    font-weight: 700;
    letter-spacing:1px;
    width: 150px;
    height: 50px;
    color: #fff;
    border-radius: 10px;
  }
  
  .cta-btn:hover{
    background: #fff;
    background:
    linear-gradient(135deg, #FF6C3D 15px, #fff 0)
    top left,
    linear-gradient(-135deg, #FF6C3D 15px, #fff 0)
    top right,
    linear-gradient(-45deg, #FF6C3D 15px, #fff 0)
    bottom right,
    linear-gradient(45deg, #FF6C3D 15px, #fff 0)
    bottom left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    color: var(--col-primary);
    letter-spacing:3px;
    transition: 0.5s ease-in-out ;
    transform: scale(1.1);
  }
  
  .cta-btn .btn-ripple{
    background: linear-gradient(90deg,skyblue, blue,coral,greenyellow,yellowgreen,orange,purple,indigo);
    position: absolute;
    border-radius: 100%;
    animation: ripple 1s;
    transform: scale(0);
  }
  
  @keyframes ripple {
    100%{
      transform: scale(2);
      opacity: 0;
    }
  }



/*---X---- cta button and ripple animation ----X-------*/


section{
    width: 100%;
    min-height: 100vh;
    font-weight: bold;
    color:#FF6C3D;
}

nav{
    position: fixed;
    top: 0;
    width: 100%;
    background:transparent;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbarChange{
    background:#F3F1F8;
    box-shadow: 0 0 5px #ccc;
    transition: 0.5s;
    z-index: 2;
}
.navColChange{
    color:#353945;
}
/* ----------Header Portion ----------*/
.logo{
    color:#3C3676;
    font-size: 2rem;
    margin-right:  100px;
    font-family:poppins;
    margin-top: 10px;
   
}


nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    background:transparent;
    margin-top: 10px;
}
nav ul li a{
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-family: poppins;
    font-size: 1.6rem;
    display: inline-block;
    letter-spacing: 2px;
}
nav ul li a:hover,
section#home:hover ~ nav a[href="#home"],
section#about:hover ~ nav a[href="#about"],
section#services:hover ~ nav a[href="#services"],
section#portfolio:hover ~ nav a[href="#portfolio"],
section#contact:hover ~ nav a[href="#contact"]
{  
    color:#FF6C3D;
    text-decoration: none;
   }

.icon{
 cursor: pointer;
 display: none;
}
.hamburger{
    width: 50px;
    height: 6px;
    background:#FF6C3D;
    position: absolute;
    top: 20px;
    right: 20px;;
    transition: 0.5s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.hamburger:before, 
.hamburger:after{
    content:'';
    position: absolute;
    width:100%;
    height: 6px;
    background: #FF6C3D;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: 0.5s;
    left: calc(-50% + 25px);
}
.hamburger:before{
    top: -10px;
   
}
.hamburger:after{
    top: 10px;
}

.icon.active .hamburger {
    background:rgba(0,0,0,0);
    box-shadow: 0 2px 5px rgba(0,0,0,0);
}

.icon.active .hamburger:before{
    top: 0;
    transform: rotate(45deg);
}
.icon.active .hamburger:after{
    top: 0;
    transform: rotate(135deg);
}

/* -----X-----Header Portion ------X----*/

/*------------------home section ---------*/
#home{
  background: repeat linear-gradient(90deg , black 50% , #112 50%);
  background-repeat: no-repeat;
  background-size: cover; 
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.overlay{
    width: 100%;
 }
#particles-js{
    width: 100%;
    height: 100vh;
    }
  
 .homeTextContainer{
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
 }
  #home .name-span{
      color: #FF6C3D
  }

#home h1{
color: #fff;
font-size: 36px;
position: absolute;
z-index: 1;
top: 48%; 
background: linear-gradient(360deg , #FFF 25%, #FF6C3D 25% ,  #FFF 75% , #FFF 75%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
   } 
    
   @keyframes type{
       0%{
           width: 0;
       }
       50%{
           width: 100%;
       }
   } 
   #home h2{
       color: #fff;
       position: absolute;
       z-index: 1;
       top: 40%;
   }


  /*----------cursor in text typing animation----- */
    .txt-type > .txt{
        border-right: 2px solid #fff;
      
    }
  /*-----X-----cursor in text typing animation--X--- */


/*---------X---------home section -----X----*/

/*-----------About Section ----------*/

.wrapper{
    width: 100%;
 }

.left-col, .right-col {
    position: absolute;
    width: 50%;
    min-height: 100vh;
}

.left-col {
   background:hsl(180, 10%, 40%);
 }

.right-col {
    left: 50%;
   }

.upper {
    position: absolute;
    width: 100%;
    min-height: 50vh;
    background:#D45B48;
    text-align:left;
    opacity: 1;
    animation: appear-text 0.0001s linear forwards;
    animation-delay: 3s;
}

.bottom {
    position: absolute;
    top: 50%;
    height: 50vh;
    width: 100%;
    background: url(../img/next-cover.png) , hsl(360, 50%, 50%) ;
    background-repeat: no-repeat;
    background-size:cover;
    background-position:center center;
    background-blend-mode:screen;
    opacity: 0;
    opacity: 1;
    animation: appear-text 0.0001s linear forwards;
    animation-delay: 4.2s;
}

@media(max-width: 900px) {
    .left-col {
          min-width:100%;
          margin: auto;
          position:relative;
          padding:100px;
    }
    .right-col {
          top: 100%;
          left:0;
          width: 100%;
          position:relative;
    }
  

    .verticle-text{
        position: absolute;
        left: 10px;
    }
    
}



.verticle-text {
    position: absolute;
   color: #bbb;
    font-family: Poppins;
    bottom: 40%;
    font-weight: bolder;
    transform: rotate(180deg); 
    writing-mode: vertical-lr; 
    left: 20%;
    word-spacing: 2px;
   
  }


.cover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45%;
    padding-bottom: 50%;
    background: url(../img/album-art.jpg) no-repeat;
    background-size:cover;
    background-position: center center;
    opacity: 1;
    animation: appear-text 0.0001s linear forwards;
    animation-delay: 2.6s;
    border-radius: 100%;
    border: 3px solid #fff;
   
   }

.data {
    position: absolute;
    top: 13%;
    left: 35%;
    transform: translate(-13%,-35%);
    color: #bbb;;
    font-family: Poppins;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
}

#name {
    font-weight: bolder;
}

#slogan {
   font-size: 11px;
}



.skill {
    position: absolute;
    top: 34%;
    left: 36%;
    transform: translate(-35%, -36%);
}

.skill h1 {
    font-weight: bolder;
    color: #bbb;
    font-family: Poppins;
    text-transform: uppercase;
    font-size: 25px;
    letter-spacing: 5px;
}

.skill p {
    color: #fff;
    font-family: Poppins;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    cursor: pointer;
}



.graphics {
    margin-top: 40px;
    margin-left: 20px;
}

.graphics p {
    color:yellow;
    margin-bottom: 0;
    letter-spacing: 5px;
}




/*--------X---------About Section ---------X----*/



/*--------Service Section --------------------*/
#services{
    width: 100%;
    min-height: 100vh;
    }

.section-title{
    padding-top: 50px;
   text-align: center;
  }
.section-title h1{
    font-family: Poppins;
    color: #bbb;
    letter-spacing: 5px;
    font-weight: 500;
    text-transform: uppercase;
   }


#responsive {
    width: 70px;
    height: 70px;
    fill: #C1BBF9;
}
#dynamic{
    width: 70px;
    height: 70px;
}
#wp{
    width: 70px;
    height: 70px;
}

.service-box{
    margin: 50px auto;
    width: 350px;
    width: 100%;
    height: 400px;
    padding-bottom:10%;
    background: #F8F9F9;
    padding: 100px 10px 10px 10px;
    text-align: center;
  }

.service-box::before{
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    background:#fff;
    top: 25px;
    left:calc(50% - 25px);
    border-radius:50%;
}
.service-title{
    font-family: poppins;
    font-size: 25px;
    color:#6f6457;
    margin: 10px 0 0 20px;
   }

.service-decription{
    font-family: poppins;
    font-size: 18px;
    color: #bbb;
    letter-spacing: 1px;
}

/*--------Service Section --------------------*/

/*---------------Portfolio Section ----------*/


 .project-area{
    padding: 4rem 0;
   }

.project-area .button-group{
    padding: 50px 0;
}

 .project-area .button-group button{
    background: transparent;
    border: none;
    font-family: poppins;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    outline: none;
    color: #bbb;
}

 .project-area .button-group button + button{
    padding-left: 3rem;
}

.project-area .grid .our-project > .title h4{
    font: normal 700 25px/12px var(--roboto);
}

.project-area .grid .our-project .img :hover img{
    filter: saturate(1.5) drop-shadow(1px 8px 30px #b1afaf);
    box-shadow: 0 5px 10px 2px #999;
    transition: 0.2s linear;
}

.our-project .img {
    cursor: pointer;
   
}
.our-project .img img{
    width: 90%;
    height: 205px;
    object-fit: cover;
    border: 25px solid #fff;
    border-radius: 5px;
   }

.projectimg{
    width: 100%;
    height: 250px;
    background: #efefef;
    box-shadow: 0 5px 10px 2px #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}


.info-wrapper{
   position: absolute;
   width: 95%;
   height: 130%;
   background:#DCE4F6;
   top: -150px;
   transition: 0.6s;
   border-radius: 10px 10px 0 0;
   animation: animate 0.5s ease-in-out 1;
   margin: auto;
   text-align: center;
   opacity: 1;
   padding: 20px 0 0 0;
   color: #353945;
   cursor: pointer;
   z-index: 999;
   display: none;
}
.info-wrapper h2{
  color: #FF6C3D;
  font-family: poppins;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 20px 0 10px 0;
}

.info-wrapper .using-tech, .complete-date , .project-type{
  font-family: poppins;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #6c757d; 
}
.displayToggle{
    display: block;
   }


.close-btn{
   font-size: 18px;
   }
.view-demo{
    margin: 10px auto;
    width: 120px;
    height: 40px;
    background: #FF6C3D;
    padding: 10px;
    text-decoration: none;
    font-family: poppins;
    color: #fff;
    border-radius: 10px;
   }
.info-wrapper a:hover{
    text-decoration: none;
    color: #eee;
    background: #ee6d3D;
   }
@keyframes animate {
    from {background-position: 0; background: #DCE4F6;}
    to {background-position:50%; background:#b1afaf;}
}
/*------X---------Portfolio Section -----X-----*/


/*----------contact-section-----------------*/
#contact{
    position: relative;
    background-repeat:no-repeat;
    background-size: 30% 30%;
    background-position:bottom center;
    height: 130vh;
   
    }
    
.contact-form{
    background: url(../img/env-contact.svg) no-repeat;
    background-size: 60% 22%;
    background-position:bottom right;
    background-color: rgba(138, 118, 186,0.1);
    background-blend-mode: color;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    width: 350px;
    min-height: 350px;
    padding:  50px;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 2;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 2px 5px 5px #ddd;
}
.contact-form:hover{
    box-shadow: 4px 8px 10px #ddd;
}
.contact-form form{
    padding-top: 50px;
}

.contact-form div input,textarea{
    width: 250px;
    height: 35px;
    border: 2px solid #bbb;
    border-radius: 5px;
    background: transparent;
    }
.contact-form div input:focus,textarea:focus{
    background: #fff;
    animation: input-background-animation 0.5s linear;
    }
@keyframes input-background-animation{
    0%{
        box-shadow: inset 0 0 0 0, inset 0 0 0 0;
    }
    10%{
        box-shadow: inset 0 0 5px 5px #ddd, inset 0 0 10px 10px #ccc;
    }
    }

.contact-form div textarea{
    min-height:100px;
    }
.contact-form .fa{
    color: #8A76BA;
    }  
    
.contact-form button{
    width: 100px;
    height: 40px;
    background: #FF6C3D;
    color: #fff;
    font-family: poppins;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 10px;
    border: none;
    outline: none;
    }

.contact-form button:active{
    transition: 0.1s;
    animation: contact-btn-anim 0.5s linear;
    }

@keyframes contact-btn-anim{
    0%{
        
        box-shadow: 0 0 0 0 ;
        
    }
    100%{
        /* background: green; */
        box-shadow: inset 0 0 5px 5px orangered, inset 0 0 10px 10px salmon ;
    }
    }
  
/*-----X-----contact-section---------X--------*/


/*------footer section ----------------------*/
#footer{
    margin-top:50px;
    position: absolute;
    width: 100%;
    min-height: 60vh !important;
    background: #111122;
    }
#footer:before{
    content: '';
    position: absolute;
    width: 60%;
    height: 125px;
    background: #111122;
    transform: skewY(10deg);
     top:-50px; 
    left: 0;
}
#footer:after{
    content: '';
    position: absolute;
    width: 60%;
    height: 125px;
    background: #111122;
    transform: skewY(-10deg);
    top:-50px;
    right: 0;
}

/*-------------------------social network icon ----------*/
.footer-text{
    position: absolute;
    top: 80%;
    font-family: poppins; 
}
.footer-text a{
    color: #fff;
    font-size: 20px;
}
.social-network{
    position: absolute;
    top: 40%;
    left: 50%; 
    transform: translateX(-50%);
    z-index:1;
}

.middle{
    width: 100%;
    text-align: center;
   }
   
.btn{
   width: 45px;
    height: 45px;
    background: #f1f1f1;
    margin: 10px;
    border-radius: 30%;
    box-shadow: 0 5px 15px -5px #00000070;
    color: #3498db;
    overflow: hidden;
    position: relative;
   
  }
  .btn i{
      
    line-height: 35px;
    font-size: 22px;
    transition: 0.2s linear;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .btn:hover i{
    transform: scale(1.3);
    color: #f1f1f1;
  }
  .btn::before{
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: #3498db;
    transform: rotate(45deg);
    left: -110%;
    top: 90%;
  }
  .btn:hover::before{
    animation: aaa 0.7s 1;
    top: -10%;
    left: -10%;
  }
  @keyframes aaa {
    0%{
      left: -110%;
      top: 90%;
    }50%{
      left: 10%;
      top: -30%;
    }100%{
      top: -10%;
      left: -10%;
    }
  }

/*-------X-----------------social network icon -----X-----*/


/*------X----footer section ----------X----------*/


   /*------------media query responsive multi devices---*/

   @media screen and (max-width: 480px){
     #home h1{
         font-size: 25px;
     }

     #home h2{
         font-size: 24px;
       
     }
}

@media screen and (max-width: 290px){
   #home h1{
       font-size: 25px;
   }
   #home h2{
       font-size: 22px;
       top: 38%;
   }
}

@media screen and (min-width: 480px) and (max-width:768px){
    #home h1{
        font-size: 30px;
    }

    #home h2{
        font-size: 28px;
    }

   
}



   @media (max-width:768px){
     .icon{
         display: block;
     }
     .logo{
         /* display: none; */
         text-align: right;
        
     }
     nav{
        flex-direction: column; 
        z-index: 2;
       }
  
     nav ul {
         
        width: 100%;
        flex-direction: column;
        display: none;
        background: #FF6C3D;
        background: rgba(0, 0,0,0.8);
        height: 80vh;
        z-index: 3;
     }
     nav ul li a{
      color: #fff;
     
     }
    

     .navColChange{
        color: #fff;
     }

     .action{
       display: block;
     }
   
     #home{
      
       background-size: cover; 
     }

     .social-network{
        position: absolute;
        top: 20%;
        left: 52%; 
       transform: translateX(-52%);
       
    }
    }

    @media screen and (max-width:350px){
        .social-network{
            position: absolute;
            top: 20%;
            left: 55%; 
           transform: translateX(-50%);
           ;
        }
    }

  @media only screen and (max-width: 950px) and (min-width: 715px) {
       
        #home h1{
            top:44%;
        }
        #home h2{
            top:32%;
        }
         
         
         .left-col{
             min-height :180vh;
         }
         
          .right-col{
             min-height :150vh;
         }
        .upper{
            min-height:80vh;
        }
        .bottom{
            min-height:70vh;
        }
        #contact{
             min-height:150vh;
              margin-bottom:180px;
        }
        .contact-form{
            margin-top:150px;
        }
}

@media only screen and (max-width: 950px) and (min-width: 900px){
  #services .section-title{
    margin-top: 500px;
  }
  .bottom{
      height: 105vh;
  }
}


  