/* 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." */

body {
  background-color: #000000;
  background-image: url('../images/bg_spacescreen.png');
	background-position: top;
	background-repeat: no-repeat;
	background-attachment: fixed;
  font-size: 18px;
  font-family: Georgia, 'Times New Roman', Times, serif

}
@media screen and (max-width:769px){
  body{
    font-size:14px;
    background-image: url('../images/bg_spacescreen_mobile.png');
  }
 #indexh1{
  font-size:19px;
 }}
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*/
}

/*This makes images shrink when their container becomes too small (responsive design)*/
img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  display:block;
  margin-left: auto;
  margin-right: 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;
}

a {
  color: #b1ffd9;
}
a:hover { 
  color: white;
  text-shadow: rgb(255, 255, 255) 0px 0px 5px;
}

/*#CONTAINER is the rectangle that has contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 1000px;
  color: white;
  text-shadow: rgba(177,255,217,0.6) 0px 0px 5px; 
  outline-color: #b1ffd9;
  background-color: rgba(21, 39, 30, 0.6);
  outline-style: solid;
  outline-width: 1px;
  outline-offset: 0;
  box-shadow: 0 0 20px 2px rgba(177,255,217,0.15) inset;
}
@media screen and (max-width:769px){#container{width:98%;}}

#content {
  padding: 10px 5% 20px 5%;
}

#content img {
  max-width: 80%;
  max-height: 500px;
  outline-style: solid;
  outline-width: 1px;
  outline-offset: 0;
  box-shadow: 0 0 20px 2px  rgba(177,255,217,0.15);
}
@media screen and (max-width:769px){#content img{max-width:100%}}


/*HEADER STYLE*/
#header {
  background-color: rgba(177,255,217,0.2);
  outline-style: solid;
  outline-width: 1px;
  outline-offset: 0;
  outline-color: #b1ffd9;
  padding: 0 5%;
  box-shadow: 0 0 20px 2px rgba(177,255,217,0.2);
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

@media screen and (max-width:769px){
  #header li {font-size: 1.1em;}
    
}

/*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;
}
#recentpostlistdiv ul li {
  padding: 0;
  position: relative;
  background-position: center center;
  background-attachment:fixed;
  
}
#recentpostlistdiv ul li:hover {
  opacity: 100%;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}
.posttext {
  position: absolute;
  font-size: 30px;
  bottom: -30px;
  left: 10px;
}
@media screen and (max-width:769px){.posttext{font-size:18px;bottom:-10px;}}

.posttext a {
  color: white;
}

.postlist {
   outline-style: solid;
  outline-width: 1px;
  outline-offset: 0;
  outline-color: #b1ffd9;
  height: 150px;
  position: relative;
  margin-top: 1em;
  margin-bottom: 1em;
    padding: 0;
    opacity: 50%;
}

.postlist:hover{
  opacity:100%;
}
.postthumb {
  /* display:inline-block; */
  object-fit: cover;
  height:100%;
  width:100%;
  /* position:absolute;
  top: 0px;
  left: 10px; */
 margin: 0;
    padding: 0;
  opacity: 50%;
  outline: none;

}

.postlist a{
  
  height:100%;
  width:100%;
  margin: 0;
    padding: 0;
  position: absolute;
  top: 0px; 
  left: 0px;
  margin: 0%;
  padding: 1em;
}





.postthumb:hover {
  opacity: 75%;
}


/*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%;
}

    .image-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      padding: 20px;
    }

        /* .image-grid a {
      display: block;
      position: relative;
      overflow: hidden;
      height: 0;
      padding-bottom: 100%;
      max-width: 100%;
            outline-style: solid;
  outline-width: 1px;
  outline-offset: 0;
  box-shadow: 0 0 20px 2px  rgba(177,255,217,0.15);
    }


    .image-grid a img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover; 
      padding: 0;
      margin: 0;
    } */

    .datespan {
      font-size: 0.67em;
      font-weight: lighter;
    }