/*
* Space-themed CSS stylesheet.
* Gent Semaj, GPLv3.
* 4/27/2020
*/

:root {

}

@font-face {
  font-family: Minecraftia;
  src: url("fonts/Minecraftia-Regular.ttf");
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

#canvas {
  position: absolute;
  z-index: -5;
  top: 0;
  left: 0;
}

#content {
  width: 100%;
  height: 100%;
  animation-name: darken-back;
  animation-fill-mode: forwards;
  animation-delay: .5s;
  animation-duration: 1.5s;
}

@keyframes fade-in {
  from{opacity: 0}
  to{opacity: 1}
}

@keyframes darken-back {
  from{background-color: rgba(1, 1, 1, 0)}
  to{background-color: rgba(1, 1, 1, 0.625)}
}

h1 {
  font-family: Minecraftia;
  font-size: 80pt;
  color: white;
  margin: auto;
  text-align: center;
  text-shadow: 8px 8px gray;
  padding: 50px 0px 0px 0px;
  opacity: 0;
  animation-name: fade-in;
  animation-duration: 1.5s;
  animation-delay: .5s;
  animation-fill-mode: forwards;
  user-select: none;
}

#links {
  width: 98%;
  margin: auto;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation-name: fade-in;
  animation-duration: 1.5s;
  animation-delay: .5s;
  animation-fill-mode: forwards;
}

#links .link {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 40px;
  margin: 20px;
  transition: background-image .25s, box-shadow .25s;
  background-size: cover;
}

#links .link:hover {
  box-shadow: 0px 0px 10px 0px white;
  cursor: pointer;
}

#link-github {
  background-image:url('images/icons/github.png');
}

#link-github:hover {
  background-image:url('images/icons/github_active.png');
}

#link-ll {
  background-image:url('images/icons/ll.png');
}

#link-ll:hover {
  background-image:url('images/icons/ll_active.png');
}

#link-linkedin {
  background-image:url('images/icons/linkedin.png');
}

#link-linkedin:hover {
  background-image:url('images/icons/linkedin_active.png');
}

#links .icon {
  display: block;
  width: 90%;
  height: 90%;
  margin: auto;
}

#footer {
  font-family: Minecraftia;
  font-size: 8pt;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: gray;
  user-select: none;
}
