:root {
    --light-grey: #ffffff80;
    --main-brand-clr: #0ACF83;
    --brand-highlight: #1c2d26e3;
}
html {
    font-size: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::after, *::before {
    box-sizing: inherit;
}

body {
    padding: 0;
    margin: 0;
    line-height: 1.2;
    font-family: 'Rokkitt', serif;
    font-size: 1.25rem;
    background-color: rgba(0, 0, 0, 0.938);
    color: rgb(199, 197, 197);
}

h1, h2, h3, p {
    margin: 0;
}
::selection {
    background-color: rgba(233, 218, 14, 0.671);
    color: #000000;
}

/* a, a:visited {
    text-decoration: none;
} */

.wrapper {
    width: calc(100% - 4rem);
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 6.5rem;
}
/*animate instesection observer*/
.target, .proper, .player, .touch {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 700ms ease-in-out;
    transition-delay: 0.23s;
}
section.animate {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.txt-underline {
    text-decoration-line: underline;
    text-decoration-color: var(--main-brand-clr);
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
    transition: all 200ms ease-in;
}
.txt-underline:hover {
    text-underline-offset: 4px;
}

.heading-lvl-2 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1.6rem;
    color: var(--light-grey);
}

.hero-section {
    display: grid;
    grid-template-columns: 2rem minmax(250px, 1400px) 2rem;
    grid-template-rows: auto auto auto;
    height: 100vh;
    background: linear-gradient(to bottom, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23a5a0ae' fill-opacity='0.02' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#main {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    text-align: center;
 }

.header {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 2rem 0;
}

.name {
    color: var(--main-brand-clr);
    /* margin-bottom: 0.2rem; */
}

.buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.buttons hr {
    border: none;
    width: 2px;
    height: 14px;
    background-color: var(--light-grey);
}

#logo {
    display: flex;
    flex-direction: column;
    font-family: 'Rokkitt', serif;
    text-decoration: none;
    color: var(--primary-clr);
    font-size: 1.15rem;
}

.toggle {
    background-color: var(--toggle-bg);
    border-radius: 50px;
    width: 28px;
    height: 28px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--dark-primary);
}

.mail-icon {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}
.mail-icon svg {
    width: 24px;
}

.link-arrow {
    width: 20px;
    display: block;
    color: var(--white);
}

.role-desc {
    font-size: clamp(1.25rem, 4vw, 2.25rem);
    line-height: 1.5;
    text-align: left;
    color: var(--text-clr);

    a {
        color: var(--light-grey)
    }
}
.stack {
    text-align: center;
}

.stack ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    max-width: 650px;
    margin-inline: auto;
}

.stack p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.5;
}

.box {
    display: inline-block;
    margin-right: 1rem;
    padding: .25rem;
    /* width: fit-content; */
    font-size: 1.25rem;
    line-height: 1.4;
    position: relative;
    margin-bottom: 0.5rem;
    border: 2px solid ;
    border-left-width: 5px;
}

