@media(hover: hover) {
    #intro-image {
        height: auto;
        justify-content: center;
    }

    #intro-image img:nth-child(2) {
        bottom: 2%;
    }

    #overlay {
        height: 100dvh;
        width: 100dvw;
        /* overflow: hidden; */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .screen-control-container {
        display: flex;
        justify-content: center;
        z-index: 10001;
        position: absolute;
        bottom: 2%;
        right: 1%;
    }
}

@media(max-width: 1000px) and (max-height: 1000px) and (hover: hover) {
    #losing-image {
        width: 100dvw;
        height: 100dvh;
    }

    #losing-image img {
        width: 100%;
        height: 100%;
    }

    #winning-image img {
        margin-top: unset;
        width: 45%;
        height: auto;
    }

    .button-style {
        font-size: 32px;
        position: absolute;
        bottom: 5%;
    }

    #sound-on-icon {
        width: 60px;
    }

    #sound-off-icon {
        width: 60px;
    }

    .control-panel-everything button {
        border: 4px solid black;
        border-radius: 8px;
        padding: 6px;
        background-color: wheat;
    }

    #control-panel-left-right {
        display: flex;
    }

    #control-panel-throw-jump {
        display: flex;
    }

    .canvas-container img:nth-child(1) {
        display: block;
        width: 48px;
    }

    #intro-image {
        height: 100dvh;
        width: 100dvw;
    }

    #intro-image img:nth-child(1) {
        width: 100%;
        height: 100%;
    }

    #intro-image img:nth-child(2) {
        width: 60px;
        right: calc((100% - 60px) / 2)
    }

    canvas {
        height: 100dvh;
        width: 100dvw;
    }

    .control-panel-everything {
        display: flex;
        width: 100%;
    }

    .icon-and-settings-container {
        z-index: 1000;
        position: absolute;
        top: 0;
        right: 1%;
        border: 4px solid black;
        border-radius: 16px;
        margin-top: 1%;
        padding: 1%;
        background-color: rgb(236, 203, 103, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row-reverse;
    }

    .game-functions-container {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        width: 100%;
        height: 100%;
    }

    .all-icons-button-container {
        display: none;
    }

    .links-images {
        display: none;
    }

    .game-functions-container h2 {
        display: none;
    }

    .icon-and-settings-container-mini-version {
        gap: unset;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    .control-key-style {
        min-width: 220px;
    }

    .control-keys {
        padding-left: 16px;
        justify-content: center;
        flex-direction: column;
    }

    .control-keys img {
        width: 60px;
    }

    .control-keys h3 {
        max-width: 80px;
        text-align: center;
    }

    .control-key-image-container {
        max-width: 130px;
    }

    #spacebar {
        border: 4px solid black;
    }

    #spacebar p {
        font-family: 'playpensans light';
        font-size: 18px;
    }

    .game-notification {
        align-items: center;
        justify-content: center;
    }

    .screen-control-container {
        bottom: 1%;
        right: 1%;
    }

    #all-icons-container-mini-version {
        width: 100%;
        height: 100%;
        gap: 0;
    }

    .all-icons-button-container-small-version button {
        font-size: 20px;
    }

    .main-title-properties img {
        width: 48px;
    }
}

@media(min-width: 1000px) and (max-height: 1000px) and (hover: hover) {
    .game-functions-container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .game-notification {
        font-size: 24px;
    }

    .control-keys h3 {
        font-size: 24px;
    }

    #main-title {
        font-size: 50px;
    }

    .main-title-properties img {
        width: 80px;
    }

    .game-functions-container h2 {
        display: none;
    }

    #losing-image {
        justify-content: center;
    }

    #losing-image img {
        width: 100%;
        height: 100%;
    }

    .sound-screen-container {
        right: 28%;
    }

    #sound-on-icon {
        width: 40px;
    }

    #sound-off-icon {
        width: 40px;
    }
}

@media(min-width: 1400px) and (min-height: 1000px) and (max-height: 1400px) and (hover: hover) {
    .game-functions-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .game-functions-container h2 {
        display: none;
    }

    .control-panel-everything {
        display: none;
    }

    .screen-control-container {
        justify-content: end;
    }

    #losing-image {
        justify-content: center;
    }

    #losing-image img {
        width: 100%;
        height: 100%;
    }

    #sound-on-icon {
        width: 40px;
    }

    #sound-off-icon {
        width: 40px;
    }
}

@media(min-width: 1400px) and (min-height: 1400px) and (hover: hover) {
    .all-icons-button-container {
        display: flex;
    }

    .links-images {
        display: flex;
    }

    .game-functions-container {
        position: fixed;
        border: 4px solid black;
        right: 0;
        height: 100%;
        width: 400px;
        background-color: aliceblue;
    }

    .game-functions-container h2 {
        display: block;
    }

    .icon-and-settings-container {
        display: none;
    }

    #losing-image {
        justify-content: center;
    }

    #losing-image img {
        width: 100%;
        height: 100%;
    }

    #intro-image {
        width: 1200px;
        height: auto;
        aspect-ratio: 720 / 480;
    }

    #intro-image img:nth-child(1) {
        width: 100%;
        height: 100%;
    }

    #intro-image img:nth-child(2) {
        width: 48px;
        height: auto;
        right: calc((100% - 48px)/2);
    }

    .button-style {
        font-size: 56px;
    }

    canvas {
        width: 1200px;
        height: auto;
        aspect-ratio: 720 / 480;
    }

    #sound-on-icon {
        width: 56px;
    }

    #sound-off-icon {
        width: 56px;
    }

    #all-icons-container-mini-version {
        width: 100%;
        height: auto;
    }

    .explain-game-container {
        left: 0;
    }

    .control-panel-everything {
        display: none;
    }

    .screen-control-container {
        justify-content: end;
    }
}