
/* 

font-family: 'Advent Pro', sans-serif;
background-color: rgba(255,255,255,0.3);
color: rgb(4, 194, 77);
background-color: #333; */

@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@100;200;300&family=Alkatra:wght@500&family=Candal&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@100;200;300;400;500;600;700&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');



/* Declaring variables */
:root{
    --white:  hsl(235, 70%, 90%);
    /* --accent-color: #5fa0c0; */
    box-sizing: border-box;
    /* --accent-color: #FF7700; */
    --accent-color: hsl(265, 66%, 40%);
    --accent-rgb: 91, 35, 169;
    --primary-color: #1B1B1B;
    
    /* --secondary-color:  #f1ece9; */
    --secondary-color: hsl(235, 70%, 89%);
    --secondary-rgb : 212, 215, 247;

    --box-shadow: 3px 3px 10px -1px rgba(0,0,0,.3),
                -3px -3px 10px -1px rgba(255,255,255,0.3);

    --box-shadow-inset: inset 2px 2px 10px -1px rgba(0,0,0,0.3),
                        inset -2px -2px 10px -1px rgba(255,255,255,0.3),
                                -0.5px -0.5px 0 rgba(255,255,255,1),
                                0.5px 0.5px 0 rgba(0,0,0,0.15),
                                0px 12px 10px -10px rgba(0,0,0,0.05);
    
}

.dark-mode{
    --primary-color: hsl(235, 70%, 90%);
    --accent-color: hsl(265, 66%, 65%);
    /* --secondary-color:  #1B1B1B; */
    --secondary-color: hsl(265, 66%, 4%);
    --secondary-rgb: 9, 3, 17;
}

body{
    overflow-x: hidden; /* to remove overflow issues of sliding navigation menu  */
    margin: 0;
    padding: 0;
    font-family: 'Advent Pro', sans-serif;
    background-color: var(--secondary-color);
}

/* ::-webkit-scrollbar{
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover{
    cursor: pointer;
} */

html{
    scroll-behavior: smooth;
}


/* // ************************************************************
// ****************** UTILITY CLASSES ******************
// ************************************************************ */

.flex{
    display: flex;
    gap: var(--gap, 1.5rem);
}
.green-font{
    color: var(--accent-color);
}
.primary-font{
    color: var(--primary-color);
}
.secondary-font{
    color:var(--secondary-color);
}

.dot{
    color: var(--accent-color);
    font-size: 1.25rem;
    padding-inline: .1rem;
    vertical-align: -0.14em;
}

.horizontal-line{
    width: 80%;
    margin: 8rem auto;
    height: 1.5px;
    background-color: var(--primary-color);
}

@media (max-width: 25em){
    .horizontal-line{
        margin: 2rem auto;
    }
    
}


/* // ************************************************************
// ****************** PRIMARY HEADER ******************
// ************************************************************ */

.primary-header{
    align-items: center;
    justify-content: space-between;   
    position: sticky;
    z-index: 10;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    top: 0;
    display: flex;
    /* box-shadow: 0px 2px 5px 0px var(--accent-color); */
    /* border-bottom: solid 3px var(--accent-color); */
    /* border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px; */
}

/* @media (min-width: 800px){
    .primary-header{
        border-bottom: solid 1.5px var(--primary-color);
    }
} */


/* Primary Logo */
.primary-logo{
    font-size: 1.2rem;
    margin-block: 1rem;
    margin-inline-start:2rem;
    font-weight: 400;
    width: fit-content;
    /* background-color: red; */
    color: var(--primary-color);
    /* font-family: poppins; */
    font-family: 'Candal', sans-serif;
}

.primary-navigation{
    /* background-color: pink; */
    list-style: none;
    margin: 0;
    font-size: 1em;
    /* padding: 0rem 1.5rem; */
    padding-inline-end: 2rem;
}

.primary-navigation a{
    text-decoration: none;
    color: var(--primary-color);
    padding: 0.25rem 0rem;
    /* background-color: blue; */
}

