* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

/* ===== Body ===== */
body {
background: url('https://budswiki.neocities.org/bud.png') repeat;
margin: 0;
font-family: Arial, sans-serif;
min-height: 100vh;
position: relative;
}

/* ===== Header ===== */
#header-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 80px;
z-index: 10;
}

/* ===== Wrapper to center container ===== */
#container-wrapper {
width: 100%;
display: flex;
justify-content: center;
margin-top: 0;
}

/* ===== Main container ===== */
#container {
max-width: 1200px;
background: linear-gradient(0deg, #442000 0, #4009 69%), url('glitchee.png') right/cover;
border: 2px inset #000;
outline: #000 solid 1px;
padding: 200px;
gap: 30px;
align-items: flex-start;
margin: 0 auto;
display: flex;
overflow: hidden;
position: relative;
color: #fff;
box-shadow: none; /* removed inset and outer shadows */
}

/* ===== Text content ===== */
#text-content {
flex: 1;
font-size: 16px;
line-height: 1.5;
text-shadow:
0px 4px 3px rgba(0,0,0,0.3),
0px 4px 8px rgba(0,0,0,0.8),
0px 3px 14px rgba(0,0,0,0.3);
margin-right: 240px;
color: #fff;
}

/* ===== Character frame ===== */
#image-frame {
width: 220px;
text-align: center;
border-left: 1px solid #100;
padding-left: 10px;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: center;
}

/* ===== Image container ===== */
#image-container {
width: 200px;
height: auto;
overflow: hidden;
margin: 5px 0;
float: none;
}

#image-container img {
width: 200px;
display: block;
image-rendering: pixelated;
}

/* ===== Appearance text box ===== */
.textbox {
height: 19px;
width: 200px;
background: #e006;
border: 1px inset #e00;
color: #100;
margin-top: 25px;
text-align: center;
line-height: 1;
font-family: 'Franklin Gothic', 'Arial Narrow', sans-serif;
font-size: 16px;
}

/* ===== Buttons ===== */
.appearance-buttons {
display: flex;
justify-content: center;
margin: 5px 0;
}

button {
width: 100px;
margin: 0 2px;
border-radius: 0;
color: #ee8f00;
outline: inset 2px #530;
border: outset 1px #dd6f11;
background-color: #552700;
cursor: pointer;
}

button:hover {
background-color: #7a520a;
}

button.pressed {
background-color: #281800;
}

/* ===== Infobox ===== */
.infobox {
width: 200px;
height: 109px;
background: #100a;
border: 1px inset #800;
color: #fff;
box-shadow: none; /* remove shadow */
font-family: 'Franklin Gothic', 'Arial Narrow', sans-serif;
font-size: 14px;
line-height: 1.2;
margin-top: 5px;
padding: 5px;
}

/* ===== Text entries ===== */
.text-entry {
border-bottom: solid 1px #900;
margin-bottom: 10px;
}

/* ===== Media Queries ===== */
@media (max-width: 1280px) {
#container {
flex-direction: column;
align-items: center;
}
#image-frame {
width: auto;
border-left: none;
padding-left: 0;
margin-bottom: 20px;
}
#text-content {
margin-left: 0;
margin-right: 0;
}
}

/* ===== Headings & text ===== */
#text-content h1,
#text-content h2,
#text-content h3,
#text-content h4,
#text-content h5,
#text-content h6 {
margin-top: 24px;
margin-bottom: 12px;
line-height: 1.4;
}

#text-content p,
#text-content li {
margin-bottom: 4px;
line-height: 1.6;
}

#text-content ul {
margin-bottom: 12px;
padding-left: 20px;
}
