*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    /* font-family: sans-serif; */
}
:root{
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
    /* overflow: scroll; */
    background: var(--bg-color);
    color: var(--text-color);
}
.header{
    margin: 0;
    padding: 0;
    position:fixed;
    top: 0;
    left: 0;
    width:100%;
    padding: 2rem 9%;
    background: transparent;
    display:flex;
    justify-content: space-between;
    align-items:center;
    z-index:1;
   /* transition: .3s; */
}
/* .header .sticky {
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    border: 5px solid var(--main-color);
} */
.logo{
    font-size:2.5rem;
    color:var(--text-color);
    font-weight: 600;
}
.navbar a{
    font-size: 1.5rem;
    color:var(--text-color);
    font-weight:600;
    margin-left: 3.5rem;
    transition:0.3s;
}
.navbar a:hover,
.navbar a.active{
    color:var(--main-color);
}
#menu-icon{
    font-size: 3.2rem;
    color:var(--text-color);
    cursor: pointer;
    display: none;
}
/* HOME */
section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    /* z-index: -1; */
}

.home-content{
    max-width: 60rem;
    z-index: 99;
}
.home-content h1{
    font-size: 5.6rem;
    font-weight:700;
    /* line-height: 5.5rem; */
}
.home-content .text-Animation{
    position: relative;
    width: 32.8rem;

}

/* for java developer style */
.home-content .text-animate h3 {
    position: relative; /* Needed for ::before positioning */
    font-size: 3.2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 0.7px var(--main-color);
    background-image: linear-gradient(var(--main-color), var(--main-color));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: 0 0;
    animation: homebgText 6s linear infinite;
    animation-delay: 3s;
}

.home-content .text-animate h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-right: 2px solid var(--main-color);
    z-index: 1;
    animation: homeCursorText 6s linear infinite;
    animation-delay: 2s;
}

.home .home-content p {
    font-size: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
}


/* HIRE AND TALK */
.btn-box {
    /* border: 2px solid black; */
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
    /* z-index: -1; */
}

.button {
    position: relative;
}

.btn-box .btn {
    border: 2px solid var(--main-color);

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-color);
    z-index: 1;
    overflow: hidden;
}
.btn-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}
.btn-box .btn:hover::before {
    width:100%;
}
/*  */

.icon {
    width: 10%;
    height: 100%;
    margin-top: 145px;
    font-size: 20px;
    border-radius: 50%;
    /* position: relative; */
    display: flex;
    justify-content: space-between;
    gap: 30px;
    z-index: -1;
    
}
.icon a i {
    position: relative;
    color: var(--text-color);
    padding: 4px;
    border: 4px solid var(--main-color);
    border-radius: 50%;
    background: var(--bg-color);
    /* align-items: center; */
    /* z-index: ; */
    color: var(--text-color);
    /* z-index: 1; */
    overflow: hidden;
}
/* .icon a i::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: red;
    color: transparent;
    z-index: -1;
    transition: .5s;
}
.icon a i:hover::before {
    width: 100%;
} */



/* ABOUT CSS */

.img{
    width: 300px;
    height: 215px;
}

.about{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    background: var(--second-bg-color);
    padding: 2rem 9%;
    
}
.heading{
    font-size: 5rem;
    font-weight: 3rem;
    text-align: center;
}
span{
    color: var(--main-color);
}
.about {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}
.about-img{
    position: relative;
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-wrap: nowrap; */
}
.about-img img{
    width: 90%;
    border-radius: 50%;
    border: .2rem solid var(--main-color);
}
.about-img .circle-spin{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: .2rem solid var(--second-bg-color);
    border-bottom: .2rem solid var(--second-bg-color);
    border-left: .2rem solid var(--main-color);
    border-right: .2rem solid var(--main-color);
    /* ANIMATION */
    animation: aboutSpinner 8s linear infinite
}
.about-content h3{
    text-align: center;
    padding: 2rem 9%;
}
.about-content h3{
    font-size: 2.6rem;
}
.about-content p{
    font-size: 1.4rem;
    font-weight: 500;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-left: 90px;
    margin-left: 20px;
    margin-right: 20px;
}
.btn-box.btns{
    display: inline-block;
    width: 15rem;
}
.btn-box.btns a::before{
    background: var(--second-bg-color);
}
.btn-box.btns {
    padding: 2px;
    margin-bottom: 30px;
}


/* EDUCATION DETAILS OF CSS */


