body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background-image: url(img_pollo_locco/img/5_background/desert-background.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom;
    align-items: center;
    height: 100vh;
    justify-content: center;
    overflow: hidden;
    font-family: 'Rubik Dirt';
    touch-action: none;
}

.d-none {
    display: none;
}

.container {
    position: relative;
}

canvas {
    background-color: black;
    background-size: cover;
    background-position: 55%;
    border-radius: 10px 10px 10px 10px;
    display: block;
    pointer-events: none;
    z-index: 1;
}

.start-button:hover {
    background: linear-gradient(to bottom, #fa9a00 5%, #fae457 100%);
    background-color: #fa9a00;
}

.start-button {
    position: absolute;
    top: 75%;
    left: calc(50% - 100px);
    width: 200px;
    box-shadow: inset 0px 1px 0px 0px #fff6af;
    background: linear-gradient(to bottom, #fae457 5%, #fa9a00 100%);
    background-color: #fae457;
    font-family: 'Rubik Dirt';
    border-radius: 6px;
    border: 1px solid #f59300;
    cursor: pointer;
    color: #1f1e1f;
    font-size: 20px;
    padding: 5px 24px;
    text-decoration: none;
    text-shadow: 0px 2px 1px #ffee66;
}

.position-restart-button {
    position: absolute;
    top: 18%;
    left: calc(50% - 100px);
}

.how2play {
    display: flex;
    justify-content: space-evenly;
}

.how2play>* {
    display: flex;
    align-items: center;
}

.note {
    position: absolute;
    top: 3vh;
    width: 93%;
    left: 0;
    align-content: space-around;
    flex-wrap: wrap;
    border-radius: 6px;
    backdrop-filter: blur(2px);
    background-color: #ffffff26;
    border: 1px solid #adaba8;
    font-size: 20px;
    padding: 10px 24px;
    text-decoration: none;
    text-shadow: 0px 2px 1px #110f0745;
    cursor: context-menu;
}

.note h3 {
    margin-right: 3%;
}

.start-screen {
    background-size: cover;
    border-radius: 10px 10px 10px 10px;
    pointer-events: none;
    z-index: 1;
}

.end-screen {
    background-image: url(img_pollo_locco/img/9_intro_outro_screens/game_over/game_over.png);
    background-size: cover;
    background-position: 55%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

.win-screen {
    background-color: rgba(0, 0, 0, 0.4);
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
}

.full-screen {
    position: absolute;
    right: 1%;
    top: 1%;
    cursor: pointer;
}

.volume-button {
    position: absolute;
    right: 10%;
    top: 1%;
    cursor: pointer;
    z-index: 99;
}

.btns-bottom {
    position: relative;
    bottom: 10%;
    justify-content: space-between;
    display: none;
}

.btns-bottom img {
    padding: 0rem 15px;
}

.btn-descr {
    height: 20px;
}

.sortable-handler {
    touch-action: none;
}


/* Smartphones */

.btns-bottom {
    user-select: none;
    -webkit-user-select: none;
}

@media only screen and (max-width: 720px) {
    canvas {
        width: 100%;
    }
    .start-screen {
        width: 100%;
        height: auto;
    }
    .start-button {
        position: absolute;
        width: fit-content;
        top: 10vh;
        left: calc(50% - 100px);
    }
    .full-screen {
        display: none;
    }
    .volume-button {
        display: none;
    }
    .how2play {
        display: none;
    }
    .note {
        display: none;
    }
}

@media only screen and (max-height: 480px) {
    canvas {
        height: 100vh;
    }
    .start-screen {
        height: 100vh;
    }
    .start-screen *> {
        height: 100vh;
    }
    .start-button {
        left: calc(50% - 100px);
        top: 12%;
    }
    .full-screen {
        display: none;
    }
    .volume-button {
        display: none;
    }
    .how2play {
        display: none;
    }
}

@media only screen and (max-height: 420px) {
    .note {
        display: none;
    }
    .position-restart-button {
        top: 50px;
    }
    .position-start-button {
        top: 80px;
    }
}

@media only screen and (max-height: 360px) {
    .position-restart-button {
        top: 25px;
    }
    .start-button {
        top: 15%;
    }
}

@media only screen and (max-width: 480px) {
    .start-button {
        left: calc(57% - 100px);
        top: 12%;
    }
}