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

body {
    /*background: black;
    size: cover;*/
    font-family: 'Press Start 2P', cursive;
    overflow-y: scroll;

}

.navbar {
    width: 100%;
    background-color: black;
    overflow: auto;
}

.navbar a {
    float: left;
    padding: 12px;
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.navbar a:hover {
    background-color: #f011cb;
}

@media screen and (max-width: 500px) {
    .navbar a {
        float: none;
        display: block;
    }
}

h1 {
    margin-top: 40px;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    color: #1a1f66;
    text-rendering: optimizeLegibility;
    animation: glow 1.9s linear infinite;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 2px rgb(228, 65, 214);
    }
    50% {
        text-shadow: 0 0 16px rgb(200, 62, 212);
    }
    100% {
        text-shadow: 0 0 2px rgb(223, 169, 205);
    }
}

.container {
    /* height: 100vh; */
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
}

.test {
    height: 200px;
    width: 250px;
    position: absolute;
    z-index: 2;
    display: flex;
}

.test2 {
    height: 200px;
    width: 250px;
}

.card {
    /* visibility: hidden; */
    z-index: 1;
}

.layers {
    width: 300px;
    height: 200px;
    transition: 0.5s;
    font-family: 'Press Start 2P', cursive;
    color: whitesmoke;
}

img {
    width: 200px;
    margin-top: 10px;
}

.top-layer {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    position: relative;
    z-index: -1;
    transform: translateY(100px);
    font-size: 14px;
    border-radius: 50%;
}

.card:hover .top-layer {
    transform: translateY(0);
    /* box-shadow: none|h-offset v-offset blur spread color |inset|initial|inherit; */
    box-shadow: 0 0 60px whitesmoke inset, inset 20px 0 80px #f0f, inset -20px 0 80px #0ff, inset 20px 0 300px #f0f, inset -20px 0 300px #0ff, 0 0 50px #fff, -10px 0 80px #f0f, 10px 0 80px #0ff;
}

h3 {
    margin-top: 10px;
}

.bottom-layer {
    display: flex;
    align-items: center;
    text-align: center;
    background-color: rgb(47, 48, 110);
    position: relative;
    transform: translateY(-100px);
    font-size: 14px;
    border: 1px solid black;
    box-shadow: 2px 2px black, 3px 3px white;
}

.card:hover .bottom-layer {
    transform: translateY(0);
}

.ptest {
    color: white;
    font-size: 2em;
}

footer {
    color: white;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    text-align: center;
    margin-top: 50px;
    opacity: 0
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 1s ease;
}

.text-blink {
    animation: blink .7s ease-in-out .1s;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .2;
    }
    100% {
        opacity: 1;
    }
}

.percent {
    color: #999;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 15px;
}

.progress-bar {
    width: 406px;
    height: 21px;
    background-color: #111;
    border-radius: 13px;
    padding: 3px;
    box-sizing: border-box;
}

.progress {
    width: 200px;
    height: 15px;
    background: #f011cb;
    border-radius: 13px;
}

h1 {
    opacity: 0
}

.navbar {
    opacity: 0
}