@font-face {
    font-family: 'FangSong';
    src: url('assets/fangsong.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "FangSong", "SimFang", serif;
}

#typewriter {
    background: rgb(240, 240, 238);
    width: 100%;
    height: 3em;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    text-align: center;
    font-size: 1.5em;
}

#animation {
    background: rgba(255, 255, 255, 1);
    display: flex;
    position: fixed;
    top: 0%;
    bottom: 40%;
    left: 0;
    right: 0;
    z-index: 1;
}

#magic_eye {
    display: flex;
    position: fixed;
    top: 60%;
    bottom: 0;
    left: 0;
    right: 0;
}

table {
    border-spacing: 2em;
    position: absolute;
    left: 50%;
    top: 50%;
}

td {
    width: 3em;
    height: 5em;
    padding: 0.5em;
    border: black solid 1px;
    border-radius: 5px;
    margin: 1em;
}

.eight {
    width: 3em;
    height: 6em;
}

.characters {
    width: 2em;
    height: 4em;
    writing-mode: vertical-rl;
    margin: 0 auto 0 auto;
    padding: .5em .2em 0em .5em;
    float: center;
}

.hint {
    height: 1em;
    margin: 0.5em;
}

em {
    font-style: normal;
    color: red;
}

/* Full screen blur effect */
.blur-overlay {
    position: absolute;
    /* backdrop-filter: blur(5px); Apply blur effect */
    background: rgba(192, 192, 192, 0.8); /* Semi-transparent layer */
    z-index: 1;
}

#blur-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
}

#blur-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
}

#blur-left {
    top: 0%;
    left: 0;
    width: 50%;
    height: 100%;
}

#blur-right {
    top: 0%;
    right: 0;
    width: 50%;
    height: 100%;
}

footer {
    position: fixed;
    height: 4em;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-color: #f0f0f0;
    border-top: 1px solid #e0e0e0;
}