body {
  background-image: url("bg.png") !important;
  background-repeat: repeat;
  color: white;
  padding-top: 0;
  display: flex;
  text-align: center;
  flex-direction: column;
  flex-basis: 100%;
}

main {
  width: 100%;
  background-color: #1e1e1e !important;
  max-width: 950px;
  border: 20px solid transparent;
  border-image: url("jagged.svg") 12;
  border-image-repeat: repeat;
  
  -moz-background-clip:padding;
  -webkit-background-clip:padding;
  background-clip:padding;
    
  color: #c5c5c5;
  font-size: larger;
}

code{
  background-color: transparent;
  color: var(--accent2);
}

a:link {
  color: var(--accent) !important;
}

li a:visited{
  color: var(--accent3);
}

p a:visited{
  color: var(--accent3);
}

em {
  font-style: italic;
}



/*SECTION NAVBAR*/
.navbar-wrapper{
  width: 100%;
  
}

.navbar-element{
  display: inline-block;
}

.navbar-logo img{
  max-height: 100px;
}

.navbar-list{
  padding: 0;
  list-style-type: none;

}

.navbar-list li:nth-child(even) { /* Selects only even elements */
  transform: rotate(2deg);
}

.navbar-list li:nth-child(even):hover { /* Selects only even elements */
  transform: rotate(0deg);
}

.navbar-list li:nth-child(odd) { /* Selects only even elements */
  transform: rotate(-2deg);
}

.navbar-list li:nth-child(odd):hover { /* Selects only even elements */
  transform: rotate(0deg);
}

.navbar-list-item{
  display: inline-block;
  margin: 1rem;
  vertical-align: middle;
  font-family: "Permanent Marker";
  font-size: xx-large;
  text-shadow: 2px 2px var(--accent2);
}

.navbar-list-item:hover{

}

.navbar-list-item>a:hover{
  text-shadow: 2px 2px var(--accent4);
  text-decoration: none;
}

.navbar-list-item>a:visited{
  color: var(--accent);
}

/*FRONT PAGE*/

.span-highlight
{
  color: var(--accent);
  text-shadow: 2px 2px var(--accent2);
  font-weight: bold;
  font-size: larger;
}

.more-links
{
  width: 100%;
 
}

.more-links a
{
  font-family: "Permanent Marker";
  font-size: x-large;
  margin: 0 3rem;
  display: inline-block;
}

/*CAROUSEL*/
.main-carousel
{
  margin-bottom: 6rem;
}

.carousel-cell{
  width: 100%; /* full width */
  margin-right: 10px;
}

/*Arrows*/
.flickity-prev-next-button .arrow {
  fill: var(--accent);
}

/*Dots below the carousel*/
.flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  opacity: 1;
  background: transparent;
  border: 2px solid var(--accent);
}

.flickity-page-dots .dot.is-selected {/*the selected one*/
  background: var(--accent);
}

/*For accessibility (enables keyboard control)*/
.flickity-enabled:focus .flickity-viewport {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

/*SECTION TUTORIALS*/
.text-tut-item{
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0;
  width: 88%;
}

.text-tut-item-image{
    display: inline-block;
    vertical-align: top;
    max-width: 28%;
    border: 10px solid transparent;
    border-image: url("jagged.svg") 12;
}

.text-tut-item-content{
  padding-left: 0.5em;
  display: inline-block;
  text-align: left;
  width: 70%;
}

span.text-tut-item-status{
  color: var(--accent2);
  font-weight: bold;
  font-size: smaller;
}

.text-tut-item-desc{
  max-width: 80%;
}

.tut-list-intro{
  width: 100%;
  display: inline-block;
  font-size: larger;
  font-family: Kalam;
}

.tut-list-jump{
  width: 40%;
  margin: 1rem auto;
  background-color: var(--accent2);
  border: 20px solid transparent;
  border-image: url("jagged-yellow.svg") 15;
  border-image-repeat:stretch;
  -moz-background-clip:padding;
  -webkit-background-clip:padding;
  background-clip:padding;
  color: var(--accent);
  padding: 2rem;
}

.tut-list-jump ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.tut-list-jump h3{
  margin-top: 0rem;
  color: var(--accent);
}

/*SECTION: GAMES*/

/*iframe for browser games*/
.gameframe{
  display:flex;
  justify-content:center;
}

.game-item-image{
  width: 100%;
  border: 20px solid transparent;
  border-image: url("jagged-yellow.svg") 15;
  border-image-repeat:stretch;
  
  -moz-background-clip:padding;
  -webkit-background-clip:padding;
  background-clip:padding;

  box-shadow: inset 0.2em 0.2em 0.2em 0 rgba(255,255,255,0.5), inset -0.2em -0.2em 0.2em 0 rgba(0,0,0,0.5);
}

.game-item

.keyimage{/*Only for tutorials? I guess so!*/

  width: 250px;
  margin: 0 auto;
  /*box-shadow: 2px 2px 5px var(--accent);*/
  
  border: 20px solid transparent;
    border-image: url("jagged.svg") 12;
    border-image-repeat:stretch;
    
    -moz-background-clip:padding;
    -webkit-background-clip:padding;
    background-clip:padding;
  
}


.titleimage{
  width: 280px;
  margin: 2em auto;
  border: 3px solid var(--accent);
  border-radius: 3px;
}

.titlebanner{
    width: 100%;
    margin: 2em auto;
}



#logo {
  max-width: 80%;
}

