* {
    font-family:
        Fragment Mono,
        monospace;
}

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

.notice {
    background-color: rgb(255 255 255 / 0.4);
    padding: 10px;
    margin: 5px;
    border-radius: 0.5em;
}

.desk {
    display: flex;
    justify-content: center;
    align-items: center;
/*  background-image: url("https://raiz1.noho.st/gotthard/.personal/kevadesu/assets/kevadesu-wallpaper.png"); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    flex-wrap: wrap;
    gap: 2rem;
}

.window {
    background-color: #FFFFFF80;
    padding: 1rem;
    text-align: left;
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    backdrop-filter: blur(8px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    min-width: 20%;
    max-width: 1150px;
    max-height: 90%;
    border-radius: 0.5em;
    overflow: auto;
    box-sizing: border-box;
    width: clamp(300px, 40%, 600px);
}

button,
.button,
.btn {
    border-radius: 0.5em;
    border: solid #FFFFFFCC 1px;
    backdrop-filter: blur(8px) saturate(180%);
    background-color: #00000080;
    color: white;
    padding: 5px;
    margin-bottom: 10px;
    margin-right: 1px;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.15s;
}

button:hover,
.button:hover,
.btn:hover {
    background-color: rgba(119, 136, 153, 0.500);
    text-decoration: underline dotted;
    cursor: pointer;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

code,
.codeblock {
    background-color: rgba(0, 0, 0, 0.500);
    color: white;
    padding: 1%;
    margin-top: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: solid darkslategrey 3px;
    overflow-x: auto;
    line-height: 1.5;
    white-space: pre;
}

code:hover,
.codeblock:hover {
    background-color: #323232E6;
    /* Slightly lighter on hover */
    border-color: lightslategrey;
    /* Highlight the border */
}

@media (max-width: 1000px) {
    .window {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
}

@media (prefers-color-scheme: dark) {
    .window {
        background-color: #00000080;
        color: white;
        text-decoration: white;
    }
    
    a {
        color: lightblue;
    }
    
    .button, button, .btn {
        background-color: #FFFFFFBF;
        color: black;
        border: solid #FFFFFFCC 1px;
    }

    .button:hover, button:hover, .btn:hover {
        background-color: rgba(47, 79, 79, 0.500);
        color: white;
        box-shadow: 0 4px 30px rgba(255, 255, 255, 0.2);
    }

}