.education{
   
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* margin-bottom: 100px; */
    /* min-height: auto; */
    /* padding-bottom: 5rem; */
}

.education-row .education-column .title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.education-box {
    /* margin-right: 0 0 150px 55%; */
    /* display: block; */
    align-items: center;
    
}
.education-column{
    font-size: 1.2rem;
    margin: 0 0 1.5rem 2rem;
}
.education-box .education-content{
    border-left: .2rem solid var(--main-color);
}
.education-box .education-content{
    position: relative;
    padding-left: 2rem;
}
.education-content .content {
    font-family: 'Courier New', Courier, monospace;
    position:  relative;
    padding: 1.5rem;
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    margin-bottom: 2rem;
    overflow: hidden;
}
.education-content .content::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: .5s;
}
.education-content .content:hover::before{
    width: 100%;
}
.year{
    color: var(--main-color);
}
.education-content .content h3{
    color: var(--text-color);
}
.education-content .content p{
    color: var(--text-color);
}
.education-column .title{
    font-size: 22px;
    padding: 5px;
}

/* SKILLS DETAILS CSS */

.skills{
    width: 100%;
    height: 100%;
    padding-bottom: 7rem;
    background: var(--second-bg-color);
}

.coding-skill {
    
    font-size: 20px;
    font-weight: 500;
    margin-left: 28rem;
    /* z-index: -1; */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.skills-box .skills-content{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-left: 28rem;
    position: relative;
    width: 50%;
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    padding: .5rem 1.5rem;
    z-index: 1;
    overflow: hidden;
}
.skills-box .skills-content::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}
.skills-box .skills-content:hover::before{
    width: 100%;
}
/* .skills-box .skills-content{
    z-index: -1;
} */
.skills-content .progress {
    padding: 1rem 0;
}
.skills-content .progress h3 {
    font-size: 1.7rem;
    display: flex;
    justify-content: space-between;
}
.skills-content .progress h3 span {
    color: var(--text-color);
}
.skills-content .progress .bar  {
    height: 1.5rem;
    border-radius: .6rem;
    border: .2rem solid var(--main-color);
    padding: .2rem;
    margin: 1rem 0;
}
.skills-content .progress .bar span {
    display: block;
    height: 90%;
    border-radius: .3rem;
    background: var(--main-color);
}
.skills-column:nth-child(1) .skills-content .progress:nth-child(1) .bar span {
    width: 90%;
}
.skills-column:nth-child(1) .skills-content .progress:nth-child(2) .bar span{
    width: 80%
}
.skills-column:nth-child(1) .skills-content .progress:nth-child(3) .bar span {
    width: 80%;
}
.skills-column:nth-child(1) .skills-content .progress:nth-child(4) .bar span {
    width: 70%;
}
.skills-column:nth-child(1) .skills-content .progress:nth-child(5) .bar span {
    width: 80%;
}
.skills-column:nth-child(1) .skills-content .progress:nth-child(6) .bar span {
    width: 70%;
}


/* contact section css */

.contact {
    min-height: auto;
    padding: 7rem;
    margin-top: 100px;
}

