html {
    --title-text-size: 1.6rem;
    --heading-text-size: 1.3rem;
    --body-text-size: 1.3rem;
    --sub-text-size: 1.0rem;
    --footer-size: max(2cm, 4rem)
}

@media (prefers-color-scheme: light){
    html{
        --background-color:  rgb(255, 165, 30);
        --light-text-color:  rgb(125, 0, 255);
        --main-text-color:  rgb(100, 0, 200);
        --link-color:  rgb(210, 0, 210);
        background-color: var(--background-color);
    }
}
@media (prefers-color-scheme: dark){
    html{
        --light-text-color:  #c497e2;
        --main-text-color:  rgb(255, 165, 30);
        --link-color:  rgb(255, 60, 135);
        --code-bg-color:  rgb(36, 38, 42);
        --background-color: #301832;
        background-color: var(--background-color);
    }
}

@media (min-width: 700px) {
  .menu {
      display: none;
  }
}


@media (max-width: 700px) {
  .navbar {
      display: none;
  }
}

.title {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    font-style: bold;
    font-size: var(--title-text-size);
}

figure > * {
    max-width: 60%;
    max-height: 20rem;
    margin: auto;
}

figcaption {
    font-size: var(--sub-text-size);
    font-weight: bold;
    text-align:center;
    color: var(--light-text-color);
}

.subtitle {
    font-size: var(--sub-text-size);
    font-weight: bold;
    text-align:center;
    color: var(--light-text-color);
}

footer {
    z-index: 1;
    background-color: var(--background-color);
    position: fixed;
    bottom: 0;
    left: 0%;
    width: 100%;
    height: var(--footer-size);
}

footer > div {
    height: 100%;

    display: flex;
    column-gap: 3rem;
    align-items: center;
    justify-content: center;
}

footer > div * {
    display: flex;
    align-items: center;
    justify-self: center;
}

.top-spacer {
    position: relative;
    height: 2rem;
}

.logo {
    z-index: 2;
}

.menu {
    height: 50%;
    left: -7rem;
    min-width: 100%;
    background: var(--background-color);

}

.menu > button {
    margin-bottom: 0.62rem;
    margin-top: 0.62rem;
    text-align: center;
    width: 7rem;
    margin-left: calc(50% - 3.5rem);
    background: var(--background-color);
    color: var(--link-color);
    border: 3px solid var(--light-text-color);

    height: 3.5rem;
    font-weight: bold;
    font-size: var(--heading-text-size);
}

.menu > hr {
    position: relative;
    top: -2px;
    left: -5px;
    width: 200%;
}

.menu-list {
    display: none;
    position: absolute;
    margin-left: calc(50% - 6rem);
    width: 12rem;
    background: var(--background-color);
    overflow: auto;
    border: 3px solid var(--light-text-color);
    font-weight: bold;
    font-size: var(--heading-text-size);
    text-align: center;

    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

.menu:hover .menu-list {
  display: flex;
}

.menu:active .menu-list {
  display: flex;
}

.navbar {
    background: var(--background-color);
    height: 50%;
    left: -5rem;
    width: 100%;
}

.navbar > hr {
    position: relative;
    top: -2px;
    left: -5px;
    width: 200%;
}

nav {
    height: var(--footer-size);
    font-weight: bold;
    font-size: var(--heading-text-size);

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

body {
    font-family: "Courier New", monospace;
    text-rendering: optimizeLegibility;
    line-height: 1.75;
    color: var(--main-text-color)
}

a {
    color: var(--link-color);
    text-decoration: none
}

hr {
    margin: 0;
    background: var(--light-text-color);
    border: none;
    border-bottom: 0px solid var(--light-text-color);
    height: 4px;
}

header {
    display: block;
    position: fixed;
    display: flex;
    z-index: 1;
    top: 0;
    width: 100%;
    height: calc(2 * var(--footer-size));
}

header > a {
    text-decoration: none
}

header > a.active {
    font-weight: bold
}

.fig {
    margin-top: 5rem;
}

blockquote {
    font-style: italic;
    border-left: 5px solid var(--dark-text-color);
    padding-left: 1rem
}

h1,h2,h5 {
    font-weight: bold;
    font-size: var(--heading-text-size);
    margin-top: 3rem;
    color: var(--light-text-color);
}

h1 {
    font-size: var(--title-text-size);
}

strong,b {
    font-weight: bold
}

main {
    width: 80%;
    font-size: var(--body-text-size);
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: calc(var(--footer-size) / 2);
    padding-bottom: var(--footer-size);
}

.flex-row-between {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

.address span:first-child:after{
    content:"\0040";
}

.address span:last-child:after{
    content:"\002E com.";
}.
