/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@keyframes marqueeBackground {
  0% {
    background-position:50% 50%;
  }
  100% {
    background-position:calc(50% + 512px) 50%;
  }
}

@keyframes marqueeBorder {
  0% {
    background-position: 0px 0px, 100% 100%, 0px 100%, 100% 0px;
  }
  100% {
    background-position: 70% 0px, 20% 100%, 0px 2%, 100% 100%;
  }
}

@keyframes strobeBackground {
  0% {
    opacity:0.2;
  }
  50% {
    opacity:0.3;
  }
  100% {
    opacity:0.2;
  }
}

body {
  background-color: white;
  color: black;
  font-family: Verdana;
}

body, html {
  font-size:0px;
  height:100%;
  margin:0px;
  padding:0px;
  width:100%;
}

#background {
  left:0px;
  position:relative;
  top:0px;
  z-index:1;
}

#container {
  height:100%;
  max-width:100%;
  margin:auto;
  width:1200px;
}

#content {
  display:inline-block;
  margin-bottom:64px;
  width:100%;
}

#footer {
  bottom:0px;
  left:0px;
  height:64px;
  position:fixed;
  width:100%;
}

#foreground {
  left:0px;
  position:relative;
  top:0px;
  width:100%;
  z-index:2;
}

#header {
  margin-top:32px;
}

.latest {
  animation: marqueeBorder 8s infinite linear;
  aspect-ratio:16/9;
  background: linear-gradient(90deg, #000000 50%, transparent 50%), 
  linear-gradient(90deg, #000000 50%, transparent 50%), 
  linear-gradient(0deg, #000000 50%, transparent 50%), 
  linear-gradient(0deg, #000000 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 15px 4px, 15px 4px, 4px 15px, 4px 15px;
  background-position: 0px 0px, 100% 100%, 0px 100%, 100% 0px;
  display:inline-block;
  left:0px;
  margin-top:32px;
  position:relative;
  top:0px;
  width:calc(50% - 24px);
}

.latest:nth-child(1) {
  float:left;
}

.latest:nth-child(2) {
  float:right;
}

#latest-parent {
  display:inline-block;
  width:100%;
}

.latest-text {
  left:16px;
  font-size:14px;
  position:absolute;
  top:16px;
}

#logo {
  aspect-ratio:1979/974;
  height:100%;
  max-width:100%;
  width:auto;
}

#logo-parent {
  height:300px;
  text-align:center;
  width:100%;
}

#navigation {
  display:flex;
  justify-content:space-evenly;
}

.navigation-link {
  font-size:14px;
}

#navigation-parent {
  margin-top:32px;
}

#other-links{
  display:inline-block;
  width:calc(50% - 24px);
}


.other-links-button {
  background:#000000;
  float:left;
  font-size:14px;
  margin-top:16px;
  padding:16px;
  text-align:center;
  width:calc(50% - 40px);
}

.other-links-button:link{
  color:#ffffff;
  text-decoration:none;
}

.other-links-button:nth-child(2n) {
  float:right;
}

#other-parent {
  display:inline-block;
  margin-bottom:32px;
  margin-top:16px;
  width:100%;
}

#music-player {
  background:#ff0000;
  height:100%;
  width:100%;
}
#music-player path {
  fill:#00ff00;
}

#music-player > audio{
  width:100%;
}

#pattern {
  animation: marqueeBackground 12s linear infinite, strobeBackground 3s ease infinite;
  background-image:url("/resources/images/backgrounds/pattern.png");
  background-position:center;
  background-repeat:repeat;
  height:1000%;
  left:50%;
  position:relative;
  opacity:0.2;
  top:50%;
  transform:translate(-50%, -50%) rotate(45deg);
  width:1000%;
}

#pattern-parent {
  height:100%;
  left:0px;
  overflow:hidden;
  pointer-events:none;
  position:fixed;
  top:0px;
  width:100%;
}

#reference-a {
  bottom:0px;
  left:0px;
  opacity:0.2;
  position:fixed;
  z-index:3;
}