/* global */

@font-face {
    font-family: flixelDefault;
    src: url("_bulkAssets/nokiafc22.ttf") format("truetype");
}

@font-face {
    font-family: "PhantomMuff 1.5";
    src: url("_bulkAssets/PhantomMuff.ttf") format("truetype");
}

/* main */

body {
    height: 1000px;
    margin: 0px;
}

p {
    font-family: "PhantomMuff 1.5";
    font-size: 20px;
    text-align: center;
}
html {
    background-color: black;
    overflow: hidden;
}
.header-table {
    view-transition-name: header;
    left: 150px;
    top: 25px;
    width: 45%;
    margin-inline: 20px;
    border-collapse: separate;
    border-spacing: 0;
    z-index: 5;
    position: relative;
}

.header-table td {
    width: 25%;
    height: auto;
    padding: 0;
    border: 1px solid #8d8d8d;
    border-radius: 5px;
    vertical-align: middle;
}

.header-link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 3rem;
    height: auto;
    padding: 0.5rem 1rem;
    background: linear-gradient(180deg, #e16aebd4, #408ed1d6);
    border-radius: 4px;
    color: inherit;
    font-family: "PhantomMuff 1.5";
    font-size: 20px;
    line-height: 0.9;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.main {
    display: flex;
    position: relative;
    z-index: 2;
    height: 1000px;
}
#duh {
    z-index: 3
}
.canvas {
    background-color: rgba(0, 0, 0, 1);
    top: -8px;
    left: -8px;
    position: relative;
    display: block;
}

.hedr {
    z-index: 10;
    opacity: 1;
    top: -120px;
    width: 100%;
    position: fixed;
    color: antiquewhite;
    background: linear-gradient(180deg, #ff9cf069, transparent);
}

.backdrop {
    height: inherit;
    view-transition-name: fades;
  background-image: url("_bulkAssets/bgGoofy.png");
  background-size: 64px 64px;
  background-repeat: repeat;
  animation: scroll-bg 3s linear infinite;
}

@keyframes scroll-bg {
  from {
    background-position: 0 0;
  }
  to {
    /* Must match background-size to avoid a visible jump */
    background-position: 64px 64px; 
  }
}

/* main elements */
.homepage {
    transform: scale(1.0);
    transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.homepage:hover {
    transform: scale(1.175);
}

.cur {
    color: rgb(0, 255, 157);
}

/* animations/transitions */
.iconswitch {
    z-index: 99;
    view-transition-name: iconswitch;
    position: fixed;
    top: 50%;
    left: -150px;
    display: block;
}

@keyframes moveIn {
    from {
        transform: translateX(110vw) scale(1.0);
    }
    to {
        transform: translateX(-150px);
        scale: 1.2;
    }
    to {
        scale: 1.0;
    }
}
@keyframes moveOut {
    from {
        transform: translateX(110vw) scale(1.0);
    }
    to {
        transform: translateX(-150px);
        scale: 1.2;
    }
    to {
        scale: 1.0;
    }
}
@keyframes bodyfadeOut {
    to {
        opacity: 0;
    }
}
@keyframes bodyfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

::view-transition-old(iconswitch) {
    animation-name: moveIn;
    animation-duration: 0.95s;
    animation-timing-function: cubic-bezier(.5,.85,.5,.15);
}
::view-transition-new(iconswitch) {
    animation-name: moveOut;
    animation-duration: 0.95s;
    animation-timing-function: cubic-bezier(.5,.85,.5,.15);
}

::view-transition-old(fades) {
    animation-name: bodyfadeOut;
    animation-duration: 0.15s;
}
::view-transition-new(fades) {
    animation-name: bodyfadeIn;
    animation-duration: 0.6s;
    animation-delay: 0.6s;
}