@font-face
{
  font-family: Nunito;
  src: url('/assets/font/Nunito-Regular.ttf');
}

@font-face
{
  font-family: Nunito;
  src: url('/assets/font/Nunito-Bold.ttf');
  font-weight: bold;
}

@font-face
{
  font-family: Nunito;
  src: url('/assets/font/Nunito-Italic.ttf');
  font-style: italic;
}

@font-face
{
  font-family: Nunito;
  src: url('/assets/font/Nunito-BoldItalic.ttf');
  font-style: italic;
  font-weight: bold;
}

body
{
  font-family: 'Nunito', sans-serif;
  margin: 0;
  background-color: #F3F1F8;
}

*
{
  box-sizing: border-box;
}

/* this is just a cool box, it's the darker colored one */
.box {
    background-color: #e8e5f3;
    border: 2px dotted #ED64F5;
    padding: 10px;
    margin: 5px 0px;
}

/* i don't know what the hell i'm doing please dont judge me i'm sorry */
.rssLinkHeader {
    margin-top: 0px;
    margin-bottom: 5px;
    text-align: center;
}
.rssLinkBar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.rssLinkImage {
    width: 20px;
    height: 20px;
}
.rssLinkText {
    text-decoration: underline;
}

.myLinksList {
    ul {
	list-style-type: none;
	padding-inline-start: 10px;

	li::before {
	    position: relative;
	    content: "🟣";         /* 4. Inject the emoji */
	    font-size: 0.7em;      /* 5. Make it smaller! (0.7em is roughly 30% smaller than the text) */
	    
	    left: -5px;           /* Pulls it into the padded area on the left */
	    top: -2px;              /* Moves it halfway down the line */
	    transform: translateY(-50%); /* Centers it vertically with the text perfectly */
	}
	li {
	    padding-bottom: 5px;
	}
    }	
}

/* these add a little extra content above the footnote links, instead of putting the text at the absolute top
of the window */
.footnote-item {
    scroll-margin-top: 40px;
}
.blog_post sup a {
    scroll-margin-top: 40px;
}

#container
{
  max-width: 900px;
  /* this centers the entire page */
  margin: 0 auto;
}


/* links EXCEPT for navigation */
#container a
{
  color: #ED64F5;
  font-weight: bold;
}

#header
{
  width: 100%;
  background-color: #22577A;
  height: 150px;
  background-image: url('/assets/images/header.png');
  background-size: 100%;
}

#navbar
{
  height: 40px;
  background-color: #6C5B7B;
  width: 100%;
}

#navbar ul
{
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
}

#navbar li
{
  padding-top: 10px;
}

#navbar li a
{
  color: #ED64F5;
  font-weight: 800;
  text-decoration: none;
}

#navbar li a:hover
{
  color: #F39AF9;
  text-decoration: underline;
}

#flex
{
  display: flex;
}

aside
{
  background-color: #E2D4F0;
  width: 200px;
  padding: 20px;
  font-size: smaller;
}

main
{
  background-color: #E8E5F3;
  flex: 1;
  padding: 20px;
  order: 2;
}

#rightSidebar
{
  order: 3;
}

footer
{
  background-color: #6C5B7B;
  color: #ED64F5;
  width: 100%;
  height: 40px;
  padding: 10px;
  font-size: smaller;
  /* this centers the footer text */
  text-align: center;
  /* this adds some padding at the bottom, mostly so footnotes jump to the footnote */
  margin-bottom: 50vh;
}

code
{
    padding: 4px;
    background-color: #DDDDDD;
}

h1, h2, h3
{
  color: #ED64F5;
}

h1
{
    text-align: center;
  font-size: 25px;
}

hr {
  border: none;
  height: 10px;
  /* This creates a seamless repeating wave pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2 Q 5 0, 10 2 T 20 2' fill='none' stroke='%23F5A9B8' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 20px 10px;
  margin: 20px 0 0 0;

  /* Layer 2: The Mask that forces it to fade out on both ends */
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
}

.blog_post hr {
    margin: 5px 20% -10px 0;
}

:is(.blog_list, .blog_post, #rightSidebar) h2
{
    margin: 10 0 0 0;
}

:is(.blog_list, .blog_post, #rightSidebar) h4
{
    margin: 0 0 0 10;
    font-size: small;
    font-weight: normal;
    font-style: italic;
}

#rightSidebar hr {
    margin: 10px 5% 5px -10px;
}

#rightSidebar h5
{
    margin: 0 0 0 10;

    font-style: italic;
}
#rightSidebar h4
{
    margin: 0 0 0 -5;
}

strong
{
  color: #ED64F5;
}

@media only screen and (max-width: 800px)
{
  #flex
  {
    flex-wrap: wrap;
  }

  aside
  {
    width: 100%;
  }

  main
  {
    order: 1;
  }

  #leftSidebar
  {
    order: 2;
  }

  #rightSidebar
  {
    order: 3;
  }

  #navbar ul
  {
    flex-wrap: wrap;
  }
}

