/*
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-------*/
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');

@font-face {
    font-family: bograt;
    src: url(../fonts/Bogart-Medium-trial.woff);
}

@font-face {
    font-family: biotif;
    src: url(../fonts/biotif.woff2);
}

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

p {
   
    line-height: 30px;
}



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

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

.menu {
    display: flex;
    justify-content: flex-end;
}

.navbarChange {
    background: #F3F1F8;
    box-shadow: 0 0 5px #ccc;
    transition: 0.5s;
    z-index: 2;
}

.navColChange {
    color: #133E6D !important;
}

ul li a:hover {
    text-decoration: none;
}

/* ----------Header Portion ----------*/
.logo {
  
    width: 120px;
    height: 120px;

}


nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    background: transparent;
    margin-top: 10px;
    text-decoration: none !important;
}

nav ul li a {

    text-decoration: none;
    padding: 10px 10px;
    color: #fff !important;
    color: #333 !important;
    color: #fff !important;

    font-family: bograt;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
    font-weight: bolder;
}





/* @media only screen and (min-width: 768px) {

  
    .home-nav:hover,
    .about-nav:hover,
    .serviceNav:hover,
    .portfolio-nav:hover {
        border-bottom: 4px solid #FFD51E;
        color: #fff;
        transition: 0.3s;

    }

} */

@media only screen and (min-width: 768px) {

/* ul li a:hover, */
.home-nav:hover,
.about-nav:hover,
.serviceNav:hover,
.portfolio-nav: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"]

    {
    
    border-bottom: 4px solid #FFD51E;
    border-bottom: 4px solid #FFC107;

    text-decoration: none;
    transition: 0.3s;
}
}

.btn-style {
    background: #FFC107 !important;
    color: #333;
    border: 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----*/
/* -----for all number style font---*/
.number{
    font-family: biotic;
}

/* -----X-----for all number style font ------X----*/


/*------------------home section ---------*/
.home {

    background: linear-gradient(35deg, #DACDFF 60%, #AC59FA 40%);
    min-height: 100vh;
    background-size: auto;
    background-position: right;

}

.content-div {

  
    margin-top: 150px;
    
}

.custom-heading {

    font-family: 'Prosto One', cursive;
    font-family: 'bograt', bograt;
    font-size: 65px;

    font-weight: bolder;
    margin-bottom: 30px;

    color: #133E6D;
    color: transparent;
   
    background: url('../img/bg-animation8.jpg');
    background-clip: text;
    -webkit-background-clip: text;
    animation: anim 10s linear infinite;
    animation-direction: alternate;

}

@keyframes anim {
    0% {
        background-position-Y: 0px;
        background-position-x: 0px;



    }

    100% {


        /* for eight */
        /* background-position-Y: 520px; */
        background-position-Y: 620px;
        /* background-position-x: 820px; */






    }
}



.btn-main {
    background: #0BCFBB;
    background: #aaa;
    background: #7DB0E9;
    background: #AC59FA;

    border-radius: 5px;
    text-align: left !important;
    border: none;
    padding-bottom: 12px;
}



.btn-main:hover {

    background: #FFD51E;
    background: #FFC107;
    color: #333;


}






#underline-style {
    position: relative;
    z-index: 1;
}

#underline-style::after {
    content: '';
    position: absolute;
    margin-top: 40%;
    margin-left: -100%;
    width: 100%;
    height: 15%;

    background: #FFD51E;
    background: #FFC107;
    z-index: -1;
}

.hero_img_container {
    display: flex;
    overflow: hidden;
}

.hero-des{
  
   
 font-family: bograt;
   
   font-size: 20px;
   letter-spacing: 1px;
   word-spacing: 4px;
   text-align: center;
}

/** svg */
#hero {
    margin-top: 100px;

    animation: moving 2s ease-in-out infinite;
    animation-direction: alternate;
    transition: 2s ease-in-out all;
}

@keyframes moving {
    0% {

        transform: translate(0px, 0px);


    }

    100% {

        transform: translate(20px, 20px);

    }
}








/** svg */

