html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    font-family: 'Helvetica Neue', sans-serif;
    background: rgb(250, 250, 250);
    cursor: none;
    max-width: 100vw;
}

* {
    scrollbar-width: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

*::-webkit-scrollbar {
    display: none;
}


h1 {
    padding: 0;
    margin: 0;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;

    background: linear-gradient(to right, #ff9068, #fd746c);
    display: flex;
    align-items: center;
    text-align: center;
    opacity: 1;
    animation: fadedisappear 1.5s forwards;
    animation-delay: 1.5s;
}

.loader .background {
    display: block;
    font-size: 50px;
    width: 120px;
    margin: 0 auto;
    line-height: 120px;
    text-align: center;
    color: #fd746c;
    background: #fff;
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    animation: rotatefadeaway 2s forwards;
}

@keyframes fadedisappear {
    0% {
        opacity: 100%;
    }

    50% {
        opacity: 0%;
    }

    100% {
        opacity: 0%;
        display: none;
        visibility: hidden;
    }
}

@keyframes rotatefadeaway {
    0% {
        transform: rotate(0deg) scale(0.5);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }

    99% {
        transform: rotate(360deg) scale(0);
    }

    100% {
        transform: rotate(360deg) scale(0);
        display: none;
        visibility: hidden;
    }
}

.warning {
    display: none;
}

#cursor {
    display: none;
}

#cursor::before {
    content: "";
    position: fixed;
    top: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    background-color: rgb(108, 122, 137);
    border-radius: 50%;
    pointer-events: none;
    z-index: 998;
    transform: translate(var(--cursorpx));
}

#cursor::after {
    content: "";
    position: fixed;
    top: calc(30px / -2);
    left: calc(30px / -2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgb(189, 195, 199);
    pointer-events: none;
    transition: all 0.5s ease-out;
    z-index: 998;
    transform: translate(var(--cursorpx));
}

.linktree {
    font-family: Arial, Helvetica, sans-serif;
    background: rgba(255, 255, 255, 0.98);
    display: none;
    position: fixed;
    bottom: 2vh;
    bottom: 2dvh;
    left: 5vw;
    height: 60vh;
    height: 60dvh;
    width: 90vw;
    border-radius: 5px;
    z-index: 99;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease-in-out;
}

.linktree button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: none;
    outline: none;
    font-size: 20px;
}

.linktree svg {
    width: 10vw;
    padding: 2vw;
    position: absolute;
    top: -7vw;
    left: calc(50% - 7vw);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 10px;
}

.linktree p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    display: block;
    font-size: 1.5rem;
}

.linktree .links {
    margin-top: 100px;
    height: calc(100% - 100px);
    overflow-y: scroll;
}

.linktree .links a {
    display: block;
    font-size: 1rem;
    padding: 20px 0;
    width: 80%;
    text-align: center;
    text-decoration: none;
    color: #000;
    margin: 10px auto;
    border-radius: 3px;
    white-space: nowrap;
    border: solid rgba(13, 202, 240, 1);
    border-width: .5px .5px .5px 3px;
}


/* First Section */

