/*¯\_(ツ)_/¯ Why are you looking at my CSS?*/
#loadingLogo {
    position: absolute;
    width: 3.5rem;
    margin-bottom: 0.25rem;
}
.loadingText {
    position: absolute;
    font-size: 2.25rem;
    color: rgb(250, 100, 0);
    white-space: nowrap;
}
.loadingText span {
    display: inline-block;
    opacity: 0;
    transform: translateY(2rem);
}
#switchBar {
    display: none;
    position: fixed;
    width: 4.5rem;
    height: 4.5rem;
    left: 50%;
    bottom: 50%;
    border-radius: 1rem;
    transform: translate(-50%, calc(-50% + 4.28rem));
    background: rgb(250, 100, 0);
    opacity: 0;
    z-index: 10;
}
#switchBarLogo {
    position: absolute;
    width: 3.5rem;
    top: 1rem;
    left: 0.5rem;
}
#switchBarText {
    position: absolute;
    top: 0.4rem;
    left: 3.2rem;
    color: white;
    font-size: 1.5rem;
}
#switchBarText span {
    display: inline-block;
    opacity: 0;
    transform: translateY(2rem);
}
#switchBarHighlight {
    position: absolute;
    width: 8.5rem;
    height: 2.2rem;
    top: 0.4rem;
    left: 12rem;
    border-radius: 0.6rem;
    background: rgb(252,180,132);
    opacity: 0;
    transform: scale(0.9);
}
#wave {
    position: fixed;
    left: calc(50% + 5rem);
    bottom: 3.6rem;
    width: 10rem;
    opacity: 0;
    transform: translateY(2rem);
    pointer-events: none;
    z-index: 9;
}
.page {
    display: none;
    position: relative;
    width: 80%;
    min-width: 300px;
    max-width: 2000px;
}
.box {
    position: relative;
    width: 100%;
    color: #080808;
    margin-top: 20rem;
}
[data-reveal] {
    will-change: transform, opacity;
}
[data-reveal] img {
    will-change: transform, opacity;
}
[data-reveal~="text"] span {
    display: inline-block;
}
.masonry {
    column-gap: 1rem;
    column-count: 4;
    margin-bottom: -1rem;
}
.masonryItem {
    break-inside: avoid;
    padding-bottom: 1rem;
}
.masonryItem img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

