/* -- LAYOUT -- */
html {
  background-color: #0f0f0f;
  font-family: "Beth Ellen", "VT323", "Cedarville Cursive", "Dawning of a New Day", "Gruppo", monospace;
  box-sizing: border-box;
}

body {
  background-color: #0f0f0f;
  color: #1163b2;
  font-family: 'Gruppo', monospace;
}

/* THE STAR FIELD */
#starry-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;

  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

header h1 {
  float: left;
}

header h2 {
  font-style: italic;
  color:#de7d5a;
}

/*-----IMAGES-------*/


.imgDiv {
  position: relative;
  width: 60%;
  height: auto;
  margin-right: 20%;
  margin-left: 20%;
}

#underImg {
  display: block;
  width: 100%;
  bottom: 0;
}

#spinImg {
  position:absolute;
  bottom: 0;
  width: 100%;
  transition: .5s cubic-bezier(0.7, 0.2, 0.5, 1.0);
  opacity: .8;
  animation: rotation 1s infinite linear;
}

/*---Animation----*/

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/* Aleatory header transitions */
header h1, header h2, #wisdomQuote {
  transition: opacity 0.3s ease-in-out;
}

header h1:hover, header h2:hover {
  filter: brightness(1.3);
  transform: scale(1.02);
  transition: all 0.2s ease;
}