:root {
    --main-color: #0d6efd;
    --black: #000;
    --white: #fff;
    --secondary: #6c757d;
    --animation-duration: 0.5s;

}

nav {
    background: rgba(0, 0, 0, 0.9);
}


.down{
    position: fixed;
    display: flex;
    right: 70px;
    bottom: 20px;
    width: 100px;
    height: 30px;
    color: var(--white);
    background-color: var(--main-color);
}

.go-up{
    position: fixed;
    right: 10px;
    bottom: 20px;
    font-size: 20px;
    color: var(--white);
    background-color: var(--main-color);
}

body {
    background-color: #f5f5f5;
    color: var(--secondary)
}

.after-drop::after {
    content: ">";
    position: absolute;
    right: 10px;
}


.overlay {
    background-color: rgba(0, 0, 0, 0.6);    height: 100%;
}
.overlay-blue{
    background-color: #0077ffa8;
    position: relative;
    top: 0;
    left: 0px;
    padding: 0;
    height: 100%;
    width: 100%;
}
.sweat-bg{
    position: fixed;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

/* about */
h2.about-me {
    color: var(--black);
    position: relative;
}
h2.about-me::after {
    content: "";
    width: 15%;
    border: 2px solid var(--main-color);
    position: absolute;
    left: 0;
    bottom: -10px;
}
h2.about-me~p {
    font-size: 1.25rem;
    font-weight: 300;
}
.title-cv {
    font-weight: 600;
    color: var(--black);
    font-size: 1.1rem;
}

/* Header */
header {
    height: 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-image: url(./images/hero-bg.jpg-1.png)
}

h1 {
    font-size: 4rem;
}

header h2 {
    font-size: 40px;
    position: relative;
    font-family: 'Roboto Mono', monospace;

}

header h2::after {
    content: "|";
    position: absolute;
    width: 1px;
    color: var(--white);
    height: 100vh;

}

h2 span {
    width: 0;
    display: inline-block;
    overflow: hidden;
    color: var(--white);
    font-size: 35px;
}


h2 span:nth-child(1){
    animation: web_developer 10s infinite steps(9);
    }
@keyframes web_developer{
    0% , 25%{
        width: 0px;
    }
    12.5%{
        width: calc(11* 24px);
    }
}

h2 span:nth-child(2){
    animation: designer 10s infinite steps(15);
    } 
@keyframes designer{
    0% , 25%,50% {
        width: 0px;
    }
    37.5%{
        width: calc(12* 24px);
    }
}
h2 span:nth-child(3){
    animation: freelancer 10s infinite steps(10);
    }
@keyframes freelancer{
    0% ,50% ,87.5%{
        width: 0px;
    }
    75%{
        width: calc(9* 24px);
    }
}



/* PORTFOLIO */


div.plus{
    color: var(--main-color);
}
.cardv .img-card img{
    transition: all 1s;
}
.cardv .img-card{
    overflow: hidden;
}
.cardv:hover img{
    scale: 1.3;
}
.w-ctegory,
.w-date{
    font-size: 13px;
}
.cardv{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 13px 8px -10px;
}

.contact-icon{
    color: #000;
}
.contact-icon:hover{
    color: #fff;
}
/* ^^^ page three ^^^ */
.stand i{
    font-size: small;
}
.stand{
    position: relative;
    margin-left: 20px;
}
.stand::before{
    content: "";
    margin-left: -20px;
    background-color: var(--main-color);
    position: absolute;
    width: 4px;
    height: 100%;
    left: 0;
    top: 0;
}
.parent-sleapbar{
    position: relative;
    margin-left: -15px;
}
.sleapbar::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    background-color: var(--main-color);
    width: 10px;
    height: 1px;
    margin-left: -20px
}

/*------/ Socials /------*/

.socials {
    padding: 1.5rem 0;
  }
  
  .socials ul li {
    display: inline-block;
  }
  
  .socials .ico-circle {
    height: 40px;
    width: 40px;
    font-size: 1.7rem;
    border-radius: 50%;
    line-height: 1.4;
    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;
  }
  
  /*------/ Ul resect /------*/
  
  .ul-resect,
  .socials ul,
  .list-ico,
  .blog-wrapper .post-meta ul,
  .box-comments .list-comments,
  .widget-sidebar .list-sidebar,
  .widget-tags ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }
  
  .list-ico {
    line-height: 2;
  }
  
  .list-ico span {
    color: #0078ff;
    margin-right: 10px;
  }
  
  /*------/ Ico Circle /------*/
  
  .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;
    display: block;
  }

  a{
    text-decoration: none;
  }