
body {
    padding: 0;
    justify-content: center;
    align-items: center;
    background: #70C1E1;
}

.how-to-play p {
    margin: 4px 0;
}

@font-face {
    font-family: 'WillyWonka';
    font-style: normal;
    font-weight: normal;
    src: url('Wonderbar-pALD.woff') format('woff');
    }


h1 {
    margin: 0;
    text-align: center;
    color: #286634;
    font-family: WillyWonka, script;
}

.container {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, min(10vh, 10vw));
    grid-template-rows: repeat(6, min(10vh, 10vw));
    justify-content: center;
    /*opacity: 20%;*/

}

.sidebar {
    position: fixed;
    top: 20px;

    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    left: 60px;
}

.side-item {
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: default;
}

.back-button {
    background-color: #286634;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 3px 30px;
    text-decoration: none;

    position: fixed;
    top: 60vh;
    left: 60px;

}

.next-level-button {
    position: fixed;
    right: 60px;
    background-color: #286634;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 3px 30px;
    display: inline-block;
    transition: transform 0.1s;
    text-decoration: none;
    font-family: WillyWonka;
    top: 60vh;
}

.next-level-button:hover {
    transform: scale(1.1);
}

.back-button:hover {
    transform: scale(1.1);
}

.bubble{
    width: 100%;
    height: 100%;
    border: 1px white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vw;
    background: white;
    border-radius: 50%;
    font-family: Georgia, script;
}

.flex-container {
    position: fixed;
    gap: 18px;

    right: 4%;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    top: 20px;
}

.info {
    position: static;
    z-index: 100;
}

.toggle {
    background: #286634;
    font-size: large;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

#toggle {
    display: none;
}

.how-to-play {
    display: none;
    position: fixed;
    top: 22%;
    right: 4%;

    width: 220px;
    padding: 10px;
    border-radius: 10px;

    background: #286634;
    opacity: 50%
    /*background: rgba(112, 193, 225, 0.3);*/
}

#toggle:checked ~ .how-to-play {
    display: block;
}

.grid {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.keyboard-row {
    width: 600px;

    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    background-color: #70C1E1;
}

.key-tile {
    width: 56px;
    height: 60px;
    margin: 1px;
    border: 1px solid lightgray;
    background: white;
    border-radius: 10px;
    transition: transform 0.05s ease-out;

    /* Text */
    font-size: 40px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.is-pressed {
    transform: scale(0.90);
}

.key-tile:hover {
    background: #6aaa64;
}

.enter-key-tile {
    width: 116px;
    height: 60px;
    margin: 1px;
    border: 1px solid lightgray;
    border-radius: 10px;
    background: white;
    cursor: not-allowed;

    /* Text */
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.enter-key-tile.available:hover{
    background: #6aaa64;
}

.available {
    box-shadow: inset 0 0 0 5px #6aaa64;
    cursor: pointer;
}

.logout-button {
    position: static;
    background-color: #286634;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 6px 30px;
    display: inline-block;
    transition: transform 0.1s;
    text-decoration: none;
    font-family: WillyWonka;
}

.correct{
    background: #6aaa64;
    color: white;
}

.wrong-position{
    background:  #c9b458;
    color: white;
}

.wrong{
    background:  #787c7e;
    color: white;
    cursor: default;
}