body {
    background-image: url("assets/background.png");
    background-position: left top;
    background-repeat: repeat;
    background-size: 256px;
  }
  
  #featured #accounts, #enemies, #partners, #funnies {
    display: block;
  }
  
  h1 {
    text-size-adjust: none;
    background-color: #540094b6;
    text-align: center;
    text-wrap: nowrap;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 4vw;
    color: #ebd1ff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  }
  
  .centre {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5%;
    width: 100%;
    margin: 0 auto;
  }
  
  .centre2 {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 3%;
    width: 100%;
    margin: 0 auto;
  }
  /* for dropdown menu on index */
  .header {
    text-size-adjust: none;
    transition-duration: 0.4s;
    background-color: #540094b6;

    text-align: center;
    text-wrap: nowrap;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 2.222vw;
    font-style: oblique;
    color: #ebd1ff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  }
  
  /* buttons for links on index */
  .button {
    text-size-adjust: none;
    transition-duration: 0.4s;
    background-color: #540094b6;
    border: none;
    border-radius: 10%;
    color: rgb(248 248 248);
    padding: 1% 1%;
    display: flex;
    align-items: center;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.2vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-spacing: 3%;
    box-shadow:5px 7px 10px 3px rgba(0,0,0,0.3);
    width: 12%;
    transform-origin: top left;
    margin-block: 1%;
  }
  .button:hover {
    background-color: #9000ff;
    cursor: pointer;
  }
  .bigbutton {
    text-size-adjust: none;
    transition-duration: 0.4s;
    background-color: #540094b6;
    border: none;
    border-radius: 10%;
    color: #ebd1ff;
    padding: 0.5% 2%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-spacing: 3%;
    box-shadow:5px 7px 10px 3px rgba(0,0,0,0.3);
    width: 17%;
    aspect-ratio: 1 / 1;
    transform-origin: top left;
    margin-block: 1%;
  }
  .bigbutton:hover {
    background-color: #9000ff;
    cursor: pointer;
  }
  
  
  /* small button, currently next/prev buttons musichall */
  .buttonS {
    transition-duration: 0.4s;
    background-color: #540094b6;
    border: none;
    border-radius: 10%;
    color: #ebd1ff;
    padding: 2% 2%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 4vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-spacing: 3%;
    box-shadow:5px 7px 10px 3px rgba(0,0,0,0.3);
    width: 5%;
    height: 5%;
    font-weight: 1000;
  }
  
  .buttonS:hover {
    background-color: #9000ff;
    cursor: pointer;
  }
  
  img {
    display: block;
    -webkit-filter: drop-shadow(5px 5px 5px #222222);
    filter: drop-shadow(5px 5px 5px #222222);
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
    margin-bottom: 3%;
  }
  
  iframe {
    display: block;
    box-shadow:0px 0px 20px 10px rgba(0,0,0,0.5);
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    margin-bottom: 5%;
  }
  
  audio {
    display: block;
    -webkit-filter: drop-shadow(5px 5px 5px #222222);
    filter: drop-shadow(5px 5px 5px #222222);
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
    margin-bottom: 3%;
  }
  
  /* for song title musichall */
  .title {
    background-color: #540094b6;
    border: none;
    border-radius: 15%;
    color: #ebd1ff;
    padding: 2% 2%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 4vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 750;
    border-spacing: 3%;
    box-shadow:5px 7px 10px 3px rgba(0,0,0,0.3);
    width: 67.5%;
    height: 5%;
  }
  
  /* playbutton on musichall */
  .playpause {
    transition-duration: 0.25s;
    width: 100%;
    height: 100%;
    display: block;
    -webkit-filter: drop-shadow(5px 5px 5px #222222);
    filter: drop-shadow(5px 5px 5px #222222);
    margin: 3% auto;
    background-color: #540094b6;
    border: none;
    border-radius: 25%;
    padding: 10%;
  }
  .playpause:hover {
    background-color: #9000ff;
    cursor: pointer;
  }
  
  /* displays time through song musichall  */
  .durationText {
    background-color: #540094b6;
    border: none;
    border-radius: 15%;
    color: #ebd1ff;
    padding: 2% 2%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 4vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    border-spacing: 3%;
    box-shadow:5px 7px 10px 3px rgba(0,0,0,0.3);
    width: 12%;
    margin-top: 3%;
    margin-bottom: 3%;
  }
  
  /* for music player */
  
  .playpausebox {
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #540094b6;
    border-radius: 25%;
    padding: 3%;
  }
  .playpausebox:hover {
    background-color: #9000ff;
    cursor: pointer;
  }

  #ratText, #engText {
    font-family: 'RatScript', sans-serif;
  }
    /* ratscript font */
  @font-face {
    font-family: 'RatScript';
    src: url('/assets/RatScript.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    unicode-range: U+FB500-FB55F;
}

.textbox {
  width: 45%; 
  height: 35%; 
  font-size: 2vw;
  padding: 1%; 
  border: 0.3vw solid #9100ff;  
  border-radius: 2%; 
  resize: none;
}

.ratscript {
  font-family: 'RatScript', sans-serif;
}
  
table {
  width: auto;
  max-width: 70%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.3vw;
  text-align: center;
  background-color: #540094b6;
  color: #ebd1ff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  border-radius: 10px;
  overflow: hidden;
  margin-left: 15%
}

td, th {
  height: 5em;      
  padding: 0.5em;         
  vertical-align: middle;    
}

th {
  height: 5%;
  background-color: #9000ff;
  font-weight: bold;
  font-size: 1.7vw;
}

tr:nth-child(even) {
  background-color: #9000ff20;
}

audio {
  filter: drop-shadow(3px 3px 5px #222);
  width: 100%;
}

#rattoggle {
  width:10%; 
  position: fixed; 
  bottom: 10px; 
  right: 20px; 
  opacity: 0.75;
  transition: all 0.2s ease;
}

#rattoggle:hover {
  cursor: pointer;
  width: 12%;
  opacity: 1;
}

th:nth-child(1), td:nth-child(1) { width: 30%; }
th:nth-child(2), td:nth-child(2) { width: 25%; }
th:nth-child(3), td:nth-child(3) { width: 45%; }
table td:nth-child(3) {
  font-size: 0.95vw;
}