/* General */

* {
  font-family: "Josefin Sans", Verdana, Geneva, Tahoma, sans-serif;
  box-sizing: border-box;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.3em;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body {
  margin: 10px;
  background-image: linear-gradient(#00000300, #00000369, #000369), url("../images/spacebg.jpg");
  background-repeat: no-repeat;
  background-size: auto;
  background-attachment: fixed;
}

a {
  color: #000369;
}

.truthtext {
  background-image: url("../images/truth-textoverlay.jpg");
  background-size: 300px x 255 px;
  background-position: top;
  background-repeat: repeat;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Josefin Sans Webfont

// <weight>: Use a value from 100 to 700
// <uniquifier>: Use a unique and descriptive class name */

.jslight {
  font-weight: 300;
}

.jsmedium {
  font-weight: 450;
}

.jsbold {
  font-weight: 700;
}

.jsitalic {
  font-style: italic;
}

.jsbody {
  font-size: 1.1em;
}

/* End Webfont */

/* Header */

img.logo {
  max-width: 500px;
  float: left;
}

div.header {
  max-width: 950px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  padding-top: 10px;
  padding-bottom: 5px;
}

/* Navbar */

div.navbar {
  max-width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
  padding: 1px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: black;
}

div.navbarhalf {
  display: block;
  float: left;
}

.navbar ul {
  list-style: none;
  list-style-type: none;
  padding-inline-start: 0px;
}

.navbar li {
  float: left;
}

.navbar li.right {
  float: right;
}

.navbar li a {
  display: block;
  color: white;
  font-family: "Josefin Sans", Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3em;
}

.navbar li a:hover {
  color: rgba(255, 255, 255, 0.3);
  background-image: url("../images/truth-textoverlay.jpg");
  background-size: 300px x 255 px;
  background-position: right;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  /* text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff; */
}

div.navcenter {
  display: flex;
  justify-content: center; /* centers contents within this div */
  column-gap: 30px; /* optional: space between icons */
  flex-wrap: wrap;
}

/* Ads */

div.mobilead {
  background-color: #99a7b2;
  text-align: center;
  width: 320px;
  height: 50px;
  float: right;
}

img.mobilead {
  max-width: 320px;
  height: auto;
}

div.skyscraper {
  background-color: #99a7b2;
  text-align: center;
  width: 160px;
  height: 600px;
  float: right;
}

img.skyscraper {
  width: 160px;
  height: auto;
}

/* Body Content */

div.mainbody {
  border-radius: 6px;
  background-color: #e2e6e9;
  color: black;
  padding: 10px;
  max-width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: none;
  overflow: auto;
}

div.content {
  border-radius: 6px;
  width: 100%;
  min-height: 400px;
  background-color: #99a7b2;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

div.gamecontent {
  border-radius: 6px;
  width: 650px;
  min-height: 400px;
  background-color: white;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

div.gametext {
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  margin: 20px;
  letter-spacing: 0;
  font-weight: bold;
}

div.news {
  border-radius: 6px;
  width: 100%;
  background-color: #99a7b2;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

p.news {
  font-size: 1em;
}

.column.main {
  width: 75%;
  margin-right:5px;
  float: left;
}

.column.side {
  border-radius: 6px;
  width: 150px;
  background-color: white;
  float: right;
  padding: 5px;
}

.column.side2 {
  width: 160px;
  float: right;
  margin-top: 10px;
}

/* Comic Updates */

div.comiccontainer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

h3.comictitle {
  margin-top: 5px;
}

a.comicblock {
  text-decoration: none;
}

div.comicblock {
  display: block;
  border-radius: 6px;
  text-align: center;
  width: 250px;
  height: auto;
  background-color: #99a7b2;
  color: black;
  padding: 10px;
}

/* wider option */
div.comicblocksingle {
  display: block;
  border-radius: 6px;
  text-align: center;
  width: 300px;
  height: auto;
  background-color: #99a7b2;
  color: black;
  padding: 10px;
}

img.comicblock {
  width: 100%;
}

div.comiclisting {
  border-radius: 6px;
  width: 100%;
  min-height: 170px;
  padding: 10px;
  background-color: white;
  overflow: auto;
}

img.comiclisting {
  max-width: 150px;
  max-height: 150px;
  float: left;
  border: 1px solid #99a7b2;
  margin-top: 5px;
  margin-left: 5px;
  margin-right: 25px;
  margin-bottom: 5px;
}

p.comiclisting {
  margin-top: 5px;
  margin-left: 5px;
  max-width: 400px;
  float: left;
  color: black;
}

p.updateold {
  display: block;
  text-align: center;
  color: black;
  font-weight: bold;
  font-size: 0.9em;
  margin: 5px;
}

p.updatecomplete {
  display: block;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  margin: 5px;
}

p.updatenew {
  display: block;
  text-align: center;
  color: white;
  font-weight: bolder;
  font-size: 1em;
  margin: 5px;
  animation: animate 1s linear infinite; 
}
@keyframes animate{ 
  0%{ 
    opacity: .5; 
  } 
  50%{ 
    opacity: 1; 
  } 
  100%{ 
    opacity: .5; 
  } 
} 

/* Social Icons */

div.socialicon {
  width: 50px;
  height: 50px;
  float: left;
  margin: 10px;
}

div.socialbar {
  width: 120px;
  height: 50px;
  margin: 10px;
  float: left;
}

/* Footer */

address {
  position: sticky;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: small;
  font-style: normal;
  text-align: center;
  bottom: 10px;
  color: white;
}

/* SpiderForest Comic of the Week Container*/

.sfpurple {
  color: #9653e5;
}

div.sfcotwmain {
  background-color: black;
  border-radius: 10px;
  border-color:#9653e5;
  border-style: solid;
  padding-left: 15px;
  padding-right: 15px;
}

div.sfcotwentry {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

img.sfcotwmain {
  max-width: 100%;
  padding-top: 10px;
  margin-bottom: -20px;
}

img.sfcotwentry {
  border-radius: 5px;
  max-width: 100%;
  margin-bottom: -10px;
}

h3.sfcotwmain {
  color: white;
  margin-bottom: 0px;
}

h4.sfcotwmain {
  color: white;
  margin-top: 5px;
  margin-bottom: 5px;
}

h4.sfcotwentry {
  color: #9653e5;
  margin-bottom: -5px;
}

p.sfcotwmain {
  font-size: small;
  color: white;
  margin-top: 0px;
  max-width: 500px;
}

p.sfcotwentry {
  font-size: small;
  color: white;
}

/* Responsive layout - LARGER Browsers */
@media screen and (min-width: 1920px) {

body {
  background-size: cover;
}

}

/* Responsive layout - Smaller Browsers */
@media screen and (max-width: 900px) {

  div.mainbody {
    padding: 5px;
  }

  .column.main {
    width:100%;
    margin: 0%;
  }
  .column.side {
    width: 100%;
    height: auto;
    margin-top: 10px;
    padding-left: 30px;
    display: block;
    margin-left: 30px;
    margin-right: auto;
  }

  .column.side2 {
    visibility: hidden;
    width: 0%;
    height: auto;
  }

  div.skyscraper {
    visibility: hidden;
    width: 0%;
    height: auto;
  }

  img.skyscraper {
    width: 0%;
    height: auto;
  }

  div.mobilead {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  div.gamecontent {
    width: 100%;
  }

  img.logo {
    max-width: 100%;
    float: none;
  }
}

/* Responsive layout - Mobile Devices */
@media screen and (max-width: 480px) {

  li a {
    font-size: small;
    padding: 6px;
  }

  div.socialicon {
    width: 40px;
    height: auto;
    margin: 5px;
  }

  img.socialicon {
    width: 40px;
    height: auto;
    margin: 5px;
  }
  
  div.socialbar {
    width: 100px;
    height: auto;
    margin: 5px;
  }

  img.socialbar {
    width: 100px;
    height: auto;
    margin: 5px;
  }

  .column.side {
    margin-left: 10px;
    padding-left: 10px;
    margin-right: auto;
  }

  img.comiclisting {
    display: block;
    float: none;
    margin-right: auto;
    margin-left: auto;
  }

  p.comiclisting {
    font-size: small;
  }

  div.mobilead {
    max-width: 100%;
  }

  img.mobilead {
    max-width: 100%;
  }

  div.sfcotwmain {
    margin-left: -20px;
    margin-right: -20px;
  }
}