* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'VT323';
    font-style: normal;
    font-weight: 400;
    src: url('assets/vt323.woff2') format('woff2'),
        url('assets/vt323.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Press Start 2P';
    font-style: normal;
    font-weight: 400;
    src: url('assets/press-start-2p.woff2') format('woff2'),
        url('assets/press-start-2p.woff') format('woff');
}

:root {
    scrollbar-width: none;
}

::-webkit-scrollbar {
    width: 2px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: #c1c1c1;
}

::selection {
    background: transparent;
    color: #fff;
    text-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.35);
}

h1 {
    white-space: nowrap;
}

.bodyWrapper {
    overflow-x: hidden;
}

#background {
    overflow: hidden;
    width: 100vw;
    height: 100svh;
    z-index: 2;
    position: relative;
    background-color: #151515;
    overflow-anchor: none;
}

.texture {
    pointer-events: none;
    position: fixed;
    animation: texture 16s steps(10) infinite;
    background-image: url("images/texture.webp");
    content: "";
    height: 300%;
    left: -50%;
    opacity: 0.25;
    top: -100%;
    width: 300%;
    z-index: -2;
}

@keyframes texture {

    0%,
    100% {
        transform: translate(0, 0)
    }

    10% {
        transform: translate(-5%, -10%)
    }

    20% {
        transform: translate(-15%, 5%)
    }

    30% {
        transform: translate(7%, -25%)
    }

    40% {
        transform: translate(-5%, 25%)
    }

    50% {
        transform: translate(-15%, 10%)
    }

    60% {
        transform: translate(15%, 0%)
    }

    70% {
        transform: translate(0%, 15%)
    }

    80% {
        transform: translate(3%, 35%)
    }

    90% {
        transform: translate(-10%, 10%)
    }
}

.blobBox {
    filter: blur(7rem) saturate(160%) contrast(60%);
    opacity: 0;
}

.showAnimated6 {
    transition-duration: 2s;
    opacity: 1;
    transition-delay: 4s;
}

.blob {
    z-index: -1;
    position: absolute;
    width: 30em;
    height: 30em;
    border-radius: 50%;
    opacity: 0.7;
    mix-blend-mode: color;
}

.blob1 {
    background-color: rgb(100, 92, 187);
    left: 0em;
    top: 0em;
    box-shadow: rgba(100, 92, 187, 1) 0px 0px 20rem;
    animation: move 6s ease-in-out infinite;
}

.blob2 {
    background-color: rgb(160, 132, 220);
    left: 74em;
    top: 32em;
    box-shadow: rgba(160, 132, 220, 1) 0px 0px 20rem;
    animation: move2 5s ease-in-out infinite;
    animation-delay: 5s;
}

.blob3 {
    background-color: rgb(30, 86, 255);
    left: 80em;
    top: 20em;
    box-shadow: rgb(37, 91, 255) 0px 0px 20rem;
    animation: move 8s ease-in-out infinite;
}

@keyframes move {
    0% {
        transform: scale(1) translate(10px, -30px);
    }

    38% {
        transform: scale(0.8, 1) translate(8vw, 3vh) rotate(160deg);
    }

    40% {
        transform: scale(0.8, 1) translate(8vw, 3vh) rotate(160deg);
    }

    78% {
        transform: scale(1.3) translate(0vw, 5vh) rotate(-20deg);
    }

    80% {
        transform: scale(1.3) translate(0vw, 5vh) rotate(-20deg);
    }

    100% {
        transform: scale(1) translate(10px, -30px);
    }
}

@keyframes move2 {
    0% {
        transform: scale(1) translate(8em, -10em);
    }

    38% {
        transform: scale(0.5, 1) translate(10vw, 7vh) rotate(180deg);
    }

    40% {
        transform: scale(0.8, 1) translate(8vw, 3vh) rotate(10deg);
    }

    78% {
        transform: scale(1.7) translate(0vw, 5vh) rotate(-10deg);
    }

    80% {
        transform: scale(1.2) translate(0vw, 5vh) rotate(-40deg);
    }

    100% {
        transform: scale(1) translate(2em, -4em);
    }
}

.intro {
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #101010;
}

.introHeader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: aliceblue;
    font-family: "VT323";
}

.introLogo {
    position: relative;
    display: inline-block;
    bottom: -1.25em;
    opacity: 0;
    font-size: 3.2rem;
}

