/***

EGGRAMEN Site CSS, version 5: "waiting for hornet".

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!

***/

body {
  color: #fff;
  background: #36494d;
  font-family: /*"Open Sans",*/ "Cantarell", Arial, sans-serif;
  font-size:0.975em;
  /*55,75,79*/
  background: linear-gradient(to top, rgba(46,54,56,0.58) 0px, rgba(55,75,79,1) 92vh), #2a2a2c url("https://eggramen.neocities.org/mossgrotto_bg_820.jpg") no-repeat;
	background-size: cover;
	background-attachment: fixed;
  background-position:bottom center;
  
  }
  
a {
  color: #f1f2f3;
  }
  
a:hover, a:focus {
  color: #f4f4fb;
  }

a:focus {
  outline: 1px solid #d6d6ea;
  } 
  
/*Various small tweaks.*/
hr {
  border: 1px inset #aaaaaf;
  margin: 1.75em 2.25em;
  }
  
li {
  padding: 0.15em 0;
  }
  
ul {
  padding-left: 1.85em;
  }

ol li::marker {
  font-weight: bold;
  }
  
p, ul, ol {
  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 {/*
  font-size: 1.15em;
  */
  border-bottom: 1px solid;
  line-height: 150%;
  }
  
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;
  }


/*The primary box.*/
.box, .message-box {
  border: 2px solid #0d0e0f;
  width: 950px;
  margin: 0 auto;
  margin-top: 10px;
  border-radius: 5px 5px 2px 2px;
  /*Alternatives: rgba(20,60,65,0.6); rgba(0,40,40,0.6); rgba(20, 55, 65, 0.47) to rgba(28,65,75,1)*/
  background: linear-gradient(rgba(0,30,35,0.6) 0px, rgba(23,65,75,1) 500px), #2a2a2c url("https://eggramen.neocities.org/mossgrotto_bg_820.jpg") no-repeat;
  background-size: 950px auto;
  background-position: top center;
  }
  
.box {
  min-height:650px;
  }
  
/*Legacy class. Might remove later.*/
.message-box {
  width: 480px;
  margin-top:50px;
  }
  
.message-button, .message-button a {
  display:inline-block;
  }
  
.message-button a {
  background: #101012;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 0 5px;
  text-decoration:none;
  font-weight:bold;
  font-size:0.95em;
  }
  
.message-button a:hover {
  background: #000;
  transition:ease 0.1s;
  }
  
  
/*The top bar.*/
.title-bar {
  background: #0d0e0f;
  padding: 10px 20px 8px 20px;
  border-bottom: 2px solid #0b0b0d;
  font-weight:bold;
  font-size:0.95em;
  }
  
.right-buttons {
  float: right;
  }
  
.right-buttons a {
  color: #fff;
  text-decoration: none;
  padding: 0 0 0 20px;
  font-size: 0.8em;
  font-family:"Arial", sans-serif;
  }
  
  
/*Sidebar and buttons.*/
.sidebar {
  position:absolute;
  display: block;
  text-shadow: 0 0 4px #000; /*Use sparingly!*/
  margin-top:0px;
  }
  
.sidebar a {
  color: #eaeaf5;
  }
  
.sidebar a:hover {
  color: #fff;
  }
  
.category {
  margin: 15px 20px 0 20px;
  width: 125px;
  }
  
.category-title a {
  display: block;
  font-size: 1.075em;
  font-weight:bold;
  }
  
.links {
  font-size: 1em;
  margin: 2px 0 0 0;
  padding: 0;
  }
  
.category-title, .links {
  line-height: 135%; /*override normal ul line-height*/
  }
  
.link {
  list-style-type: none;
  padding: 0;
  margin: 0;
  }
  
.links a {
  display:block;
  margin: 0.325em 0.1em 0.325em 0em;
  }
  
.sub-link {
  font-size:0.95em;
  padding-left: 0.5em;
  }
  
  
/*Main content div*/
.box-inner, .message-inner {
  padding: 0 20px 20px 20px;
}

.box-inner {
  margin-left: 155px;
  }
  
/*Used on 404 page, etc.*/
.small-inner {
  width: 75%;
  margin: 100px auto;
  }
  
/*Prevent image overflow*/  
.sidebar img, .box-inner img, .message-inner img, .small-inner img {
  max-width: 100%;
  height: auto;
  }
  
  
/*Footers and small text.*/
.footer {
  font-size:0.9em;
  width: 100%;
  margin: 0px 0px 20px 0px;
  bottom:0;
  text-align: center;
  }
  
.ring, .theramenisalie {
  margin: 12px auto 15px auto;
  font-size:0.875em;
  text-align:center;
  }
  
.theramenisalie {
  width: 900px;
  }
  
.ring {
  display: inline-block; /*In case I add more webrings, display them side-by-side.*/
  }
  
/*For easier maintenance of standard footer.*/
.theramenisalie:before {
  content: "Site by EGGRAMEN 2019-2025. Hosted by Neocities. The ramen is a lie. ";
  padding-right: 0.1em;
  }

  
/*Used with blockquote for labels and notes on certain pages.*/
.notice {
  background: rgb(212,215,215,0.12);
  padding:1px 0.75em;
  margin: 1em;
  border-left: 2px solid #dedfe0;
  }
  
  
/*For about page.*/
.profile-box {
  background: rgb(10,20,20,0.5);
  padding: 1px 15px;
  border-radius: 5px;
  margin: 1.125em 0;
  }
  
.profile-box p {
  line-height:170%;
  }
  
  
/*Table styling.*/
table {
  border-top: 2px solid #bababf;
  border-bottom: 1px solid #bababf;
  border-spacing:0;
  border-radius:2px;
  background: rgb(35,40,40,0.6);
  font-size: 0.93em;
  }
  
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;
  }
  
/*For conlang pages.*/
.word {
  min-width: 160px;
  display: inline-block;
  }
  
.big-quote {
  font-family: "Symbola", serif;
  font-size:1.75em;
  font-weight:bold;
  }
  
/* Formatting for song/filk section. */

.song blockquote {
  margin-left: 1.2rem;
  margin-right: 0;
  }

/*'Skip to content' option for keyboard accessibility.*/
.skip {
  height:0;
  }

.skip a {
  font-size:0;
  padding:0;
  margin:0;
  }
  
.skip a:focus {
  font-size:1.25em;
  padding: 0.25em;
  }
  

/* Adding a skin selector. */
#skin-selector-link {
  text-align: center;
  padding: 0.1em;
  }

  
/*Switch to % width on narrow screens.*/
@media(max-width:975px) {
  .box, .theramenisalie {
    width: 95%;
    }
  .message-box {
    width: 90%;
    }
  }
  
/*Sidebar becomes header for mobile.*/
@media(max-width:540px) {
  body {
    font-size: 0.875em;
    }
  .box {
    min-height: 75vh;
    }
  .sidebar {
    width: 100%;
    position:static;
    columns: 2;
    font-size: 1.05em; /*slightly more clickable buttons*/
    }
  .category {
    display:inline-block;
    }
  .sub-link {
    font-size: 1em;
    }
  .box-inner {
    margin-left: 0px;
    }
  .right-buttons {
    display: none; /*so they don't go out of bounds when the title is too long*/
    }
  .ring, .ramenisalie {
      
    }
  }