.post-box {
    background-color: #eaeaff46;
    border: 1px solid white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 80%;
    margin: 20px auto;
    color: black;
}

.post-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.post-image {
    max-width: 100%;
    max-height: 300px;
    margin-bottom: 15px;
    cursor: pointer;
}

.post-content {
    font-size: 16px;
    margin-bottom: 15px;
}

.nav-button {
    background-color: #ffb200;
    border: none;
    color: black;
    padding: 10px 15px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Quantico', sans-serif;
}

.nav-button:hover {
    background-color: #d4af37;
}

/* Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    max-width: 90%;
    max-height: 90%;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Body styles */
body {
    font-family: 'Quantico', serif;
    background: url('https://i.postimg.cc/9XtF8N7V/ezgif-1cea55295377be.gif') no-repeat center center fixed; /* Background Image */
    background-size: cover; /* Make the background cover the entire screen */
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full height */
    position: relative; /* Required for overlay positioning */
    flex-direction: column; /* Stack items vertically */
}

/* Overlay with light transparency */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000084; /* Black with 40% opacity */
    z-index: -1; /* Make sure the overlay is behind the content */
}

/* Container to center all content */
.container {
    text-align: center;
    position: relative; /* Keep content above the background */
    z-index: 1; /* Ensure it stays above the overlay */
    width: 80%; /* Adjust width for alignment */
}

/* Logo Styling */
.logo-container {
    margin-top: 0px;
}

.logo {
    width: 70px;
    height: 70px;
}

/* Text Styling */
.heading {
    font-family: 'Quantico', serif;
    font-size: 15px;
    color: white;
    margin-top: 5px;
}

.sub-heading {
    font-family: 'Quantico', serif;
    font-size: 10px;
    color: gold; /* Golden color for the sub-heading */
    margin-top: 5px;
}

/* Divider Line Styling */
.divider {
    margin-top: 10px;
    width: 80%; /* Spans 80% of the container */
    height: 0.5px;
    background-color: #ffffffb7; /* Light transparent white */
    margin-bottom: 20px;
    margin-left: auto; /* Center align the divider */
    margin-right: auto;
}

/* Search Bar Section */
.search-container {
    display: flex;
    justify-content: center; /* Align center */
    width: 100%; /* Align with the content width */
    margin-top: 10px;
}

.search-input {
    width: 200px; /* Smaller width for the search bar */
    padding: 5px;
    font-size: 14px;
    border: 0.5px solid #fff;
    background-color: transparent;
    color: white;
    border-radius: 10px;
}

.search-btn {
    background-color: transparent;
    border: 0.5px solid #fff;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
}

.search-btn img {
    width: 25px; /* Adjusted icon size */
    height: 25px;
}

.search-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-input:focus, .search-btn:focus {
    outline: none;
}

/* About Systemadminbd Text */
.about-text {
    font-family: 'Quantico', serif;
    font-size: 16px;
    color: white;
    margin-top: 20px;
}

/* Divider for About section */
.about-divider {
    width: 80%; /* Full width of the container */
    height: 2px;
    background-color: gold; /* Golden color */
    margin: 10px auto;
    border-radius: 2px; /* Rounded corners */
}

/* Additional Text Below Divider */
.additional-text {
    font-family: 'Quantico', serif;
    font-size: 14px;
    color: white;
    margin-top: 10px;
    margin-bottom: 20px; /* Add spacing below the text */
}

/* Box Styling */
.box {
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: flex-start; /* Keep icon at the start (left) */
    background-color: #eaeaff46;
    border: 1px solid white;
    padding: 100px 100px;
    border-radius: 10px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    width: 100%; /* Adjust width if necessary */
    height: 100%
    margin-bottom: 0px; 
    flex-direction: column;
    align-items: center;
}

/* Icon Styling */
.icon {
    width: 20px;
    height: 20px;
    margin-right: 15px; /* Space between icon and text */
}

/* Text inside the box */
.txt {
    color: white;
    font-size: 14px; /* Adjust size as per need */
    font-weight: bold;
    text-align: center; /* Center the text inside the box */
    flex-grow: 1; /* Allow text to take up the remaining space */
}

/* Hover effect for box */
.box:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Global Font Style */
body {
    font-family: 'Quantico', serif;
}

