body {
	background: #eee url(https://trashbambi.neocities.org/img/2djy.gif) fixed;
	background-size: cover;
	/* Make sure the image covers the entire screen */
	height: 100vh;
	/* Ensure the background image covers the entire viewport height */
	text-align: left;
	letter-spacing: 1px;
	font: 18px calibri, tahoma;
	color: #000;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Adjust the color and transparency */
    z-index: -1;
}

a:link,
a:visited,
a:active {
	color: #fff;
	text-decoration: none;
}

a:hover {
	color: #000;
}

i, em {
  font-size: 12px;
    color: #5c635c; /* Set the desired color */
}

/* Scrollbars for WebKit-based browsers (Chrome, Edge, etc.) */
::-webkit-scrollbar {
    width: 7px;
    height: 4px;
    background: rgba(36, 36, 56, 0.7); /* Dark background for track */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(143, 183, 149, 1); /* Golden color for thumb */
    border-radius: 6px;
    border: 1px solid rgba(36, 36, 56, 0.7); /* Dark border for thumb */
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(143, 183, 149, 1); /* Brighter golden color for hover */
    border: 1px solid rgba(143, 183, 149, 0.7); /* Golden border for hover */
}

/* Scrollbars for Firefox */
body {
    scrollbar-color: rgba(143, 183, 149, 1) rgba(36, 36, 56, 0.7); /* Thumb color, Track color */
    scrollbar-width: thin; /* Makes the scrollbar thinner */
}

/* Optional: Override on specific elements */
.box4, .box3 {
    scrollbar-color: rgba(143, 183, 149, 1) rgba(36, 36, 56, 0.7);
    scrollbar-width: thin;
}

h {
    font-family: 'courier', sans-serif; /* Sets the font family */
    font-size: 25px;                 /* Adjusts the font size */
    font-weight: bold;               /* Controls the font weight (e.g., bold, normal) */
    color: #333;                     /* Sets the text color */
    text-align: center;              /* Centers the text */
    text-transform: uppercase;       /* Converts text to uppercase */
    letter-spacing: 2px;             /* Adds space between letters */
    line-height: 1;                /* Adjusts spacing between lines */
}


#wrapper {
	margin: 0 auto;
	width: 800px;
}

#header {
	float: left;
	height: 130px;
	width: 800px;
	background: #FFF url(https://trashbambi.neocities.org/warriors/34d7ef831b52f80ca159d18150c251de.gif);
	background-size: cover;
	border-radius: 6px;
	margin-top: -80px;
}

#music {
	float: left;
	height: 20px;
	width: 800px;
	background: #597C5E;
	border-radius: 6px;
	margin-top: 10px;
	display: flex; /* Enables flexbox layout */
  flex-wrap: wrap; /* Allows items to wrap to the next line */
  align-items: center; /* Aligns items vertically in the center */
  justify-content: center; /* Centers items horizontally */
  text-align: center; /* Centers inline text elements */
}

#content {
	float: right;
	background: transparent;
	width: 590px;
	margin-top: 10px;
}

#leftcolumn {
	background: transparent;
	width: 200px;
	font-size: 14px;
	float: left;
	padding-right: 10px;
	margin-top: 10px;
}

#footer {
	float: left;
	height: 100px;
	width: 800px;
	background: #FFF url(https://trashbambi.neocities.org/img/tumblr_15c18eb6be02e6b62601f109f677b598_fd65edf5_100.webp);
	border-radius: 6px;
	margin-top: 5px;
	margin-bottom: 20px;
}

.lefttitle {
	font: 14px courier new;
	color: #fff;
	text-transform: uppercase;
	background: #597C5E;
	padding: 4px;
	padding-bottom: 0px;
	padding-left: 5px;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	letter-spacing: 2px;
	text-align: center;
}

.contenttitle {
	font: 14px courier new;
	color: #fff;
	text-transform: uppercase;
	background: #597C5E;
	padding: 4px;
	padding-bottom: 0px;
	padding-left: 10px;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	letter-spacing: 2px;
	text-align: center;
}

.box {
	background: #fff url(https://trashbambi.neocities.org/img/tumblr_15c18eb6be02e6b62601f109f677b598_fd65edf5_100.webp);
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	padding: 4px;
	border: 2px solid #7DA082;
	border-top: 0px;
	margin-bottom: 12px;
}

