@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Gowun+Dodum&family=Gugi&family=Hahmlet:wght@100;200;300;400;500;600;700;800;900&family=Ubuntu:wght@400;700&family=VT323&display=swap');

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#container {
    width: 100%;
    height: 100%;
    background-image: url('../static/img/bg.jpg');
}

.idle-status {
    width: 100%;
    height: 7%;
    background-color: red;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.idle-title {
    padding-left: 10px;
    margin: 0;
    display: inline-block;
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: Gugi;

    grid-column: 1/2;
    grid-row: 1/3;
}

.idle-main {
    width: 100%;
    height: 93%;

    background-color: transparent;
}

.idle-open-button {
    background-color: blue;
    width: 100%;
    height: 7%;
}

#idle-menu-open {
    display: none;
}

.idle-open-close {
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 300%;
    cursor: pointer;
}

.idle-room {
    width: 100%;
    height: 93%;
    background: transparent;
    text-align: center;
    cursor: pointer;
}

.idle-room .user-money {
    width: 100%;
    font-size: 600%;

    position: absolute;
    z-index: 12;
    top: 20%;

    font-family: VT323;
    text-shadow: 1px 1px 3px #DDDDDD;
    color: white;
}

.idle-room img {
    height: 100%;
    z-index: 8;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.idle-menu {
    width: 100%;
    height: 0%;
    background-color: blue;
    display: grid;
    grid-template-rows: 1fr 5fr;
}

.idle-menu-tab {
    background-color: cyan;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.idle-menu-div {
    margin: 10px 10px 0 10px;
    background-color: darkgoldenrod;
    color: white;
    font-family: Hahmlet;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 150%;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

.idle-menu-items {
    background-color: darkviolet;
    display: grid;
    grid-template-rows: 1fr 4fr;
}

.idle-submenu {
    background-color: darkslategray;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.idle-submenu-item {
    padding: 5px;
    background-color: bisque;
    margin-right: 10px;
    font-size: 25px;
    text-align: center;
    height: 100%;
    width: 10vw;
    cursor: pointer;
}

.idle-submenu-list {
    background-color: plum;
}

#idle-menu-open:checked~.idle-main .idle-room {
    animation-name: menuOpenRoom;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

#idle-menu-open:checked~.idle-main .idle-menu {
    animation-name: menuOpenMenu;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

#idle-menu-open:checked~.idle-main .idle-open-close {
    animation-name: menuOpenText;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

#copyrights {
    display: none;
}

@keyframes menuOpenRoom {
    0% {
        height: 93%;
    }

    100% {
        height: 50%;
    }
}

@keyframes menuOpenMenu {
    0% {
        height: 0%;
    }

    100% {
        height: 43%;
    }
}

@keyframes menuOpenText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

@media only screen and (max-width: 768px) {
    .idle-menu-div {
        font-size: 120%;
    }

    .idle-menu-items {
        grid-template-rows: none;
        grid-template-columns: 1fr 5fr;
    }

    .idle-submenu {
        flex-direction: column;
    }

    .idle-submenu-item {
        margin-top: 10px;
        height: auto;
        width: 100%;
    }
}