@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

@font-face {
    font-family: lineicons;
    src: url(./fonts/LineIcons.woff2) format("woff2");
    font-weight: normal;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0;
    margin: 0;
}

::selection {
    color: white;
    background-color: #1C1C1C76;
}

html {
    min-width: 300px;
    /* filter: invert(1) hue-rotate(170deg); */
    scroll-behavior: smooth;
    /* background-color: #5B4642; */
    color-interpolation-filters: sRGB;
    cursor: none;
    max-width: 1900px;
    margin: 0 auto;
}

.effect-wrapper {
    /* filter: invert(1); */
}

img {
    filter: grayscale(1);
}

body {
    min-width: 300px;

    font-family: 'poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.08em;
    height: 100vh;
    max-width: 1900px;
    margin: 0 auto;
    /* background-color: red; */
    scroll-behavior: smooth;
    /* background-color: #1b060217; */
    cursor: none;
}

.cursor {
    z-index: 10000;
    width: 20px;
    pointer-events: none;
    height: 20px;
    border: 2px solid #1C1C1C;
    background-color: #1C1C1C;
    position: absolute;
    display: block;
    border-radius: 50%;
    transition: transform 0.5s;
    mix-blend-mode: hard-light;
}

/* Animated background and lines and drops------------------------------- */
.animated-background {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(250, 250, 250);
    z-index: -100;
    background-color: #3a1a1333;
    background-image: radial-gradient(#4621162f 1px, #ffffff 1px);
    background-size: 50px 50px;
}

.line {
    position: absolute;
    width: 1px;
    left: calc(var(--space) * 150px);
    height: 100%;
    background-color: rgba(51, 18, 18, 0.185);

}

.line::after {
    content: '';
    position: absolute;
    width: 200%;
    height: calc(var(--delay) * 50px);
    left: -0.5px;
    top: -40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.39), transparent);
    animation: drop 2s infinite forwards cubic-bezier(0, .11, .85, .45);
    animation-delay: calc(var(--delay) * 0.75s);
    -webkit-box-shadow: 0px 0px 105px 24px rgba(45, 255, 196, 0.9);
    -moz-box-shadow: 0px 0px 105px 24px rgba(45, 255, 196, 0.9);
    box-shadow: 0px 0px 105px 24px rgba(0, 0, 0, 0.123);


}

/* Drops Animation keyframes */
@keyframes drop {
    from {
        top: -80%;
    }

    to {
        top: 120%;
    }
}

a {
    text-decoration: none;
    color: black;
}

.site-title {
    position: fixed;
    text-transform: uppercase;
    width: 150px;
    height: 80px;
    /* background-color: red; */
    top: 20px;
    left: 30px !important;
    letter-spacing: 4px;
    font-weight: 200;
    z-index: 10;
}

.site-title span {
    font-weight: 300;
}

.site-title .part2 {
    position: absolute;
    left: 90px;
    top: 7px;
    font-size: 1.2em;
}

.site-title .part2 h1 {
    font-weight: 200;
}

.menu-wrapper {
    position: fixed;
    bottom: 50px;
    /* left: 1000px; */
    right: 30px;
    /* padding: 0.5em; */
    width: 120px;
    height: 120px;
    z-index: 100;
}

nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    text-transform: uppercase;
    text-align: right;
    font-weight: 500;
}

nav a:hover {
    text-decoration: line-through;
}

.intro {
    width: 100%;
    height: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

.cta {
    position: absolute;
    top: 100px;
    left: 60%;
    line-height: 16px;
    font-weight: 400;
    color: white;
    width: 100px;
    height: 100px;
    background-color: #1C1C1C;
    cursor: pointer;
    display: flex;
    place-content: center;
    place-items: center;
    font-size: 0.85em;
    flex-direction: column;
    border-radius: 50%;
    font-family: 'jetbrains mono', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transform: rotate(12deg);
    transition: .751s cubic-bezier(.26, .61, .1, 1.35);
    z-index: 10;
    animation: float 20s infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(10px, 30px) rotate(12deg);
    }

    50% {
        transform: translate(-40px, -30px) rotate(-18deg);

    }

    100% {
        transform: translate(20px, 100px) rotate(100deg);
    }
}

.cta:hover {
    margin: -10px;
    width: 120px;
    height: 120px;
}

.cta span:nth-child(1) {
    letter-spacing: -1px;
    word-spacing: -5px;
}