.self-intro {
    position: relative;
    height: 110vh;
    height: 110dvh;
    width: 100%;
    color: #fff;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    mask:
        linear-gradient(red 0 0) top/100% calc(100% - 40px) no-repeat,
        radial-gradient(circle 20px at 75% 100%, #0000 98%, red) 50% calc(100% - 20px)/80px 20px repeat-x,
        radial-gradient(circle closest-side at 25% 50%, red 99%, #0000 101%) bottom/80px 40px repeat-x;
    -webkit-mask:
        linear-gradient(red 0 0) top/100% calc(100% - 40px) no-repeat,
        radial-gradient(circle 20px at 75% 100%, #0000 98%, red) 50% calc(100% - 20px)/80px 20px repeat-x,
        radial-gradient(circle closest-side at 25% 50%, red 99%, #0000 101%) bottom/80px 40px repeat-x;
}

.self-intro .socialmedias {
    position: absolute;
    top: 5vh;
    top: 5dvh;
    right: 5vw;
    display: block;
    width: 2.5em;
}

.self-intro .socialmedias svg {
    width: 2em;
    transition: transform 0.3s ease-in-out;
}

.self-intro .socialmedias svg:hover {
    transform: scale(1.5);
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 1000px) {
    .self-intro .socialmedias {
        right: unset;
        top: 10vh;
        top: 10dvh;
        display: block;
        width: 100vw;
        text-align: center;
    }

    .self-intro .socialmedias svg {
        width: 1.5em;
    }
}

.self-intro .socialmedias svg {
    padding: 20px;
    color: #fff;
}

.greetings {
    padding-top: 40vh;
    padding-top: 40dvh;
    margin-left: 20%;
}

.greetings a {
    display: inline-block;
    animation: wavehand 1s infinite;
    margin: 0 5px 0 2px;
}

.self-intro h1 {
    scroll-snap-align: center;
    -webkit-scroll-snap-align: center;
    scroll-snap-stop: always;
    -webkit-scroll-snap-stop: always;
    display: block;
    font-size: 2rem;
    margin-left: 20%;
    z-index: 1;
    text-align: left;
    transition: all 0.5s ease-in-out;
}

.self-intro h1::after {
    content: "";
    width: 3px;
    height: 2rem;
    margin-left: 2px;
    background: #fff;
    display: inline-block;
    animation: 1s blink step-end infinite;
}

.self-intro h1:hover {
    font-size: 3rem;
    transition: all 0.5s ease-in-out;
}

.personaldesc {
    font-size: 1rem;
    margin-left: 20%;
    text-transform: Uppercase;
    background: linear-gradient(90deg, #90EE90, #fff, #fff);
    background-repeat: no-repeat;
    background-size: 80%;
    animation: shinetxt 10s infinite;
    animation-delay: 1.5s;
    background-position: -500%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
}


.hinttext {
    position: absolute;
    bottom: 20vh;
    bottom: 20dvh;
    right: calc(50% - 4.5px);
    text-align: center;
    animation: 2s blink infinite;
    transition: all 1s ease-in-out;
    z-index: 51;
}

.hinttext div {
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    z-index: 51;
}


@keyframes wavehand {

    0%,
    100% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(25deg);
    }
}

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

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes shinetxt {
    0% {
        background-position: -500%;
    }

    10% {
        background-position: -50%;
    }

    30%,
    60% {
        background-position: -25%;
    }

    85% {
        background-position: 0%;
    }

    100% {
        background-position: 500%;
    }
}


/* Nav Bar */

nav {
    position: sticky;
    top: 0;
    display: block;
    font-weight: bolder;
    color: rgb(33, 37, 41);
    background-color: rgb(250, 250, 250);
    margin-top: 25vh;
    margin-top: 25dvh;
    z-index: 9;

}

nav div {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}

nav h1 {
    margin-left: 5vw;

    padding: 20px 30px;
    border: solid #47bcd4 5px;
    border-width: 0 0 0 5px;
    transition: all 0.5s ease-in-out;
}



.Education {
    width: 100vw;
    color: #fff;
}

.Education span {
    display: block;
    padding: 100vh 30px 5vh 30px;
    padding: 100dvh 30px 5dvh 30px;
    border: solid #47bcd4 5px;
    border-width: 0 0 0 5px;
    z-index: -1;
    margin: 0 5vw;
    transition: all 0.5s ease-in-out;
}

.Education span:first-child {
    margin-top: -100vh;
    margin-top: -100dvh;
}

.card {
    scroll-snap-align: center;
    -webkit-scroll-snap-align: center;
    scroll-snap-stop: always;
    -webkit-scroll-snap-stop: always;
    position: relative;
    padding: 30px 5vw;
    margin: 0 5vw;
    transition: all 0.5s ease-in-out;
}

.card::before {
    content: "";
    position: absolute;
    width: 50%;
    border: solid #47bcd4;

    right: 0;
    top: 0;
    bottom: 0;
    border-width: 5px 5px 5px 0;
    border-radius: 0 50px 50px 0;
}

.card:nth-child(even)::before {
    right: unset;
    left: 0px;
    top: -5px;
    bottom: -5px;
    border-width: 5px 0 5px 5px;
    border-radius: 50px 0 0 50px;
}

.card:nth-child(2)::before {
    border-top: 0;
    border-top-left-radius: 0;
}



.card h3::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 999px;
    border: 3px solid #cd5b9f;
    transition: all 0.5s ease-in-out;
}

.card:nth-child(odd)>.card-content>h3 {
    text-align: right;
}

.card:nth-child(odd)>.card-content>h3::before {
    right: calc(-15px - 5vw);
}

.card:nth-child(even)>.card-content>h3::before {
    left: calc(-15px - 5vw);
}

.Education span:last-child {
    padding: 0 0 10vh 0;
    padding: 0 0 10dvh 0;
    margin: 0 0 0 50vw;
    border-width: 5px 0 0 0;
}

.Education span:nth-child(even) {
    margin: -5px 50vw 0 0;
}


.card-content {
    display: flex;
    flex-direction: column;
    color: #000;
    font-size: 13px;
    border-radius: 5px;

    margin: 25px 30vw 25px 0;
    padding: 15px 10px;
    box-shadow: 0px 30px 40px -20px hsl(229, 6%, 66%);
    border: solid;
    border-width: 3px 0 0 0;
    transform: translateX(-30vw);
    transition: all 0.5s ease-in-out;
}

.card:nth-child(even) .card-content {
    transform: translateX(30vw);
}

.card .card-content p {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}


.card .card-content[enterscreen] {
    margin: 25px 0;
    transform: translateX(0);
}

.card .card-content[enterscreen] p,
.card .card-content[enterscreen] h3 {
    animation: showalltxt .5s forwards;
}

@keyframes showalltxt {

    0%,
    90% {
        white-space: nowrap;
    }

    100% {
        white-space: unset;
    }
}

.card:hover .card-content {
    background-color: rgb(236, 236, 236);
}

.card:nth-child(2) .card-content {
    border-color: hsl(0, 78%, 62%);
}

.card:nth-child(3) .card-content {
    border-color: hsl(180, 62%, 55%);
}

.card:nth-child(4) .card-content {
    border-color: hsl(34, 97%, 64%);
}

.card:nth-child(5) .card-content {
    border-color: hsl(212, 86%, 64%);
}

.Education h3 {
    color: hsl(234, 12%, 34%);
    position: relative;
}

.Education h4 {
    background: #5e76bf;
    border-radius: 5px;
    font-size: 12px;
    margin: 0;
    color: #fff;
    padding: 5px 10px;
    text-transform: uppercase;
}

.Education .tag {
    display: inline-block;
    background: #2196f3;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    margin: 1px 0;
    min-width: 18px;
    width: fit-content;
    padding: 0 3px;
}


/*Skills*/

.Skills {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    scroll-snap-stop: always;
    -webkit-scroll-snap-stop: always;
    padding: 25vh 0 80vh 0;
    padding: 25dvh 0 80dvh 0;
}

.skilllists {
    position: sticky;
    top: 20vh;
    top: 20dvh;
    z-index: 7;
}

.skilllists .container {
    width: 100%;
    overflow: hidden;
}

.skilllists .flexbox {
    display: flex;
}

.skilllists p {
    display: block;
    color: #fff;
    width: 300px;
    padding: 3px;
    margin: 0 20px;
    line-height: 150px;
    text-align: center;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: all 0.5s ease-in-out;
}

.skilllists span:nth-child(1) p,
.skilllists span:nth-child(4) p,
.skilllists span:nth-child(7) p,
.skilllists span:nth-child(10) p {
    background: #2196f3;
}

.skilllists span:nth-child(2) p,
.skilllists span:nth-child(5) p,
.skilllists span:nth-child(8) p,
.skilllists span:nth-child(11) p {
    background: #5e76bf;
}

.skilllists span:nth-child(3) p,
.skilllists span:nth-child(6) p,
.skilllists span:nth-child(9) p,
.skilllists span:nth-child(12) p {
    background: hsl(180, 62%, 55%);
}

.skilllists span:hover p {
    background: none;
    color: #4831d4;
    margin: 0px 19px;
    border: 1px solid #4831d4;
}

.descme {
    display: block;
    padding: 0 20vw 5vh 20vw;
    padding: 0 20vw 5dvh 20vw;
}

.descme div {
    scroll-snap-align: start;
    -webkit-scroll-snap-align: start;
    scroll-snap-stop: always;
    -webkit-scroll-snap-stop: always;
    padding-top: 65vh;
    padding-top: 65dvh;
    margin-bottom: 25vh;
    margin-bottom: 25dvh;
}

.descme div h3 {
    color: #4831d4;
}

.descme div p {
    color: #3d155f;
}

.mask {
    position: sticky;
    width: 100%;
    height: 60vh;
    height: 60dvh;
    top: 0;
    margin-top: -40vh;
    margin-top: -40dvh;
    display: block;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(250, 250, 250, 2));
    filter: blur(10px);
}





.Contact {
    display: flex;
    align-items: center;
    height: 100vh;
    height: 100dvh;
    height: -webkit-fill-available;
    width: 100%;
    color: #fff;
    background: linear-gradient(315deg, #000000 0%, #414141 74%);
}

.Contact a {
    color: #fff;
    text-decoration: none;
}

.Contact .container {
    display: block;
    width: 100%;
}

.Contact h1 {
    scroll-snap-align: start;
    -webkit-scroll-snap-align: start;
    scroll-snap-stop: always;
    -webkit-scroll-snap-stop: always;


    text-align: center;
    width: 100%;
    padding-bottom: 15vw;
    font-size: 2rem;
    animation: bounce 2s ease infinite 2s;
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.2) translateY(5px);
    }
}

.Contact div {
    text-align: center;
    width: 100%;
}

.Contact svg {
    text-align: center;
    width: 2rem;
    margin: 0 2rem;
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}

.Contact svg:hover {
    transform: scale(2);
    transition: all 0.3s ease-in-out;
}

.Contact a:nth-child(1) {
    color: hsl(34, 97%, 64%);
}

.Contact a:nth-child(2) {
    color: hsl(212, 86%, 64%);
}

.Contact a:nth-child(3) {
    color: hsl(180, 62%, 55%);
}

.Contact a:nth-child(4) {
    color: hsl(0, 78%, 62%);
}

@media (max-height: 510px),
(max-width: 300px) {
    .warning {
        position: fixed;
        top: -10vh;
        top: -10dvh;
        left: -10vw;
        bottom: -10vh;
        bottom: -10dvh;
        right: -10vw;
        z-index: 9999;

        background: linear-gradient(326deg, #bd4f6c 0%, #d7816a 74%);
        display: flex;
        align-items: center;
        text-align: center;
        opacity: 1;
        transition: all 0.5s ease-in-out;
    }

    .warning div {
        display: block;
        font-size: 1rem;
        line-height: 1.5em;
        width: 80%;
        margin: 0 auto;
        padding: 5vh 0;
        padding: 5dvh 0;
        text-align: center;
        color: #bd4f6c;
        background: #fff;
        ;
        transition: all 0.75s ease-in-out;
    }

    .warning button {
        display: block;
        margin: 10px auto 0 auto;
        padding: 5px;
        border: 1px solid #bd4f6c;
        background: none;
        text-align: center;
        text-transform: uppercase;
    }
}