.active-menu-item{
    border-bottom: solid 5px var(--accent-color);
    border-radius: 5px;
}


/* Removing the navigation toggle button for large screens  */
.nav-toggle{
    display: none;
}

.toggle-icon{
    color: var(--primary-color);
}

.primary-header .primary-logo:hover, .primary-header .primary-navigation a:hover:not(.dark-mode-toggle){
    cursor: pointer;
    opacity: .6;
}



@media (min-width:50em){

    /* TOOLTIP for Dark mode button */
    .dark-mode-toggle{
        /* background-color: red; */
        position: relative;
        
    }
    .dark-mode-toggle:hover{
        cursor: pointer;
    }

    .dark-mode-toggle::before, .dark-mode-toggle::after{
        position: absolute;
        --tooltip-scale : 0;
    }

    .dark-mode-toggle::before{
        content: attr(data-tooltip);
        background-color: var(--primary-color);
        color: var(--secondary-color);
        top:100%;
        padding: 1rem;
        width: max-content;
        border-radius: 2rem 0 2rem 2rem;
        right:0;
        transform: scale(var(--tooltip-scale));
        transform-origin: top right;
        transition: transform 150ms ease;
    }

    .dark-mode-toggle:hover::before{
        --tooltip-scale : 1;
    }
}


/* for primary navigation bar of mobile devices  */
@media (max-width: 50em){
    .active-menu-item{
        border-bottom: solid 2px var(--accent-color);
    }

    .primary-navigation a{
        text-decoration: none;
        color:var(--white);
        padding: .5rem 0rem;
    }

    .primary-navigation{
        position: fixed;
        padding-inline-start: 2rem;
        /* background-color: rgba(187, 187, 187, 0.5); */
        backdrop-filter: blur(2.5rem);
        background-color: var(--accent-color);
        flex-direction: column;
        /* to fix the primary navigation at a certain position  */
        inset: 0 0 0 50%;        
        /* backdrop-filter: blur(1rem); */
        z-index:1000;
        --gap: 2rem;
        /* to make the menu slide in and out */
        transform: translateX(100%);
        /* The above code might sometime cause overflow issues, hence we do overflow-x : hidden in main body tag css. */
        transition: transform 350ms ease-out;
        justify-content: center;
    }

    .nav-toggle{
        display: block;
        position: fixed;
        top:0.5rem;
        right: 0.5rem;
        z-index:9999;
        border: 0;
        background: transparent;
        font-size: 2rem;
        cursor: pointer;
    }

    .primary-navigation[data-visible="true"]{
        transform: translateX(0%);
    }
}


/* // ************************************************************
// ****************** LANDING BANNER ******************
// ************************************************************ */

.banner-container{
    padding-block: 2rem;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 8rem;
    /* background-color:rgb(209, 130, 130); */
    box-sizing: border-box;
}


/* Why not working ? */

/* @media screen and (min-width: 800px){
    .banner-intro{
        display: flex;
        align-items: left;
    }
} */

.banner-intro{
    /* background-color: aqua; */
    /* font-family: 'Poppins',sans-serif; */
    font-family: 'Candal', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding-inline: 4%; */
}
h4{
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 ;
    color: var(--primary-color);
    /* font-family: 'Poppins',sans-serif; */
    font-family: 'Candal', sans-serif;
    /* background-color: yellow; */
    text-align: center;
    width: fit-content;
}

.banner-intro h6{
    opacity: 0.75;
}
h6{
    font-size: 1rem;
    font-weight: 400;
    margin: 1rem;
    color: var(--primary-color);
    font-family: 'Poppins',sans-serif;
}

.banner-intro h6 span{
    font-size: 1rem;
}


/* Social links  */
.banner-social-links .banner-ul{
    list-style: none;
    flex-direction: column;
    padding-inline: 2rem;
    align-items: center;
}

