*{
  font-family: "Comic Sans MS", "Comic Sans", cursive;
}

body{
  background-image: url(gifs/stars.gif);
  color:#00ff0d;
  text-align:center;
  overflow-x:hidden;
}

#content{
  width:70%;
  margin:auto;
  background-color:rgba(0,0,0,0.6);
  border:3px solid #00ff40;
  margin-top: 2%;
  margin-bottom: 2%;
}

h1{
  font-size: 50px;
  color: #fff;
  animation: rainbow 5s linear infinite;
  text-shadow: 2px 2px 0 #2f00ff, 4px 4px 0 #0f0;
}

p{
  color:white;
  transform: translateY(-50%);
}

#gallery{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 20px;
}

.fanart {
  width:150px;
  border:3px dashed #ff00ff;
  animation: rainbowBorder 10s linear infinite;
  background:#00000099;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  transition:transform 0.2s;
  padding-left: 1%;
  padding-right: 1%;
  padding-top: 1%;
  height: auto;
}


.fanart img{
  max-width:100%;
  max-height:100%;
}

@keyframes rainbow {
  0% { color: red; text-decoration: none;}
  16% { color: orange; text-decoration: none;}
  33% { color: yellow; text-decoration: none;}
  50% { color: green; text-decoration: none;}
  66% { color: blue; text-decoration: none;}
  83% { color: purple; text-decoration: none;}
  100% { color: red; text-decoration: none;}
}

.buttons {
  background: #222;
  padding: 0.7%;
  text-align: left;
}

.buttons a {
  color: #0f0;
  margin: 6px;
  text-decoration: none;
}

.buttons span {
  color: #fbff00;
}

.buttons a:hover {
  color: #0033ff;
}

.browserStickers {
  position: absolute;
  right: 1%;
  transform: translateY(-80%);
}

.stickerMenu {
  height: 25px;
}

.content14{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

#pageChange {
  margin: 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

#pageChange button {
  background: #222;
  border: 2px solid #0f0;
  color: #0f0;
  padding: 6px 12px;
  cursor: pointer;
}

#pageChange button:hover {
  background: #0f0;
  color: #000;
}

#pageShi {
  width: 105px;
  padding: 4px;
  text-align: center;
}

#yeah11{
margin: 2%;
margin-bottom: 4%;
}

#go {
  background: #222;
  border: 2px solid #0f0;
  color: #0f0;
  padding: 6px 12px;
  cursor: pointer;
}

#go:hover{
  background-color: #0f0;
  color: #000000;
}

@keyframes rainbowBorder {
  0% { border-color: red; }
  16% { border-color: orange; }
  33% { border-color: yellow; }
  50% { border-color: green; }
  66% { border-color: blue; }
  83% { border-color: purple; }
  100% { border-color: red; }
}

#fullscreen {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

#fullscreen.show {
  opacity: 1;
  pointer-events: auto;
}

#fullImg {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid #00ff40;
  box-shadow: 0 0 30px #00ff40;
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

#fullscreen.show #fullImg {
  opacity: 1;
}

#close {
  position: fixed;
  top: 2%;
  right: 2%;
  background: #000;
  color: white;
  animation: rainbowBorder 5s linear infinite;
  font-size: 26px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 10000;
}

#close:hover {
  background-color: red;
  border-color: white;
  border-style: groove;
  animation: none;
}

#close p{
    transform: translateY(-65%);
}

@keyframes allRainbow {
  0% { box-shadow: 0 0 30px red; border-color: red;}
  16% { box-shadow: 0 0 30px orange; border-color: orange;}
  33% { box-shadow: 0 0 30px yellow; border-color: yellow;}
  50% { box-shadow: 0 0 30px green; border-color: green;}
  66% { box-shadow: 0 0 30px blue; border-color: blue;}
  83% { box-shadow: 0 0 30px purple; border-color: purple;}
  100% { box-shadow: 0 0 30px red; border-color: red;}
}

#infoSla {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
  transform: translate(8%);
}

#infoSla img{
    width: 100px;
    height: 100px;
    transform: translateY(-20%);
}

#infoSla p {
  color: white;
  font-size: 18px;
}

#infoSla span {
  animation: rainbow 5s linear infinite;
}

.fanart p {
  color: #fff;
  font-size: 12px;
  margin-top: 4px;
}

.fanart span {
  color: #00ff40;
}

.credit {
  font-size: 12px;
  padding-bottom: 10%;
  text-align: center;
  animation: rainbow 10s linear infinite;
}

#modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#creditContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#modalCredit {
  color: #fff;
  font-size: 16px;
  text-align: center;
  animation: rainbow 5s linear infinite;
}