/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling (Dark Theme) */
body {
    position: relative;
    font-family: Arial, sans-serif;
    background-color: #121212; 
    color: #e0e0e0; 
    line-height: 1.6;
    padding: 0px;
}

html, body {
  height: auto;       
  min-height: 100%;   
  margin: 0;
  padding: 0;
  overflow: visible;  
}


/* Header Styling */
header {
    background-color: #1f1f1f; 
    color: #f5f5f5; 
    padding: 15px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
}

/* Navigation Menu */
nav {
    background-color: #333333; 
    margin: 20px 0;
}

nav ul {
    list-style-type: none;
    text-align: center;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.1rem;
}

nav ul li a:hover {
    text-decoration: underline;
    color: #bb86fc; 
}

/* Infobox Styling */
.infobox {
  width: 250px;
  padding: 10px;
  background-color: #323232;
  border: 1px solid #aaa;
  font-size: 90%;
  position: absolute; 
  top: 50px;         
  left: 50px;       
  cursor: grab;
  user-select: none;  
  -webkit-user-select: none; 
  -moz-user-select: none;    
  -ms-user-select: none; 
  z-index: 1000;     
}

.infobox h2 {
  font-size: 1.2em;
  margin-top: 0;
  text-align: center;
  cursor: move;     
  user-select: none;
  -webkit-user-select: none; 
  -moz-user-select: none;    
  -ms-user-select: none;
}

.infobox table {
  width: 100%;
  border-collapse: collapse;
}

.infobox td {
  padding: 4px;
  vertical-align: top;
}

.infobox-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.infobox-figure {
  margin: 0 0 10px 0;
  text-align: center;
}

.infobox-figure figcaption {
  font-size: 0.85em;
  color: #e0e0e0;
  margin-top: 5px;
}

.infobox:active {
  cursor: grabbing;
}

#page-container {
  position: relative;
  padding: 0;
  min-height: 100vh;
}

.draggable {
  cursor: move;
  display: inline-block;
  user-select: none;       
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.draggable-box {
  position: absolute;       
  width: 300px;            
  padding: 15px;
  margin: 10px;
  background-color: #323232;
  border: 1px solid #aaa;
  border-radius: 8px;
  font-size: 90%;
  cursor: move;
  z-index: 1000;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.draggable-box h1,
.draggable-box h2,
.draggable-box h3,
.draggable-box p {
  margin: 0 0 10px 0;
}

