/*template
#nameContainer {
  width: 100px;
  height: calc(100px + 6em);
  left: 10px;
  top: 10px;
}

#constellationName {
  width: 100%;
  height: calc(100% - 6em);
}
*/
/*Notes
Width % of 1506px
Height % of 704.6px
*/
body {
  background-color: black;
  overflow: hidden;
  font-size: calc(3px + 0.1vh);
}

.body2{
  position: absolute;
  width: 99%;
  height: 99%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

p {
  font-size: 16px;
  text-align: justify;
  margin-block-start: 0;
  margin-block-end: 0.5em;
}

h1 {
  font-size: 30px;
  margin-block-start: 0;
  margin-block-end: 0;
  text-align: center;
}

h2 {
  font-size: 16px;
  font-style: italic;
  text-align: center;
  margin-block-start: 0;
  font-weight: normal;
  color: grey;
}

h3 {
  font-size: 21px;
  text-decoration: underline;
  margin-block-end: 0.2em;
}

h4 {
  font-size: 18px;
  margin-block-end: 0.2em;
}

hr {
  border-top: double;
}

circle {
  fill: none;
}

dl {
  font-size: 16px;
  margin-block-start: 0;
  margin-block-end: 0;
}

dd {
  display: list-item;
}

.dropdown{
  position: absolute;
  left: 15px;
  top: 10px;
  width: 100px;
  height: 100px;
}

.dropbtn{
  width: 50px;
  height: 50px;
  margin: 25px;
}

.dropbtn img{
  height: 50px;
}

.dropdown:hover .dropdownContent{
  display: block;
}

.dropdownContent{
  display: none;
}

.dropdownContent img{
  width: 50px;
  height: 50px;
  margin: 0 10px;
}

#logo {
  width: 15px;
  height: 15px;
  position: absolute;
  right: 0;
  bottom: 0;
}

#mapTitle {
  font-size: 10em;
  color: white;
  position: absolute;
  right: 0;
  top: 0;
  font-style: italic;
  font-variant: small-caps;
  margin: 0.3em;
  text-align: center;
  color: gold;
}

#sky {
  position: absolute;
  width: 98%;
  height: 95%;
  min-width: 1360px;
  min-height: 704.6px;
  border: double white;
  z-index: 0;
  overflow: hidden;
}

#skyBackground {
  content: "";
  background: black;
  background-image: url('https://www.lockheedmartin.com/en-us/capabilities/space/solarsystem/images/nebula-transparent-3.png');
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.5;
  z-index: 1;
}

#backgroundColour {
  width: 100%;
  height: 100%;
  background: red;
  mix-blend-mode: soft-light;
  animation: backColour 120s infinite;
  z-index: 2;
}

/*Primary Elements*/
#lightContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 91%;
  top: 43%;
}

#airContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 54%;
  top: 4%;
}

#waterContainer {
  width: 4.15%;
  height: calc(17.74% + 6em);
  left: 79%;
  top: 76%;
}

#darkContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 1%;
  top: 46%;
}

#stoneContainer {
  width: 6.57%;
  height: calc(10.64% + 6em);
  left: 14%;
  top: 9%;
}

#fireContainer {
  width: 6.64%;
  height: calc(18.45% + 6em);
  left: 13%;
  top: 77%;
}

/*Secondary Elements*/
#bloodContainer {
  width: 3.32%;
  height: calc(9.93% + 6em);
  left: 75%;
  top: 43%;
}

#smokeContainer {
  width: 3.32%;
  height: calc(10.64% + 6em);
  left: 64%;
  top: 59%;
}

#poisonContainer {
  width: 3.95%;
  height: calc(8.52% + 6em);
  left: 22%;
  top: 42%;
}

#plantContainer {
  width: 3.32%;
  height: calc(12.77% + 6em);
  left: 52%;
  top: 61%;
}

#lavaContainer {
  width: 2.99%;
  height: calc(11.5% + 6em);
  left: 29%;
  top: 47%;
}

#metalContainer {
  width: 3.32%;
  height: calc(9.23% + 6em);
  left: 29%;
  top: 27%;
}

#iceContainer {
  width: 4.98%;
  height: calc(10.65% + 6em);
  left: 67.5%;
  top: 62%;
}

#forceContainer {
  width: 4.15%;
  height: calc(8.875% + 6em);
  left: 23%;
  top: 28%;
}

#lightningContainer {
  width: 3.32%;
  height: calc(11.35% + 6em);
  left: 47%;
  top: 62%;
}

#stormContainer {
  width: 4.15%;
  height: calc(8.875% + 6em);
  left: 55%;
  top: 23%;
}

#shadowContainer {
  width: 4.15%;
  height: calc(8.875% + 6em);
  left: 50%;
  top: 26%;
}

/*Races*/
#nhillpaicContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 6%;
  top: 65%;
}

