/* luckiest-guy-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Luckiest Guy';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/luckiest-guy-v22-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background-image: url(../img/background/ocean.png);
    background-size: cover;
    background-position: bottom;
    font-family: 'Luckiest Guy';
    overflow: hidden;
}

#player,
#bubble,
#pufferfish_green,
#pufferfish_orange,
#pufferfish_rose,
#jellyfish_lila,
#jellyfish_yellow,
#jellyfish_pink,
#jellyfish_green,
#smoke,
#endboss,
#layer4,
#layer3,
#layer2,
#layer1,
#light {
    display: none;
}

h1 {
    margin: 0 0 90px 0;
    font-size: 92px;
    color: white;
}

h2 {
    margin: 0 0 25px 0;
    font-size: 30px;
}

strong {
    font-size: 30px;
}

#debug_info {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
}

#menu {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
    overflow: hidden;
}

#menu button {
    margin: 10px;
    padding: 10px 20px;
    font-family: 'Luckiest Guy';
    font-size: 20px;
    border-width: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

#menu button:hover {
    background: rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0px 0px 2px #005DFF);
}

#menu button:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#mainMenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.controls {
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: scroll;
}

.controls p {
    font-size: 28px;
    margin: 20px 0 20px 0;
}

.controls img {
    height: 28px;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 480px;
    z-index: 15;
    background-color: #e8e8e8;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 25px;
    overflow: hidden;
}

.imprintContainer {
    text-align: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
}

#closeBtn {
    position: absolute;
    top: 10px;
    right: 20px;
    height: 16px;
    width: 16px;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

#closeBtn:hover {
    filter: drop-shadow(0px 0px 2px #005DFF);
}

#closeBtn:active {
    transform: scale(0.95);
}

#rotateMessage {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: #e8e8e8;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.d-none {
    display: none !important;
}

@media screen and (max-width: 770px),
screen and (max-height: 530px) {
    h1 {
        margin: 0 0 50px 0;
        font-size: 72px;
    }

    .container {
        width: 100%;
        height: 100%;
        padding: 15px;
        box-sizing: border-box;
    }
}