body {
    background-image: url('smashmeleeui/meleebg.gif');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    background-color: rgb(11, 11, 35);
}

@font-face {
  font-family: meleeFont;
  src: url("MeleeFont.otf");
}

@keyframes button2 {
  from {filter:hue-rotate(0deg);}
  to {filter:hue-rotate(90deg);}
}

@keyframes button3 {
  from {filter:hue-rotate(0deg);}
  to {filter:hue-rotate(-120deg);}
}

@keyframes button4 {
  from {filter:hue-rotate(0deg);}
  to {filter:hue-rotate(-190deg);}
}

@keyframes button5 {
  from {filter:hue-rotate(0deg);}
  to {filter:hue-rotate(30deg);}
}

/* margin: auto; this makes things stay centered */
/* margin-bottom: #px; this changes bottom spacing */
/* border-radius: #px; roundness of border */
/* box-sizing: border-box; makes text nicer? */

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#title { 
  color: #6A6A77;
  position:absolute;
  top: -1%;
  left:24%;
  font-family: meleeFont;
  font-size: 50px;
  z-index: 1;
}

a:link {
  text-decoration: none;
  color: #6A6A77;
}

a:visited {
  text-decoration: none;
  color: #6A6A77;
}

a:active {
  text-decoration: none;
  color: #6A6A77;
}

#fg {
  opacity: 75%;
  margin-top: 2%;
  width: 60%;
  z-index: -2;
}

#menu a {
  color: #6A6A77;
  font-family: meleeFont;
  font-size: 65px;
  background-image: url("smashmeleeui/button.png");
  background-repeat: no-repeat;
  width: 31%;
  z-index: 1;
  text-align: center;
  position: absolute;
  line-height: 90px;
  text-decoration: none;
}

#menu a:hover {
  background-image: url("smashmeleeui/buttonselect.png");
  color:black;
}

body:has(#button2:hover) #fg { /*red*/
  animation-name: button2;
  animation-duration: .25s;
  filter:hue-rotate(90deg);
}

body:has(#button3:hover) #fg { /*green*/
  animation-name: button3;
  animation-duration: .25s;
  filter:hue-rotate(-120deg);
}

body:has(#button4:hover) #fg { /*yellow*/
  animation-name: button4;
  animation-duration: .25s;
  filter:hue-rotate(-190deg);
}

body:has(#button5:hover) #fg { /*purple*/
  animation-name: button5;
  animation-duration: .25s;
  filter:hue-rotate(30deg);
}

#button1 {
  top: 22%;
  left: 30%;
}

#button2 {
  top: 30.5%;
  left: 25%;
}

#button3 {
  top: 39%;
  left: 19%;
}

#button4 {
  top: 47.5%;
  left: 23%;
}

#button5 {
  top: 56%;
  left: 21%;
}

#centertext {
  background-color: rgba(0, 0, 0, 0.3);
  border-width: 3px;
  border-style: solid;
  border-color: #6A6A77;
  border-radius: 8px;
  position: absolute;
  top: 86.5%;
  left: 31%;
  width: 38.5%;
  height: 65px;
}

#centertext p {
  color: #7c7c8b;
  font-family: meleeFont;
  opacity: 100%;
  text-align: center;
  font-size: 30px;
  vertical-align:text-top;
  position: relative;
  top: -30px;
}

#nextprev {
  color: #7c7c8b;
  font-family: meleeFont;
  opacity: 100%;
  text-align: center;
  font-size: 30px;
  vertical-align:text-top;
  position: relative;
  z-index: 2;
}

#abouttable {
  font-family: meleeFont;
  font-size: 25px;
  color:white;
  background-color: rgba(0, 0, 0, 0.6);
}

#blogcontent {
  font-family: meleeFont;
  font-size: 20px;
  color: #DAF8E0;
  text-align: justify;
  width: 25%;
  left: 50%;
  top: 18%;
  height: 44%;
  z-index: 1;
  position: absolute;
}

#blogimage {
  overflow: auto;
  scrollbar-width: thin;
  position: absolute;
  top: 22%;
  left: 26%;
  width: 22%;
  height: 55%;
  z-index: 1;
}

#blogimage img {
  height:auto;
  width: 100%;
}

#blogcontent h1, h4 {
  text-align: right;
  color: #FBBA06;
  margin: 0%;
}

#abouttable table, tr, td {
  border: 5px solid #89B3E3;
}

table {
  border-collapse: collapse;
}

#linksmenu {
  position: absolute;
  width: 37%;
  left: 30%;
  top: 22%;
  z-index: 1;
}

#postlistdiv {
  position: absolute;
  width: 37%;
  left: 30%;
  top: 22%;
  z-index: 1;
}

#linksmenu a {
  color: #6A6A77;
  font-family: meleeFont;
  font-size: 30px;
  background-color: #24242bcb;
  display:block;
  margin-bottom: 20px;
  border: 3px solid #5f5f70cb;
  border-radius: 50px;
  text-align:left;
  padding-left: 50px;
}

#postlistdiv a {
  color: #6A6A77;
  font-family: meleeFont;
  font-size: 30px;
  background-color: #24242bcb;
  display:block;
  margin-bottom: 20px;
  border: 3px solid #5f5f70cb;
  border-radius: 50px;
  text-align:left;
  padding-left: 50px;
}

#linksmenu a:hover {
  background-color: #8D7022;
  color: black;
  border: 3px solid yellow;
}

#postlistdiv a:hover {
  background-color: #8D7022;
  color: black;
  border: 3px solid yellow;
}

.overflowscroll {
  overflow: auto;
  position: absolute;
  top: 22%;
  left: 27%;
  width: 45%;
  height: 55%;
  z-index: 2;
  scrollbar-width: thin;
}

.blogoverflowscroll {
  overflow: auto;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  scrollbar-width: thin;
}

#blogcontent a {
  color: #FBBA06;
}

@media only screen and (max-width: 1366px) {
  /* smaller monitors */

  #title {
    font-size: 35px;
  }

  #fg {
    width:59%;
  }
  #menu a {
    font-size: 40px;
    width:38%;
    background-size: 80%;
    background-position: 50%;
  }
  #button1 {
    top: 20%;
    left: 25%;
  }
  #button2 {
    top: 28.5%;
    left: 20%;
  }
  #button3 {
    top: 37%;
    left: 14%;
  }
  #button4 {
    top: 45.5%;
    left: 18%;
  }
  #button5 {
    top: 54%;
    left: 16%;
  }
  #centertext {
    height: 45px;
    top: 89%;
    width: 37.5%;
    left: 31.5%;
  }
  #centertext p {
    top: -15px;
    font-size: 17px;
  }
  #nextprev {
    top: 3px;
    font-size: 17px;
  }
  #abouttable {
    font-size: 18px;
  }
  #linksmenu a {
    font-size: 20px;
  }
  #postlistdiv a {
    font-size: 20px;
  }

}

