/* 
font-family: 'Cinzel Decorative', cursive;
font-family: 'Hachi Maru Pop', cursive;
font-family: 'Kranky', cursive;
font-family: 'Megrim', cursive;
font-family: 'Tourney', cursive; */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #3d0b0b;
    background-image: linear-gradient(
        225deg,
        #3d0b0b 0%,
        #1e122b 50%,
        #2b0404 100%
    );
    overflow: hidden;
}

.sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotate 100s infinite linear;
    animation-delay: 9s;
}

.introStar {
    position: fixed;
    top: 10%;
    left: 10%;
    width: 2px;
    height: 2px;
    background-color: white;
    animation: shinyFall 1.5s;
    animation-delay: 5s;
    border-radius: 50%;
}

.star {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    font-size: 0;
    top: 0;
    left: 0;
    width: 1vmax;
    height: 1vmax;
    position: fixed;
    color: white;
    outline: 50px solid transparent;
}

.star:hover {
    cursor: crosshair !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: transparent;
    font-size: unset;
    animation: target 1s infinite ease-in-out;
}

.core {
    width: 1px;
    height: 1px;
    background-color: white;
    animation: blink 10s infinite ease-in-out;
}

#fallingStarR {
    animation: 2.5s fallR 2.5s infinite;
}

#fallingStarL {
    animation: 2.5s fallL 2.5s infinite;
}

#fallingStarC {
    animation: 2.5s fallC 2.5s infinite;
}

.star:hover {
    cursor: pointer;
}

#killStarR {
    animation: fallR 2.5s;
}

#killStarL {
    animation: fallL 2.5s;
}

#killStarC {
    animation: fallC 2.5s;
}

.ring {
    position: absolute;
    border-bottom: 70px groove rgba(188, 250, 250, 0.151);
    border-top: 60px ridge rgba(0, 255, 255, 0.02);
    border-radius: 76%;
    transform: rotate(0.45turn);
    width: 75vw;
    height: 15vh;
    margin-top: 10vh;
    visibility: hidden;
    z-index: 3;
}

.welcome::before {
    border-top: 2px solid rgba(0, 0, 0, 0.062);
    border-bottom: 2px solid rgba(0, 255, 255, 0.192);
    /* animation: rotateReverse 5s infinite ease-in-out; */
    position: absolute;
    content: "";
    border-radius: 50%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(
        closest-side,
        #33052b8c,
        #000000,
        #000000bd,
        #00000077
    );
    background-blend-mode: hue;
    opacity: 50%;
}

.welcome {
    border-radius: 50%;
    width: 45vw;
    height: 45vw;
    background-color: rgba(0, 255, 200, 0.103);
    font-family: "Press Start 2P", cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: white;
    box-shadow: 0 0 70px rgba(0, 255, 242, 0.071);
    transition: 1s;
    animation: fadeIn 8s;
}

.welcome:hover {
    transition: 1s;
    box-shadow: 0 0 70px rgba(255, 255, 255, 0.071);
}

.headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2vmax;
}

.head {
    z-index: 3;
    font-size: 5vmax;
    text-shadow: -0 0 5px black, 0 -0 5px black, -0 -0 5px black,
        -0 -0 5px black;
}

.dots {
    display: flex;
    align-items: flex-end;
    height: 1.7vmax;
    color: white;
}

.dot {
    visibility: hidden;
}

.headSmallOuter {
    transform: skew(20deg);
    border: 2px solid rgba(255, 255, 255, 0.096);
    width: 40.5vw;
    margin: 0 -2vw;
    background: rgba(0, 0, 0, 0.315);
    padding: 0.4vmax 0;
    animation: fadeIn 6s ease-in-out;
}

.headSmall {
    display: flex;
    z-index: 3;
    font-size: 1.5vmax;
    text-shadow: -2px 2px 0 rgba(0, 255, 255, 0.05),
        2px -2px 0 rgba(0, 255, 255, 0.05), -2px -2px 0 rgba(0, 255, 255, 0.05),
        2px 2px 0 rgba(0, 255, 255, 0.05);
    color: black;
    padding: 0.5vmax;
    animation: fadeIn 4s ease-in-out;
    margin-left: 5vmax;
    transform: skew(-18deg);
}

.headSmall::before {
    position: absolute;
    content: "Featuring Projects";
    color: white;
    margin-left: -3px;
    margin-top: 3px;
    font-size: 1.5vmax;
}

.headSmaller {
    font-size: 1vmax;
    text-shadow: -0 0 5px black, 0 -0 5px black, -0 -0 5px black,
        -0 -0 5px black;
}

.welcomeBottomOut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcomeBottom {
    font-size: 1vmax;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 42vw;
    height: 10vh;
    margin-bottom: 1vmax;
}

.projectHighlight {
    background: linear-gradient(to right, #fffc5f, #31fbe0) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transition: all 0.5s;
}

.projectOuter {
    margin: 0 0.4vmax;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.445);
    transform: skew(-20deg);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.329);
    border: 2px solid rgba(255, 255, 255, 0.096);
    transition: 0.5s;
}

