@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Great+Vibes&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html,body{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    width: 100%;
}

.container {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}

.back-vid{
    position: fixed;
    top: 0;
    right: 0;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    z-index: -1;
    mix-blend-mode: overlay;
}




body::-webkit-scrollbar{
    display: none
}

#header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #000000;
}

#header nav{
    background-color: transparent;
}

#header nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 50%;
    flex-wrap: wrap;
    margin: 0 50px;
    /* background-color: #0077b5; */
    font-family: "Poppins", sans-serif;

}

#mobile{
    display: none;
}


#header nav ul h3{
    background: linear-gradient(45deg, #04311f, #039c69,#013d27);
    /* background-image: url("assets/img/bg.jpg"); */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    color: grey;
    font-size:2rem
}


/* #header #animated-gradient-text {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(45deg, #00ff9d, #093bb8, #02cb4f);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 5s ease infinite;
} */

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



#link a{
    position: relative;
    color: #a4a4a4;
    text-decoration: none;
    font-size: 16px;
}

#link a:hover{
    /* color: #01cd4f; */
    color:rgb(255, 255, 255);
    text-decoration: none;
}


#link a::after{
    content: "";
    width: 0;
    height: 2px;
    background-color: #0bb14a;
    position: absolute;
    left: 0px;
    bottom: -4px;
    border-radius: 20px;
    transition: width 0.3s ease-in-out;
}

#link a:hover::after,
#link a.active::after{
    width: 70%;
}


#header nav ul li{
    text-decoration: none;
    color: black;
}

#header nav ul li{
    list-style-type: none;
    color: #ffffff;
}

#header nav ul #link{
    display: flex;
    gap: 40px;
    align-items: center;
}

#header nav ul #button{
    display: flex;
    align-items: center;
}

#header nav ul button{
    background-color: rgb(37, 176, 251);
    border: none;
    padding: 10px;
    width: 85px;
    color: #fff;
    font-size:14px ;
    border-radius: 10px;
}

#header nav ul div i{
    color: rgb(255, 255, 255);
    font-size: 25px;
}

#close {
    display: none;
    font-size: 25px;
    color: rgb(4, 4, 4);
}

#main{
    display: flex;
    flex-wrap: wrap;
    margin: 40px;
    margin-top: 60px;
}

#main #title{
    width: 50%;
    height: 80vh;
    align-content: center;
}

#main #title h1{
    background: linear-gradient(45deg, #12753d, #08d475,#9ff5b8);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-family: "poppins", sans-serif;
    margin: 20px;
    margin-left: 50px;
    font-size: 10vh;
    color: rgb(255, 255, 255);
}

#main p{
    color: rgb(211, 211, 211);
    margin: 20px;
    margin-left: 50px;
    font-size:16px ;
}


#main #title h1 span{
    color: rgb(3, 86, 159);
    transform: rotate(30%);
}

#main #pic{
    width: 50%;
    text-align: center;
    /* background-color: #00ff9d; */
    align-content: center;
}

#main #pic img{
    width: 400px;
    border-radius: 90% 60% 50% 100%;
    border-color: #10903d;
    border-style: solid;
    border-width: 3px;
    margin-top: 50px;
    display: inline-block;
    overflow: hidden;
}

#main #pic img:hover{
    animation: glowBorder 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 255, 8, 0.5);
    border-radius: 90% 60% 50% 100%;
    border-color: rgb(43, 188, 120);
}

@keyframes glowBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#main #title #title-heading {
  font-size: 4rem;
  font-weight: bold;
}

.cursor {
  display: inline-block;
  color: #0bb14a;
  font-weight: bold;
  font-size: inherit;
  animation: blink 1s steps(1,start) infinite;
    margin-left: 5px;
}

@keyframes blink {
  0%, 100% {visibility: visible; }
  50% { visibility: hidden; }
}

#main #title .buttons{
    display: flex;
    
}