.text-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #BED7F4;
    color: #eee;
    color: #D4DBF9;
    color: #133E6D;
    color: #FFD51E;

    font-family: 'Monoton', cursive;

    letter-spacing: 20px;
    font-size: 60px;
    padding: 10px;
    position: fixed;
    top: 150px;
    right: 10px;
    z-index: 20;
}

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

/*-----------About Section ----------*/
#about {
    background: #DACDFF;
    padding: 50px 10px;
}

.wrapper {
    width: 100%;

}



.name {

    font-family: bograt;
    color: #133E6D;
    font-weight: bold;
    border-bottom: 4px solid #FDD41D;
    border-bottom: 4px solid #FFC107;

}

/* .right-col p {
    margin-top: 10px;
} */



@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: #666;
    font-size: 1.5rem;
    font-family: bograt;
    bottom: 10%;
    font-weight: bolder;
    transform: rotate(180deg);
    writing-mode: vertical-lr;
    left: 15%;
    letter-spacing: 1px;
    word-spacing: 2px;

}

@media screen and (max-width: 400px){
    
    .verticle-text {
       
        font-size: 1rem;
        
        bottom: 2%;
       
    }
}


.cover {

    margin: 0 auto;
    width: 45%;
    padding-bottom: 50%;
    background: url(../img/about-photo.JPG) no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 1;
    animation: appear-text 0.0001s linear forwards;
    animation-delay: 2.6s;

    border: 6px solid #fff;

    border-radius: 10px;

}

.data {

    font-family: bograt !important;

    color: #666;

    text-align: center;
}

 #name {
     margin-top: 40px;
    font-weight: bolder;
    font-family: bograt !important;
    font-size: 20px;
}

/* #slogan {
    font-size: 11px;
    font-family: bograt;
    margin-top: -15px;

}    */

.skills{
    font-family: bograt;
    font-size: 18px;
    letter-spacing: 1px;
    word-spacing: 4px;
}







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



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

.section-title {
    padding-top: 50px;
    text-align: center;
}

.section-title h1 {
    font-family: Poppins;
    font-family: bograt;
    color: #bbb;
    color: #133E6D;

    font-size: 30px;
    font-weight: bolder;
    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: 300px;
    width: 90%;
    height: 320px;
    position: relative;

    background: #F8F9F9;
    background: linear-gradient(35deg, #FEFAF6 60%, #AC59FA 40%);

    border-radius: 10px;
    padding: 100px 20px 10px 20px;
    text-align: center;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 1px #ddd;
}


.service-box::before {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    background: #fff;
    background: #DACDFF;
    background: #FEFAF6;
    background: #F1F4F8;
    background: #DACDFF;
    top: -25px;
    left: calc(50% - 25px);
    border-radius: 50%;
}

.service-title {
    font-family: 'bograt', bograt;
    font-size: 20px;
    color: #133E6D;
    margin: 10px 0 0 20px;
    font-weight: bolder;
}

.service-decription {
    font-family: poppins;
    font-family: 'bograt', bograt;
    font-size: 18px;

    letter-spacing: 1px;
}


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

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

#portfolio {
    background: #FEFAF6;
    background: #F1F4F8;
    background: #DACDFF;
    font-family: bograt;
    min-height: 100vh;

}

.content-center {
    display: flex;
    justify-content: center;
}

.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-family: bograt;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    outline: none;
    color: #bbb;
    color: #666;
}

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

.project-area .grid .our-project>.title h4 {
    /* font: normal 700 25px/12px var(--roboto); */
    font-family: bograt;
   font-weight: bolder;
   color: #133E6D !important;
   

}



.our-project .img {
    cursor: pointer;
    object-fit: cover;

}

.our-project .img-custom img {
    width: 90%;
    min-height: 205px;

    height: 50vh;
    object-fit: contain;
    border: 25px solid #fff;
    border-radius: 5px;
    margin: 20px 0px;
}

.projectimg {
    width: 250px;
   min-height: 150px;
    background: #efefef;
    border: 5px solid #efefef;

    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;


}




