@import url(https://fonts.googleapis.com/css?family=League+Spartan:100,200,300,regular,500,600,700,800,900);

:root {
    --bg: #0f0f0f;
}

html,
body {
    margin: 0;
    font-family: 'League Spartan';
    box-sizing: border-box;
    background-color: var(--bg);
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(./static/bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center -15vw;
}

body#page404 {
    background-size: cover;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    background-color: #232323;
    border-width: 3px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
    border-radius: 9999px;
}

.hoverEffect {
    transition: transform ease-out 0.4s, box-shadow ease-out 0.4s;
}

.hoverEffect.text:hover {
    text-shadow: rgba(255, 255, 255, 0.15) 0px 0px 20px;
}

.hoverEffect.box:hover {
    box-shadow: rgba(255, 255, 255, 0.15) 0px 0px 20px;
}

p {
    margin: 0;
}

a {
    color: unset;
    text-decoration: none;
}

section,
footer {
    z-index: 2;
}

header {
    z-index: 3;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 35px* 2);
    position: fixed;
    margin-top: 20px;
    top: 0;
}

#fluidContainer {
    background-color: rgb(0 0 0 / 60%);
    backdrop-filter: blur(5px);
    z-index: -1;
    transition: ease .3s;
    position: absolute;

}

header>p,
footer>p {
    background-color: rgb(0 0 0 / 60%);
    backdrop-filter: blur(5px);
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 36px;
    font-weight: bold;
    width: fit-content;
    height: 26px;
}

header>p {
    position: absolute;
    left: 0;
    background-color: transparent;
    backdrop-filter: none;
    animation: cubic-bezier(0.38, -0.34, 0.43, 1.32) 1s 1s name-in forwards;
    opacity: 0;
}

#fluidContainer {
    animation: cubic-bezier(0.38, -0.34, 0.43, 1.32) 1s 1s name-in forwards;
    opacity: 0;
}

@-webkit-keyframes name-in {
    0% {
        opacity: 0;
        left: -300px;
    }
    30% {
        opacity: 1;
        left: -300px;
    }
    100% {
        left: 0px;
        opacity: 1;
    }
}

@keyframes name-in {
    0% {
        opacity: 0;
        left: -300px;
    }
    30% {
        opacity: 1;
        left: -300px;
    }
    100% {
        left: 0px;
        opacity: 1;
    }
}

nav {
    width: 100%;
    margin: auto;
    border-radius: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 150px;
    padding: 26px 55px;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: nav-in 1s .6s cubic-bezier(0.38, -0.34, 0.43, 1.32) forwards;
}

@keyframes nav-in {
    0% {
        opacity: 0;
        top: -100px;
    }
    30% {
        opacity: 1;
        top: -100px;
    }
    100% {
        top: 0px;
        opacity: 1;
    }
}

@keyframes nav-in {
    0% {
        opacity: 0;
        top: -100px;
    }
    30% {
        opacity: 1;
        top: -100px;
    }
    100% {
        top: 0px;
        opacity: 1;
    }
}

nav a {
    font-size: 26px;
    transition: ease-in-out .2s;
    color: #fff;
    text-decoration: none;
    height: 18px;
}

nav a:hover {
    transform: scale(1.1);
    transition: ease-in-out .2s;
    cursor: pointer;
}

section {
    scroll-margin-top: 3rem;
    width: calc(100% - 60px* 2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 60px 60px;
}

section#home {
    min-height: calc(100vh - 60px*2);
    gap: 8rem;
    align-items: center;
    justify-content: center;
}

section#home div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

section#home img {
    transform: translateY(70px);
    opacity: 0;
    position: relative;
    animation: img-in 1s 1.4s cubic-bezier(0.38, -0.34, 0.43, 1.32) forwards;
}

@keyframes img-in {
    0% {
        opacity: 0;
        bottom: -300px;
    }
    30% {
        opacity: 1;
        bottom: -300px;
    }
    100% {
        bottom: 0px;
        opacity: 1;
    }
}

@keyframes img-in {
    0% {
        opacity: 0;
        bottom: -300px;
    }
    30% {
        opacity: 1;
        bottom: -300px;
    }
    100% {
        bottom: 0px;
        opacity: 1;
    }
}