#main #title button{
    background-color: rgb(34, 173, 104);
    border: none;
    padding: 10px;
    width: 150px;
    color: #fff;
    font-size:18px ;
    font-weight: 400;
    border-radius: 5px;
    margin-left: 50px;
    cursor: pointer;
}


#main #title #resume{
    background: linear-gradient(45deg, #12753d, #08d475,#9ff5b8);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-family: "poppins", sans-serif;
    margin-left: 30px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    border-style: solid;
    border-radius: 5px;
    border-width: 2px;
    border-color: #12753d;
}

#main #title #resume:hover{
    background: linear-gradient(45deg, #12753d, #08d475,#9ff5b8);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-family: "poppins", sans-serif;
    margin-left: 30px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    border-style: solid;
    border-radius: 5px;
    border-width: 2px;
    border-color: #12753d;
    box-shadow: 0 0 20px rgba(0, 222, 8, 0.5);
    
}


#skills{
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

#skills h1{
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: rgb(38, 193, 105);
    margin-top: 50px;
}

#skills .skill_txt{
    text-align: center;
}

#skills .skill_txt p{
    color: white;
}

#skills .skill{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    /* background-color: rgb(31, 31, 31); */
    background-color: #090909;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    gap: 30px;
    margin-bottom: 30px;
    backdrop-filter: none;
    justify-content: center;
    /* backdrop-filter: blur(5px); */
}

#skills .skill #cards{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    width: 40%;
    border-radius: 10px;
    background-color: transparent;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(44, 202, 39, 0.1);
    border-style: solid;
    border-width: 2px;
    border-color: #049a5e;
    /* border-color: #057d3f; */

}

#skills .skill #cards:hover{
    /* box-shadow: 0 4px 8px rgba(44, 202, 39, 0.2); */
    border-style: solid;
    border-width: 2px;
    border-color: #08d475;
    box-shadow: -2px -4px 20px 3px rgba(8, 238, 85, 0.2);
}

#skills .skill #cards h2{
    color: #ffffff;
    font-size: 24px;
    text-align: center;
    padding-bottom: 10px;
}

#skills .skill-text{
    width: 100%;
    font-size: 16px;
    text-align: center;
    padding: 0 20px 20px 20px;
}

#skills .skill-text p{
    color:#057d3f;
}

#skills .skill-text p:hover{
    color: #08d475;
}

#skills .slider{
    bottom: 5%;
    width: 100%;
    /* height: var(--height); */
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10% 90%,
        transparent 
    );
    mix-blend-mode: difference;
    opacity: 0.8;
    align-content: center;

}

#skills .slider .list{
    display: flex;
    width: 100%;
    min-width: cal(var(--width) * var(--quantity));
    position: relative;
    gap: 20px;
}

#skills .slider .list .item{
    /* width: var(--width); */
    /* height: var(--height); */
    width: 65px;
    position: relative;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((10s / var(--quantity)) *( var(--position)-1)- 10s)!important;
}

#skills .slider .list .item img{
    width: 100%;
    
}

@keyframes autoRun {
    from{
        left: 100%;
    }
    to{
        left: calc(var(--width) * -1);
    }
}

#slider:hover .item{
    filter: brightness(0.8);
    animation-play-state: paused!important;
}

#slider .item:hover{
    filter: grayscale(0);

}


#projects{
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

#projects h1{
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: rgb(38, 193, 105);
    margin-top: 25px;
}

#projects .prj_txt{
    text-align: center;
}

#projects .prj_txt p{
    color: white;
}

#projects .project-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    padding: 20px;
    /* background-color: rgb(31,31,31); */
    background-color: #090909;
    border-radius: 10px;
    width: 80%;
    gap: 40px;
    overflow: hidden;
}

