/*START BASICS*/
body {
  color: white;
  font-size: 16px;
  font-family: 'Turret Road', monospace;
  background-color: #170a27;
  background-image:url('/images/tile.png');
}

div {
  margin: auto;
}

::-webkit-scrollbar {
width: 5px;
}

::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px gray; 
border-radius: 10px;
}

::-webkit-scrollbar-thumb {
background: gray; 
border-radius: 10px;
}

a[title]:hover:after {
  content: attr(title);
  position: absolute;
  color: #04B404; /*bright green*/
  border: solid 1px #04B404; /*bright green*/
  border-radius: 5px;
  background-color: #f5f2f5; /*very light purple*/
  padding: 5px;
}

a {
  text-decoration: none;
  color: #04B404; /*bright green*/
  transition: all 0.5s linear;
}

a:hover {
  color: #F4FA58; /*yellow*/
  transition: all 0.3s linear;
}

figure {
  margin: 0;
  padding: 5px;
}

figcaption {
  font-size: 14px;
  text-align: center;
}

h1 {
  padding: 20px 50px;
  text-align: center;
  font-family: 'Audiowide', monospace;
}

h2 {
  padding: 10px 25px;
  font-family: 'Audiowide', monospace;
}

h3 {
  padding: 10px 25px;
  font-family: 'Audiowide', monospace;
}
/*END BASICS*/
/*START LAYOUT*/
.container {
  min-width: 350px;
  max-width: 800px;
}

.header {
  color: white;
  padding: 5px;
  margin-top: 25px;
  margin: auto;
  max-width: 600px;
  text-align: center;
  text-shadow: 3px 3px 3px black;
}

@media screen and (min-width: 600px) {
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  margin: auto;
  padding: 5px;
}
}

.box {
  color: #340034;
  padding: 5px;
  margin: 5px;
  width: 150px;
  display: inline-block;
  background-color: #f5f2f5; /*very light purple*/
  box-shadow: 3px 3px 3px #340034;  /*very dark purple*/
  border-radius: 10px;
}

.desc {
  height: 100px;
  overflow-y: scroll;
}

.desc ul {
  list-style: none;
  margin-left: 0;
  padding-left: 1em;
  text-indent: -1em;
}

.desc ul li {
  text-align: left
}

/*END LAYOUT*/
/*START IMAGES*/
img.n {
  bottom: 0;
  right: 0;
  position: fixed;
  width: 75px;
}

.box img {
  border-radius: 10px;
}

.box img:hover {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);	
  transition: all 0.3s linear;
}

/* The animation code */
@keyframes space {
  0%   {padding-bottom: 0}
  50%  {padding-bottom: 25px}
  100% {padding-bottom: 0}
}

/* The element to apply the animation to */
.astronaut {
  width: 100px;
  height: 100px;
  position: relative;
  animation-name: space;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}
/*END IMAGES*/