section#home div span,
section#home div h3 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    width: 580px;
}

section#home div>span {
    opacity: 0;
    position: relative;
    animation: span-in 1s 1.8s cubic-bezier(0.38, -0.34, 0.43, 1.32) forwards;
}

@keyframes span-in {
    0% {
        opacity: 0;
        right: -70rem;
    }
    30% {
        opacity: 1;
        right: -70rem;
    }

    100% {
        right: 0px;
        opacity: 1;
    }
}

@keyframes span-in {
    0% {
        opacity: 0;
        right: -70rem;
    }
    30% {
        opacity: 1;
        right: -70rem;
    }

    100% {
        right: 0px;
        opacity: 1;
    }
}

section#home div h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#home div h3 div {
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: auto;
}

section#home div h3 span {
    width: auto;
    -webkit-animation: tracking-in-contract-bck-bottom 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-contract-bck-bottom 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

section#home div h1 {
    font-size: 190px;
    font-weight: 800;
    letter-spacing: -5%;
    margin: 0;
    -webkit-animation: tracking-in-contract-bck-top 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-contract-bck-top 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

section#home a {
    background-color: rgba(0, 0, 0, 0.35);
    border: rgba(255, 255, 255, 0.10) 1px solid;
    padding: 25px;
    border-radius: 60px;
    gap: 25px;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(50px);
    color: #fff;
    width: 20rem;
    font-size: 25px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

section#home a img {
    height: 20px;
    width: 20px;
    transform: unset;
    transition: ease-in-out .2s;
}

section#home a:hover img {
    transform: translateX(10px);
    transition: ease-in-out .2s;
}

section#home a:hover {
    cursor: pointer;
}

body#page404 section#home h3 {
    color: rgba(255, 255, 255, 0.45);
}

body#page404 section#home h3 {
    color: rgba(255, 255, 255, 0.45);
    -webkit-animation: text-focus-in .5s 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    animation: text-focus-in .5s 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes text-focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes text-focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

section#aboutme {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8rem;
    align-items: flex-start;
}

section h2 {
    font-size: 64px;
    font-weight: bold;
    margin-top: 7px;
    margin-bottom: 20px;
}

section#aboutme #description h4 {
    font-size: 36px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.45);
}

section#aboutme #description>p {
    font-size: 35px;
    font-weight: normal;
}

#discord {
    --presence-offline: #80848e;
    --presence-online: #23a55a;
    --presence-dnd: #f23f43;
    --presence-idle: #efb132;
}

#discord #discord-tag {
    font-size: 37px;
    font-weight: bold;
    margin: 0;
}

#discord #discord-presence {
    font-size: 20px;
}

#discord #timestamp {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

#aboutme #discord {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    position: relative;
}

#aboutme #discord #profile {
    display: flex;
    flex-direction: row;
    gap: 20px;
    z-index: 2;
    align-items: center;
}

#pfp {
    height: 120px;
    width: 120px;
}

#pfp #discord-avatar {
    height: 120px;
    width: 120px;
    border-radius: 50%;
}

#point {
    height: 24px;
    width: 24px;
    background-color: var(--presence-offline);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: solid 8px var(--bg);
    transform: translate(85px, -40px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease 0.3s;
}

#point.online {
    background-color: var(--presence-online);
}

#point.offline {
    background-color: var(--presence-offline);
}

#point.dnd {
    background-color: var(--presence-dnd);
}

#point.idle {
    background-color: var(--presence-idle);
    display: block;
}

#point #symbol {
    transition: all ease 0.3s;
}

#point.offline #symbol {
    height: 50%;
    width: 50%;
    background-color: var(--bg);
    border-radius: 50%;
    margin: auto;
}

#point.online #symbol {
    background-color: var(--presence-online);
    height: 0;
    width: 0;
}

#point.dnd #symbol {
    width: 60%;
    height: 20%;
    background-color: var(--bg);
    border-radius: 2px;
}

#point.idle #symbol {
    height: 60%;
    width: 60%;
    top: 0px;
    right: 0px;
    position: relative;
    background-color: var(--bg);
    border-radius: 50%;
}