#desc {
  font-style: italic;
}

.patreon-button{
  display: block;
  text-align: center;
  margin-bottom: 1rem;
  border: none;
  width: 100%;
}



.greeting{
  width: 100%;
  display: flex;
  justify-content: center;
}

.andrej{
  min-width: 150px;
  height: 100%;
  align-self: flex-end;
  justify-self: left;
  text-align: left;
}


.greeting-item{
  
}


.speech-bubble {
  color: black;
	background: #fafafa;
	border-radius: 3rem;
  font-family: "Kalam";
  font-size: larger;
  padding: 1.3rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: space-between;
  flex-direction: column;
}

.speech-bubble p{

}

.speech-bubble h3{
  text-align: center;
  margin-top: 0;
  color: var(--accent);
  text-shadow: 1px 2px black;
}

.note{
  display: flex;
}

.note p{
  display: flex;
  align-items: center;
}

.cool-button
{
  font-family: "Permanent Marker";
  text-shadow: 1px 2px black;
  font-size: xx-large;
  text-align: center;
  display: inline-block;
  /*max-width: 49%;*/
  border: 10px solid transparent;
  background-color: var(--accent2);
  background-clip: padding-box;
  padding: 0.5rem 1rem;
  border-image: url("jagged-yellow.svg") 12;
}

.cool-button:hover
{
  color: white;
  transform: rotate(3deg);
}

.cool-button a
{
  
}

.speech-bubble a:visited{
  color: var(--accent);
}

.social-icons{
  font-size: xx-large;
  text-shadow: 3px 3px var(--accent2);
  list-style-type: none;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.latest{
  padding-top: 1vh;
  width: 100%;
}

.mainslider{
  width: 100%;
  text-align: center;
  border: 20px solid transparent;
  border-image: url("jagged.svg") 12;
}

.mainslider-content{
  width: 100%;
  margin: 0 auto;
}

.mainslider-content a{
  width: 100%;
}

.latest-item{
  
  display: inline-block;
  margin: 1rem 0rem;
  max-width: 48%;
  height: 100%;
  vertical-align: top;
}

.latest-item h2{
  padding-bottom: 0;
  margin-bottom: 1rem;
  color: var(--accent2);
  text-shadow: 3px 3px var(--accent);
  font-size: 36px !important;
}

.latest-item-desc{
  font-family: "Kalam";
  font-size: 24px;
}

.latest-item-thing{
  margin: 0 auto;
}

.latest-item-thing h3{
  /*font-family: "Press Start 2P";*/
  /*letter-spacing: -0.13em;*/
  font-size: x-large;
  font-family: "Permanent Marker";
  margin-bottom: 0;
}

.latest-item-thing-desc{
  font-size: smaller;
  color: var(--accent2);
}

.item-tag {
  background-color: transparent;
  color: var(--accent1);
}

.latest-item > .frontitem{
  width: 100%;
  height: 100%;
}

.latest-item-thing-date{
  color: gray;
}

.latest-item-thing-summary{
  width: 80%;
  margin: 0 auto;
}

.frontitem > .keyimage{
  width: 100%;
}

.frontitem h3{
    border-bottom: none;
}

.latest-item-more{
  margin-top: 2rem;
}

#navdeco{

}

main, footer {
  font-family: sans-serif;
  text-align: center !important;
}

.item {
  
  display: inline-block !important;
  margin: 0.5em;
  width: 45%;
  vertical-align: top;
  min-height: 350px;
  border-radius: 2%;
}

.item .keyimage{
    /*width: 100% !important;*/
    border: none !important;
}

.item h3{
    font-size: x-large;
    border-bottom: medium dotted var(--accent);

}

.blog-wrapper{

}

.blog-wrapper::after{
  content: "";
  display: table;
  clear: both;
}

.blog-half{
  width:50%;
  float:left;
}