.intro h1 {
    /* width: 100%;
    height: 100%; */
    display: flex;
    flex-direction: column;
    line-height: 75px;
    font-size: 6em;
    letter-spacing: 8px;
    text-align: left;
}

.intro h1 span {
    position: relative;
    left: calc(var(--gap) * -80px);
}

.scroll-btn {
    margin-top: 100px;
    font-size: 2em;
    cursor: pointer;
    animation: scrollBtn 2s alternate infinite cubic-bezier(.1, .47, .05, .8);
}

.container {
    max-width: 1040px;
    width: 90%;
    /* background-color: red; */
    margin: 0 auto;
    /* padding: 20px; */
}

.about {
    display: flex;
    width: 75%;
    margin: 0 auto;
    height: 360px;
    /* background-color: red; */
    justify-content: space-between;
}

.about .wrapper {
    display: flex;
    /* background-color: green; */
    width: 100%;
    height: 220px;
    justify-content: space-around;
}

.wrapper2 {
    /* background-color: yellow; */
    position: relative;
    width: 300px;
    font-size: 1.2em;
    margin: 0 auto;
}

.wrapper2 p {
    font-size: 0.75em;
    line-height: 25px;
    word-spacing: 8px;
    color: #1C1C1C;
    font-weight: 600;
}

.wrapper h3 {
    font-size: 0.7em;
    /* background-color: aqua; */
}

.about .info {
    /* flex: 2; */
    width: 400px;
    /* background-color: aquamarine; */
}

.info h1 {
    font-size: 3em;
    text-transform: uppercase;
    position: relative;
    line-height: 40px;

}

.info h1 span {
    position: absolute;
}

.outer {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* background-color: blue; */
}

.about .img {
    position: relative;
    width: 400px;
    height: 400px;
}

.img img {
    width: 100%;
    height: 100%;
    padding: .5em;
    object-fit: cover;
    border-radius: 7px;
}

.main {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    font-size: .55em;
    line-height: 30px;
}

.and {
    left: 60px;
    font-weight: 600;
    letter-spacing: 20px;
}


.info h1 .prgmr {
    left: 60px;
    top: 40px;
}

.info .prgmr span {
    letter-spacing: 12px;
}

/* skills panel starts here------------------------------------------------------ */
.skills-container {
    width: 100%;
    position: relative;
    top: 100px;
    height: 400px;
    /* background-color: rebeccapurple; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* max-width: 600px; */
    /* margin: 0 auto; */
    flex-wrap: wrap;
}

.skills-container * {
    flex: 1;
}

.skills-container .outer-wrapper {
    width: 100%;
    height: 100%;
    /* background-color: red; */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: column;
}

.skills-container .outer-wrapper .texts {
    margin: 20px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85em;
}

.skills-container .title-wrapper {
    position: relative;
    /* background-color: red; */
    width: 100%;
    height: 100%;
}

.skills-container .title-wrapper {
    /* font-size: clamp(16px, 5vw, 2.5em); */
    font-size: 2.0em;
}

.skills-container .title-wrapper h1 {
    position: relative;
    top: 50px;
    margin-left: 20px;
    /* background-color: red; */
    font-weight: 900;
    /* top: 50%; */
    /* transform: translateY(-50%); */
}

.skills-container .title-wrapper h1>div {
    position: absolute;
}

.skills-container .title-wrapper h1>div:nth-child(2) {
    top: 5px;
    left: 5px;
}

