@font-face {
  font-family: PopJoy;
  src: url("PopJoy.otf") format("opentype");
}

h1 {
  padding-left: 2%;
  padding-right: 2%;
}

p {
  padding-left: 1%;
  padding-right: 1%;
  z-index: 4;
}

body {
  font-family: PopJoy;
  background-image: url(background1.png);
  background-size: cover;
  overflow: hidden;
  image-rendering: optimizeSpeed;
  /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: pixelated;
  /* Universal support since 2021   */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  /* IE8+                           */
}

img {
  image-rendering: optimizeSpeed;
  /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: pixelated;
  /* Universal support since 2021   */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
}

@keyframes cursor-bop {
  from {padding-left: 0px;}
  to {padding-left: 23px;}
}

.pointer-container {
  width: 90px;
  position: absolute;
  z-index: 3;
}
.pointer-container .pointer {
  animation-name: cursor-bop;
  animation-duration: 230ms;  
  animation-direction: alternate;
  animation-iteration-count: infinite; 
}

/* display elements on top of each other (the navbar and content) */
.layered {
  display: grid;
  padding-left: 3%;
  padding-right: 3%;
  z-index: -3;
}
.layered > * {
  grid-column-start: 1;
  grid-row-start: 1;
}

.topnav {
  z-index: 2;
  display: flex;
  justify-content: space-evenly;
  padding-left: 2%;
  padding-right: 2%;
  margin-left: 8%;
  margin-right: 8%;
  overflow: hidden;
  image-rendering: optimizeSpeed;
  /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: pixelated;
  /* Universal support since 2021   */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  /* IE8+                           */
}


.topnav button {
  margin-top: 40px;
  padding: 5%;
  border: none;
  background: none;
  width: 192px;
  height: 78px;
  background-size: cover;
  border: none;
  cursor: pointer;
}

.topnav .navbar-item-active {
  filter: brightness(100%);
}

.topnav .navbar-item-active img {
  position: absolute;
  top: 8%;
  right: 97%;
  /* animation-name: cursor-bop;
  animation-duration: 230ms;  
  animation-direction: alternate;
  animation-iteration-count: infinite; */
}

.topnav .navbar-item {
  filter: brightness(57%);
}

.topnav .red-button {
  background-image: url("home.png");
}

.topnav .pink-button {
  background-image: url("mkwii.png");
}

.topnav .yellow-button {
  background-image: url("builds.png");
}

.topnav .green-button {
  background-image: url("code.png");
}

.topnav .blue-button {
  background-image: url("other.png");
}

/* Add a color to the active/current link */

.page-home {
  margin-top: 80px;
  border-radius: 10.1px 10.1px 0px 0px; 
  z-index: 1;
  background-color: #c86660;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-left: 6%;
  margin-right: 6%;
}

.page-home .inner-page-home{
  background-color: #e1a5a1;
  height: 500px;
  background-image: url(pattern.png);
  background-size: 254px 128px;
  image-rendering: optimizeSpeed;
  /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: pixelated;
  /* Universal support since 2021   */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  /* IE8+                           */
  opacity: 70%;
}

.page-mkwii {
  margin-top: 80px;
  border-radius: 10.1px 10.1px 0px 0px; 
  z-index: 1;
  background-color: #c86b96;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-left: 6%;
  margin-right: 6%;
}

.page-mkwii .inner-page-mkwii{
  background-color: #dbabc6;
  height: 500px;
  background-image: url(pattern.png);
  background-size: 254px 128px;
  image-rendering: optimizeSpeed;
  /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: pixelated;
  /* Universal support since 2021   */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  /* IE8+                           */
  opacity: 70%;
}

.page-builds {
  margin-top: 80px;
  border-radius: 10.1px 10.1px 0px 0px; 
  z-index: 1;
  background-color: #bb9c21;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-left: 6%;
  margin-right: 6%;
}

.page-builds .inner-page-builds{
  background-color: #d7cd76;
  height: 500px;
  background-image: url(pattern.png);
  background-size: 254px 128px;
  image-rendering: optimizeSpeed;
  /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: pixelated;
  /* Universal support since 2021   */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  /* IE8+                           */
  opacity: 70%;
}

.page-code {
  margin-top: 80px;
  border-radius: 10.1px 10.1px 0px 0px; 
  z-index: 1;
  background-color: #2fa530;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-left: 6%;
  margin-right: 6%;
}

.page-code .inner-page-code{
  background-color: #a2d26e;
  height: 500px;
  background-image: url(pattern.png);
  background-size: 254px 128px;
  image-rendering: optimizeSpeed;
  /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: pixelated;
  /* Universal support since 2021   */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  /* IE8+                           */
  opacity: 70%;
}

.page-other {
  margin-top: 80px;
  border-radius: 10.1px 10.1px 0px 0px; 
  z-index: 1;
  background-color: #287ec5;
  padding-top: 2%;
  padding-bottom: 2%;
  margin-left: 6%;
  margin-right: 6%;
}

.page-other .inner-page-other{
  background-color: #78b3d6;
  height: 500px;
  background-image: url(pattern.png);
  background-size: 254px 128px;
  image-rendering: optimizeSpeed;
  /* STOP SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: pixelated;
  /* Universal support since 2021   */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  /* IE8+                           */
  opacity: 70%;
}
/* the red pink yellow green blue colors */