.border-right{
  border-right: 1px solid var(--accent);
}

.border-left{
  border-left: 1px solid var(--accent);
}


.blog-half-title{
  max-width: 100%;
  text-align: center;
}

.blogitem {
  padding: 1em 0;
  width: 80%;
  margin-bottom: 3em;

  /*border-bottom: medium dashed var(--accent);*/
}

.blogitem-content{

    width: 280px;
    margin: 0 auto;
    padding-bottom: 1em;
}

.blogitem-content h3{
    border-bottom: medium dotted var(--accent);
    width:100%;
    
}

.blogitem-thumb{
   
}

.text-blog-item{
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0;
  width: 88%;
}

.text-blog-item-image{
  display: inline-block;
  vertical-align: top;
  max-width: 28%;
  border: 10px solid transparent;
  border-image: url("jagged.svg") 12;
}

.text-blog-item-infoline{
  font-size: larger;
  font-family:"Kalam";
  font-weight: normal;
  font-style: normal;
}

.text-blog-item-infoline-section{
  color: var(--accent2);
  font-weight: bold;

}

.text-blog-item-content{
  padding-left: 0.5em;
  display: inline-block;
  text-align: left;
  width: 70%;
}

.text-blog-item-content h3{
  font-size: xx-large;
}

.text-blog-item-summary p{
  
}

.text-blog-item-more{
  padding-top: 0;
  width: 100%;
  text-align: left;
  font-weight: normal;
  font-family:Kalam;
}



span.text-blog-item-status{
    color: #ff004d;
    font-weight: bold;
    font-size: smaller;
}

.text-blog-item h3{
    margin-bottom: 0;
}

.intro {
    margin: 0;
    border-bottom: medium solid var(--accent);
    transform: none; /*New version of theme translates the intro down for some reason*/
}

h1{
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: bold !important;
    font-size: 56px !important;
    color: var(--accent2);
    padding: 0.5em;
    font-family: "Permanent Marker";
    text-shadow: 4px 4px var(--accent);
}

h2{
  width: 100%;
  font-family: "Permanent Marker" !important;
  font-weight: normal;
  background-color: transparent;
  font-size: 43px !important;
  color: var(--accent2);
  text-shadow: 2px 2px var(--accent);
}

h3{
  margin-top: 1rem;
  font-family: "Permanent Marker";
  font-size: xx-large;
  color: var(--accent2);
}

h4{
  font-family: Kalam;
  font-size: larger;
}

h5{
  font-family: Kalam;
  font-size: larger;
}

.comic{
  font-family: Kalam;
  font-size: larger;
}

.sociality{
  margin: 1rem 0;
  text-align: center;
  width: 100%;
}

.sociality a:visited{
  color: var(--accent);
}

.footer-menu{
  margin-top: 3rem;
  padding: 0;
}

.footer-menu > li{
  display: inline;
  margin-left: 1em;
  padding: 0;
}

.copyright{
  margin-top: 0;
}

.centeredbutton{
  max-width:20vw;
  margin: 2em auto;
  text-align: center;
}

.centeredtext-red{
  text-align: center;
  color: red;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.centeredtext{
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.centeredtext-bold{
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  font-weight: bold;
}




.linkbox{
  position: relative;
  height: 0;
  overflow: hidden;
}

.itchbox{
  width: 100%;
  height: 167;
}

.linkbox iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

#theme-tagcloud{
  width: 100%;
  margin-top: 15px;
}

#letterbutton:hover {
  background-color: #00e436;
}

.paginator-button{
  background-color: var(--accent);
  border: none;
  color: white;
  padding: 10px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px #ce003e;
}

.series-box{
  padding-top: 1em;
  padding-bottom: 1em;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;
}

.series-box h2{
  text-align: center;
}

.site-buttons{
  text-align: center;
  width: 100%;
}

.site-button{
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
  margin-top: 1em;

}

.layout_form{
  padding-top: 1em;
}

/*Tutorial Stuff*/
.tutitem{
  padding: 1em 0;
  /*width: 280px;*/
  border-bottom: none;/*medium dashed var(--accent);*/
  margin-bottom: 1em;
  padding-bottom: 2em;

}

.tutitem-content{
    max-width: 480px;
    margin: 0 auto 0 auto;
}

.tutitem-content .keyimage{
    /*width: 100% !important;*/
}

.tutitem h3{
    border-bottom: medium dashed var(--accent);
}

.new-label{
  color: var(--accent2);
  font-size: smaller;
  font-weight: bold;
}

.tut-post-list{
    list-style-type: none;
    padding: 0;
    text-align: left;
    display: block;
    
}

