* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0b0c2a;
    margin: 0;
    color: #333;
  }

/* Top Bar */
    .top-bar {
      max-width: 900px;
      margin: 1rem auto;
      padding: 0 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-bar h2 {
      font-size: 1.5rem;
      color: #56a9ff;
    }

  .page-header {
      display: flex;
      flex-direction: column;
      max-width: 900px;
      margin: 2rem auto 1rem;
      padding: 0 2rem;
    }
    
    .page-header h2 {
      font-size: 1.8rem;
      color: #56a9ff;
      margin-bottom: 1rem;
    }
    
    .back-btn {
      display: inline-block;
      background-color: #56a9ff;
      border: 1px solid #ccc;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      font-weight: 500;
      cursor: pointer;
      text-decoration: none;
      color: #333;
      transition: background-color 0.2s;
      margin-top: 0.5rem;
      margin-left: auto;
    }

  .back-btn:hover {
    background-color: #a2cefd;
  }

  .container {
    max-width: 900px;
    margin: auto;
    background: #1f1359;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
  }

  h1 {
    text-align: center;
    color: #223;
  }

  h2 {
    color: #56a9ff;
    margin-top: 2rem;
    padding-bottom: 0.3rem;
border-bottom: 2px solid #cde8ff;
  }
  h3 {
    color: #56a9ff;
  }
  h4 {
    color: #56a9ff;
  }

  p, ul, ol {
    line-height: 1.7;
        text-align: justify;
        color: #d0d0d0;

  }

  ul {
    padding-left: 1.2rem;
  }

ol {
  padding-left: 1.2rem;
}

  ul li, ol li {
    margin-bottom: 0.5rem;
      text-align: justify;
  }
  summary {
      font-weight: bold;
      font-size: 1.1rem;
      cursor: pointer;
      margin-bottom: 10px;
    }

    details {
      background: #e6f0ff;
      padding: 15px;
      margin-top: 15px;
      border-radius: 6px;
      border: 1px solid #cce0ff;
    }
  code {
      background-color: #eef;
      padding: 0.2rem 0.4rem;
      border-radius: 4px;
      font-family: Consolas, monospace;
    }
  .footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 0.9em;
    color: #e0e0e0;
    background-color: #1f1359;
  }
  /* Collapsible Styling */
  .collapsible {
    background-color: #3b8adf;
    color: #333;
    cursor: pointer;
    padding: 0.75rem 1rem;
    width: 100%;
    border: none;
    border-radius: 8px;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1.5rem;
  }
  .active, .collapsible:hover {
      background-color: #539fdd;
    }
  .collapsible:hover {
    background-color: #539fdd;
  }

  .content {
  padding: 0 1rem;
  overflow: hidden;
  border-left: 3px solid #56a9ff;
  margin-top: 0.5rem;
  background-color: #1f1359;
  border-radius: 0 0 8px 8px;
  max-height: 0; 
  transition: max-height 0.3s ease-out;
}
 .content ul {
      margin: 1rem 0;
    }
.content p, .content ul {
      margin: 1rem 0;
    }
    .content img {
      max-width: 100%;
      border-radius: 8px;
      margin: 15px 0;
    }
 img {
      max-width: 100%;
      margin: 10px 0;
      border-radius: 8px;
    }
.note {
  background: #e3ecff;
  padding: 10px 15px;
  border-left: 4px solid #56a9ff;
  border-radius: 6px;
  margin-top: 1rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  text-align: center;
  color: #e0e0e0;
  font-family: Arial, sans-serif;
  display: block;
  overflow-x: auto;
}

thead {
  color: #56a9ff; 
  background-color: #000000;
}

th, td {
  padding: 10px;
  border: 1px solid #444; 
}

tbody tr{
  background-color: #2a2a2a; 
  color: #d0d0d0; 
}


.blur-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Covers the bottom 50% of the wrapper */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 20px;
  box-sizing: border-box;
  transition: opacity 0.5s ease-out; /* For fade out */
  pointer-events: none; /* Allows interaction with article below if needed, except for buttons */
}

/* This pseudo-element creates the blur and the fade gradient */
.blur-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px); /* The blur effect */
  -webkit-backdrop-filter: blur(8px); /* For Safari support */
  background: linear-gradient(to top, rgba(255,255,255,0.3), rgba(255,255,255,0)); /* Fades out the blur at the top */
  pointer-events: auto; /* Ensure this pseudo-element can block clicks if it covers interaction */
}

.blur-overlay p {
    position: absolute; /* To bring text above the ::before pseudo-element */
    top: 10rem;
    left: auto;
    z-index: 1; /* To bring text above the ::before pseudo-element */
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 2px rgba(255,255,255,0.3); /* Helps text stand out against blur */
    pointer-events: auto; /* Re-enable pointer events for the text itself */
}

.blur-overlay .btn {
    position: absolute; /* To bring button above the ::before pseudo-element */
    top: 15rem;
    left: auto;
    z-index: 1; /* To bring button above the ::before pseudo-element */
    padding: 10px 20px;
    background-color: #1f1359;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    pointer-events: auto; /* Re-enable pointer events for the button */
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    padding: 1rem 2rem;
}

.blur-overlay .btn:hover {
    background-color: #2f1f7d;
}

/* Class to hide the overlay when the full article is visible */
.blur-overlay.hidden {
    opacity: 0;
    pointer-events: none; /* Disable interaction when hidden */
}

@media (width < 768px){
  .blur-overlay p{
    top: 5rem;
    margin: 2rem;
  }
  .blur-overlay .btn{
    top: 13rem;
  }
}

