/* @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500;700;800&display=swap'); */
@font-face {
    font-family: "GeileFont";
    src: url("Matrix-MZ4P.ttf") format("truetype");
}
:root {
    --color-main: #CC00CC;
    --color-secondary: rgb(170, 0, 255);
    --color-bg: rgba(0,0,0,.8);
    --color-text: #8c8c8c;
    /* --font-size: 4rem; */
    --text-shadow: 5px 5px 5px #000000;
}

body {
    margin: 0;
    background-image: url('background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh; /* Viewport-Height */
    font-family: 'Roboto Slab', serif;
    /* font-size: var(--font-size); */
}

#search {
    display: none;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    box-sizing: border-box;
    position: absolute;
    justify-content: center;
    align-items: center;
}

#search-field {
    width: 80%;
    background-color: var(--color-bg);
    border: 2px solid var(--color-main);
    color: #d8d8d8;
    border-radius: .5em;
    font-size: 5rem;
    outline: none;
}

.window {
    display: flex;
    flex-direction: column;
    padding-top: 10em;
    align-items: center;
}

.clock {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: var(--text-shadow);
    margin-bottom: .8rem;
    color: var(--color-main);
    font-family: 'GeileFont';
}

.container {
    display: flex;
    flex-direction: row; /* Flexbox-Standart ist row */
    flex-wrap: no-wrap;
    justify-content: space-evenly; /* Justify => Alignment auf Primärachse */
    /* align-items: center; Align => Alignment auf der Sekundärachse */
    /* align-content: flex-end; */
    width: 100%;
    font-size: 1.3rem; /* Relative Schriftgröße: 
        Basierend auf Font-Size des Browsers */
}

/* .container > :nth-child(2n-1) {
    background-color: rgb(255, 217, 0,.8);
} */

.link-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 250px;
    width: 18%;
    min-width: fit-content;
    border: 7px double var(--color-secondary);
    border-radius: 20px;
    background-color: var(--color-bg);
    padding: 15px;
    margin: 0px;
}

h1.bookmark-title {
    font-size: 1.5em; /* Relative Schriftgröße: 
    Basierend auf Font-Size des Parent-Elements */
    color: var(--color-main);
    font-weight: 700;
    font-family: 'GeileFont';
}

ul.list {
    list-style-type: none;
    padding-left: 5px;
}
/* Terminal öffnen/schließen: strg+ö */

ul.list > li > a {
    text-decoration: none;
    color: var(--color-text);
    font-size:  .8em;
    font-weight: 500;
}

/* Pseudo-Klasse */
/* Beschreibt einen belibigen State eines Elements */
/* z.B. Hover, Focus, first-child,... */
ul.list > li > a:hover {
    color: var(--color-main);
    font-weight: 800;
    font-size: .9em;
    transition: all .25s ease-in-out;
}

p {
    color: white;
    background-color: rgba(0,0,0,.6);
    font-size: 1.5em;
}

.install-btn {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    transition: background-color 0.3s;
}

.install-btn:hover {
    background-color: #45a049;
}



@media only screen and (max-width: 960px) {
    /* Hier definieren wir unsere Regeln für das Mobile-Layout */
    body {
        background-image: url('background-mobile.jpg');
        height: 100%;
    }
    .window {
        padding-top: 2em;
    }
    .clock {
        margin-bottom: 20px;
    }
    .container {
        flex-direction: column;
        align-items: center;
        gap: .7em;
        font-size: 1.5rem;
    }
    .container:last-child {
        margin-bottom: 1em;
    }
    .link-container {
        width: 70%;
        min-height: fit-content;
        /* min-height: auto; Standardwert: fit-content*/
    }
    h1.bookmark-title {
        margin-top: 0;
        margin-bottom: .5em;
        font-size: 1.6em;
    }
    ul.list {
        margin: 0;
        font-size: 1.2em;
    }
}