.tut-post-list li{
    text-align: left;
}

.tutdesc{
  width: 80%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.fnfcontainer{
  padding-top: 2em;
}

.fnfcontainer h2{
  color: var(--accent);
}

.tutnote{
  padding: 1em;
  margin-top: 2em;
  border: medium dashed var(--accent);
}

.promobox{
  background-color: rgb(250, 250, 250);
  width:100%;
  text-align: center;
  margin-top: 2em;
  margin-bottom: 1em;
  margin-left:auto;
  margin-right:auto;
  padding-top:0.5em;
  padding-bottom:1em;
  padding-left: 1em;
  padding-right: 1em;
  border-top: 3px solid #ff004d;
  border-bottom: 3px solid #ff004d;
}

.promobox h3{
    border-bottom: none !important;
}

.promoboxintro{
  background-color: rgb(250, 250, 250);
  width:100%;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left:auto;
  margin-right:auto;

  padding-bottom:1em;
  padding-left: 1em;
  padding-right: 1em;
  border-bottom: 3px solid #ff004d;
}

.promobox p{
  font-size: larger;
}

.promobox h3{
  font-weight:bold;
}

.promobox h5{
  font-weight:bold;
}

.kofi-insert{
  margin-top: 2em;
}

.introbox{
  text-align: center;
  font-style:italic;
  font-size: small;
  padding-top: 1em;
  padding-bottom: 1em;
  border-bottom: 3px solid #ff004d;
}

.tut-title{

}

.tut-end{

  font-style: italic;
  padding-top: 1em;
}

.updateline{
  text-align: left;
  font-style: italic;
  color: var(--accent)
}

.warningline{
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  text-align: center;
  font-style: italic;
  color: var(--accent)
}

.warningline a{
    font-style: normal;
    color: red;
}

.warningwrap{
  color: red;
  text-align: center;
  font-weight: bold;
  margin: 2em 3em;
}

.bigtext{
  font-size: xx-large;
  color: var(--accent);
  text-align: center;
}

/*BUTTONS*/
#cookienote{
  margin-bottom: 4em;
}

.buttons{
  text-align: center;
}

.bigbutton{
  background-color: var(--accent);
  border: none;
  padding: 20px;
  color: white;
  display: inline-block;
}

.negative{
  background-color: red;
}

.negative{
  background-color: var(--accent);
}

.tip{
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: bold;
    font-size: larger;
    color: white;
    padding: 0.8em;
    background-color: #ff004d;
}

.pinkbarheader{
    text-align: center;
    width: 100%;
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: bold;
    font-size: x-large;
    color: white;
    padding: 0.2em;
    background-color: #ff004d;
}

.single-dateline{/*The date shown on single pages (actual post/tutorial content pages)*/
    text-align: left;
    font-size: small;
    width: 100%;
    border-bottom: medium dotted var(--accent);
}

/*Encryptor*/
.hugo-encryptor-note{
  padding-top: 3em;
  padding-bottom: 2em;
  text-align: center;
  font-style: italic;
  background: transparent;
}

.hugo-encryptor-box{ 
  margin-top: 1em;
  margin-bottom: 5em;
  text-align: center;
}

.hugo-encryptor-input{
  padding: 9px;
  border: 1px solid #ff004d;
}


.hugo-encryptor-button{
  background-color: var(--accent);
  border: none;
  padding: 10px;
  color: white;
  display: inline-block;
}

/*Wall of awesome*/
.credit-list
{
  list-style-type: none;
  text-align: center;
}

.credit-item
{
  display: inline-block;
  font-size: xx-large;
  font-family: Kalam;
  margin: 1rem 2rem;
}


/*MOBILE ADJUSTMENTS*/
@media screen and (max-width: 600px) {
  main {
    margin-top: 1rem;
    border-width: 5px;
  }

  h2,h3,h4{
    text-align: center;
  }

  .text-blog-item{
    width: 100%;
  }

  .text-blog-item-image{
    max-width:100%;
    width: 100%;
  }

  .text-blog-item-content, .text-blog-item-more{
    width: 100%;
    text-align: center;
  }

  .item{
    width: 100%;
  }

  /*Tutorials*/

  .tut-list-jump{
    width: 80%;
  }

  .text-tut-item-image{
    max-width:100%;
    width: 100%;
  }

  .text-tut-item-desc{
    max-width: 100%;
  }

  .text-tut-item-content{
    width: 100%;
    text-align: center;
  }

  .greeting{
    flex-flow: row wrap;
  }

  .speech-bubble{
    flex-grow: 0;
   flex-shrink: 0;
   flex-basis: 100%;
  }
}