/*Cards for Projects*/ 
.card {
  position: relative;
  width: 300px;
  height: 200px;
  background-color: #f2f2f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  /* box-shadow: 0 0 0 5px #ffffff80; */
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* .card svg {
  width: 48px;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
} */

.card img{
    width: 300px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #000000;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0;
  font-size: 24px;
  color: #ffffff;
  font-weight: 700;
}

.card:hover svg {
  scale: 0;
}

.card__description {
  font-size: 14px;
  color: #aaa8a8;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card_btn{
    text-decoration: none; 
    color: #039c69; 
    border-style: solid;
    border-color: #04af90;  
    border-width: 1px;
    padding: 0 20px;
}

.card_btn:hover{
    color: #ffffff;
    background-color: #039c69;
}





#contact{
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

#contact h1{
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: rgb(38, 193, 105);
    margin-top: 25px;
}

#contact .contact-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px;
    /* background-color: rgb(31, 31, 31); */
    background-color: #090909;
    /* height: 100vh; */
    color: #ffffff;
    border-radius: 10px;
    width: 30%;
}

#contact .contact-container form{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contact .contact-container form label{
    font-size: 16px;
    color: #29bc7c;
}

#contact .contact-container form input,
#contact .contact-container form textarea{
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #484948;
    background-color: transparent;
    color: #ffffff;
    font-size: 16px;
}

#contact .contact-container form input:focus,
#contact .contact-container form textarea:focus{
    border-color: #21976c;
    outline: none;
}

#contact .contact-container form button{
    background-color: #21976c;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 16px;
}

#contact .contact-container form button:hover{
    background-color: #1a6f5a;
}   

#contact .contact-container .contact-info{
    display: flex;
    align-items: center;
    flex-direction: column;
}

#contact .contact-container .contact-info .title{
    font-size: 16px;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
}

#contact .contact-container .contact-info .social-icons{
    display: flex;
    gap: 20px;
    margin: 0 10px 10px 10px;
}

#contact .contact-container .contact-info a{
    color: #ffffff;
    text-decoration: none;
    /* margin: 5px; */
    font-size: 25px;
}

#contact .contact-container .contact-info a:hover{
    color: #21976c;
}

.fb-gradient{
    background: linear-gradient(45deg, #1877F2, #63a4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-brands.fa-x-twitter{
    color: #c8c7c7;
}

.fa-brands.fa-linkedin{
    background: linear-gradient(45deg, #0077b5, #00a0dc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-brands.fa-github{
    color: #c8c7c7;
}

.insta-gradient{
    background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, 
    #fdf497 5%, 
    #fd5949 45%, 
    #d6249f 60%, 
    #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

footer{
    /* background-color: rgb(31, 31, 31); */
    color: #ffffff;
    text-align: center;
    padding: 5px;
    position: relative;
    bottom: 0;
    font-size: 12px;
    width: 100%;
}

footer span{
    background: linear-gradient(45deg, #05a34a, #08d475,#2f9d4e, green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    font-style: italic;
}

#about{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px; 
    margin-top: 100px;
    border-radius: 10px;
    width: 100%;
}

#about h1{
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: rgb(38, 193, 105);
}

#about .about-text{
    width: 80%;
    text-align: center;
    color: #878686;
}

#about .about-text .wlc-greet{
    color: #08ac78;
}

#about .about-text h2 span{
    /* background: linear-gradient(45deg, #006c76, #2f91a2, rgb(209, 209, 65),#b4067d, rgb(255, 2, 2)); */
    color: #e6e6e6;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
}

#about .about-content{
    width: 80%;
    margin: 20px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    /* background-color: rgb(31,31,31); */
    background-color: #090909;
    border-radius: 10px;
}

#about .about-content p{
    color: #ffffff;
    font-size: 16px;
    margin: 5px 0;
}

#about .about-content .about-image{
    width: 20%;
    border-radius: 10px;
    margin: 20px;
    align-content: center;
}

#about .about-content .about-image img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#about .about-container{
    /* display: flex;
    flex-wrap: wrap;
    justify-content:flex-end;
    align-items: center;*/
     width: 70%; 
    border-radius: 10px;
    margin: 20px;
    padding: 30px;
    color: #bbbaba;
}

