*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Smooth scrolling when navigating to anchors. */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.5;
  background: #1a1e29; 
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  color: #c0c8d0; 
  scrollbar-color: #3f6081 #1a1e29; 
  scrollbar-width: thin;
}

::selection {
  background: #d0a4c0; 
  color: #10141e; 
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: #1a1e29;
}

::-webkit-scrollbar-thumb {
  background: #3f6081; 
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d0a4c0; 
}

b, strong {
  color: #e0e8f0; 
}

i, em {
  color: #d0a4c0; 
}

a {
  color: #50a8c0; 
  text-decoration: none;
}

a:hover {
  color: #d0a4c0; /* Vibrant pink on hover */
}

/* Make link children (e.g., icons) inherit the link color */
a > *, a:hover > * { color: inherit; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

input, textarea {
  padding: 8px;
  border: 1px solid #3f6081; 
  background: #10141e; 
  color: #e0e8f0; 
  width: 100%;
  border-radius: 4px;
}

input::placeholder,
textarea::placeholder {
  color: #607890; 
  opacity: 1;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  padding: 8px 16px;
  border: none;
  background: #3f6081; 
  color: #fff;
  cursor: pointer;
}

button:hover {
  background-color: #50a8c0; /* Teal hover */
}


button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}


h6, h5, h4, h3, h2, h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 16pt;
}

h2 {
  font-size: 13pt;
}


img {
  display: block;
}


img, video {
  max-width: 100%;
  height: auto;
}


ul, ol {
  padding-left: 1.25rem;
}

blockquote {
  background: #10141e;
  color: #c0c8d0;
  border-left: 10px solid #3f6081;
  margin: 1rem 10px;
  padding: 0.5rem 10px;
}

#container {
  margin: 0 auto;
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

#header {
  background: url('/assets/images/header.png'); 
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 250px;
}

#topbar {
  background: #10141e; /* Darkest urban night color */
  color: #e0e8f0; /* White/gray text */
  padding: 15px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo {
  font-size: 15pt;
  font-weight: bold;
  color: #d0a4c0; 
  display: inline-block;
}

#topmenu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

#topmenu a {
  color: #c0c8d0; 
}

#topmenu a:hover {
  color: #50a8c0; 
}

#content {
  background: #222835; 
  color: #c0c8d0; 
  padding: 15px;
  flex: 1;
  order: 2; 
}

#sidebar {
  background: #1a1e29; 
  color: #a0a8b0; 
  padding: 15px;
  width: 250px;
  order: 1; 
}

#sidebar a {
  display: block;
  background: #222835; 
  padding: 5px 10px;
  margin-bottom: 3px;
  color: #c0c8d0;
  transition: background 0.2s;
}

#sidebar a:hover {
  background: #3f6081;
  color: #e0e8f0;
}

#footer {
  background: #10141e; 
  color: #607890; 
  padding: 15px;
  text-align: center;
  width: 100%;
  order: 3;
}


@media (max-width: 768px) {
  #container {
    flex-direction: column;
  }
  #header {
    padding: 15px;
  }
  #topbar {
    padding: 15px;
    flex-direction: column;
  }
  #topmenu {
    margin-top: 10px;
  }
  #content {
    padding: 15px;
    order: 1;
  }
  #sidebar {
    width: 100%;
    padding: 15px;
    order: 2;
  }
  #footer {
    padding: 15px;
    order: 3;
  }
}

.button-grid {
  display: flex;
  flex-wrap: wrap; /* Allows buttons to wrap to the next row naturally */
  gap: 4px;       /* Controls the spacing between buttons */
  justify-content: center; /* Centers them, or use flex-start for left-aligned */
}

/* Override display: block ONLY for images inside this container */
.button-grid img {
  display: inline-block;
}

.music-player {
  background: #10141e;
  border: 1px solid #3f6081;
  padding: 5px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 15px;
}

.music-player p {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 8pt;
  color: #d0a4c0;
}

.music-player audio {
  width: 100%;
  height: 32px;
}

.character-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Space between each icon card */
  justify-content: center; /* Centers the icons on the page */
  margin-top: 20px;
}

.character-card {
  width: 100px; /* Adjust card width to fit your icon size */
  text-align: center;
}

.character-card img {
  display: block;
  width: 80px;  /* Icon width */
  height: 80px; /* Icon height */
  object-fit: cover; /* Prevents images from stretching if they aren't square */
  border-radius: 8px; /* Optional: Rounded corners (use 50% for circular icons) */
  border: 2px solid #3f6081; /* Matches your site's dark border aesthetic */
  margin: 0 auto 5px auto; /* Centers the image inside the card */
  transition: transform 0.2s ease;
}

/* hover effect */
.character-card img:hover {
  transform: scale(1.08); /* Slight zoom effect when hovered */
  border-color: #d0a4c0; /* Pink cloud highlight color */
}