.banner-social-links .banner-ul .uil{
    font-size: 1.75rem;
    color: var(--primary-color);
}
/* .banner-ul .uil::after{
    position: absolute;
    content: attr(data-tooltip);
    font-size: 1rem;
    font-family: 'Poppins',sans-serif;
    width: max-content;
    padding:0.5rem 1rem;
    background-color: blue;
    left: calc(100% + 0.5rem);
    bottom: 0;
    z-index: 10;
    border-radius: 0 1rem 1rem 1rem;
    transform: scale(0);
    transform-origin: left top;
    transition: transform 150ms ease-in;
} */

.banner-ul .uil:hover::after{
    transform: scale(1);
}   

.banner-social-links .banner-ul .uil:hover{
    opacity: .65;
}


@keyframes blob{
    0%{
        border-radius: 39% 40% 47% 53% / 34% 33% 68% 67% ;
        background-position: left;
    }
    33%{
        
        border-radius: 65% 35% 57% 43% / 46% 38% 62% 54% ;
    }
    66%{
        border-radius: 44% 56% 49% 51% / 53% 74% 26% 47% ;
    }
    100%{
        border-radius: 39% 61% 60% 40% / 51% 45% 55% 49%  ;
        background-position: right;
    }
}

.banner-shape{
    /* 0% => 0 px */
    /* 100% => 323 px  */
    /* --posX: 100%;
    --posY: 50%; */
    position: relative;
    /* flex: 1; */
    max-width: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: var(--accent-color); */
    background: linear-gradient(to left top,  hsl(265, 66%, 73%),  hsl(265, 66%, 45%));
    /* background-color:red; */
    border: solid 1.5px var(--primary-color);
    animation: blob 10s linear infinite alternate;
    overflow: hidden;
    
}
/* .banner-shape::before{
    content: "";
    position: absolute;
    background-color: var(--accent-color);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    clip-path: circle(30px at var(--posX) var(--posY));
    transition: clip-path 150ms ease-in;
    scale: 1.1;
} */

@media (max-width:50em){
    .banner-shape{
        width: 95%;
    }
}


.banner-shape img{
    /* background-color: var(--bg-gradient); */
    /* background-image: var(--bg-gradient); */
    position: relative;
    background-size: 300%;
    aspect-ratio: 1;
    max-width: 20rem;
    /* animation: bg-tranisition 5s infinite alternate; */
}

.banner-shape img::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: blue;
    top: 0;
    left: 0;
    z-index: 10;
}

@keyframes bg-transition{
    0%{
        background-position: left;
    }
    100%{
        background-position: right;
    }
}

.btn{
    --offset : 10px;
    --transition-speed : 200ms;
    position: relative;
    padding: 1rem 1.5rem;
    border: solid 1.5px var(--primary-color);
    color: var(--primary-color);
    font-size: 1rem;
    margin-block: 1.3rem;
    box-sizing: border-box;
    text-decoration: none; 
    transition: background-color var(--transition-speed) ease-in-out;
}
.btn::before, .btn::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: top var(--transition-speed) ease-in-out, left var(--transition-speed) ease-in-out;
}
.btn:hover {
    border: solid 1.5px transparent;
    background-color: var(--accent-color);
    color:  hsl(235, 70%, 90%);
    /* background-color: red; */
}
.btn:hover.btn::before{
    top: calc(-1*var(--offset));
    left: calc(-1*var(--offset));
    border-left: solid 1.5px var(--accent-color);
    border-top: solid 1.5px var(--accent-color);
}
.btn:hover.btn::after{
    /* background-color: yellow; */
    top: var(--offset);
    left: var(--offset);
    border-right: solid 1.5px var(--accent-color);
    border-bottom: solid 1.5px var(--accent-color);
}


/* 
.btn:hover{
    background-color: var(--accent-color);
    cursor: pointer;
    transform: scale(1.02);
} */