#about .about-container h3{
    font-size: 24px;
    color: #08d475;
    margin-top: 10px;
}

#about .about-container .key-val{
    color: #179fd9;
}

#about .about-container h3:hover{
    transition: color 0.3s ease;
    text-shadow: 0 0 5px rgb(9, 110, 9),
               0 0 10px rgb(51, 139, 51),
               0 0 20px rgb(0, 0, 0),
               0 0 40px rgb(6, 88, 6);
  color: #b2ffca; /* slightly lighter */
}

#about .about-container ul li{
    color: #ffffff;
    font-size: 16px;
    margin: 2px 0;
    margin-left: 25px;
}

#about .about-container ul li .list-val{
    color: #04af90;
}

#education{
    width: 100%;
    background-image: url("./assets/img/ban.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 5vh;
}

#education h1{
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: rgb(38, 193, 105);
}

#education .edu-txt{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#education .edu-txt p{
    color: #ffffff;
}


#education .edu-container{
    display: flex;
    color: #938d8d;
    gap: 100px;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    flex-wrap: wrap;
}

#education .edu-container .edu-card{
    border-style: solid;
    border-color: #049a5e;
    border-width: 2px;
    padding: 10px;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    width: 25%;
    margin-bottom: 3vh;
}

#education .edu-container .edu-card:hover{
    cursor: pointer;
    border-width: 2px;
    border-color: #08d475;
    box-shadow: -2px -4px 20px 3px rgba(8, 238, 85, 0.2);
}

#education .edu-container .edu-card h3{
    font-size: 20px;
    text-align: center;
    color: #039c69;
    padding: 10px 0;
}

#education .edu-container .edu-card h3:hover{
    color: #08d475;
}

#education .edu-container .edu-card p{
    font-size: 16px;
    padding: 5px;
}

#education .edu-container .edu-card .year{
    color: #05bc95;
}

#education .edu-container .edu-card .span-uni,
#education .edu-container .edu-card .span-place{
    color: #d6d8d7;
}

#education .edu-container .edu-card .marks{
    color: rgb(11, 165, 127);
}


@media (max-width: 1030px){
    #header{
        padding: 10px;
    }

    #header #animated-gradient-text{
        font-size: 45px;
    }

    #header nav ul #link li a{
        font-size: 20px;
    }

    #main{
        flex-direction: column;
        align-content: center;
    }

    #main #title{
        width: 90%;
        height: 50vh;
    }

    #main #title #title-heading{
        text-align: center;
        font-size: 100px;
        margin-left: 20px;
    }

    #main #title p{
        text-align: center;
        margin-left: 20px;
        font-size: 23px;
    }

    #main #title .buttons{
        justify-content: center;
        height: 65px;
        gap: 30px;
    }

    #main #title .buttons button{
        width: 300px;
        margin: 0;
        font-size: 25px;
    }

    #main #title .buttons #resume{
        margin: 0;
        font-size: 25px;
    }

    #main #pic{
        width: 90%;
    }

    #main #pic #my_pic{
        margin-top: 0;
    }

    #about h1{
        font-size: 60px;
    }

    #about .about-text h2{
        font-size: 30px;
    }


    #about .about-text p{
        font-size: 20px;
    }    

    #about .about-content .about-image{
        display: none;
    }

    #about .about-content{
        
        justify-content: center;
        align-items: center;
    }

    #about .about-content .about-container{
        align-content: center;
        padding: 20px;
        width: 100%;
        margin: 10px;
    }

    #about .about-content .about-container h3{
        font-size: 30px;
    }

    #about .about-content .about-container p{
        font-size: 22px
    }

    #about .about-content .about-container li{
        font-size: 22px
    }

    #skills h1{
        font-size: 60px;
    }

    #skills .skill_txt p{
        font-size: 20px;
    }

    #skills .skill{
        width: 80%;
    }

    #skills .skill #cards{
        width: 100%;
    }

    #skills .skill #cards h2{
        font-size: 35px;
    }

    #skills .skill #cards p{
        font-size: 30px;
    }

    #projects h1{
        font-size: 60px;
    }

    #projects .prj_txt p{
        font-size: 20px;
    }

    #projects .project-container .project-item{
        width: 90%;
    }

    #contact h1{
        font-size: 60px;
    }

    #contact .contact-container{
        width: 60%;
        gap: 25px;
    }

    #contact .contact-container #contact-form label{
        font-size: 28px;
    }

    #contact .contact-container #contact-form input{
        height: 65px;
    }

    #contact .contact-container #contact-form input{
        font-size: 25px;
    }

    #contact .contact-container #contact-form textarea{
        font-size: 28px;
    }

    #contact .contact-container #contact-form button{
        height: 60px;
        font-size: 28px;
    }

    #contact .contact-container .contact-info{
        gap: 15px;
    }

    #contact .contact-container .contact-info .title{
        margin-top: 0;
    }

    #contact .contact-container .contact-info .title p{
        font-size: 25px;
    }

    #contact .contact-container .contact-info .social-icons i{
        font-size: 45px;
    }

}


