body{
    margin: 0%;
    padding: 0%;
    font-family: sans-serif;
}
html{
    scroll-behavior: smooth;
}

/* -------------Header CSS------------------- */
#header{
    height: 100vh;
    background:linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(images/bg.jpg);
    background-position: center;
    background-attachment:fixed;
    background-size: cover;

}

.user-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.user-box img{
    border-radius: 50%;
    width: 250px;
    border:2px solid #6caed5;
}
.user-box h1{
    color: #fff;;
    font-weight: bold;
    margin: 10px;
}
.user-box p{
    color: #fff;
}

.scroll-btn{
    bottom: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid rgba(3, 0, 0, 0.973);
    padding: 10px 10px 20px;
    border-radius: 30PX;
}
.scroll-bar span{
    border: 2px solid rgb(0, 0, 0);
    font-size: 10px;
    border-radius: 30px;
}
.scroll-bar{
    animation:  mover 1s infinite alternate;
}
.text1{
    font-size: 25px;
    font-family: consolas;
    margin-top: 10px;
    /* text-align: left; */
    margin-bottom: -10px;
}
.text2{
    font-size: 40px;
    font-weight: 600;
    /* text-align: left; */
}

 .text3{
    font-size: 25px;
    overflow: hidden;
    white-space: nowrap;
    font-family: consolas;
    border-right: 4px solid black;
    width: 25ch;
    text-align: center !important; 
    margin-left: 50px;
    animation: type 4s steps(25) infinite;
}

span{
    color: red;
}

.scroll-top{
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 20%;
    /* background: url(images/scrolltop.png); */
    background-color: #000000;
    text-decoration: none;
    text-align: center;
    line-height: 60px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
}


.scroll-top.active{
  visibility: visible;
  opacity: 1;
}

@keyframes type {
    0%{
        width: 0ch;
    }
    100%{
        width: 25h;
    }
}

@keyframes mover{
    0%{transform: translateY(0);}
    100%{transform: translateY(10px);}
}

/* about */

.about{
    padding-top: 100px;
    margin-bottom: -130px;

}
.profile-img{
    margin-top: 30px;
    height: 600px;
}
.nav-bar{
    top: 0;
    position: sticky;
    z-index: 2;

}
.navbar{
    background-color: rgba(236, 240, 230, 0.918);
}
.navbar-brand  img{
height: 50px;

}
.logo a{
    font-size: 35px;
    font-weight: 600;
    color: black;
}
.nav-bar .fa-bars{
    font-size: 30px;

}
.navbar-toggler{
    outline: none !important;

}
.navbar-nav{
    float: right;
    text-align: right;

}
.nav-link{
    color: black !important;
}
.skills-bar p{
    margin-bottom: 6px;
    font-weight: 600px;

}
.progress{
    border-radius: 16px !important;
    margin-bottom: 10px;
}
.progress-bar{
    border-radius: 10px;
    background: black !important;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 2s cubic-bezier(1,0,0.5,1) forwards;
}

@keyframes animate {
    100%{
        transform: scaleX(1);
    }
}


/* resume */
.resume{
    margin-top: -50px;
    padding-top: 50px;
    padding-bottom: 30px;
    background: rgb(253, 239, 239);
}
.resume h3{
    margin-bottom: 50px;
}
.timeline{
    list-style-type: none;
    position: relative;

}
.timeline:before{
    content: '';
    background:#555;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 1;


}
.timeline li{
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    background: white;
}
.timeline li h4{
    background-color: black;
    padding: 5px 0 5px 20px;
    color: wheat;
    font-size: 15px;

}
.timeline li h4 span{
font-weight: bold;
color: #ccc;

}
.timeline li:before{
    content: '';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 1;
}
/* project */

.card{
    border-bottom: 8px solid blue;
}
.projects{
    background: rgb(201, 199, 199);
}
.card-img-top{
    height: 200px;
}




/* sevices */

.services{
    padding-top: 50px;
    padding-bottom: 50px;
}
.services h1{
    margin-bottom: 15px;
}
.services-box{
    background: whitesmoke;
    padding: 10px;
    margin-top: 20px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}
.services-box .fa{
    margin: 0 10px;
    font-size: 20px;
}
.services-box span{
    margin: 30x;
    font-size: 20px;
    font-weight: bold;
    
}
.services-box p{
    font-size: 15px;
    margin-top: 20px;
    color: #777;
}
.services-box:hover{
    background: #000;
    color: white;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    transition: 1s;
}
.services-box:hover p{
    color: #fff;
}

/* contact */
.contact{
    padding-top: 50px;
    background: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(images/foot.jpg) ;
    background-position: center;
    background-attachment:fixed;
    background-size: cover;
    color: white;

}
.contact .row{
    padding: 30px 0;
    font-size: 22px;
}
.contact .col-md-4 .fa{
    padding: 10px;
    font-size: 40px;

}
.contact .btn{
    padding: 10px 25px 10px 25px;
    margin: 5px;
    border-radius: 30px;
    border: 2px solid #fff;
    background: transparent;
}
.contact.btn:focus{
    box-shadow: none;
}
.contact.btn:hover{
    border: 2px solid #000 !important;
    background: #000 !important;
    transition: 0.6s;
}
.contact.btn.fa{
    margin-right: 10px;
}
.footer{
background: #000;
height: 50px;
margin-top: 50px;
color: #fff;
padding-top: 10px;

}


/* -----------social icons----------- */
.social-icons{
    top: 50%;
    transform: translateY(-50%);
    position: sticky;
    z-index: 1;
    width: 80px;

}
.social-icons ul{
    padding: initial;
}
.social-icons ul li{
    height: 40px;
    width: 40px;
    list-style-type: none;
    padding-left: 12px;
    padding-top: 6px;
    margin-top: 5px;
    color: #fff;
    background: #000;
}
.social-icons ul li:hover{
    padding-left: 30px;
    width: 80px;
    transition: 1s;
}

#preloader{
    background: #000 url(images/loader.gif) no-repeat center center;
    background-size: 15%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;

}