#demonContainer {
  width: 3.98%;
  height: calc(8.52% + 6em);
  left: 1%;
  top: 69%;
}

#devilContainer {
  width: 5.98%;
  height: calc(12.77% + 6em);
  left: 6%;
  top: 84%;
}

#lefrainContainer {
  width: 6.64%;
  height: calc(21.29% + 6em);
  left: 32%;
  top: 63%;
}

#forestContainer {
  width: 3.98%;
  height: calc(7.1% + 6em);
  left: 36%;
  top: 88%;
}

#royalContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 32%;
  top: 88%;
}

#watcherContainer {
  width: 3.32%;
  height: calc(9.23% + 6em);
  left: 41%;
  top: 86%;
}

#magicianContainer {
  width: 3.32%;
  height: calc(8.52% + 6em);
  left: 28%;
  top: 86%;
}

#guardianContainer {
  width: 4.65%;
  height: calc(7.1% + 6em);
  left: 40%;
  top: 75%;
}

#johackleContainer {
  width: 6.64%;
  height: calc(17.03% + 6em);
  left: 7%;
  top: 25%;
}

#ocruContainer {
  width: 9.96%;
  height: calc(14.19% + 6em);
  left: 64%;
  top: 78%;
}

#starlightContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 37%;
  top: 0%;
}

/*Gods*/
#sicknessContainer {
  width: 4.98%;
  height: calc(17.89% + 6em);
  left: 19.5%;
  top: 55%;
}

#justiceContainer {
  width: 5.31%;
  height: calc(19.87% + 6em);
  left: 81%;
  top: 42%;
}

#loveContainer {
  width: 4.98%;
  height: calc(15.97% + 6em);
  left: 84%;
  top: 66%;
}

#animalContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 76%;
  top: 24%;
}

#magickContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 62%;
  top: 13%;
}

#knowledgeContainer {
  width: 6.64%;
  height: calc(11.35% + 6em);
  left: 22%;
  top: 13%;
}

#oceanContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 73%;
  top: 57%;
}

#deathContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 15%;
  top: 27%;
}

#natureContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 39%;
  top: 57%;
}

#collectionContainer {
  width: 7.96%;
  height: calc(14.19% + 6em);
  left: 11%;
  top: 46%;
}

#warContainer {
  width: 6.64%;
  height: calc(17.74% + 6em);
  left: 25%;
  top: 64%;
}

#tricksterContainer {
  width: 6.64%;
  height: calc(18.45% + 6em);
  left: 45%;
  top: 2%;
}

/*Other*/
#balanceContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 47%;
  top: 40%;
}

/* TODO: */

#cityContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 60%;
  top: 88%;
}

#gypsyContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 75%;
  top: 88%;
}

#spiritContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 49%;
  top: 81%;
}

#vaphilContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 56%;
  top: 88%;
}

#furingContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 45%;
  top: 77%;
}

#uvonixContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 45%;
  top: 88%;
}

#magoneContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 90%;
  top: 71%;
}

#olielleContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 73%;
  top: 6%;
}

#desertContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 83%;
  top: 2%;
}

#islandContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 69%;
  top: 6%;
}

#mountainContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 83%;
  top: 13%;
}

#axermContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 33%;
  top: 11%;
}

#duskContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 29%;
  top: 5%;
}

#dawnContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 33%;
  top: 0%;
}

#spaceContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 41%;
  top: 16%;
}

#timeContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 29%;
  top: 16%;
}

#winterContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 41%;
  top: 5%;
}

#traditionalistContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 1%;
  top: 35%;
}

#newAgeContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 2%;
  top: 20%;
}

#pernaContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 90%;
  top: 25%;
}

#illusionContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 57%;
  top: 70%;
}

#agiaContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 58%;
  top: 38%;
}

#zyrContainer {
  width: 6.64%;
  height: calc(14.19% + 6em);
  left: 35%;
  top: 32%;
}

#sandContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 43%;
  top: 29%;
}

#mindContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 66%;
  top: 33%;
}

#bodyContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 72%;
  top: 32%;
}

#soulContainer {
  width: 3.32%;
  height: calc(7.1% + 6em);
  left: 35%;
  top: 51%;
}

.container {
  position: absolute;
}

.constellation {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: calc(100% - 6em);
  z-index: 3;
}

.guideLines {
  stroke-dasharray: 1, 2;
  stroke: darkgoldenrod;
  stroke-opacity: 0.5;
  position: absolute;
  stroke-width: 0.5;
}

.starName {
  color: white;
  position: absolute;
  visibility: hidden;
  width: 100%;
  text-align: center;
  font-size: 4em;
}

.star {
  height: 1em;
  width: 1em;
  background-color: ivory;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
}

.starSmall {
  height: 0.75em;
  width: 0.75em;
  background-color: ivory;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
}