/* Additional Styling for Specific Elements */
.heading, .sub-heading, .about-text, .additional-text, .txt {
    font-family: 'Quantico', serif;
}

/* Box Container to align boxes side by side */
.cbox-container {
    display: flex;
    justify-content: space-between; /* Adds space between the boxes */
    gap: 10px; /* Optional: Add some space between the boxes */
    margin-top: 10px;
}

/* Box Styling */
.cbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #ffffff6f;
    border: 0px solid white;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    width: 50%; /* Adjust width to fit 2 boxes side by side */
    height: 20%
    transition: box-shadow 0.3s ease;
    margin: 0px 10px
}

/* Icon Styling */
.icon {
    width: 10px;
    height: 10px;
    margin-right: 15px;
}

/* Text Styling inside box */
.txt {
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Box Styling */
.panel{
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: flex-start; /* Keep icon at the start (left) */
    background-color: #0;
    border: 0px solid white;
    padding: 10px 15px;
    border-radius: 0px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    width: 100%; /* Adjust width if necessary */
    height: 40%
    margin-bottom: 30px; 
}

/* Styling for the View Post button */
.view-post-button {
    background-color: #ffb200; /* Golden background */
    color: #000000;       /* Chocolate color text */
    padding: 3px 1.5px;      /* Padding around the text */
    border: none;            /* No border */
    border-radius: 25px;     /* Rounded corners */
    font-size: 10px;         /* Font size */
    cursor: pointer;        /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    font-family: 'Quantico', serif;    
}

/* Hover effect to change background color */
.view-post-button:hover {
    background-color: #d4af37; /* Darker gold on hover */
}

/* Text Styling inside box */
.cat {
    color: white;
    font-family: 'Quantico', serif;' 
    font-size: 10px;
    font-weight: bold;
}

/* From Uiverse.io by Na3ar-17 */ 
.containerr {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.label {
  background-color: transparent;
  border: 1px solid rgb(91, 91, 240);
  display: flex;
  align-items: center;
  border-radius: 50px;
  width: 150px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 5px;
  position: relative;
}

.label::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  width: 8px;
  height: 8px;
  transition: all 0.4s ease;
  border-radius: 100%;
  margin: auto;
  opacity: 0;
  visibility: hidden;
}

.label .input {
  display: none;
}

.label .title {
  font-size: 17px;
  color: #fff;
  transition: all 0.4s ease;
  position: absolute;
  right: 18px;
  bottom: 14px;
  text-align: center;
}

.label .title:last-child {
  opacity: 0;
  visibility: hidden;
}

.label .circle {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background-color: rgb(91, 91, 240);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  overflow: hidden;
}

.label .circle .icon {
  color: #fff;
  width: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.label .circle .square {
  aspect-ratio: 1;
  width: 15px;
  border-radius: 2px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.label .circle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #3333a8;
  width: 100%;
  height: 0;
  transition: all 0.4s ease;
}

.label:has(.input:checked) {
  width: 57px;
  animation: installed 0.4s ease 3.5s forwards;
}

.label:has(.input:checked)::before {
  animation: rotate 3s ease-in-out 0.4s forwards;
}

.label .input:checked + .circle {
  animation:
    pulse 1s forwards,
    circleDelete 0.2s ease 3.5s forwards;
  rotate: 180deg;
}

.label .input:checked + .circle::before {
  animation: installing 3s ease-in-out forwards;
}

.label .input:checked + .circle .icon {
  opacity: 0;
  visibility: hidden;
}

.label .input:checked ~ .circle .square {
  opacity: 1;
  visibility: visible;
}

.label .input:checked ~ .title {
  opacity: 0;
  visibility: hidden;
}

.label .input:checked ~ .title:last-child {
  animation: showInstalledMessage 0.4s ease 3.5s forwards;
}

@keyframes pulse {
  0% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    scale: 1;
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
  100% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes installing {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(-90deg) translate(27px) rotate(0);
    opacity: 1;
    visibility: visible;
  }
  99% {
    transform: rotate(270deg) translate(27px) rotate(270deg);
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes installed {
  100% {
    width: 150px;
    border-color: rgb(35, 174, 35);
  }
}

@keyframes circleDelete {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes showInstalledMessage {
  100% {
    opacity: 1;
    visibility: visible;
    right: 56px;
  }
}