@media only screen and (max-width: 540px) {
    :root {
        --vh: 1vh;
    }

    body {
        height: calc(var(--vh) * 100);
        overflow: hidden;
        background-size: cover;
        background-image: url("../owl\ 9-16.png");
    }

    .desktopicon {
        max-width: 100px;
        max-height: 100px;
        text-shadow: 0px 1px 10px black;
        color: white;
        margin: 15px 0;
    }

    .desktopicon>img {
        border-radius: 10px;
        width: 60px;
        height: 60px;
        background-color: white;
    }

    .desktopicon>img.nbg {
        padding: 10px;
        object-fit: scale-down;
        width: 40px;
        height: 40px;
    }

    .windowX {
        float: none;
    }

    .title {
        position: absolute;
        bottom: 0;
        width: calc(100vw - 17px);
        height: 20px !important;
        font-size: 22px !important;
        line-height: 20px !important;
        background: rgba(0, 0, 0, 0.228) !important;
    }

    .window>main {
        padding: 13px;
        overflow-y: scroll;
        overflow: auto;
    }

    .window {
        background-color: rgb(212, 186, 212)
    }

    .desktopicon:hover {
        outline: none !important;
    }

    .desktopicon.selected {
        background-color: transparent !important;
        outline: none !important;
    }

    dialog {
        width: 70vw;
        min-height: 190px;
        border-radius: 15px;
        background-color: rgba(79, 26, 106, 0.86);
        color: white;
        backdrop-filter: blur(10px);
        border: none;
    }

    dialog::backdrop {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (prefers-color-scheme: dark) and (max-width: 540px) {
    .window {
        background-color: rgb(64, 56, 64);
        color: white;
    }

    a {
        color: rgb(109, 109, 255)
    }

    .desktopicon>img {
        background-color: rgb(41, 41, 41) !important;
    }
}