.projectOuter:hover {
    background: rgb(0, 0, 0);
    border: 2px solid transparent;
}

#clickedProject {
    background: rgb(0, 0, 0);
    border: 2px solid transparent;
}

.project,
.projectHighlight {
    text-align: center;
    text-decoration: none;
    color: white;
    z-index: 3;
    line-height: 1.5vmax;
    cursor: crosshair;
    background: linear-gradient(to right, #fffc5f71, #31fbe071);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transform: skew(20deg);
    white-space: nowrap;
    padding: 1vmax;
}

.project:hover {
    background: linear-gradient(to right, #fffc5f, #31fbe0) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.footer {
    position: fixed;
    right: 1vmax;
    bottom: 0.5vmax;
    text-shadow: -0 0 5px black, 0 -0 5px black, -0 -0 5px black,
        -0 -0 5px black;
    font-size: 0.5vmax;
}

.linkDescription {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1vmax;

    width: 25vw;
    height: 15vh;
    visibility: hidden;
    text-align: center;
    padding: 0.5vmax;
    z-index: 3;
    line-height: 2vmax;
    font-size: 1vmax;
    text-shadow: -0 0 5px black, 0 -0 5px black, -0 -0 5px black,
        -0 -0 5px black;
    font-family: "Orbitron", sans-serif;
    letter-spacing: 1.5px;
}

.linkDescription a {
    text-decoration: none;
    color: cyan;
    margin-top: 0.5vmax;
}

.linkDescription a:hover {
    color: yellow;
}

.cannon {
    width: 0.2vmax;
    height: 0.5vmax;
    background-color: cyan;
    transition: 0.07s;
    border-radius: 3vh;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.288);
}

.base {
    width: 3vmax;
    height: 0.5vmax;
    border-radius: 30%;
    border-top: 1vmax ridge rgb(6, 54, 54);
    z-index: 3;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.288);
}

.destroyer {
    position: fixed;
    bottom: 0.25vmax;
    left: 0.5vmax;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 1.5vmax;
    visibility: hidden;
}

.wingsTop,
.wingsBottom {
    position: absolute;
    width: 5vmax;
    height: 0.5vmax;
    border-bottom: 1px solid rgba(255, 255, 255, 0.589);
    border-left: 1px solid rgba(251, 255, 0, 0.289);
    border-right: 1px solid rgba(255, 255, 0, 0.289);
}

.wingsBottom {
    margin-top: 1vmax;
    border-bottom: none;
}

.wingsTop {
    display: flex;
    justify-content: space-between;
    width: 5.2vmax;
}

.rocket {
    width: 0.2vmax;
    height: 0.5vmax;
    background-color: rgb(255, 251, 0);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.288);
}

.saucer div,
.saucerClone div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 90%;
    width: 2.2vmax;
    height: 0.9vmax;
    background-color: rgba(0, 0, 0, 0.562);
}

.saucer div div,
.saucerClone div div {
    border-radius: 90%;
    width: 1vmax;
    height: 0.2vmax;
    background: radial-gradient(
        closest-side,
        rgb(176, 214, 5),
        rgb(176, 214, 5),
        rgba(0, 0, 0, 0.055),
        transparent
    );
    animation: blinkSaucer 2s infinite;
}

.saucer,
.saucerClone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    position: fixed;
    left: -15vmax;
    top: -0vmax;
    width: 2vmax;
    height: 2vmax;
    background-color: #0a6d4f4f;
    border-radius: 50%;
    animation: saucerMoveR 20s;
    animation-delay: 7s;
    box-shadow: 0 0 50px rgba(132, 255, 204, 0.188);
    border: 1px solid rgba(0, 0, 0, 0.363);
}

#saucerLow {
    animation: saucerMoveR 20s !important;
    animation-delay: 3s;
}

#saucerHigh {
    animation: saucerMove 20s !important;
    animation-delay: 3s;
}

#saucerMidRight {
    animation: saucerMoveC 20s !important;
    animation-delay: 3s;
}

#saucerX {
    animation: saucerMoveX 20s !important;
    animation-delay: 3s;
}

@keyframes blink {
    0% {
        width: 1.5px;
        height: 1.5px;
    }
    50% {
        width: 1px;
        height: 1px;
    }
    70% {
        width: 1px;
        height: 1px;
    }
}

@keyframes shinyFall {
    0% {
        width: 2px;
        height: 2px;
        opacity: 100%;
        box-shadow: 0 0 150px rgb(255, 238, 0);
    }
    30% {
        width: 7px;
        height: 7px;
        color: yellow;
    }

    70% {
        width: 5px;
        height: 5px;
        color: yellow;
    }

    85% {
        color: white;
        opacity: 0;
        width: 1px;
        height: 1px;
    }
    100% {
        top: 100%;
        left: 100%;
        opacity: 0;
    }
}

@keyframes fallR {
    0% {
        width: 1.5px;
        height: 1.5px;
        opacity: 100%;
        box-shadow: 0 0 150px rgb(255, 255, 255);
    }
    30% {
        width: 2px;
        height: 2px;
        color: yellow;
    }

    70% {
        width: 2px;
        height: 2px;
        color: yellow;
    }

    90% {
        color: white;
        opacity: 0%;
        width: 1px;
        height: 1px;
    }
    100% {
        top: 100%;
        left: 85%;
        opacity: 0%;
    }
}

