/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  color: white;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
}

.logo img {
  height: 90px; 
  width: auto;
  display: block;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav a {
  margin-left: 1rem;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: right .4s;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav a:hover {
  color: #726dd2;
}

/* ===== MAIN CONTENT ===== */
.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #1f1c2c;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  text-align: center;
  flex: 1;
  transition: box-shadow .4s;
}

.title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.date {
  opacity: 0.8;
  margin-bottom: 1rem;
}

.image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.explanation {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.credit {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.credit a {
  color: #ffc371;
  text-decoration: none;
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 3rem;
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer__social a {
  font-size: 1.6rem;
  color: white;
  transition: transform 0.3s, color 0.3s;
}

.footer__social a:hover {
  color: #726dd2;
  transform: translateY(-4px);
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
  }

  .container {
    margin: 1rem;
  }

  .title {
    font-size: 1.4rem;
  }

  .logo img {
    height: 80px;
  }

}