@font-face {
    font-family: 'unifont';
    src: url('assets/unifont_jp-16.0.woff2');
}

html {
    overflow: hidden;
    position: fixed;
    width: 100%; height: 100%;
}

body {
    overflow: hidden;
    position: fixed;
    width: 100%; height: 100%;
    margin: 0;
    font-family: 'unifont';
    background-color: #808080;
}

#bg {
    position: fixed;
    z-index: -999;
}

#alter {
    position: absolute;
    top: 0; left: 0;
    width: 100svw; height: 100svh;
    display: flex;
}

.nakami { /* tree, info 共通の値 */
    /* position: fixed; */
    font-size: 16px;
    overflow-y: auto;
    scrollbar-width: thin;
    border-radius: 2px;
}

#tree {
    position: absolute;
    bottom: 0; left: 0;
    max-width: 100svw;
    max-height: 50%;
    letter-spacing: 2px;
    user-select: none;
    background-color: var(--shiro);
    opacity: 0;
}
#tree:hover {
    opacity: 100;
}

#info {
    margin: var(--yohaku);
    justify-self: center;
    align-self: center;
    top: 0; right: 0;
    width: 100%;
    max-height: 50%;
    line-height: 1.2;
}
#info img,
#info video {
    width: 100%;
    border-radius: 2px;
}
#info::selection {
    color: var(--shiro);
    background-color: var(--kuro);
}

a:visited {
    color: #0000EE;
}
a:hover {
  color: #FF0000;
}

/* --- */

:root {
  --yohaku: 32px;
  --shiro: #fff;
  --kuro: #000;
}