/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@font-face {
            font-family: DelaGothicOne;
            src: url('DelaGothicOne-Regular.ttf');
}

@font-face {
            font-family: AtkinsonHyperlegible;
            src: url('AtkinsonHyperlegible-Regular.ttf');
}

body {
  background: linear-gradient(90deg,rgba(255, 92, 171, 1) 0%, rgba(71, 151, 255, 1) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 20px;
  font-family: "AtkinsonHyperlegible", sans-serif !important;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "DelaGothicOne", sans-serif;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}
#content li {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

a {
 color: #45bbff;
}

a:hover, a:focus {
  background-color: #ffbedb;
}


img {
  max-width: 100%;
  height: auto;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
  max-width: 60%;
  height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

/*The horizontal rule appears at the top of the footer to visually separate the footer
from the content. You can also use <hr> to divide sections in the content!*/
hr {
  border-width: 5px 0 0 0;
  border-style: dotted;
  border-color: #ff75af; 
}

/*#CONTAINER is the rectangle that has contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 850px;
	background: rgba(12, 3, 50, 0.665);
  color: #ffffff; 
  border: 5px white solid;
  border-radius: 30px 30px 20px 20px;
  overflow: hidden;
  box-shadow: 10px 10px 5px rgba(66, 1, 119, 0.34);
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  position: relative; /*doesn't change this element, but needed for the pink ring's positioning*/
  background-color: rgba(146, 122, 255, 1);
  padding: 0 5%;
  border-color: #ffffff;
  border-style: solid;
  border-width: 0 0 5px 0;
  background-clip: padding-box;
  box-shadow: 0 -2px 12px 0 rgb(168, 149, 255) inset;
  /*This is a workaround for the fact that overflow:hidden on parent element apparently didn't work in older versions of firefox:
  https://stackoverflow.com/questions/3714862/forcing-child-to-obey-parents-curved-borders-in-css*/
  -moz-border-radius: 20px; 
}
#header ul {
  display: inline-block;
  list-style-type: none;
  padding: 0;
  margin-bottom: 1em;
  margin-top: 1em;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 0.5em;
  margin-bottom: 0.7em;
  margin-top: 0.7em;
}
#header li a {
  color: white;
  background-color: rgb(190, 176, 255);
  border-radius: 25px;
  border: 3px solid rgb(121, 101, 206);
  padding: 6px 30px;
  box-shadow: 0 -2px 12px 0 rgb(227, 221, 255) inset;
  text-transform: uppercase;
  text-decoration: none;
}
#header li a:hover {
  background-color: #45bbff;
  text-decoration: none;
}
#header li a:active {
  background-color: #ec4d90;
  text-decoration: none;
  box-shadow: 0 -2px 12px 0 #fe83ff inset;
}
/*Floating ring*/
#header:after {
    position: absolute;
    right: 5%;
    bottom: -27px;
    content: '';
    background-color: #c4aeff;
    box-shadow: 0 -1px 8px 0 #ffeaf3 inset;
    border-radius: 50%;
    border: 5px solid #fefdfe;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}

/*pulled from entry page*/

.ng {
  color: red;
  -webkit-text-stroke: 4px rgb(115, 0, 59);
}

.fix-stroke {
 paint-order: stroke fill;
}

.soso {
  color: rgb(255, 247, 161);
  -webkit-text-stroke: 2px rgb(210, 140, 0); /* Stroke width and color */
}

.ok {
  color: rgb(0, 255, 21);
  -webkit-text-stroke: 4px rgb(0, 78, 74);
}

.umiblue {
color: rgb(0, 123, 255);
 -webkit-text-stroke: 5px rgb(0, 32, 111); /* Stroke width and color */
 text-decoration-line: none;
}
        
.attention {
  animation: attention 5s ease 0s infinite normal forwards;
}

@keyframes attention {
 0%,
 50%,
 100% {
 opacity: 1;
}

 25%,
 75% {
  opacity: 0;
}
}