* {
    --background-color: rgba(250, 235, 215, 1);
    --background-color-form-container: rgba(250, 235, 215, .8);
    --border-color: yellow;
    --border-color-focus: rgba(255, 255, 0, .8);

    --background-color: #2B2A33;
    --main-color: #222;
    --outline-color: #505050;
    --font-color: #DEDEDE;
}

html {
    background-color: var(--background-color);
    font-size: 30px;
}

body,
html {
    display: flex;
    padding: 0px;
    margin: 0px;
    border-width: 0px;
    /* height: 100%; */
    width: 100%;
}

div.application-grid {
    background-color: var(--background-color);
    color: var(--font-color);
    display: grid;
    /* Automatisches Raster, das sich der Fensterbreite anpasst */

    border-color: var(--border-color);
    width: 100%;
}

body.mobile div.application-grid {
    /* mobile layout */
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    gap: .5rem;
    /* Abstand zwischen den Elementen */
    padding: .5rem;
}

body.pc div.application-grid {
    /* pc like layout. should work for tablets too. */
    grid-template-columns: repeat(auto-fit, minmax(18%, 1fr));
    gap: 1rem;
    /* Abstand zwischen den Elementen */
    padding: 1rem;
}

a.application {
    background-color: var(--main-color);
    color: var(--font-color);
    aspect-ratio: 1/1;
    position: relative;
    border-radius: 1rem;
    padding: 0px;
    margin: 0px;
}

span.application-title,
img.application-icon {
    position: absolute;
}


span.application-title {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    bottom: 0px;
    width: 100%;
    overflow: scroll;
    max-width: 100%;
    z-index: 20;
    font-family: Arial, Helvetica, sans-serif;
    /* background: linear-gradient(to top, #000, transparent); */
    background-color: #0005;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 1);
    padding-bottom: .5rem;
    padding-top: .5rem;
    text-align: center;
}

img.application-icon {
    justify-self: center;
    align-self: center;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 1rem;
}

.noscrollbar,
span.application-title {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

/* For Chrome, Edge, Safari */
.noscrollbar::-webkit-scrollbar,
span.application-title::-webkit-scrollbar {
    display: none;
}