@font-face { font-family: DOS; src: url('fonts/DOS.ttf'); } 

/* header, navbar, and li elements */

#header {
  background-color: darkgreen;
  background-position-x: center;
}

.title_img {
  opacity: 1;
  width: 250px;
  /*transition: width 0.3s;
  transition-timing-function: ease;*/
}

.title_img:hover {
  opacity: 0.9;
  /*width: 275px;*/
}

.sticky_navbar {
  position: sticky;
  top: 0;
  background-color: black;
}

ul {
  list-style-type: none;
  margin-top: 5px;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
}

li {
  display: inline;
}

li a {
  color: white;
  text-align: center;
  font-size: 16px;
  padding:2%;
  text-decoration: none;
  font-family: 'DOS';
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.selected {
  background-color: black;
}

li a:hover {
  background-color: black;
}

.linkbrowser {
  text-align: center;
  background-color: #1a1a1a;
}


/* headers */

h1, h2, h3, strong {
  color: white;
}

h3, h2, h1, h5 {
  font-family: 'DOS';
}

h1 {
	font-size: 25px;
}
h3 {
	font-size: 15px;
}
h2 {
  font-size: 25px;
}

h5 {
  color: lightgrey;
  font-weight: normal;
  align-items: flex-end;
}

/* paragraphs */

p {
  color: grey;
  text-align: left;
  font-size: 15px;
  padding: 5px;
  font-weight: normal;
  font-family: 'DOS', Verdana, sans-serif;
}

/* project container */

figcaption {
	font-family: 'DOS', monospace;
}

.image_caption { /* desc of games */
  text-align: center;
  font-family: 'DOS', monospace;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: auto;
  margin-top: auto;
  line-height: 35px;
  font-size: 130%;
}

.flex { /* flex container for projs */
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 0 50px;
  height: 100%;
  justify-content: center;
}

.game_image {
  object-fit: cover;
  overflow: hidden;
  width: 70%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.game_title {
  object-fit: cover;
  overflow: hidden;
  width: 80%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.game_post {
  text-align: center;
  
  flex-direction: column;
  width: 30vh;
  margin: 10px;
  border: 1px solid transparent;
}

.game_post:hover {
  border: 1px solid white;
}

/* body and scanlines */

body {
  background-color: black;
  margin: 0;
}

body:before {
	content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 80%,
        rgba(0, 0, 0, 0.15) 80%
    );
    background-size: 100% 8px;
    z-index: 9999;
    pointer-events: none;
	animation: scanlines infinite 5s linear;
	
}

@keyframes scanlines {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -10px;
  }
}


/* posts */

.link {
  text-decoration: none;
  outline-color: transparent;
  color: lightblue;
}

.link:visited {
  color: lightblue;
}

.link:hover {
	color: white;
}

.post {
  background-color: black;
  border: 1px solid #1a1a1a;
  margin:auto;
  text-align: center;
  width: 80%;
}
.center {
  text-align: center;
}

html {
  scroll-behavior: smooth;
}