*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --primary-color:#52bb7a;
    --light-color:#afdabf;
    --secondary-color:#e2f8ed;
}

body{
    background-color:#ffffff;
    /* background-image: url('./img/about walpaper.jpg'); */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    overflow-x: hidden;
}

/* heaad area */
.header{
    /* position: sticky; */
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-sizing: border-box;
    align-items: center;
    padding: 10px 25px;
    width: 100%;
    height: 100px;
    z-index: 1;
    /* background: #ffffff; */
}

.logo{
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Lobster', cursive;
    font-size: 20px;
    text-shadow:1px -1px  #ffffff;
}

.header ul{
    list-style: none;
}

.header li{
    float: left;
    margin: 0 0 0px 30px;
}

.navbar-nav a{
    font-size: 30px;
    padding: 10px;
    color: #111;
    text-decoration: none;
    text-transform: capitalize;
}

.navbar-nav a:hover{
    color: #ffffff;
    background: var(--primary-color);
    /* border: 1px solid var(--primary-color); */
    /* border-radius: 10px; */
    transition: 0.2s ease-in-out;
}

.nav-green a:hover{
    color:#111;
    border-bottom: 1px solid #111;
}

.stroke{
    height: 3px;
    width: 19px;
    margin: 5px;
    background: #111;
}

.slim{
    height: 2px;
    width: 17px;
}

@media screen and (min-width:768px){
    .header{
        padding:  10px 90px;
        height: 70px;
    }

    .logo{
        font-size: 30px;
    }
}

/* close-btn */
.side-nav{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width:0;
    background-color:#fff;
    border-radius: 5px;
    box-shadow:0 14px 28px rgba(128, 46, 46, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22) ;
    overflow: hidden;
    transition: 0.2s ease-out;
    z-index: 2;
}

.side-nav a{
    padding:  10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 23px;
    color: #111;
}

.side-nav a:hover{
    color:var(--primary-color);
    /* border: 1px solid #111; */
    /* background-color: rgb(65, 63, 63); */
    /* transition: 0.2s ease-in-out; */
}

.side-nav .btn-close{
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 40px;
    /* margin:10px ; */
}

.side-nav .btn-close:hover{
    border: none; 
    color: red;
    background-color: #fff; 
}

@media screen and (max-width:992px){
    .navbar-nav{display: none;}
    .button{display: none;}
}

@media screen and (min-width:992px){
    .open-slide{display: none;}
}

#main{
    transition: 0.5s;
}

.stylist{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
}

.stylist img{
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 70%;
    object-fit: cover;
}

@media screen and (min-width:768px) {
    .stylist img{
        width: 110%;
        height: 75%;
        object-fit: cover;
    }
}

/* this is for the showcase image */
.showcase{ 
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #111;
    width: 100%;
    height: 50vh;
    margin-top: 100px;
    /* background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover; */
}

