/***

EGGRAMEN Site CSS, version 6: "she has escaped!!".

Hi there, visitor! If you're reading this: feel free to borrow bits and pieces to reuse for your own site! :D
All I ask is that you do not copy my site CSS in its entirety and/or try to impersonate me with it. Thanks!

***/

@font-face {
  font-family: "Cantarell VF";
  src: url("/fonts/Cantarell-VF.otf");
  }

body {
  /* attempt to use preinstalled cantarell first, then hosted version */
  font-family: "Cantarell", "Cantarell VF", sans-serif;
  color: #fff;
  background: linear-gradient(to bottom, rgba(130,154,150,0.3) 0px, rgba(35,65,45,0.55) 70vh), #1a2a2c url("https://beetle-bytez.neocities.org/Untitled1_20260131192631.png") no-repeat;
	background-size: cover;
	background-attachment: fixed;
  background-position:bottom center;
  word-wrap: break-word;
  }


/*** LINKS AND TWEAKS***/

a {
  color: #f1f2f3;
  }
  
a:hover, a:focus {
  color: #f4f4fb;
  }

a:focus {
  outline: 1px solid #d6d6ea;
  padding: 1px;
  } 

a:focus img {
  outline: 2px solid #eee;}

hr {
  border: 1px inset #aaaaaf;
  margin: 1.75em 2.25em;
  }
  
li {
  padding: 0.12em 0;
  }
  
ul {
  padding-left: 1.85em;
  }

a {
  font-weight: 600;
  }
  
ol li::marker, .title-bar {
  font-weight: bold;
  }

h1, h2, h3, .right-links a, .category-title a, th {
  font-weight: 900;
  }
  
p, ul, ol, table {
  line-height: 155%;
  }

article h1 { /*Fix since the article element resizes h1 elements inside it for some reason??*/
  font-size: 2em;
  margin: 0.67em 0;
  }
  
h2 {
  font-size:1.475em;
  line-height: 150%;
  border-bottom: 4px double;
  }
  
h3 {
  border-bottom: 1px solid;
  line-height: 150%;
  }

hr {
  border: 0;
  border-bottom: 1px outset #fff;
  }

midsmall {
  font-size: 0.925em;
  }
  
/*You may pry the center element from my cold dead hands.*/
center {
  text-align:center;
  }
  
/*Because the default is too small, and hard to read.*/
code {
  font-size: 1.25em;
  padding: 0.05em 0.1em 0 0.1em;
  background: rgba(250, 250, 250, 0.1);
  }

summary {
  padding: 0.25em 0.1em;
  }

/*Prevent image overflow*/  
.sidebar img, .box-inner img, .message-inner img, .small-inner img {
  max-width: 100%;
  height: auto;
  }



/*** MAIN PAGE CONTENT ***/

/* The main box */
.box {
  width: 80vw;
  min-width: 800px;
  max-width: 1280px;
  padding-bottom: 0.5em;
  }

.box, .message-box, .theramenisalie {
  margin: 1em auto;
  border: 2px solid #1f1f1f;
  border-radius: 12px;
  overflow: hidden;
  word-wrap: break-word;
  background: rgba(15, 30, 30, 0.8);
  }

.message-box {
  margin-top: 15vh;
  max-width: 540px;
  }

/* The top bar. */
.title-bar {
  background: #0d0e0f;
  background: linear-gradient(to bottom, #222, #111);
  padding: 10px 20px 8px 20px;
  border-bottom: 2px solid #000;
  font-size:0.95em;
  }
  
.right-buttons {
  float: right;
  }

.right-buttons a {
  color: #fff;
  text-decoration: none;
  padding: 0 0 0 20px;
  font-size: 0.85em;
  font-family:"Arial", sans-serif;
  }

/* Main box content. */
.box-inner {
  margin: 1em 1em 1em 11.5em;
  display: block;
  border-left: 1px dashed;
  padding-left: 1.5em;
  min-height: 36em;
  }
  
.small-inner, .message-box-inner {
  margin: 3em auto;
  padding: 0 1.5em 0.5em 1.5em;
  max-width: 540px;
  }

/* Navigation sidebar. */
.sidebar {
  position: absolute;
  display: block;
  width: 10em;
  margin: 1em;
  padding: 0 0.5em 0 0;
  }

.category {
  margin: 0.5em 0 1.25em 0;
  }
  
.category-title {
  font-size: 1.05em;
  }

nav ul {
  list-style-type: none;
  padding: 0em 0.1em 0em 0.85em;
  margin: 0.25em 0;
  }

nav li {
  display: block;
  }

nav .link, nav .sub-link {
  font-size: 0.93em;
  }



/*** Fancy boxes. ***/
.profile-box {
  background: rgba(75,105,85, 0.25);
  padding: 1px 1.5em;
  margin: 0.1em;
  border-radius: 8px;
  }

.notice {
  background: rgb(212,215,215,0.12);
  padding:1px 0.75em;
  margin: 1em;
  border-left: 2px solid #dedfe0;
  }



/*** Table styling. ***/
table {
  border-top: 2px solid #bababf;
  border-bottom: 1px solid #bababf;
  border-spacing:0;
  border-radius:8px;
  background: rgb(20,30,30,0.6);
  font-size: 0.91em;
  word-wrap: break-word;
  overflow: hidden;
  }
  
td, th {
  margin: 0;
  padding:0.35em 0.5em;
  border-bottom: 1px solid #8a8a8f;
  }

td {
  vertical-align:top;
  }
  
tr {
  border-bottom: 1px solid #bababf;
  }
  
tr:nth-child(even) {
  background: rgb(20,20,20,0.25);
  }
  
tr:nth-child(odd) {
  background: none;
  }



/*** Other special styles. ***/

/* For conlang pages. */
.word {
  min-width: 160px;
  display: inline-block;
  }
  
.big-quote {
  font-family: "Symbola", serif;
  font-size:1.75em;
  font-weight:bold;
  }

/* For filk pages. */
.song blockquote {
  margin-left: 1.2rem;
  margin-right: 0;
  }

/* Buttons. */
.message-button { /* actually a container for buttons, despite the name */
  text-align: center;
  padding: 1em 0;
  }

.message-button a {
  margin: 0 0.3em;
  padding: 0.25em 0.75em 0.5em 0.75em;
  background: rgba(75,105,85, 0.25);
  border: #eee 1px solid;
  border-radius: 8px;
  text-decoration: none;
  }

.message-button a:hover, .message-button a:focus {
  border-color: #fff;
  background: rgba(75,105,85, 0.5);
  }


/*** Footer ***/

.footer {
  font-size: 0.9em;
  font-style: italic;
  margin: 2em;
  text-align: center;
  }

.theramenisalie {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 1.25em auto;/**//*
  background: rgba(15, 30, 30, 0.5);*/
  background: none;/*
  padding: 0.25em 0 0.5em 0;*/
  max-width: 800px;
  border: none;
  color: #000;
  color: #fff;
  text-shadow: 3px 2px 5px #000;
  }

.theramenisalie a {/*
  color: #000;*/
  font-weight: 700;
  }

/*For easier maintenance of standard footer.*/
.theramenisalie:before {
  content: "Site by EGGRAMEN 2019-2026. Hosted by Neocities. The ramen is a lie. ";
  padding-right: 0.1em;
  }

.ring {
  font-size: 0.8em;
  text-align: center;
  margin: 2em auto 1.5em auto;
  }


/*** MISC. ACCESSIBILITY FEATURES ***/
/* 'Skip to content' option for keyboard accessibility. */
.skip {
  height:0;
  position: relative;
  }

.skip a {
  font-size:0;
  padding:0;
  margin:0;
  }
  
.skip:focus-within {
  height: auto;
  background: #111;
  width: 100vw;
  padding: 0.5em;
  margin: 0;
  top: -0.5em;
  left: -0.5em;}

.skip a:focus {
  font-size:1.33em;
  margin: 0.25em;
  padding: 0.33em;
  }

a h2:focus {
  display: block;}

/*** RESPONSIVE RESIZING ***/

/*Switch to narrower width on narrow screens.*/
@media(max-width:850px) {
  .box, .theramenisalie {
    width: 90vw;
    min-width: 400px;
    }
  .sidebar {
    width: 7.5em;
    }
  .box-inner {
    margin-left: 9.75em;
    }
  }
  
/*Sidebar becomes header for mobile.*/
@media(max-width:540px) {
  body {
    font-size: 0.89em;
    }
  .box { /*makes the main page look less goofy on mobile*/
    min-height: 75vh;
    }
  .message-box {
    margin-top: 1em;
    }
  .message-button {
    padding: 0;
    }    
  .message-button a {
    display: block;
    margin: 1em;
    }
  .box, .message-box, .theramenisalie {
    min-width: 0;
    width: 95%;
    min-height: 0;
    }
  .sidebar {
    font-size: 1.075em; /*slightly more clickable buttons*/
    position:static;
    width: 90%;
    columns: 2;
    column-fill: balance; /*trying to prevent/minimize orphans and widows*/
    }
  .category {
    display: block;
    }
  .box-inner {
    margin-left: 0px;
    border: 0;
    padding-left: 1em;
    min-height: 0;
    }
  .small-inner {
    margin: 1em auto;
    }
  .right-buttons {
    display: none; /*so they don't go out of bounds when the title is too long*/
    }
  }

    