#aboutme #discord:hover #popup {
    margin: 0rem;
    opacity: 1;
    transition: ease-in-out .3s;
}

#aboutme #discord #popup {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.35);
    border: rgba(255, 255, 255, 0.10) 1px solid;
    padding: 20px;
    border-radius: 27px;
    backdrop-filter: blur(50px);
    margin-left: -15rem;
    opacity: 0;
    transition: ease-in-out .3s;
}

#aboutme #discord #popup a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    text-decoration: none;
    transition: ease-in-out .2s;
}

#aboutme #discord #popup a:hover {
    transform: translateX(5px);
    cursor: pointer;
    transition: ease-in-out .2s;
}

section#aboutme #description {
    max-width: 45vw;
}

section#aboutme #info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: fit-content;
    gap: 10px;
}

section#aboutme #info span {
    background-color: rgba(0, 0, 0, 0.35);
    border: rgba(255, 255, 255, 0.10) 1px solid;
    padding: 20px;
    border-radius: 27px;
    width: 121px;
    height: 128px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(50px);
}

section#aboutme #info span p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
}

section#aboutme #info span img {
    max-height: 78px;
}

section#links>div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

section#links>div>a {
    background-color: rgba(0, 0, 0, 0.35);
    border: rgba(255, 255, 255, 0.10) 1px solid;
    padding: 20px;
    border-radius: 27px;
    width: calc(100vw / 2 - 20px - 25px - 60px - 7.5px);
    /* 100% / 2 - padding - gap - margin */
    height: 92px;
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(50px);
    text-decoration: none;
    color: #fff;
}

section#links>div>a img {
    width: 86px;
    height: 86px;
    background-color: rgba(217, 217, 217, 0.05);
    border-radius: 16px;
}

section#links>div>a h4 {
    font-weight: 800;
    font-size: 36px;
    margin: 0;
}

section#links>div>a h5 {
    font-weight: 600;
    font-size: 24px;
    margin: 0;
}

section#projects>div {
    width: calc(100vw - 10px);
    overflow: auto;
    position: relative;
    left: -60px;
    padding-left: 60px;
}

section#projects>div>div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: fit-content;
}

section#projects #projectsContainer {
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: fit-content;
    padding: 20px 0;
}

section#projects #projectsContainer * {
    color: #fff;
    text-decoration: none;
}

section#projects>div>div .project {
    background-color: rgba(0, 0, 0, 0.35);
    border: rgba(255, 255, 255, 0.10) 1px solid;
    padding: 20px;
    border-radius: 27px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
    cursor: pointer;
    backdrop-filter: blur(50px);
}

section#projects>div>div .project .img {
    width: 494px;
    height: 335px;
    background-color: rgba(217, 217, 217, 0.05);
    border-radius: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section#projects>div>div .project h4 {
    font-weight: 800;
    font-size: 36px;
    margin: 0;
}

section#projects>div>div .project h5 {
    font-weight: 600;
    font-size: 24px;
    margin: 0;
}

section#projects #arrow {
    background: linear-gradient(90deg, rgba(15, 15, 15, 0) 0%, #0F0F0F 100%);
    position: sticky;
    right: 0px;
    width: 182px;
    border: none;
    align-items: center;
    justify-content: center;
    display: flex;
    top: 0;
    height: auto;
    transition: .2s ease-in-out;
    margin: 20px 0;
    z-index: 1;
}

section#projects #arrow img {
    width: 28px;
    height: auto;
    background: transparent;
    transition: .1s ease-in-out;
}

section#projects #arrow img:hover {
    transform: scale(1.1);
    cursor: pointer;
    transition: .1s ease-in-out;
}

footer {
    width: calc(100% - 50px*2);
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer div h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}

footer div p {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}

@media screen and (max-width: 1130px) {
    header>p {
        display: none;
    }

    nav {
        justify-content: space-around;
        gap: 10px;
    }

    section#aboutme {
        flex-direction: column;
    }

    section#aboutme #description {
        max-width: unset;
    }
}