#introBox {
    height: 100vh;
}
#introText1 {
    position: absolute;
    margin-top: -30rem;
}
#introText1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(2rem);
}
#introImg {
    position: absolute;
    width: 80rem;
    margin-top: -3.5rem;
}
.introBadge {
    position: absolute;
    width: 10rem;
}
#introBadge1 {
    margin-top: 20rem;
    margin-left: 0rem;
    transform: rotate(-5deg);
}
#introBadge2 {
    margin-top: 20rem;
    margin-left: -30rem;
    transform: rotate(5deg);
}
#introBadge3 {
    margin-top: 20rem;
    margin-left: 30rem;
    transform: rotate(5deg);
}
#introBadge4 {
    margin-top: 20rem;
    margin-left: -60rem;
    transform: rotate(-5deg);
}
#introBadge5 {
    margin-top: 20rem;
    margin-left: 60rem;
    transform: rotate(-5deg);
}
.clip {
    position: absolute;
    margin-left: 22rem;
    margin-top: -42rem;
    height: 6rem;
    transform: rotate(20deg);
}
.mePic {
    position: absolute;
    height: 45rem;
    border-radius: 1rem;
    box-shadow: 0rem 0rem 0.5rem 0rem rgba(8, 8, 8, 0.2);
    transform-origin: 80% 0%;
}
#map {
    position: absolute;
    margin-top: 22rem;
    margin-left: -58rem;
    width: 28rem;
    height: 18rem;
    padding: 1rem;
    font-size: 1.5rem;
    background: rgb(180, 255, 180);
    box-shadow: 0rem 0rem 0.5rem 0rem rgba(8, 8, 8, 0.2);
    transform: rotate(-5deg);
    z-index: -1;
}
.note {
    position: absolute;
    width: 20rem;
    height: 20rem;
    padding: 1rem;
    font-family: "Playwrite NZ", cursive;
    font-size: 1.6rem;
}
#note1 {
    margin-top: -18rem;
    margin-left: -55rem;
    background: rgb(255, 255, 180);
    box-shadow: 0rem 0.5rem 1rem 0rem rgba(8, 8, 8, 0.2);
    transform: rotate(5deg);
}
#note2 {
    margin-top: -2rem;
    margin-left: 55rem;
    background: rgb(255, 255, 180);
    box-shadow: 0rem 1rem 1rem 0rem rgba(8, 8, 8, 0.2);
    transform: rotate(-5deg);
}
.projectDisplay {
    position: relative;
    width: 100%;
    height: 20rem;
    margin-top: 2rem;
}
.projectDisplayFloor {
    position: absolute;
    bottom: 0rem;
    width: 101%;
    height: 10rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom, rgb(252,180,132), rgb(250, 100, 0) 80%);
    transform-style: preserve-3d;
    transform-origin: center bottom;
    transform: perspective(30rem) rotateX(45deg);
    margin-left: -0.5%;
}
.Ppic {
    position: absolute;
    bottom: 2.5rem;
    height: calc(100% - 3rem);
    border-radius: 0.5rem;
    box-shadow: 0.5rem 0rem 0.5rem 0rem rgba(8, 8, 8, 0.2);
}
.Ppic1 {
    left: 5rem;
    transform: perspective(30rem) rotateY(15deg);
    box-shadow: -0.5rem 0rem 0.5rem 0rem rgba(8, 8, 8, 0.2);
    z-index: 4;
}
.Ppic2 {
    right: 5rem;
    transform: perspective(30rem) rotateY(-15deg);
    z-index: 1;
}
.Ppic3 {
    right: calc(5rem + 5%);
    transform: perspective(30rem) rotateY(-15deg);
    z-index: 2;
}
.Ppic4 {
    right: calc(5rem + 10%);
    transform: perspective(30rem) rotateY(-15deg);
    z-index: 3;
}
#posterMasonry {
    column-gap: 1rem;
    column-count: 3;
    margin-bottom: -1rem;
}
.posterMasonryItem {
    break-inside: avoid;
    padding-bottom: 1rem;
}
.posterMasonryItem img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
}
.momentPicBox {
    position: relative;
    width: 100%;
    height: 20rem;
    margin-top: 2rem;
}
.momentPicBox img {
    position: absolute;
    height: 100%;
    border-radius: 1rem;
}
.Mpic1 {
    left: 0rem;
    box-shadow: 1rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
    z-index: 5;
}
.Mpic2 {
    left: calc((100% - 26.66rem) / 4);
    box-shadow: 1rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
    z-index: 4;
}
.Mpic3 {
    left: calc((100% - 26.66rem) / 4 * 2);
    box-shadow: 1rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
    z-index: 3;
}
.Mpic4 {
    left: calc((100% - 26.66rem) / 4 * 3);
    box-shadow: 1rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
    z-index: 2;
}
.Mpic5 {
    right: 0rem;
    box-shadow: 0rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
    z-index: 1;
}
#carouselBox {
    position: relative;
    width: 100%;
    height: 20rem;
    overflow: hidden;
    border-radius: 1rem;
}
.carousel {
    position: absolute;
    width: 100%;
    height: 20rem;
    overflow: hidden;
    border-radius: 1rem;
}
.track {
    height: 100%;
    display: flex;
    width: max-content;
}
.carouselItem {
    flex: 0 0 auto;
    height: 100%;
    width: max-content;
    margin-right: 1rem;
}
.carouselItem img {
    height: 100%;
    width: auto;
    display: block;
    border-radius: 1rem;
}
#repoContent {
    position: relative;
    width: 100%;
    height: 600vh;
}
#repoLogoBox {
    position: relative;
    width: 100%;
    height: 80vh;
    border-radius: 1rem;
    background: linear-gradient(to bottom, rgb(252,180,132), rgb(250, 100, 0) 80%);
    margin-top: 2rem;
}
#repoLogo {
    position: absolute;
    width: 20rem;
}
.repoLogo0 {
    position: absolute;
    height: 3.6rem;
    opacity: 0;
}
#repoLogo1 {
    margin-left: -10.7rem;
    margin-top: -10rem;
    transform: translateY(-2rem);
}
#repoLogo2 {
    margin-left: -15.4rem;
    margin-top: 10rem;
    transform: translateY(2rem);
}
#repoLogo3 {
    margin-left: 12rem;
    margin-top: -10rem;
    transform: translateY(-2rem);
}
.repoTextBox {
    position: absolute;
    top: 50%;
    right: 0rem;
    width: calc(50% - 2rem);
    transform: translateY(calc(2.5rem - 50%));
}
.repoTextBox span {
    display: inline-block;
    opacity: 0;
    transform: translateY(2rem);
}
#repoPhysicsBox {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    opacity: 0;
}
.repoSkill {
    position: absolute;
    left: 0rem;
    top: 0rem;
    height: 5rem;
    width: auto;
    pointer-events: none;
    user-select:none;
    transform-origin: center;
    will-change: transform;
}
.normalGridBox1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.logoItem {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logoItem img {
    width: 60%;
    object-fit: contain;
}
.normalGridBox2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.linkItem {
    width: 100%;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.linkItem img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    border: 0.25rem solid rgb(250, 100, 0);
}
.linkTag {
    white-space: nowrap;
    padding: 0rem 0.3rem 0rem 0.3rem;
    border-radius: 0.5rem;
    transition: background-color 0.1s ease;
}
.linkTag-ok {
    background-color: rgb(180, 255, 180);
}
.linkTag-error {
    background-color: rgb(255, 255, 180);
}
#connectFormBox {
    width: calc(100% - 23rem);
    height: 50rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 1rem;
}
.connectForm {
    border-radius: 1rem;
    line-height: 1.2rem;
}
#connectForm1 {
    grid-column: span 2 / span 2;
}
#connectForm2 {
    grid-column: span 2 / span 2;
    grid-column-start: 3;
}
#connectForm3 {
    grid-row-start: 2;
}
#connectForm4 {
    grid-row-start: 2;
}
#connectForm5 {
    grid-row-start: 2;
}
#connectForm6 {
    grid-row-start: 2;
}
#connectForm7 {
    grid-column: span 4 / span 4;
    grid-row-start: 3;
}
#connectForm8 {
    grid-column: span 4 / span 4;
    grid-row: span 5 / span 5;
    grid-row-start: 4;
}
.inputBox {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    height: calc(100% - 1.38rem);
    line-height: normal;
}
.inputLine {
    width: 100%;
    height: 0.16rem;
    background: var(--line-color);
    border-radius: 1rem;
}
.checkBox {
    all: unset;
    position: absolute;
    bottom: 0rem;
    right: 0rem;
    width: 1rem;
    height: 1rem;
    border: 0.16rem solid #F49C58;
    border-radius: 0.5rem;
    background: transparent;
    cursor: pointer;
}
.checkBox:checked {
    background: #F49C58;
}
#sideBar {
    position: absolute;
    bottom: 0rem;
    right: 0rem;
    width: 20rem;
    height: 48rem;
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    background: linear-gradient(to bottom, rgb(252,180,132), rgb(250, 100, 0) 80%);
}
#sendBtn {
    border-radius: 0.5rem;
    text-align: center;
    background-color: white;
    color: rgb(250, 100, 0);
    margin-top: 1rem;
    cursor: pointer;
}
#mediaBox {
    display: grid;
    grid-template-columns: 1fr 1.5rem 1.5rem 1.5rem 1.5rem;
    gap: 0.5rem;
    justify-content: right;
    line-height: 0.8rem;
    color: white;
}
#mediaBox img {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
}
#connectInfoBox {
    position: absolute;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    color: white;
    z-index: -1;
}
#connectLoadingIcon {
    position: absolute;
    width: 2rem;
    height: 2rem;
    margin-top: -3rem;
    opacity: 0;
}