.constellation:hover>.star {
  background-color: gold;
}

.constellation:hover .guideLines {
  stroke: white;
  stroke-opacity: 1;
}

.container:hover>.starName {
  visibility: visible;
}

/* The Modal*/
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 4;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.5);
  /* Black w/ opacity */
}

.modalContent {
  background-color: aliceblue;
  opacity: 70%;
  margin: auto;
  width: 1160px;
  height: 560px;
  padding: 50px;
  border: 1px solid #888;
  overflow: auto;
}

.modalContent::-webkit-scrollbar {
  width: 15px;
}

.modalContent::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.modalContent::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  z-index: 4;
  margin-top: -100px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*Shooting Stars*/
.skyContainer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 10;
}

.shootingStarContainer {
  position: absolute;
  width: 1500px;
  height: 1500px;
  transform: rotateZ(45deg);
  top: -410px;
  left: -20px;
}

.shootingStar {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  background: linear-gradient(-45deg, #5f91ff, rgba(0, 0, 255, 0));
  filter: drop-shadow(0 0 6px #699bff);
  animation: tail 8000ms ease-in-out infinite, shooting 8000ms ease-in-out infinite;
}

.shootingStar::before .shootingStar::after {
  position: absolute;
  content: '';
  top: calc(50% - 1px);
  right: 0;
  height: 2px;
  background: linear-gradient(-45deg, rgba(0, 0, 255, 0), #5f91ff, rgba(0, 0, 255, 0));
  border-radius: 100%;
  transform: translateX(50%) rotateZ(45deg);
  animation: shining 3000ms ease-in-out infinite;
}

.shootingStar::after {
  transform: translateX(50%) rotateZ(-45deg);
}

.shootingStar:nth-child(1) {
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  animation-delay: 650ms;
}

.shootingStar:nth-child(1)::before, .shootingStar:nth-child(1)::after {
  animation-delay: 650ms;
}

.shootingStar:nth-child(2) {
  top: calc(50% - -100px);
  left: calc(50% - 190px);
  animation-delay: 1150ms;
}

.shootingStar:nth-child(2)::before, .shootingStar:nth-child(2)::after {
  animation-delay: 1150ms;
}

.shootingStar:nth-child(3) {
  top: calc(50% - 400px);
  left: calc(50% + 200px);
  animation-delay: 2600ms;
}

.shootingStar:nth-child(3)::before, .shootingStar:nth-child(3)::after {
  animation-delay: 2600ms;
}

.shootingStar:nth-child(4) {
  top: calc(50% - 50px);
  left: calc(50% - 250px);
  animation-delay: 4700ms;
}

.shootingStar:nth-child(4)::before, .shootingStar:nth-child(4)::after {
  animation-delay: 4700ms;
}

.shootingStar:nth-child(5) {
  top: calc(50% + 500px);
  left: calc(50% - 200px);
  animation-delay: 9005ms;
}

.shootingStar:nth-child(5)::before, .shootingStar:nth-child(5)::after {
  animation-delay: 9005ms;
}

.shootingStar:nth-child(6) {
  top: calc(50% + 200px);
  left: calc(50% - 600px);
  animation-delay: 10500ms;
}

.shootingStar:nth-child(6)::before, .shootingStar:nth-child(6)::after {
  animation-delay: 10500ms;
}

.shootingStar:nth-child(7) {
  top: calc(50% + 400px);
  left: calc(50% - 500px);
  animation-delay: 7800ms;
}

.shootingStar:nth-child(7)::before, .shootingStar:nth-child(7)::after {
  animation-delay: 7800ms;
}

.shootingStar:nth-child(8) {
  top: calc(50% - 200px);
  left: calc(50% + 400px);
  animation-delay: 1290ms;
}

.shootingStar:nth-child(8)::before, .shootingStar:nth-child(8)::after {
  animation-delay: 1290ms;
}

.shootingStar:nth-child(9) {
  top: calc(50% - 300px);
  left: calc(50% + 500px);
  animation-delay: 18200ms;
}

.shootingStar:nth-child(9)::before, .shootingStar:nth-child(9)::after {
  animation-delay: 18200ms;
}

/* Animations */
@keyframes tail {
  0% {
    width: 0;
  }

  7.5% {
    width: 100px;
  }

  25% {
    width: 0;
  }

  100% {
    width: 0;
  }
}

@keyframes shooting {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(320px);
  }

  100% {
    transform: translatex: (320px);
  }
}

@keyframes backColour {
  0% {
    background-color: red;
  }

  37.5% {
    background-color: deeppink;
  }

  12.5% {
    background-color: blueviolet;
  }

  65.5% {
    background-color: seagreen;
  }

  75% {
    background-color: cyan;
  }

  25% {
    background-color: lawngreen;
  }

  87.5% {
    background-color: white;
  }

  50% {
    background-color: chocolate;
  }

  100% {
    background-color: red;
  }
}
