@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adjust based on your navbar height */
}

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}
body{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    width: 100%;
    min-height: 100vh; /* Ensure at least full viewport height */
}
.btn{
    padding: 5px 0px;
    background: #7cf03d;
    border: 2px solid #7cf03d;
    border-radius: 10px;
    box-shadow: 0 0 10px #7cf03d;
    font-size: 16px;
    font-weight: 600;
    color: #1f242d;
    transition: .9s;
    text-align: center;
    width: 15%;
    transition: all ease-in-out 0.6;

}
.btn:hover {
    background: transparent;
    color: #7cf03d;
    transform: translateY(-4px) translateX(-2px);
    box-shadow: 2px 5px 0 0 black;
}
.btn:active {
    transition: -6px;
}
nav {
    position: fixed;
    /* background-image: linear-gradient(to right, #e4afcb 0%, #b8cbb8 0%, #b8cbb8 0%, #e2c58b 30%, #c2ce9c 64%, #7edbdc 100%); */
    background: #1f242d;
    width: 100%;
    height: 80px;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.2s;
}
@keyframes show-content {
    100%{
        visibility: visible;
        opacity: 1;
    }
}
label.logo{
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    line-height: 80px;
    padding: 0 100px;
}
nav ul{
    float: right;
    margin-right: 20px;
}

nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    padding: 7px 13px;
    border-radius: 5px;
    position: relative;
    transition: color 0.3s ease-in-out;
}
nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjust the position of the underline */
    width: 0%;
    height: 2px;
    background-color: #7cf03d;
    transition: width 0.3s ease-in-out;
}
nav ul li:hover a::after {
    width: 100%; /* Expands the underline */
}
nav ul li:hover a{
    color: #7cf03d;
}
.checkbtn{
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}


.container{
    padding-top: 100px;
    /* border: 2px solid greenyellow; */
    /* background: rgb(97, 96, 88); */
    position: relative;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.6s;
    display: grid;
    row-gap: 30px;
}
.home {
    color:#fff;
    position: relative;
    width: 100%;
    height: 70vh;
    /* border: 2px solid rgb(52, 7, 235); */
}
.home-info{ 
    position: relative;
   padding-left: 10%;
    width: 100%;
    height: 90%;
    padding: auto;
    /* border: 2px solid red; */
    display: grid;
    row-gap: 10px;
    align-items: center;
    
}
.home-info p {
    font-size: 30px;
    font-weight: 10;
}
.home-info p span {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: .7px #7cf03d;
}
.home-info .h-c{
    width: 80%;
    /* border: 2px solid red; */
    font-size: 20px;
}
.home-info .highlight {
    /* border: 2px solid red; */
    position: relative;
    display: grid;
    row-gap: 10px;
}
.highlight h1 {
    font-size: 55px;
}