.box3 {
	background: #fff url(https://trashbambi.neocities.org/img/tumblr_15c18eb6be02e6b62601f109f677b598_fd65edf5_100.webp);
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	padding: 4px;
	border: 2px solid #7DA082;
	border-top: 0px;
	margin-bottom: 12px;
	height: 150px; /* Set a specific height */
	overflow-y: auto; /* Enable vertical scrolling */
	overflow-x: hidden;
	text-align: center;
}

.box2 {
	background: #fff url(https://trashbambi.neocities.org/img/tumblr_15c18eb6be02e6b62601f109f677b598_fd65edf5_100.webp);
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	padding: 10px;
	border: 2px solid #7DA082;
	border-top: 0px;
}

.box4 {
	background: #fff url(https://trashbambi.neocities.org/img/tumblr_15c18eb6be02e6b62601f109f677b598_fd65edf5_100.webp);
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	padding: 10px;
	border: 2px solid #7DA082;
	border-top: 0px;
	height: 400px;
	overflow-y: auto; /* Enable vertical scrolling */
  align-items: center; /* Aligns items vertically in the center */
  justify-content: center; /* Centers items horizontally */
  text-align: center; /* Centers inline text elements */
}

.bannertitle {
	font: 14px courier new;
	color: #fff;
	text-transform: uppercase;
	background: #597C5E;
	padding: 4px;
	padding-bottom: 1px;
	padding-left: 10px;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	letter-spacing: 2px;
	border-bottom: 2px solid #7DA082;
	text-align: center;
}

.bigtitle {
  display: block;
	font: 50px courier new;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.9);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border: 2px solid white;
}

/* Caption (text below image) */
#caption {
  margin: auto;
  display: block;
  text-align: center;
  color: white;
  padding: 10px 20px;
  font-size: 18px;
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

.image-container {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button-container {
    background-color: rgba(143, 183, 149, 0.7); /* Optional background */
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
    width: 300px;
    display: inline-block; /* makes it behave like a block element */
    text-align: center;
}

.button-container a {
    text-decoration: none; /* Removes underline */
    color: black; /* Makes the text white */
    display: block; /* Makes the link take up the full area */
}
.button-container:hover {
    background-color: rgba(36, 36, 56, 0.7); /* Darker background on hover */
    color: white; /* Text color turns white on hover */
}

.button-container2 {
    background-color: rgba(143, 183, 149, 0.7); /* Optional background */
    padding: 5px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
    width: 90%;
    display: inline-block; /* makes it behave like a block element */
    text-align: center;
}

.button-container2 a {
    text-decoration: none; /* Removes underline */
    color: black; /* Makes the text white */
    display: block; /* Makes the link take up the full area */
}
.button-container2:hover {
    background-color: rgba(36, 36, 56, 0.7); /* Darker background on hover */
    color: white; /* Text color turns white on hover */
}


/* name generator extras */

button,
input,
select {
  font: 14px calibri, tahoma;
  border: 2px solid #7DA082;
  border-radius: 6px;
  padding: 4px 8px;
  background: #fff;
  color: #000;
  margin: 3px;
}

button {
  cursor: pointer;
  background: #eaf1eb;
}

button:hover {
  background: #cfe0d1;
}

.top-actions,
.name-page-buttons,
.generator-controls {
  text-align: center;
  margin-bottom: 10px;
}

.generated-output {
  font-size: 100%;
  color: #000;
  margin: 16px 0;
  min-height: 38px;
  line-height: 1.5;
  word-break: break-word;
}

.subtle {
  opacity: 0.65;
  margin-top: 6px;
}

.small-note {
  font-size: 13px;
  color: #5c635c;
}

.description-box {
  margin-top: 16px;
  padding: 10px;
  background: rgba(255,255,255,0.55);
  border-radius: 6px;
}

.description-box a {
  color: #597C5E;
}

.admin-controls {
  display: none;
}

body.logged-in .admin-controls {
  display: inline-block;
}

.theme-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.theme-column {
  border: 2px solid #7DA082;
  border-radius: 8px;
  background: rgba(255,255,255,0.65);
  min-height: 90px;
  overflow: hidden;
}

.theme-column h3 {
  margin: 0;
  padding: 6px;
  background: #597C5E;
  color: #fff;
  font: 14px courier new;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.name-list {
  min-height: 55px;
  padding: 7px;
}

.saved-name {
  padding: 4px 6px;
  margin: 4px 0;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #b7cdbb;
  text-align: center;
  user-select: none;
}

body.logged-in .saved-name {
  cursor: grab;
}

.saved-name.dragging {
  opacity: 0.45;
}

.empty-column {
  opacity: 0.55;
  font-style: italic;
  font-size: 13px;
  text-align: center;
  padding: 6px;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
}

.popup-box {
  position: relative;
  width: min(390px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: #fff url(https://trashbambi.neocities.org/img/tumblr_15c18eb6be02e6b62601f109f677b598_fd65edf5_100.webp);
  border: 2px solid #7DA082;
  border-radius: 8px;
  padding: 18px;
  color: #000;
  box-shadow: 0 6px 25px rgba(0,0,0,0.35);
}

.popup-box h2 {
  margin-top: 0;
  text-align: center;
  font: 18px courier new;
  text-transform: uppercase;
}

.popup-box label {
  display: block;
  margin-top: 9px;
  font-weight: bold;
}

.popup-box input,
.popup-box select {
  width: calc(100% - 18px);
  box-sizing: border-box;
}

.popup-box select {
  width: 100%;
}

.popup-close {
  position: absolute;
  top: 5px;
  right: 7px;
  border: 0;
  background: transparent;
  font-size: 24px;
  padding: 0 6px;
}

.password-row {
  display: flex;
  gap: 4px;
}

.password-row input {
  flex: 1;
}

.password-row button {
  width: auto;
}

@media (max-width: 850px) {
  #wrapper,
  #header,
  #music,
  #footer {
    width: 95vw;
  }

  #leftcolumn,
  #content {
    float: none;
    width: 100%;
  }

  .theme-columns {
    grid-template-columns: 1fr;
  }
}

.theme-columns {
  display: block;
}

.theme-column {
  width: 100%;
  margin-bottom: 18px;
}

.name-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 18px;
}