.introLogo.active {
    bottom: 0;
    opacity: 1;
    transition: ease-in-out 0.5s;
}

.introLogo.fade {
    bottom: 9.5em;
    opacity: 0;
    transition: ease-in-out 0.5s;
}

.skipButton {
    position: absolute;
    bottom: 1em;
    right: 1em;
}

#skipButton {
    opacity: 0.5;
    filter: blur(0);
    background-color: transparent;
    border: #595959;
    font-family: "VT323";
    font-style: oblique;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: rgba(99, 99, 99, 0.1);
    border: none;
    padding: 5px 10px;
    transition: all 0.5s ease-in-out;
}

#skipButton:hover {
    color: #FFFFFF;
    transition: 0.25s !important;
    text-shadow: 0 0 0.25rem rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
    transition: 0.5s;
}

#bloom {
    text-shadow: 0 0 3rem rgba(255, 255, 255, 0.6);
}

#logo {
    top: 0.5em;
    width: 3.75em;
    height: auto;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

#musicButton {
    right: 2em;
    top: -4em;
    color: rgba(211, 211, 211, 0.7);
    background: rgba(99, 99, 99, 0.1);
    padding: 1em;
    border: 0;
    float: right;
    cursor: pointer;
    font-family: "Press Start 2P";
    font-size: 0.7em;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

#musicButton:hover {
    color: #FFFFFF;
    transition: 0.25s !important;
    text-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.5) !important;
    background: rgba(100, 100, 100, 0.15);
}

#musicText {
    color: grey;
    z-index: 1;
}

#firstText {
    z-index: 1;
    color: aliceblue;
    font-size: 3.75em;
    position: absolute;
    top: 37vh;
    font-family: "VT323";
    font-weight: bold;
    text-shadow: 0.1rem 0.1rem 0.25rem rgb(20, 20, 20);
    transition: 0.5s;
}

#firstTextAlt {
    opacity: 0;
}

#firstText.hovered {
    animation: hover 4s ease-in-out infinite;
    animation-delay: 0.5s;
    transition: 0.5s;
}

@keyframes hover {
    0% {
        transform: translateY(0rem);
    }

    25% {
        transform: translateY(0.4rem);
    }

    50% {
        transform: translateY(-0.4rem);
    }

    75% {
        transform: translateY(0.4rem);
    }

    100% {
        transform: translateY(0rem);
    }
}

#scrollButton {
    position: relative;
    background-color: transparent;
    border: #595959;
    font-family: "VT323";
    font-style: oblique;
    font-size: 0.5em;
    cursor: pointer;
    color: rgba(211, 211, 211, 0.7);
    background: rgba(99, 99, 99, 0.1);
    border: none;
    padding: 5px 10px;
    transition: all 0.5s ease-in-out;
}

#scrollButton:hover {
    color: #FFFFFF;
    transition: 0.25s !important;
    text-shadow: 0 0 0.25em rgba(255, 255, 255, 0.5);
    background: rgba(100, 100, 100, 0.15);
}

.centre {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

.aboutMe {
    padding-top: 15rem;
    padding-bottom: 17rem;
    min-width: 40rem;
    max-width: 76rem;
    color: #C1C1C1;
    font-family: "VT323";
    font-size: 1.56em;
}

@media screen and (min-width: 1300px) {
    .gridDivision1 {
        display: grid;
        grid-template-columns: minmax(40rem, 58rem) 1fr;
        gap: 8rem;
        row-gap: 3rem;
    }
}

@media screen and (max-width: 1300px) {
    .centre2 {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #stickman {
        top: 2em;
    }
}

.aboutMe h1 {
    color: aliceblue;
    font-family: "VT323";
    font-weight: bold;
    font-size: 4em;
    position: relative;
    text-shadow: 0 0 1rem rgba(255, 255, 255, 0.35);
    animation: hover 4s ease-in-out infinite;
    transition: 0.5s;
    padding-bottom: 2.5rem;
}

#aboutMeText {
    min-width: 40rem;
    max-width: 58rem;
    text-align: justify;
}

#stickman {
    position: relative;
    height: 22rem;
    width: auto;
    min-height: 20rem;
    max-height: 60rem;
    bottom: 4em;
}

.socials {
    width: 60rem;
    position: relative;
    text-align: center;
    padding-bottom: 3em;
}

.socials.animated {
    transform: translateX(-20%);
}

.socials.showAnimated {
    transform: translateX(0%);
}

