body {
  background-color: rgb(95, 95, 95);
  background-image: linear-gradient(rgb(95,95,95), rgb(60,60,60));
  background-attachment: fixed;

  animation: fadeIn ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

#goback {
  position: absolute;
  z-index: 10;
  top:20px;
  left: 20px;
  display: flex;

  transition: .2s;
}

#goback h4 {
  color: orange;
}

#goback:hover {
  opacity: .5;
}

#backarrow {
  border: solid orange;
  border-width: 0 3px 3px 0;

  width: 10px;
  height: 10px;
  margin-right: 3px;

  position: relative;
  top: 2px;

  transform: rotate(135deg);
}

/**/

#central {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-height: 100vh;

  padding: 50px 0;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#central > video {
  width: 90%;
  height: 90%;
  margin: 5px;
  box-shadow: 0px 0px 5px rgb(60,60,60)
}

#central > img {
  margin: 5px;
  filter: drop-shadow(0px 0px 5px rgb(60,60,60));

  transition: .5s;
}

@media screen and (min-width: 501px) {
  #central {
    min-width: 500px;
    max-width: 1000px;
  }

  #central > img {
    height: 400px;
  }
}

@media screen and (max-width: 500px) {
  #central > img {
    width: 40%;
  }
}

#central > img:hover {
  opacity: .5;
  cursor: pointer;
}

#detail {
  z-index: -1;
  visibility: hidden;
  opacity: 0;

  position: fixed;
  min-width: 100vw;
  min-height: 100vh;
  background-color: rgba(0,0,0,.5);
  transition: .2s;

  display: flex;
  justify-content: center;
}

#detail img {
  margin: auto;
  max-height: 80vh;
  max-width: 90%;
}

/* For javascript detail only */
#jsImages {
  padding: 10px;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

#jsImages a {
  background-size: cover;
  background-position: center;
  width: 45%;
  height: 400px;
  box-shadow: 0px 0px 5px rgb(60,60,60);

  transition: .3s;
}

#jsImages a:hover {
  transform: scale(1.05);
}

#weatherlink {
  background-image: url("../Other/WeatherJS/weatherscreen.jpg");
}

#solitairelink {
  background-image: url("../Other/Solitaire/solitairescreen.jpg");
}