#akaBox {
    height: 100vh;
}
#akaText1 {
    position: absolute;
    margin-top: -30rem;
}
#akaText1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(2rem);
}
#akaImg {
    position: absolute;
    width: 80rem;
    margin-top: -9.5rem;
    opacity: 0;
}
.akaBadge {
    position: absolute;
    height: 8rem;
}
#akaBadge1 {
    margin-top: 22rem;
    margin-left: 0rem;
    transform: rotate(-5deg);
}
#akaBadge2 {
    margin-top: 22rem;
    margin-left: -30rem;
    transform: rotate(5deg);
}
#akaBadge3 {
    margin-top: 22rem;
    margin-left: 30rem;
    transform: rotate(5deg);
}
#akaBadge4 {
    margin-top: 22rem;
    margin-left: -60rem;
    transform: rotate(-5deg);
}
#akaBadge5 {
    margin-top: 22rem;
    margin-left: 60rem;
    transform: rotate(-5deg);
}
#furry {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0rem 0rem 0.5rem 0rem rgba(8, 8, 8, 0.2);
}
#badgeBox {
    width: 100%;
    height: 20rem;
}
#note3 {
    margin-top: -2rem;
    margin-left: 0rem;
    background: rgb(255, 255, 180);
    box-shadow: 0rem 0.5rem 1rem 0rem rgba(8, 8, 8, 0.2);
    transform: rotate(5deg);
}
#note4 {
    margin-top: -3.5rem;
    margin-left: 22rem;
    background: rgb(180, 255, 180);
    box-shadow: 0rem 0.5rem 1rem 0rem rgba(8, 8, 8, 0.2);
    transform: rotate(-5deg);
    z-index: 2;
}
#roundBadge {
    position: absolute;
    top: -3rem;
    right: 16.5rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    box-shadow:
        0rem 0rem 2rem 0rem rgba(8, 8, 8, 0.2),
        inset 0rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
    z-index: 3;
}
#roundBadge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    border: 0.5rem solid transparent;
    border-top-color: rgba(255, 255, 255, 0.5);
    border-left-color: rgba(255, 255, 255, 0.5);
    filter: blur(0.2rem);
}
#roundBadge img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
#tamagotchi {
    position: absolute;
    top: -8.5rem;
    right: -6rem;
    height: 35rem;
    transform: rotate(-5deg);
    z-index: 4;
}