.about {
    color: #fff;
    /* border: 2px solid palevioletred; */
    position: relative;
    width: 100%;
}
.about .about-info {
    /* border: 2px solid white; */
    padding-left: 10%;
    display: flex;
    align-items: center;
    column-gap: 20px;
    text-align: center;

}
.about .about-content{
    /* border: 2px solid red; */
    font-size: 20px;
}
.about .about-content h1 {
    margin-bottom: 5%;
    /* float: right; */
    /* display: block; */
}
.about .about-img{
    /* border: 2px solid red; */
}
.about-img .img-box {
    position: relative;
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.about-img .img-box::before,
    .about-img .img-box::after{
    position: absolute;
    content: '';
    width: 500px;
    height: 500px;
    background: conic-gradient(transparent, transparent,
    transparent, #7cf03d);
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
}
@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}
.about-img .img-box::after {
    animation-delay: -5s;
}
.about-img .img-box .img-item{
    position: relative;
    background: #1f242d;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    border: .1px solid #1f242d;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}
.about-img .img-box .img-item img{
    position: absolute;
    display: block;
    width: 150%;
    object-fit: cover;
    mix-blend-mode: lighten;
}
.skills {
    color: #fff;
    /* border: 2px solid blueviolet; */
    position: relative;
    width: 100%;
}
.skills .skills-info{
    /* border: 2px solid white; */
    margin-top: 8%;
    font-size: 25px;
    font-weight: 600;
    display: grid;
    text-align: center;
    row-gap: 80px;
}
.skills-info .stack-icons{
    padding-top: 5%;
    padding-left: 10%;
    display: grid;
    grid-template-columns: repeat(10, auto);
    row-gap: 50px;
}
.skills-info .stack-icons img{
    width: 50px;
    height: 50px; 
}
.skills-info .tools-icons{
    padding-top: 5%;
    padding-left: 10%;
    display: grid;
    grid-template-columns: repeat(10, auto);
    row-gap: 50px;

}
.skills-info .tools-icons img{
    width: 50px;
    height: 50px; 
}
.skills .dark {
    background: whitesmoke;
    border-radius: 30px;
}
.projects{
    color: #fff;
    /* border: 2px solid rgb(14, 164, 119); */
    position: relative;
    width: 100%;
}
.projects h1{
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-top: 4%;
}
.projects .projects-info{
    /* border: 2px solid rgb(14, 115, 215); */
    padding: 5% 0%;
    display: grid;
    row-gap: 25px;
}
.projects .projects-info div{
    position: relative;
    display: flex;
    /* column-gap: 10px; */
    /* justify-content: center; */
    justify-content: space-between;
    margin-right: 10%;
    margin-left: 10%;
    /* padding-top: 2%; */
    /* border: 2px solid red; */
}
.projects .projects-info div .img{
    position: relative;
    left: -5%;
    /* border: 2px solid rgb(211, 88, 30); */
    /* background: black; */
    height: 70%;
    width: 60%;
    border-radius: 20px;
    overflow-x: hidden;
}
.projects .projects-info div .content{
    /* border: 2px solid rgb(18, 144, 37); */
    background: #001c29;
    text-align: center;
    align-items: center;
    margin-top: 8%;
    margin-left: 45%;
    border-radius: 5px;
    position: absolute;
    width: 45%;
    height: 60%;
    font-size: 15px;
    padding: 1%;
}
.projects .projects-info div .img img{
    width: 100%;
}
.contact {
    color: #fff;
    /* border: 2px solid rgb(234, 232, 218); */
    position: relative;
    width: 100%;
}

.contact .contact-info {
    position: relative;
    display: grid;
    grid-template-columns: auto;
    row-gap: 10px;
    margin-top: 2%;
}
.contact .contact-info h1 {
    text-align: center;
    margin-top: 2%;
}
.contact-info .G-M {
    display: flex;
    justify-content: space-evenly;
    font-size: 20px;
    /* border: 2px solid palegreen; */
    margin: 2%;
}
.contact-info .G-M div{
    display: flex;
    margin-left: 5%;
    border: 2px solid green;
    padding: 5px 10px;
    border-radius: 15px;
    justify-content: space-evenly
}
.contact-info .G-M div p {
    padding: 0px  10px;
}
.contact-info .sci {
    /* border: 2px solid orange; */
    display: flex;
    justify-content: space-evenly;
    margin: 2% 5%;
}
.contact-info .sci a {
    width: 7%;
    font-size: 25px;
}
.bars-animation {
    /* border: 2px solid red; */
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    z-index: -1;
}
.bars-animation .bar {
    width: 100%;
    /* height: 580%; */
    /* height: 100vh; */
    background: #1f242d;
    transform: translateY(-100%);
    animation: show-bars .8s ease-in-out forwards;
    animation-delay: calc(.1s * var(--i));
}
@keyframes show-content {
    100%{
        visibility: visible;
        opacity: 1;
    }
}
@keyframes show-bars {
    100% {
        transform: translateY(0%);
    }
}

@media (max-width : 1300px){
    .projects .projects-info div .content{
        font-size: 12px;
    }
}
@media (max-width : 1000px){
    .projects .projects-info div{
        position: relative;
        display: grid;
        overflow: hidden;
        column-gap: 10px;
        padding: 2%;
        margin: 0%;
    }
    .projects .projects-info div .content{
        position: relative;
        margin: 0%;
        width: auto;
        height: auto;
        font-size: 20px;
        margin-top: 2%;
    }
    .projects .projects-info div .img{
        position: relative;
        width: 90%;
        height: 100%;
        left: 0%;
        margin-left: 5%;
        border-radius: 5px;
    }
    .contact-info .sci a {
        font-size: 20px;
    }
    .contact-info .G-M {
        font-size: 15px;
    }
    .contact-info .G-M div p i{
        font-size: 15px;
    }

}
@media (max-width : 960px){
    label.logo{
        font-size: 30px;
        padding-left: 50px;
    }
    nav ul li a{
        font-size: 16px;
    }
    .home-info p {
        font-size: 20px;
    }
    .highlight h1 {
        font-size: 35px;
    }
    .home-info .h-c{
        font-size: 15px;
    }
    .btn {
        font-size: 10px;
        font-weight: 600;
    }


}
@media (max-width : 850px){
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        background: #2c3e50;
        width: 100%;
        height: 100vh;
        text-align: center;
        top : 80px;
        left: -100%;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    #check:checked ~ ul{
        left: 0;
    }
    .btn {
        font-size: 10px;
        font-weight: 600;
    }
    .contact-info .sci a {
        width: 8%;
    }
}
@media (max-width : 700px){
    .btn {
        width: 20%;
    }
    .about .about-info{
        display: grid;
        padding-top: 5%;
        text-align: center;
        row-gap: 10px;
    }
    .about .about-content{
        font-size: 12px;
    }
    .about-img {
        position: relative;
        display: flex;
        justify-content: center;
    }
    .about .about-info .about-img{
        order: 1;
    }
    .about .about-info .about-content{
        order: 2;
    }
    .skills-info .stack-icons{
        grid-template-columns: repeat(6, auto);
    }
    .skills-info .tools-icons{
        grid-template-columns: repeat(6, auto);
    }
    .projects .projects-info div .content{
        font-size: 15px;
    }
    .contact .contact-info h1 {
        font-size: 20px;
    }

    .contact-info .sci a {
        font-size: 15px;
    }
    .contact-info .G-M {
        font-size: 10px;
    }
    .contact-info .G-M div{
        margin: 0%;
        border-radius: 5px;
    }
    .contact-info .G-M div p i{
        font-size: 10px;
    }
}
@media (max-width : 550px){
    .btn {
        width: 25%;
    }
    .contact-info .G-M {
        /* border: 2px solid red; */
        display: grid;
        row-gap: 10%;
        font-size: 15px;

    }
    .contact .contact-info h1 {
        font-size: 15px;
    }
    .contact-info .sci a {
        font-size: 15px;
        width: 10%;
    }
    .contact-info .G-M div p i{
        font-size: 15px;
    }

}
@media (max-width : 400px){
    .btn {
        width: 30%;
    }
    .skills-info .stack-icons{
        grid-template-columns: repeat(3, auto);
    }
    .skills-info .tools-icons{
        grid-template-columns: repeat(3, auto);
    }
    .projects .projects-info div .content{
        font-size: 15px;
        font-weight: 800;
    }
    .projects .projects-info div .img{
        width: 100%;
        margin-left: 0%;
    }
    .contact-info .G-M {
        font-size: 10px;
    }
    .contact-info .G-M div p i{
        font-size: 10px;
    }
    .contact-info .sci a {
        font-size: 12px;
    }
}