html, body, .gameboy {
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
    color: #071821;
    position: relative;
}

.gameboy-wrapper {
    transition: transform 300ms ease-out;
    transform-origin: top center;
    height: 100vh;
    width: 100vw;
}

.tall-screen.gameboy-wrapper {
    transform-origin: bottom center;
}

.off .gameboy .screen {
    background: #306850;
    filter: brightness(0.3);
}

.off .gameboy {
    background-image: url("./gb-196-off.png");
    top: 50px;
}

.off .boot-logo {
    animation: none;
    display: none;
}

.start {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.gameboy {
    background-image: url("./gb-196.png");
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    width: 520px;
    margin: auto;
    height: 862px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    transition: top 750ms ease-out;
    z-index: 1;
}

.screen {
    position: absolute;
    top: 115px;
    height: 246px;
    width: 270px;
    left: 126px;
    background: #e0f8cf;
    z-index: -1;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.title {
    font-size: 16px;
    text-align: center;
    margin-top: 40px;
    width: 100%;
}

.title, .boot-logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.boot-logo {
    animation: 3500ms linear 1 boot;
    width: 80%;
}

@keyframes boot {
    0% {
        top: 0;
        transform: translate(-50%, -10px);
    }
    100% {
        top: 40%;
        transform: translate(-50%, -50%);
    }
}
