body {
    margin: 0;
    overflow: hidden;
    background: black;
    color: #0F0;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

canvas {
    display: block;
}

.nodisplay {
    display: none;
}

.show-gianpa {
    color: #F00;
    font-size: 4em;
    font-family: monospace;
    animation: bounce 1s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.fulltext {
    color: rgb(27, 126, 57);
    font-size: 1em;
    font-family: sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease-in-out;
}

.off {
    opacity: 0;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.modalOver {
    position: fixed;
    inset: 0px;
    display: flex;
    z-index: 9999999;
    pointer-events: none;
    align-items: flex-end;
    padding-bottom: 20px;
    -webkit-box-pack: start;
    justify-content: flex-start;
    padding-left: 20px;
    font-family: sans-serif;
}

.modalOverContent {
    align-content: flex-start;
    background-color: #003300;
    padding: 10px;
    max-width: 200px;
    border-radius: 10px;
    opacity: 0;
}

@media only screen and (min-width: 1px) {
    .fulltext {
            width: 90%;
            font-size: 1em;
    }
}

@media only screen and (min-width: 576px) {
    .fulltext {
            width: 80%;
            font-size: 1em;
    }
}

@media only screen and (min-width: 768px) {
    .fulltext {
            width: 70%;
            font-size: 1em;
    }
}

@media only screen and (min-width: 1024px) {
    .fulltext {
            width: 50%;
            max-width: 700px;
            font-size: 1.4em;
    }
}

@keyframes pop-in {
    from { display: none; opacity: 0; transform: scale(0); }
    1% { display: block; opacity: 1; transform: scale(0.1); }
    80% { display: block; opacity: 1; transform: scale(1.2); }
    to { display: block; opacity: 1; transform: scale(1); }
}

@keyframes pop-out {
    from { display: block; opacity: 1; transform: scale(1); }
    20% { display: block; opacity: 1; transform: scale(1.2); }
    99% { display: block; opacity: 1; transform: scale(0.1); }
    to { display: none; opacity: 0; transform: scale(0); }
}

.show {
    display: block;
}

.popin {
    animation:pop-in 0.5s forwards;
}

.popout {
    animation:pop-out 0.5s forwards;
}

.boldclass {
    font-weight: bold;
    color: #fff;
}