/* Global CSS styles */

:root {
    --stack: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --light: #EBEBEB;
    --dark: #1C1C1C;
    --dark-semitransparent: rgba(28,28,28,0.5);
    --dark-darker: #151515;
    --dark-darker-semitransparent: rgba(21,21,21,0.8);
    --red: #e74c3c;
    --yellow: #fbba17;
    --primary: #007bff;
    --primary-darker: #005ec3;
    --border: #8e8e8e;
    --link: #4a97ce;
}

#sveltekit-body {
    display: contents;
}

input {
    font-family: var(--stack);
    color: var(--dark);
    background-color: var(--light);
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--stack);
    /* background-color: var(--dark); */
    color: var(--light);

    /* padding: 1rem; */
    /* padding-inline: 1rem; */
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
      linear-gradient(var(--dark-semitransparent), var(--dark-semitransparent)),
      url('/wallpaper.jpg') no-repeat center center;
    z-index: -1;
}

* {
    box-sizing: border-box;
}

a {
    font-size: inherit;
    text-decoration: none;
    color: var(--link);

    transition: color 0.15s ease;
}

a:hover {
    color: color-mix(in srgb, var(--link), white 25%);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