@media screen and (max-width: 890px) {

    section#home div,
    body#page404 section#home a {
        zoom: 90%;
    }

    section#links>div {
        flex-direction: column;
    }

    section#links>div>a {
        width: calc(100vw - 20px - 25px - 60px* 2 - 7.5px);
    }
}

@media screen and (max-width: 890px) {
    body {
        background-size: 200vw;
        background-position: center -40vw;
    }

    section#home div,
    body#page404 section#home a {
        zoom: 80%;
    }

    section#projects>div>div .project {
        zoom: 90%;
    }

    #aboutme #discord {
        flex-direction: column;
        align-items: flex-start
    }

    #aboutme #discord #popup {
        margin-top: -10rem;
        margin-left: 0;
    }
}

@media screen and (max-width: 675px) {

    section#home div,
    body#page404 section#home a {
        zoom: 70%;
    }

    section#projects>div>div .project {
        zoom: 70%;
    }

    section#aboutme #info {
        display: flex;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 595px) {
    body {
        background-position: center -40vw;
        background-size: 270vw;
    }

    nav {
        padding: 20px;
    }

    section#projects>div>div .project {
        zoom: 50%;
    }

    section#home div,
    body#page404 section#home a {
        zoom: 50%;
    }

    section {
        padding: 60px 30px;
        width: calc(100% - 30px* 2);
    }

    section#links>div>a {
        padding: 10px;
        width: calc(100vw - 10px - 25px - 30px* 2 - 7.5px);
    }

    section#projects>div {
        width: calc(100vw - 30px - 10px);
    }

    footer * {
        zoom: 90%;
        text-align: center;
    }

    section#projects #arrow {
        display: none;
    }

    section#home div span, section#home div h3 {
        font-size: 90px;
    }
}

@media screen and (max-width: 400px) {

    body#page404 section#home div,
    body#page404 section#home a {
        zoom: 50%;
    }

    section#home div {
        zoom: 40%;
    }

    nav a {
        zoom: 90%;
    }

    section#aboutme *,
    section#links h2,
    section#projects h2 {
        zoom: 90%;
    }

    section#links>div>a * {
        zoom: 80%;
    }
}

#bg {
    position: absolute;
    height: 100%;
    width: 100%;
    filter: blur(650px);
    z-index: 1;
    overflow: hidden;
}

#bg div span {
    border-radius: 50%;
    position: absolute;
}

#bg div:nth-of-type(1) span:nth-of-type(1) {
    left: 6vw;
    top: -40vh;
    width: 493.15px;
    height: 493.15px;
    background: #1F00FF;
}

#bg div:nth-of-type(1) span:nth-of-type(2) {
    left: 8vw;
    top: 13vh;
    width: 367.91px;
    height: 367.91px;
    background: #E24C84;
}

#bg div:nth-of-type(1) span:nth-of-type(3) {
    left: -8.06vw;
    top: -6.01vh;
    position: absolute;
    width: 493.15px;
    height: 493.15px;
    background: #6C24C4;
}


#bg div:nth-of-type(2) span:nth-of-type(1) {
    position: absolute;
    width: 245.27px;
    height: 245.27px;
    right: -10vw;
    top: 90vh;
    background: #1F00FF;
}

#bg div:nth-of-type(2) span:nth-of-type(2) {
    position: absolute;
    width: 367.91px;
    height: 367.91px;
    right: -20vw;
    top: 130vh;
    background: #E24C84;
}

#bg div:nth-of-type(2) span:nth-of-type(3) {
    position: absolute;
    width: 493.15px;
    height: 493.15px;
    right: -20vw;
    top: 97vh;
    background: #6C24C4;
}


#bg div:nth-of-type(3) span:nth-of-type(1) {
    position: absolute;
    width: 725.02px;
    height: 245.27px;
    left: 27vw;
    top: 210vh;
    background: #1F00FF;
}

#bg div:nth-of-type(3) span:nth-of-type(2) {
    position: absolute;
    width: 1087.54px;
    height: 367.91px;
    left: 35vw;
    top: 280vh;
    background: #E24C84;
}

#bg div:nth-of-type(3) span:nth-of-type(3) {
    position: absolute;
    width: 1457.76px;
    height: 493.15px;
    left: -12vw;
    top: 228vh;
    background: #6C24C4;
}