@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

:root
{
    --bg: black;
    --fg: white;
    --light: white;
    --dark: black;
}

*
{
    margin: 0;
    font-family: "Lucida Console", Monaco, monospace;
    font-family: 'Roboto Mono', monospace;
}

html
{
    height: 100%;
    display: flex;
    justify-content: center;
}

body
{
    line-height: 1;
    min-height: 100%;
    width: 480pt;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upper, .lower
{
    flex: 1;
}

.upper
{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#moon
{
    stroke-width: 0;
    position: absolute;
    right: 0;
    top: 0;
    padding: 16px;
}

#moonbg
{
    fill: var(--dark); 
  }

#moonfg
{
    fill: var(--light);
}

#moonphase
{
    fill: var(--light);
}

header
{
    width: 100%;
    background-color: var(--fg);
}

main
{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--fg);
}

h1
{
    width: 100%;
    height: 24pt;
    color: var(--bg);
    font-size: 24pt;
    line-height: 24pt;
    text-align: center;
}

#quote
{
    width: 100%;
    color: var(--fg);
    font-size: 12pt;
    margin-top: 24pt;
    margin-bottom: 12pt;
    font-style: italic;
    text-align: justify;
    /* text-align-last: justify; */
}

#source
{
    width: 100%;
    color: var(--fg);
    font-size: 12pt;
    margin-bottom: 24pt;
    font-style: italic;
    text-align: left;
}

.links
{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

a
{
    text-decoration: none;
    color: var(--fg);
    font-weight: bold;
    width: 100%;
    text-align: center;
    padding: 6pt;
}

a:hover
{
    background: var(--fg);
    color: var(--bg);
    outline: none;
}

footer
{
    width: 100%;
    margin-top: 24pt;
    display: flex;
    /* flex-direction: column; */
    gap: 24pt;
}

footer a
{
    display: block;
    width: 100%;
    outline-style: solid;
    outline-offset: -2pt;
    outline-width: 2pt;
    box-sizing: border-box;
    text-wrap: nowrap;
    overflow: hidden;
}

@media screen and (orientation: portrait) {
    /* header {
      margin-top: 20pt;
    }
    
    p {
      width: 85%;
    }
    svg {
      margin-top: 20pt;
    } */

    svg {
        display: none;
    }

    #quote, #source {
        width: 85%;
      }
  }

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }