* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Verdana", sans-serif;
  background-image: url("https://i.pinimg.com/736x/23/69/05/2369057b490882ac1286b6f17fc4e7c3.jpg");
  background-repeat: repeat;
  background-position: center;
  color: #d6d6d6;
  line-height: 1.6;
}

/* =========================
   LINKS
   ========================= */

a {
  color: #a8a8a8;
  text-decoration: none;
}

a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* =========================
   CONTAINER
   ========================= */

#container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 10px;
}


/* =========================
   TOP BAR
   ========================= */

#topBar {
  background: #111111;
  border: 1px solid #555555;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 10px;

  color: #cfcfcf;
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;  
  letter-spacing: 0.5px;

  box-shadow:
    0 0 10px rgba(200, 200, 200, 0.15),
    inset 0 0 8px rgba(200, 200, 200, 0.05);

  position: relative;
  overflow: hidden;
}
#topBar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(180,180,180,0.03),
    rgba(180,180,180,0.03) 1px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}

/* =========================
   HEADER
   ========================= */

#header {
  height: 200px !important;
  border-radius: 18px;
  border: 2px solid #555555;
  background-image: url("images/IMG_0707.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* =========================
   LAYOUT
   ========================= */

#flex {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

/* =========================
   SIDEBARS
   ========================= */

aside {
  width: 220px;
}

#leftSidebar, #rightSidebar {
  background: #151515;
  border: 2px solid #555555;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* small content boxes */
.box {
  background: #151515;
  border: 2px solid #555555;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 10px;
}
.boxy {
  background-image: url("images/gayasscat.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #555555;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 10px;
  width: 186px;
  height: 200px;
}

/* =========================
   HEADINGS
   ========================= */

h2, h3, h4 {
  color: #dddddd;
  font-family: "Verdana", sans-serif;
}

/* =========================
   MAIN CONTENT
   ========================= */

main {
  flex: 1;
  background: #151515;
  border: 2px solid #555555;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* images */
img {
  border-radius: 12px;
  max-width: 100%;
}
img.noRound {
  border-radius: 0 !important;
}
/* badge spacing */
main img {
  margin: 3px;
}

/* =========================
   FACT BAR TEXT
   ========================= */

#factDisplay {
  color: #e6e6e6;
}

/* =========================
   HOVER EFFECTS
   ========================= */

.box:hover {
  transform: translateY(-2px);
  transition: 0.2s;
  box-shadow: 0 6px 16px rgba(120, 120, 120, 0.2);
}

/* =========================
   SCROLLBAR
   ========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #151515;
}

::-webkit-scrollbar-thumb {
  background: #555555;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {
  #flex {
    flex-direction: column;
  }

  aside {
    width: 100%;
  }
}
.card {
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid #555555; 
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.card h2 {
  margin-top: 0;
}

.card h5 {
  margin-top: -8px;
  margin-bottom: 10px;
  font-weight: normal;
}

/* images inside cards */
.card img {
  max-width: 100%;
  border-radius: 8px;
  margin: 10px 0;
}
.likes {
  font-size: 1.5rem;
  list-style-type: "★ ";
}
.imgswe {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}
.imgswe img {
  width: 440px;
  height: auto;
  border-radius: 10px;
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);

  opacity: 0;
  pointer-events: none;

  transition: 0.25s ease;
  backdrop-filter: blur(3px);
}

.popup:target {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  width: 520px;
  max-width: 92%;
  background: #151515;
  border: 2px solid #555555;
  padding: 18px;
  margin: 10vh auto;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  color: #d6d6d6;
}

.popup-box h2 {
  margin-top: 0;
  color: #e6e6e6;
}

.popup-box h3 {
  margin-bottom: 5px;
  color: #cccccc;
}

.close {
  position: absolute;
  top: 10px;
  right: 14px;
  text-decoration: none;
  font-size: 20px;
  color: #a8a8a8;
}

.close:hover {
  color: #ffffff;
}

.popup ul {
  margin-left: 18px;
}

.popup li {
  color: #cfcfcf;
}
.text-link {
  color: inherit;
  text-decoration: none;
}

.text-link:hover {
  color: inherit;
  text-decoration: underline;
}