#socialsHeader.animated {
    left: -10%;
}

#socialsHeader.showAnimated {
    left: 0%;
}

.socials h1 {
    color: aliceblue;
    font-family: "VT323";
    font-weight: bold;
    font-size: 3.75rem;
    position: relative;
    text-shadow: 0 0 1rem rgba(255, 255, 255, 0.35);
    text-align: center;
    animation: hover 4s ease-in-out infinite;
    transition: 0.5s;
}

.socials a {
    color: transparent;
}

.linkFix {
    display: inline-block;
    width: 0%;
    height: 0%;
}

.socials img:hover {
    transform: scale(1.3);
}

#image1 {
    width: 4.5em;
    height: auto;
    top: 0.8em;
    left: -18em;
    position: relative;
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transition: 0.5s;
}

#image2 {
    width: 4.5em;
    height: auto;
    top: 0.8em;
    left: -9em;
    position: relative;
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transition: 0.5s;
}

.image3Container {
    top: 0.8em;
    display: inline-block;
    max-height: 4.5em;
    max-width: 15em;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: 0.5s !important;
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.45);
}

#discordId {
    font-family: "VT323";
    left: 1em;
    max-height: 4.5em;
    transition: 0.5s;
    bottom: 0.75em;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: 0.5s;
    font-size: 2em;
    font-weight: bold;
}

#copy {
    z-index: 2;
    background: url("/images/copy.svg");
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    width: 2em;
    height: 0em;
    bottom: 2em;
    opacity: 0;
    transition: 0.5s;
    cursor: pointer;
    position: absolute;
    right: 5.5em;
}

#copy:hover {
    transform: scale(1.3);
}

#copyTooltip {
    pointer-events: none;
    font-family: "VT323";
    font-size: 1.5em;
    position: absolute;
    color: #C1C1C1;
    background-color: #252525;
    text-shadow: 0 0 0.25rem rgba(255, 255, 255, 0.5);
    z-index: 2;
    transition: 0.5s;
    bottom: 1em;
    left: 5em;
    opacity: 0;
    padding: 0.3em;
    padding-top: 0.1em;
    padding-bottom: 0.2em;
    border-radius: 10%;
}

#image3 {
    max-height: 4.5em;
    width: 4.5em;
    height: auto;
    text-align: center;
    position: relative;
    border-radius: 50%;
    transition: 0.5s;
    overflow: hidden;
}

.image3Container:hover {
    border-radius: 0%;
}

.image3Container:hover #discordId {
    opacity: 1;
}

.image3Container:hover #image3 {
    max-height: 4.5em;
    background-color: #FFFFFF;
    border-radius: 0%;
    height: 4.5em;
    width: 15em;
    overflow: hidden;
    transform: scale(-1.3);
}

.image3Container:hover #copy {
    opacity: 1;
    height: 2.1em;
    right: 1.5em;
}

#copy:hover+#copyTooltip {
    opacity: 1;
}

#image4 {
    width: 4.5em;
    top: 0.8em;
    left: 4em;
    position: relative;
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transition: 0.5s;
}

#image5 {
    width: 4.5em;
    top: 0.8em;
    left: 12em;
    position: relative;
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border: 10em;
    transition: 0.5s;
}

#line1,
#line2,
#line3 {
    filter: blur(0) !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    white-space: nowrap;
    overflow: hidden;
    font-family: "VT323", monospace;
    font-size: 1.2em;
    font-weight: bold;
    border-right: 2px solid transparent;
    animation-play-state: running;
}

#line1 {
    animation: animated-text 4s steps(45, end) 1s 1 normal both,
        animated-cursor 900ms steps(45, end) 1.2;
    animation-delay: 3s;
}

#line2 {
    animation: animated-text 4s steps(45, end) 1s 1 normal both,
        animated-cursor 900ms steps(45, end) 2.9;
    animation-delay: 4.5s;
}

#line3 {
    animation: animated-text 4s steps(45, end) 1s 1 normal both,
        animated-cursor 900ms steps(45, end) infinite;
    animation-delay: 7.5s;
}

@keyframes animated-cursor {
    from {
        border-right-color: transparent;
    }

    to {
        border-right-color: rgba(255, 255, 255, 0.8);
    }
}