@keyframes fallL {
    0% {
        width: 1.5px;
        height: 1.5px;
        opacity: 100%;
        box-shadow: 0 0 150px rgb(255, 255, 255);
    }
    30% {
        width: 2px;
        height: 2px;
        color: yellow;
    }

    70% {
        width: 2px;
        height: 2px;
        color: yellow;
    }

    90% {
        color: white;
        opacity: 0%;
        width: 1px;
        height: 1px;
    }
    100% {
        top: 100%;
        left: 15%;
        opacity: 0%;
    }
}

@keyframes fallC {
    0% {
        width: 1.5px;
        height: 1.5px;
        opacity: 100%;
        box-shadow: 0 0 150px rgb(255, 255, 255);
    }
    30% {
        width: 2px;
        height: 2px;
        color: yellow;
    }

    70% {
        width: 2px;
        height: 2px;
        color: yellow;
    }

    90% {
        color: white;
        opacity: 0%;
        width: 1px;
        height: 1px;
    }
    100% {
        top: 100%;
        left: 50%;
        opacity: 0%;
    }
}

@keyframes target {
    0% {
        width: 1vmax;
        height: 1vmax;
        border: 1px solid transparent;
    }

    50% {
        width: 3vmax;
        height: 3vmax;
        border: 1px solid rgba(255, 0, 221, 0.459);
        box-shadow: 0 0 20px white;
        margin-left: -1vmax;
        margin-top: -1vmax;
    }

    100% {
        width: 1vmax;
        height: 1vmax;
        border: 1px solid transparent;
    }
}

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

    100% {
        opacity: 100%;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(-1turn);
    }
}

@keyframes rotateReverse {
    100% {
        transform: rotate(1turn);
    }
}

@keyframes flash {
    0% {
        text-shadow: -0 0 10px rgba(199, 253, 253, 0.1),
            0 -0 10px rgba(0, 255, 255, 0.11),
            -0 -0 10px rgba(0, 255, 255, 0.11),
            -0 -0 10px rgba(0, 255, 255, 0.11);
    }

    50% {
        text-shadow: -0 0 50px rgba(0, 255, 255, 0.178),
            0 -0 50px rgba(0, 255, 255, 0.03),
            -0 -0 50px rgba(0, 255, 255, 0.03),
            -0 -0 50px rgba(0, 255, 255, 0.03);
    }
}

@keyframes blinkSaucer {
    50% {
        background: radial-gradient(
            closest-side,
            rgb(0, 255, 255),
            rgb(0, 255, 255),
            rgba(255, 238, 0, 0.055),
            transparent
        );
    }
}

@keyframes saucerMove {
    25% {
        left: 35%;
    }

    70% {
        left: 75%;
        top: 80%;
    }

    100% {
        left: 100%;
        top: 100%;
    }
}

@keyframes saucerMoveR {
    0% {
        top: 100%;
    }

    25% {
        top: 50%;
        left: 15%;
    }

    50% {
        left: 50%;
        top: 75%;
    }

    70% {
        left: 80%;
    }

    100% {
        left: 100%;
        top: 0%;
    }
}

@keyframes saucerMoveC {
    0% {
        left: 100%;
        top: 100%;
    }

    25% {
        top: 50%;
        left: 85%;
    }

    50% {
        left: 50%;
        top: 85%;
    }

    70% {
        left: 10%;
    }

    100% {
        left: 0%;
        top: -5%;
    }
}

@keyframes saucerMoveX {
    0% {
        left: 100%;
        top: 0%;
    }

    70% {
        left: 50%;
        top: 40%;
    }

    100% {
        left: 0%;
        top: -5%;
    }
}

@media only screen and (min-device-width: 100px) and (max-device-width: 480px) and (orientation: portrait) {
    .ring {
        border-bottom: 20px solid rgba(188, 250, 250, 0.151) !important;
        border-top: 15px ridge rgba(0, 255, 255, 0.02) !important;
        height: 8vh !important;
        width: 98vw !important;
        margin: 0 !important;
    }

    .welcomeBottom {
        width: unset !important;
    }

    .welcome,
    .welcome::before {
        width: 75vw;
        height: 75vw;
    }

    .welcome {
        background-color: rgba(0, 255, 200, 0.171) !important;
    }

    .dot {
        margin-bottom: -0.3vmax !important;
    }

    .linkDescription {
        width: 50vw !important;
        justify-content: unset !important;
    }
}

@media only screen and (min-device-width: 273px) and (max-device-width: 1024px) and (orientation: landscape) {
    .ring {
        border-bottom: 20px solid rgba(188, 250, 250, 0.151) !important;
        border-top: 15px ridge rgba(0, 255, 255, 0.02) !important;
    }

    .welcome {
        background-color: rgba(0, 255, 200, 0.171) !important;
    }

    .dot {
        margin-bottom: -0.3vmax !important;
    }
}