.info-wrapper {
    position: absolute;
    width: 250px;
    height: 125%;
    background: #DCE4F6;
    background: #FEFAF6;
    box-shadow: 0 5px 10px 2px #ccc;
    top: -150px;
    transition: 0.6s;
    border-radius: 10px 10px 0 0;


    margin: auto;
    /* margin-top: 60px; */

    text-align: center;
    opacity: 1;

    color: #353945;
    font-family: bograt;
    cursor: pointer;
    z-index: 999;
    display: none;
}

.info-wrapper img {
    margin-bottom: 20px;
}

.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: bograt;
    font-size: 14px;
    /* font-weight: 600; */
    letter-spacing: 1px;
    color: #6c757d;
}

.displayToggle {
    display: block;
    margin-top: 80px;
    margin-bottom: 80px;
}


.close-btn {
    font-size: 18px;
}

.view-demo {
    margin: 20px auto;
    width: 100px;
    height: 40px;
    background: #FF6C3D;
    background: #FDDB4A;
    color: #333 !important;
    padding: 10px;
    text-decoration: none;
    font-family: bograt;
    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;
    z-index: 200;
    /* display: none; */
}

.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 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;
}

@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: 35px;
    }

    #home h2 {
        font-size: 34px;

    }
}

@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: 40px;
    }

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


}

@media (max-width:505px) {
    .menu {
        width: 100%;

        font-size: 14px;
        text-decoration: none;
        display: flex;
        flex-direction: row;
        justify-content: center;

        color: #133E6D !important;
    }

    .logo {
        display: none;
    }

    .btn-style {
        font-size: 14px;
    }


}



@media (max-width:768px) {

    #home {

        background-size: cover;

    }

    #hero {
        margin-top: 0px;
    }

    .content-div {
        margin-top: 10px;
    }

    .custom-heading {

        font-family: 'Prosto One', cursive;
        font-family: 'bograt', bograt;
        font-size: 45px;
    
        font-weight: bolder;
        margin-bottom: 30px;
    
        color: #133E6D;
       
    
    }

    .project-area .button-group button{
        font-size: 16px;
    }


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

    }

    .footer-right {
        display: flex;
        justify-content: center;
    }

}

@media only screen and (max-width: 767px) and (min-width: 505px) {
    .menu {
        font-size: 14px;
    }

    .btn-style {
        font-size: 14px;
    }
}

@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) {



    .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;
    }
}


/* modal chatbot */

.modal-content {
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;

    scrollbar-width: none;
    -ms-overflow-style: none;
}





.modal-dialog {

    width: 300px;


}


.modal-heading-title {
    height: 60px !important;
    font-family: bograt;
    font-weight: bolder !important;
    color: #133E6D !important;
    color: #fff !important;
    font-weight: bolder !important;
    background: #AC59FA !important;
}

.modal-heading-title-two {
    height: 30px !important;
    color: black !important;
    font-family: bograt;
    text-align: center;
}





/*form */

.registration-box {
    position: relative;

    width: 100%;

    background: rgba(255, 255, 255, 0.1);
    background: #AC59FA;
    display: flex;
    justify-content: space-around;
    align-items: center;
   
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    display: none;
}

.form {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 40px 10px;
}

.form h2 {
    position: relative;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 40px;

}

.form h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: #fff;
}

.form .inputbox {
    width: 100%;
    margin-top: 20px;

}

.form .inputbox input {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    padding: 10px 20px;
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form .inputbox input::placeholder {
    color: #fff;
}

.form .inputbox input[type="submit"] {
    background: #fff;
    color: #666;
    max-width: 100px;
    cursor: pointer;
    font-weight: 600;
}

.form textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    padding: 10px 20px;
   
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.modal-footer {
    margin-top: 40px;
}

/* end modal chatbot*/
footer {
    background: #AC59FA;
    color: #fff;
    font-family: bograt;
    padding-top: 30px;
    border-top: 5px solid #FDD41D;
}

.social-media-container {
    display: flex;
    justify-content: flex-end;
    color: #fff;


}

.social-media-circle {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFD51E;
    background: #FFC107;
    text-align: center;

}

.social-media-circle:hover {
    background: #FF6C3D;
    transition: 0.5s;
}

.social-media-container a:hover {
    text-decoration: none;
    color: #fff;

}