@media (max-width: 820px) {

    #header{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }


    #header #animated-gradient-text{
        font-size: 30px;
    }

    #main #title .buttons{
        justify-content: center;
        height: 55px;
        gap: 30px;
    }

    #main #title .buttons button{
        width: 220px;
        margin: 0;
        font-size: 25px;
    }

    #main #title .buttons #resume{
        align-items: center;
        justify-content: center;
    }


    #link{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 200px;
        backdrop-filter: blur(10px);
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        z-index: 1000;
        transition: 0.3s;
    }

    #mobile{
        display: flex;
        align-items: center;
        width: 80px;

    }

    #mobile i{
        color: #12dc81;
        font-size: 30px;
        padding-left: 20px;
        margin-right: 50px;
    }

    #link.active{
        right: 0;
    }

    #close{
        display: block;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
        z-index: 1100;

    }

    #main{
        flex-direction: column;
        align-items: center;
        margin: 0 20px;
    }

    #main #title{
        width: 80%;
        text-align: center;
        height: 53vh;
        margin-top: 30px;
    }

    #main #title #title-heading{
        font-size: 75px;
        margin-left: 20px;
    }

    #main #title p{
        font-size: 20px;
    }

    #main #pic{
        width: 80%;
        text-align: center;
        /* margin-top: 50px; */
    }

    #main #pic img{
        width: 300px;
        border-radius: 90% 60% 50% 100%;
        /* border-radius: 30% 50% 50% 70%; */
        border-color: #10903d;
        border-style: solid;
        border-width: 3px;
        margin-top: 0px;
    }

    #main #title .buttons{
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;

    }

    #main #title button{
        margin-left: 0;
        margin-right: 0;
        margin-top: 10px;
        font-size: 14px;
    }

    #about h1{
        font-size: 50px;
    }

    #about .about-text h2{
        font-size: 30px;
    }

    #about .about-text p{
        font-size: 20px;
    }

    #about .about-content{
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    #about .about-content .about-container{
        width: 95%;
    }

    #about .about-content .about-image{
        display: none;
    }

    #skills h1{
        font-size:50px ;
    }

    #skills .skill-text p{
        font-size: 20px;
    }

    #skills .skill #cards h2{
        font-size: 30px;
    }

    #skills .skill #cards p{
        font-size: 25px;
    }

    #projects h1{
        font-size: 50px;
    }


    #projects .project-container{
        width: 80%;
    }

    #projects .project-container .project-item{
        width: 100%
    }

    #contact{
        margin-bottom: 50px;
    }

    #contact h1{
        font-size: 50px;
    }

    #contact .contact-container{
        width: 70%;
    }

    #contact .contact-container .contact-info .title{
        margin-top: 0;
    }

    #contact .contact-info .title p{
        font-size: 15px;
        color: #b9bab9;
        margin-bottom: 10px;
    }

    #contact .contact-info .social-icons i{
        font-size: 35px;
    } 
}