@keyframes animated-text {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@media screen and (min-width: 1300px) {
    .gridDivision2 {
        display: grid;
        grid-template-columns: minmax(42rem, 42rem) 1fr;
        gap: 8rem;
        row-gap: 8rem;
    }
}

@media screen and (max-width: 1300px) {
    .skillsText {
        height: 20rem;
    }
}

.skills {
    position: relative;
    min-width: 42rem;
    max-width: 90rem;
}

.skillsText {
    min-width: 27em;
    max-width: 27em;
    color: #C1C1C1;
    font-family: "VT323";
    font-size: 1.56em;
    text-align: justify;
}

.skills h1 {
    color: aliceblue;
    font-family: "VT323";
    font-weight: bold;
    font-size: 5em;
    position: relative;
    text-shadow: 0 0 1rem rgba(255, 255, 255, 0.35);
    animation: hover 4s ease-in-out infinite;
    transition: 0.5s;
    padding-bottom: 2.5rem;
}

.chartContainer {
    position: relative;
    bottom: 2.5em;
    min-width: 40em;
    max-width: 40em;
}

.chartContainer p {
    color: aliceblue;
    font-family: "VT323";
    font-size: 1.5em;
    font-weight: bold;
}

.chartBase1 {
    width: 100%;
    height: 2px;
    background-color: #373737;
}

#chart1 {
    height: 100%;
    background-color: #c1c1c1;
    box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.75);
    width: 0;
    transition: 1.5s;
}

.chartBase2 {
    width: 100%;
    height: 2px;
    background-color: #373737;
}

#chart2 {
    height: 100%;
    background-color: #c1c1c1;
    box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.75);
    width: 0;
    transition: 1.5s;
}

#comment1 {
    font-family: "VT323";
    position: absolute;
    font-size: 1em;
    color: #595959;
    left: 16.5em;
    bottom: 5.5em;
}

#comment1.animated {
    transition-delay: 1s;
}

#arrow {
    position: absolute;
    width: 1em;
    left: 15em;
    bottom: 5.2em;
    opacity: 0.15;
}

#arrow.animated {
    transition-delay: 1s;
}

.chartBase3 {
    width: 100%;
    height: 2px;
    background-color: #373737;
}

#chart3 {
    height: 100%;
    background-color: #c1c1c1;
    box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.75);
    width: 0;
    transition: 1.5s;
    animation: flicker 1s infinite;
}

.chartBase4 {
    width: 100%;
    height: 2px;
    background-color: #373737;
}

#chart4 {
    height: 100%;
    background-color: #c1c1c1;
    box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.75);
    width: 0;
    transition: 1.5s;
}

.Lanimated #chart1 {
    width: 80% !important;
}

.Lanimated #chart2 {
    width: 50% !important;
    transition-delay: 0.2s;
}

.Lanimated #chart3 {
    width: 60% !important;
    transition-delay: 0.4s;
}

.Lanimated #chart4 {
    width: 30% !important;
    transition-delay: 0.6s;
}

.footer {
    height: 4rem;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footerText {
    color: #c1c1c1;
    font-family: "VT323";
    text-shadow: 0 0 1rem rgba(255, 255, 255, 0.35);
    position: relative;
}

#footerLogo {
    transform: translateY(-30%);
    position: relative;
    width: 2em;
    bottom: -0.4lh;
}

@keyframes flicker {
    0% {
        opacity: 1;
        transition: 0s !important;
    }

    25% {
        opacity: 0.25;
        transition: 0s !important;
    }

    50% {
        opacity: 0.4;
        transition: 0s !important;
    }

    75% {
        opacity: 0.85;
        transition: 0s !important;
    }

    100% {
        opacity: 0.4;
        transition: 0s !important;
    }
}

.hmm {
    position: absolute;
    width: 20em;
}

#hmm {
    font-family: 'Segoe UI';
    text-shadow: 0 0 0.5rem rgba(255, 255, 255, 1);
    color: #C1C1C1;
    background-color: transparent;
    position: absolute;
    font-size: 1em;
    border: transparent;
    float: left;
    left: 1em;
    cursor: pointer;
}

#hmmTooltip {
    pointer-events: none;
    font-family: Arial;
    font-weight: bold;
    font-size: 1.1em;
    position: absolute;
    color: #C1C1C1;
    background-color: #252525;
    text-shadow: 0 0 0.25rem rgba(255, 255, 255, 0.5);
    z-index: 2;
    transition: 0.5s;
    opacity: 0;
    padding: 0.5em;
    padding-top: 0.1em;
    padding-bottom: 0.2em;
    border-radius: 5%;
    float: right;
    left: 4em;
    bottom: -1em;
}

