﻿@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:wght@400;700&display=swap');

:root {
    --corner-right-img: url("astronomer.png");
    --background-img: url("background_stars.png");
}


body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--background-img);
    background-repeat: repeat;
    background-size: auto;
    pointer-events: none;
    opacity: 0.5;
    z-index: -2;
}

html.theme-light:root {
    --wh-color-bg-main: rgb(212, 235, 242);
    --wh-color-text-main: black;
    --corner-left-img: url("sun-2.png");
}

html.theme-dark:root {
    --wh-color-bg-main: rgb(15, 10, 40);
    --wh-color-bg-main-dark: rgb(15, 15, 15, 0.92);
    --wh-color-text-main: white;
    --corner-left-img: url("moon-2.png");
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--corner-left-img), var(--corner-right-img);
    background-repeat: no-repeat, no-repeat;
    background-size: 25vw 25vw, 45vw auto;
    background-position: left 2.5vw bottom 6.25vw, right bottom;
    pointer-events: none;
    z-index: -1;
}

.title__content {
    font-family: "Alegreya SC", serif;
    letter-spacing: 0.050em;
    font-weight: 300;
}

.code-block {
    background-color: rgb(15, 15, 15, 0.92);
    border: 1px solid rgb(255, 255, 255, 0.70);
    border-radius: 0.375rem;
}

.app__header {
    background-color: rgb(15, 15, 15, 0.92);
    margin: 0.5rem;
    border: 1px solid rgb(255, 255, 255, 0.70);
    border-radius: 0.375rem;
}

.app__footer {
    background-color: rgb(15, 15, 15, 0.92);
    margin: 0.5rem;
    border: 1px solid rgb(255, 255, 255, 0.70);
    border-radius: 0.375rem;
}

.app__sidebar {
    border: none;
}

html.theme-light .code-block {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.30);
}

html.theme-light .app__header {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.30);
}

html.theme-light .app__footer {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.30);
}

html.theme-light .toc {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.30);
}

.toc {
    background-color: rgb(15, 15, 15, 0.92);
    margin: 0.5rem;
    border: 1px solid rgb(255, 255, 255, 0.70);
    border-radius: 0.375rem;
}