.skills-container .title-wrapper h1>div:nth-child(1) span {
    background-clip: text;
    background: url('https://media1.giphy.com/media/koyjGfQHIZQKk/giphy.gif?cid=ecf05e47krcjx07zcyb93561pihkrojd2kivb8wnbn7o05h1&rid=giphy.gif');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.skills-container .title-wrapper h1>div:nth-child(2) span {
    animation: bounce 1s infinite alternate;
    display: inline-block;
    animation-delay: calc(var(--delay) * 0.45s);
}

@keyframes bounce {
    0% {
        transform: scaleX(1) scaleY(1);
    }

    40% {
        transform: scaleX(1.1) scaleY(0.8);
    }

    60% {
        transform: scaleX(0.8) scaleY(1.4);
    }

    80% {
        transform: scaleX(1.2) scaleY(0.8);
    }

    90% {
        transform: scaleX(0.9) scaleY(1.2);
    }

    100% {
        transform: scaleX(1) scaleY(1);
    }
}

.skills-container .effect-wrapper {
    flex: 2;
    height: 100%;
    /* background-color: rgb(250, 250, 250); */
    display: flex;
    justify-content: center;
    align-items: center;
}

.skills-container .effect-wrapper .sphere {
    position: relative;
    width: 100%;
    height: 80%;
    /* background-color: red; */
    perspective: 1000px;
    /* overflow: hidden; */

}

.skills-container .effect-wrapper .sphere span.skill-title {
    font-size: 1.3em;
    position: absolute;
    animation: move 2s infinite alternate;
    transform-style: preserve-3d;
    transition: 0.25s;
    color: black;
    background-color: #25282c;
    color: aliceblue;
    padding: 0.2em;
    border-radius: 3px;
    animation: move 25s infinite alternate;
    animation-duration: calc(var(--delay) * 1s);
}

@keyframes move {
    0% {
        transform: translateX(-10px) translateY(20px) translateZ(-10px) scale(1);
        box-shadow: 0 40px 25px -30px black;
    }

    100% {
        transform: translateX(10px) translateY(-15px) translateZ(5px) scale(0.5);
        box-shadow: 0 0 10px 10px #00000056;

    }
}


@keyframes scrollBtn {
    from {
        transform: translateY(-20px);
    }

    to {
        transform: translateY(20px);
    }
}


@media screen and (max-width: 930px) {
    .intro h1 {
        /* background-color: red; */
        position: relative;
        left: 10%;
    }

    .about {
        flex-direction: column;
        margin: 0 auto;
    }

    .img {
        order: 1;
        display: flex;
        /* background-color: #1C1C1C; */
        margin: 0 auto;
        place-content: center;
    }

    .img img {
        width: 280px;
    }

    .outer {
        order: 2;
    }

    .skills-container {
        top: 400px;
    }

    .skills-container .effect-wrapper,
    .sphere {
        display: none;
    }

    .skills-container .outer-wrapper {
        max-width: 600px;
    }

    .skills-container .outer-wrapper .title-wrapper {
        font-size: 3.5em;
    }


}


@media screen and (max-width: 840px) {
    body>section>a.scroll-btn {
        position: relative;
        top: 200px;
    }

    .intro h1 {
        font-size: 4em;
        line-height: 60px;
        position: absolute;
        transform: translateX(-30px);
    }

    .intro h1 span {
        left: calc(var(--gap) * -00px);
    }
}

@media screen and (max-width: 660px) {
    .menu-wrapper {
        display: none;
    }

    .skills-container .outer-wrapper .title-wrapper {
        font-size: 3.0em;
    }

}

@media screen and (max-width: 660px) {
    .skills-container .outer-wrapper .title-wrapper {
        font-size: 2.5em;
    }
}

@media screen and (max-width: 480px) {
    body {
        cursor: default;
    }

    .cursor {
        display: none;
    }

    .line {
        left: calc(var(--space) * 50px);
    }

    .site-title {
        position: sticky;
        background-color: #1C1C1C;
        z-index: 10;
        color: white;
        width: 160px;
        height: 80px;
        display: flex;
        place-content: center;
        place-items: center;
    }

    .site-title h4 {
        position: relative;
        left: 10px;
    }

    .cta {
        position: absolute;
        animation: none;
        top: 100px;
    }

    .info {
        position: relative;
        top: 40px;
        height: 180px;
        /* background-color: red; */
    }

    .intro h1 {
        font-size: 3.0em;
        line-height: 40px;
        left: 70px;
    }

    .intro h1 span {
        left: calc(var(--gap) * -00px);
    }

    .intro h1 .dev {
        font-size: 1.2em;
    }

    .img {
        position: relative;
        left: -30px;
        max-width: 300px;
    }

    .wrapper2 {
        width: 250px;
        margin-top: 50px;
    }

    .wrapper2 p {
        font-size: 0.8em;
    }

    .skills-container {
        top: 500px;
    }

    .skills-container .outer-wrapper .title-wrapper {
        font-size: 2.0em;
    }

}

@media screen and (max-width: 360px) {
    body>section>a.scroll-btn {
        position: relative;
        top: 100px;
    }

    .intro h1 {
        font-size: 2.5em;
        left: 40px;
    }


    .skills-container {
        /* background-color: red; */
        height: 430px;
    }

    .skills-container .outer-wrapper .title-wrapper {
        justify-content: baseline;
        align-items: baseline;
    }

    .skills-container .outer-wrapper .title-wrapper {
        font-size: 1.7em;
    }

}