.saved-name,
.empty-column {
  display: block;
  margin-bottom: 0;
}

.generated-output {
  display: grid;
  gap: 6px 14px;
  justify-content: center;
}

.generated-name {
  text-align: center;
}

.popup-box textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 130px;
  resize: vertical;
  font: 14px calibri, tahoma;
  border: 2px solid #7DA082;
  border-radius: 6px;
  padding: 6px;
}

.bulk-name-row {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 6px;
  align-items: center;
  margin: 6px 0;
}

.bulk-name-preview {
  background: rgba(255,255,255,0.75);
  border: 1px solid #b7cdbb;
  border-radius: 5px;
  padding: 5px;
}

#theme-bias-input {
  max-width: 220px;
}

.wide-popup {
  width: min(850px, 96vw);
}

#part-theme-search {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

#part-theme-list {
  margin-top: 10px;
}

.part-theme-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid #b7cdbb;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
}

.part-theme-card strong {
  display: block;
  text-align: center;
  font: 16px courier new;
  color: #333;
}

.part-theme-meta {
  text-align: center;
  font-size: 12px;
  color: #5c635c;
  margin: 3px 0 6px;
}

.part-theme-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px 10px;
  margin: 6px 0;
  font-size: 13px;
}

.part-theme-options label {
  display: block;
  font-weight: normal;
  margin: 0;
}

.part-theme-options input {
  width: auto;
  margin-right: 4px;
}

.save-part-themes-btn {
  display: block;
  margin: 8px auto 0;
}

#part-theme-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.part-theme-card {
  margin-bottom: 0;
}

#save-all-part-themes-btn {
  position: sticky;
  top: 0;
  z-index: 50;

  display: block;
  width: fit-content;
  margin: 0 auto 12px;

  padding: 6px 12px;

  background: #597C5E;
  color: white;
  border: 1px solid #456149;
  border-radius: 999px;
}

.part-theme-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.part-theme-options label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #7DA082;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
  color: #597C5E;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.part-theme-options label:has(input:checked) {
  background: #597C5E;
  color: #fff;
}

.part-theme-options input {
  display: none;
}

.part-theme-view-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}