body {
    background-image: url("bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    font-family: 'PMDFont';
    src: url('PKMD.ttf');
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("Background.gif");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

@font-face {
    font-family: 'PMDFont';
    src: url('PKMD.ttf');
}

#dialogue-box {
	width: 800px;
	height: 450px;
	margin: 0 auto;
    border: 12px solid transparent; 
    border-image-source: url("Border.png");
    border-image-slice: 20; 
	border-image-repeat: stretch;
    padding: 25px;
	background-clip:padding-box;
    background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	overflow: hidden;
}

#quiz-text {
    font-family: 'PMDFont', monospace;
    font-size: 36px;
    line-height: 1.2;
	width: 600px;
	margin: 30px auto 15px;
    margin-bottom: 15px;
    image-rendering: pixelated; 
    text-shadow: 2px 2px 0px #000;
}

#quiz-container {
    position: relative;
    width: 800px;
}

button {
    background: rgba(48, 48, 48, 0.6); 
    color: #e0e0e0;
    border: 2px solid #ce93d8; 
    border-radius: 4px;
	width: 600px;
	margin: 5px auto;
    font-family: inherit;
    padding: 0px 18px; 
	display: flex;
    margin: 4px 0;
    cursor: pointer;
    text-align: left;
    font-size: 1.8rem; 
    transition: all 0.2s ease;
	box-sizing: border-box;
}

#options-container {
    display: flex;
    flex-direction: column;
	align-items: center;
    gap: 2px;
    margin-top: 3px;
    padding: 0 8px;
	max-height: 320px;
	overflow-y: auto;
}

button:hover {
    background: #7b1fa2;
    border-color: #f8f8f8;
    transform: scale(1.02);
}

#debug-control,
#reset-control,
#volume-icon {
    width: auto;
    font-size: 0.75rem;
    padding: 4px 8px;
    display: inline-block;
}
 
#debug-control:hover,
#reset-control:hover,
#volume-icon:hover {
    transform: none;
}

.intro-continue {
    width: auto;
    align-self: center;
    justify-content: center;
    text-align: center;
    padding: 6px 24px;
}

.result-box {
    font-family: 'PMDFont', monospace;
    font-size: 28px;
    line-height: 1.3;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 3px;
}