@media (max-width: 1600px) {
    #introText1 {
        margin-top: -25rem;
    }
    #introImg {
        width: 60rem;
    }
    .introBadge {
        width: 8rem;
    }
    #introBadge1 {
        margin-top: 18rem;
    }
    #introBadge2 {
        margin-top: 18rem;
        margin-left: -25rem;
    }
    #introBadge3 {
        margin-top: 18rem;
        margin-left: 25rem;
    }
    #introBadge4 {
        margin-top: 18rem;
        margin-left: -50rem;
    }
    #introBadge5 {
        margin-top: 18rem;
        margin-left: 50rem;
    }
    #infoBox1 {
        height: 60rem;
    }
    #map {
        margin-top: 48rem;
        margin-left: -30rem;
    }
    #note1 {
        margin-left: -45rem;
    }
    #note2 {
        margin-top: 0rem;
        margin-left: 45rem;
    }
    .masonry {
        column-count: 2;
    }
    #posterMasonry {
        column-count: 2;
    }
    .Mpic2 {
        left: calc((100% - 26.66rem) / 3);
    }
    .Mpic3 {
        left: calc((100% - 26.66rem) / 3 * 2);
    }
    .Mpic4 {
        left: auto;
        right: 0rem;
        box-shadow: 0rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
    }
    .Mpic5 {
        display: none;
    }
    .normalGridBox1 {
        grid-template-columns: repeat(2, 1fr);
    }
    .normalGridBox2 {
        grid-template-columns: repeat(2, 1fr);
    }

    #akaText1 {
        margin-top: -25rem;
    }
    #akaImg {
        margin-top: -8.5rem;
        width: 60rem;
    }
    .akaBadge {
        height: 6rem;
    }
    #akaBadge1 {
        margin-top: 18rem;
    }
    #akaBadge2 {
        margin-top: 18rem;
        margin-left: -25rem;
    }
    #akaBadge3 {
        margin-top: 18rem;
        margin-left: 25rem;
    }
    #akaBadge4 {
        margin-top: 18rem;
        margin-left: -50rem;
    }
    #akaBadge5 {
        margin-top: 18rem;
        margin-left: 50rem;
    }
    #badgeBox {
        height: 25rem;
    }
    #note4 {
        margin-top: -8rem;
    }
    #roundBadge {
        top: 5rem;
    }
    #tamagotchi {
        top: -6.5rem;
    }
}
@media (max-width: 1200px) {
    #introImg {
        margin-top: -6.5rem;
        width: 50rem;
    }
    #introBadge1 {
        margin-top: 10rem;
    }
    #introBadge2 {
        margin-top: 10rem;
        margin-left: -25rem;
    }
    #introBadge3 {
        margin-top: 10rem;
        margin-left: 25rem;
    }
    #introBadge4 {
        margin-top: 20rem;
        margin-left: -12rem;
    }
    #introBadge5 {
        margin-top: 20rem;
        margin-left: 12rem;
    }
    #infoBox1 {
        height: 84rem;
    }
    #map {
        margin-top: 96rem;
        margin-left: 0rem;
    }
    #note1 {
        margin-top: 55rem;
        margin-left: -18rem;
    }
    #note2 {
        margin-top: 70rem;
        margin-left: 18rem;
    }
    .Ppic1 {
        left: 3.5rem;
    }
    .Ppic2 {
        right: 3.5rem;
    }
    .Ppic3 {
        right: calc(3.5rem + 2%);
    }
    .Ppic4 {
        right: calc(3.5rem + 4%);
    }
    .Mpic2 {
        left: calc((100% - 26.66rem) / 2);
    }
    .Mpic3 {
        left: auto;
        right: 0rem;
        box-shadow: 0rem 0rem 1rem 0rem rgba(8, 8, 8, 0.2);
    }
    .Mpic4 {
        display: none;
    }
    .repoTextBox {
        position: absolute;
        top: 50%;
        right: 50%;
        width: 100%;
        transform: translateX(50%) translateY(calc(20vh + 2.5rem - 50%));
        text-align: center;
    }
    .repoTextBox span {
        display: inline-block;
        opacity: 0;
        transform: translateX(2rem) translateY(0rem);
    }
    #connectFormBox {
        width: 100%;
    }
    #connectForm7 {
        width: calc(50% - 0.5rem);
    }
    #connectForm8 {
        width: calc(50% - 0.5rem);
    }
    #sideBar {
        width: calc(50% - 2.5rem);
        height: 35.2rem
    }

    #akaImg {
        margin-top: -10.5rem;
        width: 50rem;
    }
    #akaBadge1 {
        margin-top: 10rem;
    }
    #akaBadge2 {
        margin-top: 10rem;
        margin-left: -25rem;
    }
    #akaBadge3 {
        margin-top: 10rem;
        margin-left: 25rem;
    }
    #akaBadge4 {
        margin-top: 20rem;
        margin-left: -12rem;
    }
    #akaBadge5 {
        margin-top: 20rem;
        margin-left: 12rem;
    }
    #badgeBox {
        height: 30rem;
    }
    #note4 {
        margin-left: 20rem;
    }
    #roundBadge {
        right: 13rem;
        top: 9.5rem;
    }
    #tamagotchi {
        right: -8rem;
        top: -4.5rem;
    }
}
@media (max-width: 1000px) {
    #introImg {
        margin-top: -8.5rem;
        width: 40rem;
    }

    #akaImg {
        margin-top: -10.5rem;
        width: 40rem;
    }
    #note3 {
        margin-left: -1rem;
    }
    #note4 {
        margin-left: 18rem;
    }
    #roundBadge {
        top: 10.5rem;
    }
    #tamagotchi {
        right: -8rem;
        top: -2.5rem;
    }
}
@media (max-width: 800px) {
    #introImg {
        width: 100%;
    }
    .masonry {
        column-count: 1;
    }
    #posterMasonry {
        column-count: 1;
    }
    .Mpic2 {
        left: auto;
        right: 0rem;
        box-shadow: none;
    }
    .Mpic3 {
        display: none;
    }
    .normalGridBox1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .normalGridBox2 {
        grid-template-columns: repeat(1, 1fr);
    }

    #akaImg {
        width: 100%;
    }
    #badgeBox {
        height: 40rem;
    }
    #note3 {
        margin-left: 0rem;
    }
    #note4 {
        margin-top: 16rem;
        margin-left: 16rem;
        z-index: -1;
    }
    #roundBadge {
        top: 16.5rem;
        right: 16rem;
    }
    #tamagotchi {
        right: -7rem;
        top: -6.5rem;
    }
}
/*for small phones*/
@media (max-width: 420px) {
    .mePic {
        width: 100%;
        height: auto;
        top: 0rem;
    }
    #note1 {
        margin-left: -16rem;
    }
    #note2 {
        margin-left: 16rem;
    }
    #note4 {
        margin-left: 14rem;
    }
    #roundBadge {
        right: 14rem;
    }
}