@media (max-width: 50em){
    
    .banner-container{
        flex-direction: column-reverse;
        padding:0 1.5rem;
        /* margin: 0; */
        margin-top: 4rem;
    }
    .banner-shape img{
        width: 100%;
        max-width: 20rem;
    }
    .banner-social-links .banner-ul{
        flex-direction: row;
        max-width:100% ;
        /* background-color: red; */
    }
    h4{
        font-size: min(12vw, 3.5rem);
    }
    h6{
        margin: .5rem 0;
    }   
}


/* <!-- ************************************************************
****************** ABOUT ME ******************
************************************************************ --> */

@keyframes fade-in{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

/* .fade-in{
    animation: fade-in ease 2s;
} */

.about-me-container{
    color: var(--primary-color);
    position: relative;
    text-align: center;
    width: 80%;
    margin-inline: auto;
}

.accent-font{
    color: var(--accent-color);
}

.about-me-title{
    /* opacity: 0; */
    color: var(--primary-color);
    transition: opacity 250ms ease-in;
}

.about-me-intro-content{
    opacity: 0;
    transition: opacity 250ms ease-in;
}
.about-me-intro-content strong{
    color: var(--accent-color);
}

.about-me-intro-content.appear{
    opacity: 1;
}

.about-me-container h6{
    text-align: justify;
    font-size: 0.9rem;
}
.about-me-container h5{
    font-family: 'Poppins',sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    text-align: justify;
}




.about-me-education{
    width: 100%;
    transition-duration: 0.5s;
    transition-property: display;
    transition-timing-function: ease;
    position: relative;
    margin-block: 2rem;
    display:none;
}




.about-me-work{
    width: 100%;
    transition-duration: 0.5s;
    transition-property: display;
    transition-timing-function: ease;
    position: relative;
    margin-block: 2rem;
    flex-direction: column;
    gap: 2rem;
    /* display: none; */
}


.left-timeline h6, .right-timeline h6{
    font-weight: 400;
    opacity: 0.7;
}
.left-timeline h6{
    text-align: right;
}
.right-timeline h6{
    text-align: left;
}

.animating-div{
    border: solid 1.5px var(--primary-color);
    background-color: var(--background-color);
    box-shadow: -5px 5px 0px 0px var(--accent-color);
    transition: ease-in-out;
    border-radius: 5px;
    border: solid 2px var(--primary-color);
}

.animating-div:hover{
    box-shadow: -10px 10px 0px 0px var(--accent-color);
    /* transform: translateY(-5px) scale(1.02); */
    
}

.left-timeline .animating-div{
    box-sizing: border-box;
    width: 100%;
    padding:2rem 3rem;
    margin-block: 2rem;
    transform: scale(0);
    transform-origin: right;

}.animating-div .hidden-div{
    display: none;
    margin-block-start: 1rem;
    font-family: 'Poppins',sans-serif;
    color: var(--primary-color);
    font-size: 0.8rem;
    opacity: 0.65;
    text-align: justify;
}

.animating-div .hidden-div.visible-div{
    display: block;
}

.animating-div .hidden-div-btn{
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    background-color: transparent;
    opacity: 0.6;
    margin-block-start: 1.5rem;
}
.left-timeline h3{
    margin: 0;
    margin-bottom: 1rem;
    text-align: right;
}
.right-timeline h3{
    margin: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.right-timeline .animating-div{
    box-sizing: border-box;
    width: 100%;
    padding:2rem 3rem;
    transform: scale(0);
    transform-origin: left;
    position: relative;
}


/* .right-timeline .animating-div::before{
    transform: scale(1);
    content: "";
    position: absolute;
    top: 50%;
    left: -8.75%;
    border-radius: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 4%;
    aspect-ratio: 1;
    background-color: red;
} */

/* .right-timeline .animating-div::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-50%) rotate(45deg);
    width: 3%;
    aspect-ratio: 1;
    background-color: var(--background-color);
    
} */

/* .left-timeline .animating-div::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(50%) rotate(45deg);
    width: 3%;
    aspect-ratio: 1;
    background-color: var(--background-color);
} */


.animating-div.appear{
    transform: scale(1);
    transition: transform 200ms ease-out, box-shadow 200ms ease-in-out;
}

.animating-div.appear:hover{
    transform: translateY(-5px);
}



@media (min-width:800px){
    /* Adding line connecting timeline dots */
    .about-me-education::after, .about-me-work::after{
        content: "";
        position: absolute;
        background-color: var(--primary-color);
        width: 1.5px;
        border-radius: 0.35rem;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 100%;
        z-index: -1;
    }

    /* Timeline Dots  */
    .right-timeline::before, .left-timeline::before{
        /* content: url(/images/star.svg); */
        content: "";
        width: 0.55rem;
        border-radius: 100%;
        position: absolute;
        color: var(--accent-color);
        background-color: var(--accent-color);
        aspect-ratio: 1;
        
    }
    .right-timeline::before{
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }
    .left-timeline::before{
        right: 50%;
        top: 50%;
        transform: translate(50%,-50%);
    }

    /* Timeline elements */
    .left-timeline .animating-div, .right-timeline .animating-div{
        width: 46%;
        margin-block: 0;
    }
    .left-timeline{
        position: relative;
        justify-content: flex-start;
    }
    .right-timeline{
        position: relative;
        justify-content: flex-end;
    }

}



/* .right-timeline::before{
    content: "";
    position: absolute;
    width: 2px;
    aspect-ratio: 1;
    background-color: var(--background-color);
    left:0;
    top: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(45deg);
} */

.about-me-intro{
    /* background-color: bisque;  */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.about-me-intro h4{
    flex: 1;
}
.about-me-intro h6{
    flex: 1;
}

.translate-left{
    /* transform: translateX(-200%); */
    display: none;
}
.translate-right{
    /* transform: translateX(200%); */
    display: block;
}
.dont-translate{
    /* transform: translateX(0%); */
    display: none;
}

h3{
    color: var(--primary-color);
}


/* about-me-toggle button  */

.about-me-toggle-div{
    gap: 1rem;
    align-items: center;
    /* background-color: red; */
}
.about-me-toggle-div .uil{
    margin-inline:0.5rem;
}
.about-me-toggle-label{
    position: relative;
    width: 4rem;
    aspect-ratio: 2;
    /* background-color: blue; */
    /* display: inline-block; */
}


#about-me-toggle{
    display: none;
}

#about-me-toggle:checked + .about-me-toggle-slider{
    justify-content: flex-end;
}

.under-line{
    text-decoration: underline;
}

.about-me-toggle-slider{
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background-color: var(--background-color); */
    border: solid 1.5px var(--primary-color);
    border-radius: 1.5rem;
    display:flex;
    justify-content: flex-start;
    align-items: center;
    /* box-shadow: 3px 3px 3px 0px rgba(0,0,0,0.75) inset; */
}
.about-me-toggle-slider-circle{
    aspect-ratio: 1;
    width: 1.5rem;
    margin-inline: 0.2rem;
    /* background-color: var(--secondary-color); */
    border-radius: 50%;
    border: solid 1.5px var(--primary-color);
    transition: 200ms background-color ease-in-out;
}

.about-me-toggle-slider:hover .about-me-toggle-slider-circle, 
.about-me-toggle-slider:focus .about-me-toggle-slider-circle
{
    background-color: var(--accent-color);
}
/* .about-me-toggle-slider::before{
    content: "";
    width: 1.2rem;
    aspect-ratio: 1;
    margin: 0.15rem;
    position: absolute;
    left: 0;
    top: 0;
    background-color: yellow;
    border-radius: 50%;
} */

/* <!-- ************************************************************
****************** LEETCODE DIV ******************
************************************************************ --> */



.leetcode-container{
   display: flex;
   align-items: center;
   justify-content: space-evenly;
   position: relative;
   overflow: hidden;
   flex-direction: column-reverse;
   width: 80%;
   margin: 0 auto;
}


.leetcode-container::after{
    position: absolute;
    z-index: -1;
    content: "";
    width: 300%;
    height: 100%;
    rotate: -20deg;
    top: -20%;
    right: -45%;
    background: linear-gradient(to left bottom,  hsl(265, 66%, 80%),  hsl(265, 66%, 45%));
    /* animation: rotating-bg 30s linear infinite; */
}

@media(min-width:800px){
    .leetcode-container{
        flex-direction: row;
    }

    .leetcode-container::after{
        rotate: 40deg;
        top: 0;
        right: -10%;
        width: 100%;
        height: 100%;
    }
}


@keyframes rotating-bg{
    0%{
        rotate: -40deg;
    }
    50%{
        rotate: 30deg;
    }
    100%{
        rotate: -40deg;
    }
}

.leetcode-container .img-div img{
    width: 300px;
    background-size: cover;
}

.leetcode-container .title-div h4{
    font-size: 1.5rem;
}

.leetcode-container .title-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.leetcode-stats h5{
    margin: 0;
    padding: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.leetcode-stats{
    display: flex;
    gap: 2rem;
    width: 100%;
    justify-content: space-evenly;

}

.leetcode-stats>div{
border: solid 1px black;
    display: flex;
    gap: 0;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}


/* <!-- ************************************************************
****************** SKILLS ******************
************************************************************ --> */

.skills-container{
    margin-inline: auto;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    display:flex;
    justify-content: space-between;
    position: relative;
    overflow-x: hidden;
    width: 80%;
    /* background-color: red; */
    /* border: solid 5px black; */
}
.skills-title{
    /* background-color: blue; */
    opacity: 0;
    transition: opacity 250ms ease-in;
}
.skills-title.appear{
    opacity: 1;
}

.skills-content{
    box-sizing: border-box;
    /* background-color: aqua; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

@media (max-width:480px){
    .skills-container{
        overflow-x: hidden;
    }
    .skills-content{
        grid-template-columns: repeat(2, 1fr);
    }
    .skills-info{
        display: none;
    }
}
.skills-card{
    --offset: 10px;
    border: solid 1.5px var(--primary-color);
    padding: 2rem;
    cursor: pointer;
    position: relative;
    /* transition: background-color 200ms ease-in-out; */
    transition: 200ms ease-in-out;
}
.skills-card:hover{
    transform: translateY(-5px) scale(1.02);
    box-shadow: -7px 7px 0px 0px hsl(265, 66%, 45%);
    /* border: solid 1.5px transparent;
    background-color: var(--accent-color); */
}



/* .skills-card:hover.skills-card::before{
    top: calc(-1 * var(--offset));
    left: calc(-1 * var(--offset));
    border-left : 1.5px solid var(--accent-color);
    border-top : 1.5px solid var(--accent-color);
} 
.skills-card:hover.skills-card::after{
    top: var(--offset);
    left: var(--offset);
    border-right : 1.5px solid var(--accent-color);
    border-bottom : 1.5px solid var(--accent-color);
}  */

.skills-card svg{
    height: 2.5rem;
    aspect-ratio: 1;
    fill:var(--primary-color);
    /* background-color: red; */
}

.skills-info{
    display:none;
}

@media (min-width:1000px){
    .skills-container{
        overflow-x: hidden;
        display: flex;
    }
    .skills-content{
        grid-template-columns: repeat(4, 1fr);
    }
    /* Showing the sliding skills info card only for larger screens */
    /* Appearing skills info on skill card hover */
    .skills-info{
        position: absolute;
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 40%;
        height: 100%;
        gap: 1rem;
        right: 0;
        top: 0;
        transform: translateX(101%);
        /* background-color: var(--secondary-color); */
        background: linear-gradient(to left top,  hsl(265, 66%, 80%),  hsl(265, 66%, 45%));
        pointer-events: none;
        filter: blur(100%);
        border: solid 1.5px var(--primary-color);
        transition: transform 200ms ease-in;
        font-family: 'Poppins',sans-serif;
    }
    .skills-info h4{
        font-weight: 200;
    }
        
    .skills-info h5{
        margin: 0;
        font-weight: 400;
        color: var(--primary-color);
    }
    .skills-info h5 ul{
        text-align: left;
    }
    
    .skills-info h5 span{
        /* opacity: 0.7; */
    }

    .skills-card-container:hover .skills-info{
        transform: translateX(1%);
    }
}


@media (max-width:50em){
    .skills-container{
        flex-direction: column-reverse;
    }

    .skills-content{
        width: 80%;
        
    }
}


/* <!-- ************************************************************
    ****************** PROJECTS ******************
    ************************************************************ --> */
.projects-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: blue; */
    width: 100%;
}

.projects-body-container{
    place-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr); 
    width: 80%;
    /* height: fit-content; */
    /* background-color: aquamarine; */
    margin-block: 4rem;
}