.box-html {
    border-image-slice: 1;
    border-image-source:linear-gradient(to right, #e34f26, rgb(247, 163, 114));
}
.box-css {
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, #264de4, #2965f1);
}
.box-js {
    border-image-slice: 1;
    border-image-source:linear-gradient(to right, #f7df1e, #fff);
}
.box-git {
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, #f1502f, #3e2c00);
}
.box-github {
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, #000000, #0a0909);
}
.box-vue {
    border-color: #0ACF83;
}
.box-vite {
    border-color: #3800a1;
}
.box-gemini {
    border-color: #A259FF;
}

.about {
    text-align: center;
    margin-bottom: 6rem;
}

.about-me, .experience{
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 2rem;

    > h3 {
        color: var(--light-grey);
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }
}

.about-img-container {
    display: flex;
    justify-content: center;
    margin: 0;
    background-color: #00000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%230acf83' fill-opacity='1' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3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250px;
    position: relative;
    border: 2px solid  #0ACF83;
    border-top-style: none;
    border-bottom-style: none;
    filter: grayscale(100%);
    transform: scale(1);
    transition:  filter, transform 1000ms;
    cursor: cell;
}

.about-img:is(:hover, :focus) {
    transform: scale(0.95);
    filter: grayscale(0%);
    transition:  filter, transform 1000ms;

}

.about-me-right-chevron {
    width: 18px;
    transform: rotate(260deg);
}

.btn-flex {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    text-decoration: none;
    background-color: #0ACF83;
    margin-block: 2rem;
}

.btn-flex span {
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.experience {
    margin-bottom: 2rem;
}

#Skills {
    margin-bottom: 2rem;
}

.xp-group {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.xp-flex {
    display: flex;
    overflow: visible;
    justify-content: space-between;
    font-size: 1rem;
    border: 1px solid grey;
    padding: 1rem;
}

.project > h3 {
    text-align: center;
}

 .project-body {
    border:1px solid #22242e;
    padding: 2rem;
    .project-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;

        a {
            border:1px solid #22242e;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0.1rem;
            border-radius: 5px;
            transition: 300ms ease-in;
        }

        a:is(:hover, :focus) {
            background-color: var(--brand-highlight);
            border: 1px solid var(--brand-highlight);
            outline: none;
        }
    }
    & h4 {
        margin: 0;
    }
    > p {
        color: var(--light-grey);
    }
 }

 .project-desc-title {
    margin: 1rem;
 }

 .project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;

    > a {
        display: inline-block;
    }
 }

 .project-item {
    display: block;
    flex: 0 0 250px;
    border-radius: 15px;
 }

 .project-title {
    margin-bottom: 1.5rem;
 }
/*connect with me*/
.reach-out {
    margin-bottom: 2.5rem;
    /* font-size: var(--font-size-sm); */
}

.reach-out > div{
    background-color: var(--brand-highlight);
    padding: 1rem;
    text-align: center;
    border-radius: 15px;
    border: 1px solid var(--main-brand-clr);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23a5a0ae' fill-opacity='0.05' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    max-width: 600px;
    margin-inline: auto;
}

.reach-out h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.reach-out p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
 }

 .grid-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
 }

 /*footer styles*/

 footer {
    text-align: center;
    padding: 2rem;
 }
 .footer-bdy {
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
 }
 .other-links {
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    align-items: center;
    gap: 1rem;
 }
 .other-links a {
    max-width: fit-content;
    color: var(--light-grey);
 }

/*social-media icon*/
 .sm-icon {
    width: 24px;
    height: 24px;
    display: block;
}
.sm-icon svg {
    fill: none;
    stroke: var(--light-grey);
    transition: 200ms ease-in-out;
 }
 .sm-icon svg:is(:focus, :hover){
    stroke: var(--main-brand-clr);
 }

 /*scroll to top button-positon fixed*/
#scroll-to-top {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid var(--main-brand-clr);
    outline: none;
    bottom: 20px;
    right: 20px;
    background-color: var(--brand-highlight);
    cursor: pointer;
    z-index: 99;
}
.to-top-icon {
    transform: rotate(180deg);
    color: white;
}

.copyright {
    line-height: 1.5;
    color: var(--light-grey);
    font-size: 1rem;
}

.desktop-only {
    display: none;
}

@media (min-width: 48em) {
    .wrapper {
        width: calc(100% - 6rem);
        max-width: 1000px;
        margin-inline: auto;
        margin-bottom: 4.5rem;
    }

    .hero-section {
        grid-template-columns: 6rem minmax(250px, 1400px) 6rem;
    }

    .desktop-only {
        display: initial;
        color: #fcfdfd;
    }
    .other-links {
        flex-direction: row;
    }
    .other-links a:is(:active, :hover) {
        text-underline-offset: 4px;
    }

    /* .copyright {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        text-align: left;
    }
} */
}