html {
    width: 100%;
    height: 100%
}

body {
    background-color: #000;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%
}

#unity-container {
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%
}

body > input {
    font-size: 16px!important;
    width: 70vw!important;
    height: auto!important;
    line-height: 1.5;
    z-index: 10;
    bottom: 2em!important;
    border: 1px solid #000!important;
    box-sizing: border-box;
    padding: 0.5em!important;
    background: rgba(255, 255, 255, 0.6);
    appearance: none;
    left: 50%!important;
    transform: translate(-50%, 0);
}

#unity-canvas {
    color: #000;
    background: #eee
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    text-align: center;
}

#unity-loading-bar::before {
    content: '';
    display: block;
    width: 32vmin;
    padding-top: 12.9943%;
    
    background: url('./loading.png') no-repeat center;
    background-size: contain;
    margin: 0 auto 2vmin;
}

#unity-logo {
    width: 30vmin;
    height:30vmin;
    background: url('./puniru-400.gif') no-repeat center;
    background-size: contain;
    margin: 0 auto;
}

#unity-progress-bar-empty {
    width: 32vmin;
    height: 1.8vmin;
    margin: 2vmin auto 0;
    padding: 0;
    border: 1px solid #ffb5fb;
    border-radius: 9vmin;
    background-color: #eee;
    box-sizing: content-box;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s linear 0.2s;
}

#unity-progress-bar-empty::before {
    content: '';
    color: #ffb5fb;
    font-size: 1vmin;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.unity-state-loading #unity-progress-bar-empty {
    opacity: 1;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffb5fb;
}

#unity-footer {
    position: relative
}

.unity-mobile #unity-footer {
    display: none
}

#unity-webgl-logo {
    float: left;
    width: 204px;
    height: 38px;
    background: url('webgl-logo.png') no-repeat center
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: arial;
    font-size: 18px
}

#unity-fullscreen-button {
    float: right;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    color: #000;
    padding: 10px;
    display: none!important;
    z-index: 3;
}

/*
Custom
*/
#atali-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 10;
}

.atali-overlay-row {
    display: flex;
    align-items: stretch;
    justify-items: start;
}

#atali-overlay button {
    pointer-events: none;
    appearance: none;
    border: 1px solid #fff;
    border-radius: 0.5em;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1em;
    box-sizing: border-box;
    cursor: pointer;
    margin: 1em;
    display: inline-block;
}

.atali-ui-playing,
.atali-ui-ended {
    opacity: 0;
}

.unity-state-game-started .atali-ui-playing,
.unity-state-game-ended .atali-ui-ended {
    opacity: 1;
}

/*
sounds
*/
.js-sound-off,
.unity-state-sound-started .js-sound-on {
    display: none!important;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.js-sound-on,
.unity-state-sound-started .js-sound-off {
    display: inline-block!important;
    pointer-events: all;
}

/*
vertical
*/
#vertical-container {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    z-index: 2;
}

@media screen and (orientation: portrait) {
    #vertical-container {
        display: block;
    }
}

#vertical-content {
    position: absolute;
    font-family: 'Noto Sans JP', sans-serif;
    top: 40%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

.vertical-img {
    width: calc(200 / 375 * 100vw);
    margin: 0 auto;
}

.vertical-img img {
width: 100%;
}

.vertical-text-container {
margin-top: calc(27 / 375 * 100vw * -1);
}

.vertical-subtitle {
font-size: calc(16 / 375 * 100vw);
font-weight: 600;
text-align: center;
color: #D645FF;
margin: 0;
}

.vertical-description {
font-size: calc(12 / 375 * 100vw);
font-weight: 600;
margin: 0 auto;
margin-top: calc(20 / 375 * 100vw);
width: fit-content;
}

.vertical-description p {
margin: 0;
width: fit-content;
}

.vertical-description p+p {
margin-top: calc(8 / 375 * 100vw);
}

.vertical-description p::before {
display: inline-block;
content: " ";
width: calc(12 / 375 * 100vw);
height: calc(12 / 375 * 100vw);
background-color: #C650F6;
border-radius: 50%;
margin-right: calc(7 / 375 * 100vw);
}