.contact form {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}
.contact form .input-box{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contact form .input-box .input-field {
    position: relative;
    width: 49%;
    margin: .8rem 0;
}
.contact form .input-box .input-field input,
.contact form .textarea-field textarea {
    width: 100%;
    height: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: transparent;
    border-radius: .6rem;
    border: .2rem solid var(--main-color);
}

.contact form .input-box .input-field input::placeholder,
.contact form .textarea-field textarea::placeholder {
    color: var(--text-color);
}
.contact form .textarea-field {
    position: relative;
    margin: .8rem 0 2.7rem;
    display: flex;
}
.contact form .textarea-field textarea {
    resize: none;
}
.contact form .btn-box.btns .btn {
    cursor: pointer;
}
.btn-box.btns {
    margin: 2px 0 12px 0;
}

/* footer css */

.footer {
    width: 100%;
    height: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: .5rem 9%;
    background: var(--second-bg-color);
    /* color: var */
}
.footer-text p{
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Break points */
.home-content .text-Animation h3 {
    font-size: 3.5rem;
    color: #00abf0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #00f;
    width: 0;
    animation: typing 3ms steps(14) 1s forwards, blink 0.75s step-end infinite;
    animation: typingLoop 20s steps(14) infinite;
}

  /* Typing + Deleting animation */
@keyframes typingLoop {
    0% {
        width: 0;
    }
    40% {
        width: 14ch;
    }
    60% {
        width: 14ch;
    }
    100% {
        width: 0;
    }
}

  /* Blinking cursor */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}


@media(max-width: 1200px) {
    html{
        font-size: 55%;
    }
    
}
.coding-skill {
    margin-left: 26rem;
}
.skills-box .skills-content {
    margin-left: 26rem;
}
.about-content p{
    font-size: 1.5rem;
    font-weight: 500;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-left: 30px;
    margin-left: 20px;
    margin-right: 20px;
}

@media(max-width: 991px) {
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        /* z-index: -1; */
    }
    .header{
        padding: 2rem 4%;
    }
    section {
        padding: 19rem 4% 2rem;
    }
    .home {
        padding: 0 4%;
    }
    .about {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        width: 100;
        height: 100%;
    }
    .about-img{
        position: relative;
        width: 19rem;
        height: 19rem;
        border-radius: 40%;
        display: flex;
        justify-content: center;
        align-items: center;
        
    }
    .about-img img{
        width: 84%;
        height: 84%;
        border-radius: 50%;
        border: .3rem solid var(--main-color);
    }
    .about-img .circle-spin{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(0);
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border-top: .2rem solid var(--second-bg-color);
        border-bottom: .2rem solid var(--second-bg-color);
        border-left: .2rem solid var(--main-color);
        border-right: .2rem solid var(--main-color);
    }
    .about-content p{
        font-size: 1.5rem;
        font-weight: 500;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        padding-left: 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .education{
        position: relative;
        margin: 0;
        padding: 0;
        top: -45px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        
    }
    .skills {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .coding-skill {
        margin-left: 13.5rem;
    }
    .skills-box .skills-content {
    
        margin-left: 13.5rem;
        
        
    }

    .footer {
        padding: 2rem 4%;
    }
}
@media(max-width:768px) {
    .header {
        background: var(--bg-color)
    }
    #menu-icon {
        display: block;

    }
    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background: var(--main-color);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .2);
        z-index: 1;
        transition: .25s ease;
        transition-delay: .25s;

    }
    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }
    .navbar .active-nav {
        position: absolute;
        top: 0;
        left: -100%;
        width:100%;
        height: 100%;
        background: var(--bg-color);
        border-top: 1rem solid rgba(0, 0, 0, .2);
        z-index: -1;
        transition: .25s ease;
        transition-delay: .0s;
    }
    .navbar.active .active-nav {
        left: 0;
        transition-delay: .25s;
    }
    .navbar a{
        display:block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        transition: .25s ease;
        transition-delay: 0s;

    }
    .navbar.active a {
        transform: translateX(0);
        transition-delay: .25s;
    }

    .home-imgHover {
        pointer-events: none;
        background: var(--bg-color);
        opacity: .6;
    }
    .about-content p{
        font-size: 1.5rem;
        font-weight: 500;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        padding-left: 10px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .education{
        /* position: relative;
        top: 50px; */
        margin-top: 70px;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        /* margin-bottom: 100px; */
        /* min-height: auto; */
        /* padding-bottom: 5rem; */
    }

}
@media (max-width: 520px) {
    html {
        font-size: 50%;
    }
    .home-content h1 {
        display: flex;
        flex-direction: column;
    }
    .home-sci {
        width: 160px;
    }
    .home-sci a {
        width: 38px;
        height: 38px;
    }
    .about-content p{
        font-size: 1.5rem;
        font-weight: 500;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        padding-left: 90px;
        margin-left: 20px;
        margin-right: 20px;
    }
}
@media (max-width:460) {
    .home-content h1 {
        font-size: 5.2rem;
    }
    .about-content p{
        font-size: 0.9rem;
        font-weight: 500;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        padding-left: 90px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .education {
        padding : 10rem 4% 5rem 5%;
    }
    .contact form .input-box .input-field {
        width: 100%;
    }
}

/* KEYFRAMES ANIMATION*/

@keyframes homebgText {
    0%,10%,100%{
        background-position: -33rem 0;

    }
    65%,85% {
        backgorund-position: 0 0;
    }
}

@keyframes homeCursorText {
    0%,10%,100%{
        width: 0;

    }
    65%,78%,85% {
        width: 100%;
        opacity: 1;
    }
    75%,81%{
        opacity: 0;
    }
}

@keyframes aboutSpinner {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}