@media (max-width: 500px) {

    #header{
        margin-top: 0;
    }

    #header #animated-gradient-text{
        font-size: 25px;
    }

    #header nav ul{
        margin: 0 10px;
    }

    #link{
        width: 180px;
    }

    #mobile{
        width: 60px;
    }

    #mobile i{
        color: #12dc81;
        font-size: 20px;
        padding-left: 20px;
        margin-right: 50px;
    }


    #link.active{
        right: 0;
    }

    #main{
        gap: 70px;
    }

    #main #title{
        margin: 0;
    }

    #main #title #title-heading{
        font-size: 30px;
        margin-top: 50px;
    }

    #main #title p{
        font-size: 12px;
    }

    #main #title .buttons{
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }

    #main #title .buttons #connectBtn{
        margin-top: 70px;
        width: 70%;
        font-size:18px ;
    }



    #main #title .buttons #resume{
        width: 70%;
        font-size: 18px;
        align-content: center;
        padding: 6px;
    }

    #main #pic img{
        width: 200px;
        /* margin-top: 80px; ; */
    }

    #about h1{
        font-size: 30px;
    }

    #about .about-text h2{
        font-size: 18px;
    }

    #about .about-text h2 span{
        font-size: 18px;
    }

    #about .about-text p{
        font-size: 12px;
    }

    #about .about-content{
        width: 95%;
    }

    #about .about-content .about-container{
        width: 90%;
        margin: 0;
        padding: 5px;
    }

    #about .about-content .about-container h3{
        font-size: 22px;
    }

    #about .about-content .about-container p{
        font-size: 16px;
    }

    #about .about-content .about-container li{
        font-size: 16px;
    }

    #skills h1{
        font-size: 30px;
    }

    #skills .skill_txt p{
        font-size: 15px;
        padding:0 20px;
    }

    #skills .skill #cards h2{
        font-size: 20px;
    }

    #skills .skill #cards{
        width: 95%;
    }

    #skills .skill #cards p{
        font-size: 15px;
    }

    #projects h1{
        font-size: 30px;
    }

    #projects .prj_txt p{
        padding: 0 20px;
        font-size: 15px;
    }

    #projects .project-container .project-item{
        width: 100%;
    }

    #projects .project-container #rest-card{
        display: none;
    }



    #contact h1{
        font-size: 30px;
    }

    #contact .contact-container{
        width: 90%;
        margin-top: 10px;
    }

    #contact .contact-container #contact-form{
    }

    #contact .contact-container #contact-form label{
        font-size: 18px;
    }

    #contact .contact-container #contact-form input{
        font-size: 18px;
        height: 40px;
    }

    #contact .contact-container #contact-form textarea{
        font-size: 18px;
    }

    #contact .contact-container #contact-form button{
        font-size: 18px;
        height: 40px;
    }

    #contact .contact-container .contact-info{
        gap: 0;
    }

    #contact .contact-container .contact-info .title{
        margin-top: 0;
    }

    #contact .contact-container .contact-info .title p{
        font-size: 18px;
        margin-bottom: 0;
    }

    #contact .contact-container .contact-info .social-icons{
        width: 100%;
        margin: 0;

    }

    #contact .contact-container .contact-info .social-icons i{
        font-size: 25px;
    }

    

    #education{
        background-image: none;
    }

    #education h1{
        font-size: 30px
    }

    #education .edu-txt p{
        font-size: 12px;
        margin-bottom: 20px;
    }

    #education .edu-container{
        background-color: #090909;
        width: 80%;
        border-radius: 10px;
        margin: auto;
        gap: 10px;
    }

    #education .edu-container .edu-card{
        width: 80%;
        backdrop-filter: none;
        margin-bottom: 3vh;
    }

    #education .edu-container .edu-card:first-child{
        margin-top: 20px;
    }

}