/* Font import */
@font-face {
  font-family: 'PixelMplus12 Regular';
  src: url('https://cdn.leafscape.be/PixelMplus/PixelMplus12-Regular_web.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PixelMplus12 Bold';
  src: url('https://cdn.leafscape.be/PixelMplus/PixelMplus12-Bold_web.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: 'PixelMplus12 Regular', sans-serif;
  background-color: #fefefe;
  color: #333;
  line-height: 1.4;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.layout {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Draggable Windows */
.left {
  flex: 1;
  position: relative;
}

.window {
  position: absolute; /* for dragging */
  border: 2px solid #000;
  box-shadow: 4px 4px 0px #000;
  background: #fff;
  border-radius: 4px;
  width: 250px;
}

.window:nth-child(1) { top: 0; left: 0; }
.window:nth-child(2) { top: 50px; left: 40px; }
.window:nth-child(3) { top: 100px; left: 80px; }

/* Title Bar */
.title-bar {
  background: #007acc;
  color: #fff;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'PixelMplus12 Bold', sans-serif;
  cursor: move;
}

.title-bar .title {
  font-size: 0.9rem;
}

.title-bar .buttons {
  display: flex;
  gap: 4px;
}

.title-bar .btn {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
}

.title-bar .btn.close { background: #ff5f56; }
.title-bar .btn.min { background: #ffbd2e; }
.title-bar .btn.max { background: #27c93f; }

.window-content {
  padding: 10px;
}

/* Main content */
.content {
  flex: 2;
}

/* Header / Nav */
.site-header {
  text-align: center;
  margin-bottom: 40px;
}

.site-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: 'PixelMplus12 Bold', sans-serif;
}

.top-nav ul {
  list-style: none;
  display: inline-flex;
  gap: 15px;
}

.top-nav a {
  font-size: 1rem;
  padding: 5px 10px;
  border: 1px solid #007acc;
  border-radius: 5px;
}

.top-nav a:hover {
  background-color: #007acc;
  color: #fff;
}

/* Footer */
.site-footer {
  text-align: center;
  margin-top: auto;
  font-size: 0.9rem;
  color: #666;
}