/* to change project layout to column for smaller screens */
@media (max-width:800px){
    .projects-body-container{
        grid-template-columns: repeat(1, 1fr); 
    }
}

.project-card{
   border: solid 2px var(--primary-color);
   /* height: 20rem; */
   max-width: 25rem;
   aspect-ratio: 16/9;
   border-radius: 10px;
   cursor: pointer;
   position: relative;
   overflow: hidden;
}
.project-card img{
    /* aspect-ratio: 16/9; */
    width: 100%;
    height: 100%;
    transition: filter 200ms ease-in-out;
    opacity: 1;
}

.project-card-div{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    z-index: 1;
    opacity: 0.8;
    transform: translateY(100%);
    transition: transform 200ms ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-card-div ul{
    padding: 0;
    margin: 0;
    /* padding-inline-start: 1.5rem; */
}


.project-card:hover .project-card-div{
    transform: translateY(0%);
}


.project-card:hover img{
    filter: blur(10px);
}


/* <!-- ************************************************************
****************** CONTACT ******************
************************************************************ --> */

@keyframes wave-animation{
    0%{
        background-position: 15%;
    }
    100%{
        background-position: 100%;  
    }
}

.contact-container{
    display: flex;
    flex-direction: column;
    margin-top: 8rem;
    /* padding-block: 1rem */
    /* background-color: rgb(148, 143, 143); */
}

.contact-div1{
    box-sizing: border-box;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    /* background-color: red; */
    justify-content: center;
    align-items: center;
}


.contact-div1 .banner-ul{
    /* background-color: blue; */
    display: flex;
    flex-direction: row;
    gap: 2rem;
    list-style: none;
    padding-inline: 0;
}
.contact-div1 .banner-ul .uil{
    font-size: 1.5rem;
    color: var(--primary-color);
}
.contact-div1 h6{
    color: var(--secondary-color);
    margin-block:1rem;
}


.contact-div1 .banner-ul .uil:hover,:focus{
    opacity: 0.65;
}
.banner-ul a svg{
    height: 1.5rem;
    aspect-ratio: 1;
    fill: var(--primary-color);
}
.banner-ul a svg:hover,:focus{
    opacity: 0.65;
}


.contact-div2{
    box-sizing: border-box;
    justify-content: center;
    align-items: ceter;
    font-family: 'Poppins',sans-serif;
    color: hsl(235, 70%, 90%);
    font-size: 0.8rem;
    background-color: var(--accent-color);
}
.contact-div2 ul{
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    text-align: center;
}
.contact-div2 ul li{  
    padding-block: 0.5rem;
}

@media (max-width:800px){
    .contact-container{
        position: relative;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .contact-div1 .flex{
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }

    .contact-div2 ul{
        display: flex;
        flex-direction: column;
    }

}






/* <!-- ************************************************************
******************  TYPING ANIMATION ******************
************************************************************ --> */

.typing-text{
    /* background-color: red; */
    font-size: 1.5rem;
    min-height: 2.3rem;
    position: relative;
}
.typing-text::after{
    content: "";
    position: absolute;
    margin-left: 0.2rem;
    width: 0.2rem;
    height:1.5rem;
    background-color: var(--primary-color);
    animation: blink 800ms infinite ease;
}

@keyframes blink{
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}


