/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background-image: url('https://media.discordapp.net/attachments/1400180160992510002/1400278056886866011/79a4614dc61896a3775540ca6bc6d48b_1.jpg?ex=688c0e10&is=688abc90&hm=cc591eeaa1c40abb2d5efcd9ff4d1e779d539a21a30c5fd3a70ff654c5ab2c6a&=&format=webp&width=508&height=959');
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  color: #a020f0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  padding-top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Nakładka przyciemniająca */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: -1;
}

/* TOP BAR */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #a020f0;
  text-align: center;
  padding: 6px 0;
  box-shadow: 0 3px 10px #a020f055;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-bar h1 {
  font-size: 42px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  line-height: 1;
  width: 100%;
  max-width: 1100px;
  text-shadow: 0 0 8px #a020f0; /* dodany efekt świecenia */
}


/* MARQUEE */
.marquee-container {
  position: fixed;
  top: 55px;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #000;
  border-top: 2px solid #a020f0;
  border-bottom: 2px solid #a020f0;
  overflow: hidden;
  border-radius: 4px;
  z-index: 999;
}

.marquee {
  white-space: nowrap;
  display: block;
  line-height: 50px;
  font-size: 18px;
  font-weight: bold;
  color: #a020f0;
  animation: marquee 15s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* SIDEBAR */
.sidebar {
  max-width: 1100px;
  width: 100%;
  margin: 10px;
  background-color: #1c1c1c;
  border: 2px solid #a020f0;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.sidebar a {
  padding: 8px 16px;
  background-color: #000;
  border: 2px solid #a020f0;
  border-radius: 6px;
  color: #a020f0;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.3s;
}

.sidebar a:hover {
  background-color: #a020f0;
  color: #000;
}

/* STRUKTURA */
.container {
  width: 1100px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 10px;
}

/* MAIN */
.main {
  padding: 36px 28px;
  text-align: left;
  border: 2px solid #a020f0;
  border-radius: 8px;
  background-color: #1c1c1c;
  font-size: 19px;
  min-height: 450px;
  overflow-y: auto;
}

.main h1 {
  font-size: 40px;
  margin-bottom: 36px;
  color: #a020f0;
  text-shadow: 0 0 8px #a020f0;
}

.main p {
  font-size: 17px;
  margin-bottom: 36px;
  color: #ccc;
}

/* RIGHTBAR */
.rightbar {
  background-color: #1c1c1c;
  padding: 18px;
  border: 2px solid #a020f0;
  border-radius: 8px;
  color: #999;
  font-size: 15px;
  font-weight: bold;
  min-height: 450px;
  overflow-y: auto;
  position: relative;
}

.rightbar-footer {
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 100%;
  text-align: center;
  color: rgba(160, 32, 240, 0.8);
  font-size: 12px;
  pointer-events: none;
}

/* FOOTER */
.bottom-bar {
  max-width: 1100px;
  width: 100%;
  background-color: #1c1c1c;
  border: 2px solid #a020f0;
  border-radius: 8px;
  padding: 18px 0;
  color: #a020f0;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 0 16px #a020f044;
  margin-bottom: 20px;
}


.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: #101010;
  border: 2px solid #a020f0;
  border-radius: 8px;
  overflow: hidden;
  color: #a020f0;
  font-size: 16px;
  box-shadow: 0 0 12px #a020f044;
}

.blog-table thead {
  background-color: #000;
}

.blog-table th, .blog-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #a020f055;
}

.blog-table a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.blog-table a:hover {
  color: #a020f0;
  text-decoration: underline;
}
.about-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: #111;       /* ciemniejsze tło */
  color: #fff;                  /* biały tekst */
  font-size: 16px;
  border: 3px solid #a020f0;   /* grube różowe obramowanie wokół całej tabeli */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 12px #a020f044;
}

.about-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #a020f0;   /* różowe obramowanie pomiędzy komórkami */
}

.separator {
  border: none;
  border-top: 1px solid #fff;
  margin: 30px 0;
  opacity: 0.6;
}