* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Colour BG = linear-gradient(to bottom, #4c6ef5, #dee2e6) */

html, body {
  min-height: 100%;
  background: url('/images/bg.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: 'Courier New', monospace;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  max-width: 45vw;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
   overflow-wrap: break-word; 
  word-break: break-word;  
  overflow-x: hidden;         
  box-sizing: border-box;     
}

@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    margin: 0; 
    border-radius: 0;
  }
}

header {
  background: linear-gradient(to right, #2e59d0, #87b5f1);
  color: white;
  padding: 15px 25px;
  font-size: 1.5em;
  text-shadow: 1px 1px 2px #000;
    border: #fff 1px solid;
}

.content {
  display: flex;
  flex-wrap: wrap;
  min-height: 700px;
}

.sidebar {
  width: 250px;
  background: linear-gradient(to bottom, #c3d9ff, #eaf3ff);
  padding: 10px;
  border-right: 1px solid #a0a0a0;
  display: flex;
  flex-direction: column;
}

.nav-group {
  margin-bottom: 20px;
}

.nav-header {
background:
  linear-gradient(to right,
    #a9d4f5 0%,
    #7fbce9 50%,
    #59a4db 100%);
padding: 8px 12px;
color: white;
font-weight: bold;
border-radius: 6px;
box-shadow:
  inset 0 -1px 1px rgba(255,255,255,0.5),
  0 2px 4px rgba(0,0,0,0.1);
margin-bottom: 5px;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
font-size: 16px;
}

.nav-menu {
  list-style: none;
  padding-left: 0;
}

.nav-menu li {
  margin-bottom: 5px;
}

.dropdown-btn {
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.7) 24.9%,
    #fff 25%,
    #fff 50%,
    rgba(255, 255, 255, 0.2) 50.1%,
    transparent 100%);
  border: 1px solid #a4c4d9;
  border-radius: 8px;
  padding: 8px 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #002933;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
 box-shadow: 0 2px 6px #d0e9f6, inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(153, 214, 243, 0.3);
   -o-box-shadow: 0 2px 6px #d0e9f6, inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(151, 222, 255, 0.3);
   -webkit-box-shadow: 0 2px 6px rgba(170, 223, 248, 0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(157, 191, 255, 0.3);
   -moz-box-shadow: 0 2px 6px rgba(161, 238, 248, 0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(166, 227, 255, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Courier New', monospace;
  font-size: 12px;
   background-size: 100% 200%;
  background-position: top;
}


.dropdown-btn:hover {
  background: linear-gradient(to top,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.7) 24.9%,
    #fff 25%,
    #fff 50%,
    rgba(255, 255, 255, 0.2) 50.1%,
    transparent 100%);
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  list-style: none;
  padding-left: 15px;
  margin-top: 5px;
}

.dropdown-content.active {
  max-height: 500px;
  padding-top: 5px;
}

.dropdown-content li {
  margin-bottom: 2px;
}

.dropdown-content a {
  display: block;
  padding: 4px 6px;
  text-decoration: none;
  color: #003366;
  background: #f0f7ff;
  border-left: 3px solid #8dc8ff;
  font-size: 0.9em;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #d6ebff;
}


.main-content {
  flex: 1;
  padding: 20px;
  background: linear-gradient(to bottom right, #f5faff, #ddeaff);
}

h1{
  font-family: 'Silkscreen', sans-serif;
  color: #2c2c2c;
  padding: 12px 20px;
  border-radius: 8px;
}

h2 {
  font-family: 'Silkscreen', sans-serif;
  text-shadow: 1px 2px 2px #fff;
  color: #2c2c2c;
  background: linear-gradient(to right, #e0f0ff, #ffffff);
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #cce0ff;
  margin-right: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
}
h3 {
  font-family: 'Silkscreen', sans-serif;
  text-shadow: 1px 1px 1px #fff;
  color: #2c2c2c;
  padding: 12px 20px;
  border-radius: 8px;
  border-bottom: 1px solid #cce0ff;
  margin-right: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
}
h4 {
  font-family: 'Silkscreen', sans-serif;
  text-shadow: 1px 1px 1px #fff;
  color: #2c2c2c;
  padding: 12px;
  border-radius: 8px;
  border-bottom: 1px solid #cce0ff;
  margin-top: 15px;
  margin-bottom: 15px;
}
p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1em;
  color: #2c2c2c;
}

strong {
  font-weight: bold;
  color: #001e60;
}
b {
  font-weight: bold;
  color: #001e60;
}
em {
  font-style: italic;
  color: #003c8f;
}
 a {
  display: inline-block;
  text-decoration: underline 1px;
  transition: all 0.3s ease;
  color: #3356a1;
    }

a:hover {
color: #002288;
    }


.gallery {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.gallery-img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ccc;
  border-radius: 4px;
  transition: transform 0.2s;
}

.gallery-img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ccc;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.modal-content {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}


@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .gallery {
    justify-content: center;
  }
}
header {
  position: relative;
  text-align: center;
  background: none; 
  padding: 0;
}

.header-banner {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #295ca3;
}

header h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 2em;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.retro-list {
  list-style: none;
  padding-left: 0;
}

.retro-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  background: linear-gradient(to right, #f0f8ff, #ffffff);
  opacity: 0.9;
}

.retro-list li::before {
  content: "•";
  font-size: 20px;
  color: #3399ff;
  line-height: 1;
}

#achievement {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: gold;
  color: black;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  font-family: sans-serif;
  z-index: 1000;
}

body {
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

body.fade-in {
  opacity: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: 'Courier New', monospace;
}

th, td {
  border: 1px dashed #daecfa;
  padding: 10px;
  text-align: left;
}

thead {
  background: linear-gradient(to right, #e0f0ff, #ffffff);
}

.filter-item {
  transition: all 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.filter-item.hide {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

button {
  background-color: #daecfa;
  border: none;
  padding: 8px 12px;
  margin: 4px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #daecfa;
}

.new-button {
  font-family: "Comic Sans MS", cursive, sans-serif;
  font-size: 1rem;
  color: #0000cc;
  text-decoration: none;
  background-color: #ffffcc;
  border: 2px dotted #ff9900;
  padding: 4px 8px;
  display: inline-block;
  margin: 4px 0;
  box-shadow: 2px 2px #999;
}

.new-badge {
  background-color: #f8dea5;
  color: #383c42;
  font-weight: bold;
  font-size: 10px;
  padding: 2px 2px;
  text-transform: uppercase;
}

