html {
    font-size: clamp(62.5%, 1.5vw + 0.3rem, 75%)
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    font-family: Inconsolata, monospace;

/* 
---- Palette:
  "#9239F6",
  "#903495",
  "#6F3460",
  "#4A354F",
  "#D20076",
  "#FF0076",
  "#FF4373",
  "#FF6B58",
  "#F8B660"
   #FA5F70FF
     */

    --bg-col: #0f0d1a;
    --title-col: #FF0076;
    --byline-col: #FF0076;
    --font-col: #FF4373;
    --hover-col: #9239F6;
    --highlight-col: #9239F6;
    
}

body {
  background-image: radial-gradient(
    #4A354F, black 120%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
}

body::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  background-repeat: repeat;
  background-attachment: fixed;
  background: 
    linear-gradient( 
    rgba(18, 16, 16, 0) 1px,
    rgba(0, 0, 0, 0.25) 1px);
  pointer-events: none;
background-size: auto 2px;
}

header {
    color: #D20076;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    max-width: 800px;
    min-width: 320px;
    margin: 0px;
    margin-left: auto;
    margin-right: auto;
}

#title {
    font-size: 3.8rem;
    color: #D20076;
    text-shadow: #D20076 0px 0px 1px; 

}

#subtitle {
    font-size: 1.4rem;
    text-align: left;
    color: #D20076;
    text-shadow: #D20076 0px 0px 1px; 

}

main {
    padding-left: 5%;
    padding-right: 5%;
}

#stream {

    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px; /* hmm */ 
    margin-left: auto;
    margin-right: auto;

    height: fit-content;
}

.post {

    color: var(--font-col);
    text-shadow: var(--font-col) 0px 0px 1px; 

    width: 100%;
    height: fit-content;
    margin: 1%;
    padding: 1%;

    font-size: 1.5rem;
}

.byline {
    color: var(--byline-col);
    text-shadow: var(--byline-col) 0px 0px 1px; 

    display: flex;
    flex-direction: column;
    align-items: flex-start;

}

.post-title, .post-date {
    margin: 0px;
}

.post-title {
    font-size: 3rem;
}

.post-date {
    font-size: 1.5rem;
}

.preview {
    font-size: 1.5rem;
}

 p {
    color: var(--font-col);
    padding: auto 1% auto 0%;
    text-shadow: #FF4373 0px 0px 1px; 
}

footer {
    display: block;
    max-width: 800px;
    width: 100vw;
    height: 60px;
    margin: auto;
    padding: 1%;
}

.horiz {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.post-link {
    text-decoration: inherit;
    color: inherit;
    height: inherit;
    width: inherit;
    padding: 0px;
    margin: 0px;
}

::selection, ::-moz-selection {
    background: var(--highlight-col);
}

a {
    padding: 0px;
    margin: 0px;
    color: #FF0076;
    text-shadow: #FF0076 0px 0px 1px; 

    text-decoration: none;
}

@media only screen and (max-width: 780px) {
    header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 3%;
    padding-bottom: 3%;
    }

    #title {
    font-size: 3.5rem;
    }

    #subtitle {
    font-size: 1.8rem;
    }
}