@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   }
        
body {
  background: url("/resource/starpattern5.png");
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 53rem;
  height: 40rem;
  background-color: #FFCCEA;
  display: grid;
  grid-template-areas: 
                "header header"
                "sidebar main"
                "footer footer";
 grid-template-columns: 0.8fr 2fr;
 grid-template-rows: 1fr 3fr 0.5fr;
 gap: 10px;
 border-radius: 15px;
 padding: 8px;
 margin-top: 30px;
 border: 6px solid #5BBCFF;
}

.header {
  grid-area: header;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 2px inset #FF4E88;
}

.header img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  position: absolute;
  image-rendering: optimizeQuality;
}

.header-text {
  font-family: "Cherry Bomb One", system-ui;
  position: absolute;
  color: #fff;
  font-size: 2.9em;
  right: 10px;
  bottom: 5px;
  font-weight: bold;
  z-index: 10;
  text-shadow: 2px 1px 4px #FF4E88;
}

.sidebar {
  grid-area: sidebar;
  background: url("/resource/dot5.png");
  border: 2px inset #FF4E88;
  border-radius: 5px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav {
  list-style: none;
  overflow-y: auto;
}

.nav li {
  font-weight: bold;
  background: linear-gradient(359deg,rgba(255, 156, 232, 1) 0%, rgba(255, 255, 255, 1) 100%);
  border: 2px outset #FF4E88;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  margin: 5px 0;
}

.nav li::before {
  content: url("/resource/mikuspin.gif");
  flex-shrink: 0;
}

.nav li a {
  text-decoration: none;
  color: #F4538A;
  font-size: 1.1em;
  flex-grow: 1;
  font-family: "Sour Gummy";
  transition: 0.5s;
}

.nav li a:hover {
  letter-spacing: 4px;
  color: #fff;
}

.main {
  grid-area: main;
  background-color: #fff;
  border: 2px inset #FF4E88;
  border-radius: 5px;
  padding: 8px;
  display: flex;
  gap: 10px;
  font-family: "Sour Gummy";
  color: #5BBCFF;
  overflow-y: auto;
  flex-grow: 0;
  justify-content: center;
}

.main p {
  font-family: "Sour Gummy";
  color: #5BBCFF;
  margin-top: 4px;
  text-align: center;
}

.main a {
  text-decoration: none;
  color: #7EA1FF;
  transition: 0.5s;
}

.main a:hover {
  letter-spacing: 2px;
}

.footer {
  grid-area: footer;
  background-color: #FFFAB7;
  border: 2px inset #FF4E88;
  border-radius: 5px;
  display: flex;
  padding: 4px;
  justify-content: center;
  align-items: center;
}

.footer p {
  font-family: "Sour Gummy";
  color: #5BBCFF;
  font-size: 1rem;
  text-align: center;
}

.footer a {
  text-decoration: none;
  color: #7EA1FF;
}

#toyboxlist {
  background-color: #FFFAB7;
  color: #5BBCFF;
  font-family: "Sour Gummy";
  font-size: 15px;
  width: 150px;
  height: 30px;
  border: 1px solid #5BBCFF;
  padding: 4px;
}