.avatar{
    border: 2px solid white;
    border-radius: 50%;
    box-shadow:0 14px 43px rgba(0, 0, 0, 0.034), 0 10px 30px rgba(0, 0, 0, 0.041) ;
    width: 130px;
    height: 130px;
    margin-left:auto ;
    margin-right: auto;
    background-image: url('./img/abt.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
}

.wrap{
    position: relative;
    display: block;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* border: 1px solid red; */
    overflow: hidden;
}

.static{
    font-size: 20px;
    
}

.dynamic{
    margin:-20px 0 -10px 0;
    display: flex;
    flex-direction: column;
    text-align: start;
    align-items: center;
    /* text-align: start; */
    left: 0;
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 700;
    height: 95px;
    overflow: hidden;
}

.dynamic li{
    position: relative;
    top: 0px;
    line-height: 90px;
    list-style: none;
    animation: slide 12s steps(4) infinite;
}

@keyframes slide {
    100%{
      top: -360px;
    }
  }

  .dynamic li::after{
    content: "";  
    position: absolute;  
    top: 20px;
    left: 0;
    width: 100%;
    height: 50%;
    background: #ffffff;
    border-left: 2px solid var(--primary-color);
    animation: typing 3s steps(10) infinite;
}

@keyframes typing {
    40%, 50%{
      left: calc(100% + 10px);
    }
    100%{
      left: 0;
    }
  }

/* .intro{
    text-transform: capitalize;
}

.intro strong{
    display: block;
    font-size: 23px;
    font-weight: 700;
}

.intro p{
    font-size: 20px;
} */

.btn-wrap{
    margin-top: -30px;
}

.btn{
    display: inline-block;
    text-decoration: none;
    word-spacing: 1px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 10px auto;
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 2px;
}

.btn:hover{
    color: #ffffff;
    /* border: none; */
    transition: 0.1s ease-out;
    /* transform: scale(0.97); */
    background-color: var(--primary-color);
}

@media screen and (min-width:768px){
    .showcase{
        display: flex;
        align-items: center;
        text-align: start;
        justify-content: flex-start;
        color: #111;
        height: 60vh;
        word-spacing: -5px;
    }
    .avatar{
        position: absolute;
        right: 110px;
        width: 200px;
        height: 200px;
    }

    .wrap{
        /* display: flex; */
        padding-left:82px ;
    }

    .static{
         /* margin-left:-5px ; */
         text-align: start;
         word-spacing: 1px;
    }

    .dynamic{
        /* margin:0px 0 -5px 10px; */
        text-align: start;
        align-items:flex-start;
    }

    /* .intro{
        margin: 90px;
        margin-left: 20px;
    }

    .intro strong{
        font-size: 45px;
    }

    .intro p{
        font-size: 35px;
    } */

    .btn-wrap{
        padding-left: 80px;
    }

    .btn{
        margin: 10px 5px 10px 0px;
        padding: 10px 15px;
    }
}

.service{
    margin: 30px;
    padding: 40px 0;
    text-align: center;
}

.tpc{
    font-size: 20px;
    letter-spacing: 3px;
}

.sub-h2{
    font-weight: lighter;
    font-size: 15px;
    text-align: center;
}

.box-container{
    display: grid;
    margin: 30px 0;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    text-align: center;
}

.box{
    padding: 10px;
    border-radius: 5px;
}

.box:hover{
    box-shadow:0 10px 23px rgba(0, 0, 0, 0.1) ;
}

.box-container img{
    width: 50px;
    max-width: 100px;
    margin: 10px;
}

.box h2{
    font-size: 20px;
    margin: 5px;
}

/* PROJECT-SECTION.................... */
.project-sect{
    margin: 30px;
    padding: 40px 0;
}

.box-container2{
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.box2{
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--light-color);
}

.box2 a{
    text-decoration: none;
    color: #111;
}

.box2 a:hover{
    text-decoration: underline;
}

.box2 img{
    width: 70px;
    max-width: 100px;
    margin: 10px;
}

.box2:hover{
    box-shadow:0 10px 23px rgba(0, 0, 0, 0.1) ;
}

@media screen and (min-width:540px){
    .box-container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width:768px){
    .service{
        margin: 90px;
    }

    .box-container{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width:540px) {
    .box-container2{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width:768px){
    .project-sect{
        margin: 30px 90px;
    }

    .box-container2{
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ABOUT PAGE */
.about-me{
    margin: 25px;
    padding-bottom:50px ;
    max-width: 100%;
}

h1{
    font-size: 25px;
    /* font-weight: 700; */
    text-align: center;
}

.ab-img img{
    display: block;
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 2px;
    margin:50px auto;
}

.article{
    box-sizing: border-box;
    line-height: 20px;
}

.bold{
    font-size: 23px;
    line-height: 25px;
    margin: 0 0 25px 0;

}

.abt-links a{
    display: inline-block;
    font-weight: 900;
    text-decoration: none;
    padding: 2px;
    color: var(--primary-color);
}

.abt-links a:hover{
    background-color:var(--secondary-color) ;
}

@media screen and (min-width:768px){
    .about-me{
        margin:90px 90px 10px 90px;
    }

    .abt-me{
        display: flex;
        align-items: center;
    }

    .article{
        /* width: 100%; */
        margin: 0 0 0 50px;
    }
}



/* social-icon............................. */
.socio-icon{
    margin-top: 15px;
}

.social-icon{
    display: inline-block;
    margin:2px;
    padding: 5px;
    background-color: var(--light-color);
    /* border-radius: 5px; */
}
.social-icon:hover{
    transform: scale(0.9);
    /* background-color: ; */
}

.social-icon img{
    display: block;
    width: 20px;
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
}

/* my-skills........................... */
.skills-container{
    /* background-color: #faf5f5; */
    padding: 0 30px;
}

.skills-container h2{
    text-align: center;
    /* color: var(--primary-color); */
}

/* h2 span{
    color: var(--primary-color);
} */

.label{
    font-size: 15px;
    font-weight :400 ;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
}

.container{
    background-color: #ebe6e6;
    border-radius: 40px;
    height: 5px;
    width: 100%;
    margin-bottom: 20px;
}

.skills{
    background-color: var(--primary-color);
}

.html{
    /* background-color: #0ce70c; */
    /* border-radius: ; */
    width: 70%;
    height: 100%;
}
.css{
    /* background-color: #0ce70c; */
    width: 55%;
    height: 100%;
}
.tailwindcss{
    /* background-color: #0ce70c; */
    width: 0%;
    height: 100%;
}
.javascript{
    /* background-color: #0ce70c; */
    width: 15%;
    height: 100%;
}
.svelte{
    /* background-color: #0ce70c; */
    width:  5%;
    height: 100%;
}

@media screen and (min-width:768px){
    .skills-container{
        padding: 0 90px;
    }
}



/* CONTACT PAGE */
.contact-me{
    max-width: 100%;
    padding: 10px;
    margin-top: 50px;
    margin: 30px;
    color: #111;
    box-sizing: border-box;
}

.contact-me h1{
    text-align: center;
    text-transform: capitalize;
    font-size: 20px;
    margin: 50px;
    margin-bottom: 70px;
}

.contact{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.contact-email{
    position: relative;
    width: calc(100% - 40px); 
    height: 500px;
    border: 1px solid #12dd1c;
    border-radius: 5px;
    margin: 15px;
    padding: 20px;
}

input[type=text], textarea{
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    margin-bottom: 25px;
    border: 1px solid #12dd1c;
    background-color: transparent;
    box-sizing: border-box;
    resize: none;
    color: #111;
}

input[type=submit]{
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 100%;
}


/* Contact-Info......................... */
.contact-info{
    /* position: relative; */
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px); 
    margin: 0 auto;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-sizing: border-box;
}

.contact-info .row{
    display: flex;
    margin: 10px;
    flex-direction: column;
}

.row img{
    width: 20px;
    margin-right: 10px;
    margin-top: 5px;
}

.inline{
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.details{
    display: flex;
    flex-direction: column;
}

.details h3{
    font-weight: 1000;
    color: rgb(20, 20, 58);
}

.details a{
    font-weight: 100;
    text-decoration: none;
    color: black;
}

@media screen and (min-width:760px){
    /* .contact{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    } */

    .contact-info{
        width: calc(50% - 40px); 
    }
}

.footer{
    /* position: fixed;
    bottom: 0;
    left: 0;
    width: 100%; */
    color: #ffffff;
    font-size: 17px;
    margin-top: 60px;
    padding: 30px 25px;
    background-color: var(--primary-color);
    text-align: center;
    text-transform: capitalize;
    /* border-top: 1px solid var(--primary-color); */
}