#hmm:hover+#hmmTooltip {
    opacity: 1;
}

@media screen and (min-width: 1300px) {
    .gridDivision3 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8rem;
        row-gap: 3rem;
    }
}

@media screen and (max-width: 1300px) {
    .wordSphere {
        margin-left: 40% !important;
        top: 10em;
        transition-delay: 0.5s !important;
    }

    .statsContainer {
        height: 60em;
    }

    .githubStat {
        top: 20em;
        transition-delay: 0.5s !important;
    }

    #comment2.animated {
        transition-delay: 1s !important;
    }
}

.wordSphere {
    position: relative;
    width: 25vw;
    height: 25vw;
    transition-delay: 1s !important;
    margin-left: 30%;
}

.tagcloud {
    z-index: 0;
    display: inline-block;
    font-weight: bold;
    font-size: 1.8em;
    font-family: "VT323";
}

.tagcloud--item:hover {
    color: #FFFFFF;
    text-shadow: 0 0 1rem rgba(255, 255, 255, 0.7);
}

.animated {
    opacity: 0;
    filter: blur(0.1rem);
    transform: translateX(-10%);
    transition: all 1s;
}

.animated4 {
    opacity: 0;
    filter: blur(0.1rem);
    transform: translateX(-10%);
    transition: all 1s;
}

.showAnimated {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.showAnimated h1 {
    opacity: 1;
    transition: all 1s;
}

.animated2 {
    opacity: 0;
    filter: blur(0.1rem);
    transform: translateX(10%);
    transition: all 1s;
}

.showAnimated2 {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
    transition-delay: 200ms;
}

.animated3 {
    position: relative;
    opacity: 0;
    filter: blur(0.2rem);
    transform: translateX(-20%);
    transition: all 1s;
}

#musicButton.animated3 {
    transform: translateX(20%);
}

#musicButton.showAnimated3 {
    position: relative;
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

#logo.showAnimated3 {
    opacity: 0.6;
}

#logo.showAnimated3:hover {
    opacity: 1;
}

.showAnimated3 {
    position: relative;
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

#line1.showAnimated3,
#line2.showAnimated3 {
    animation: animated-cursor 900ms steps(45, end) 0;
}

#line3.showAnimated3 {
    animation: animated-cursor 900ms steps(45, end) infinite;
}

#skipButton.showAnimated3 {
    pointer-events: none;
    opacity: 0 !important;
}

.statsContainer {
    position: relative;
    max-width: 95rem;
    min-width: 42rem;
    padding-bottom: 12rem;
}

.githubStat {
    position: relative;
    bottom: -5em;
    max-width: 45rem;
    min-width: 45rem;
    height: 20em;
    transition-delay: 1.5s;
}

#statsImage {
    width: 100%;
    height: 100%;
    position: relative;
    border: 0;
}

#comment2 {
    font-family: "VT323";
    position: absolute;
    font-size: 1em;
    color: #595959;
    left: 2.5em;
    bottom: 0.5em;
    font-weight: bold;
}

#comment2.animated {
    transition-delay: 2s;
}

#arrow2 {
    opacity: 0.5;
    position: absolute;
    right: 3em;
    bottom: -1em;
    width: 2.5em;
    transform: scaleX(-1) rotate(120deg);
    cursor: pointer;
    transition: 0.5s;
}

#arrow2:hover {
    opacity: 1 !important;
    transition-delay: 0s !important;
}

#arrow2.animated {
    opacity: 0;
    transition-delay: 0.5s;
}

#arrow2.showAnimated {
    opacity: 0.5;
}

.arrowContainer {
    position: relative;
    float: right;
    width: 20em;
    animation-delay: 1.5s;
    animation: hover 8s ease-in-out infinite;
}

#arrow2Tooltip {
    pointer-events: none;
    font-family: "VT323";
    font-size: 1.5em;
    position: absolute;
    color: #C1C1C1;
    background-color: #252525;
    text-shadow: 0 0 0.25rem rgba(255, 255, 255, 0.5);
    z-index: 2;
    transition: 0.5s;
    opacity: 0;
    padding: 0.3em;
    padding-top: 0.1em;
    padding-bottom: 0.2em;
    border-radius: 5%;
    float: right;
    right: 4em;
    bottom: -0.5em;
}

#arrow2:hover+#arrow2Tooltip {
    opacity: 1;
}