:root {
  --primary: #00389f;
  --bg: #0e006a;
  --white: #fff;
  --aqua: #00ffff;
  --yes: #00ff1e93;
  --dyes: #002411;
  --false: #ff0000;
  --warning: #8e0900;
  --sky: #0088ff;
  --gradation: rgba(0, 12, 185, 0.69);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html,
body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 7%;
  background-color: var(--gradation);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar .navbar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-nav img {
  height: 5rem;
}

.navbar-nav h1 {
  font-weight: 500;
  font-size: 1.2rem;
}

/* Container */
.container {
  margin-top: 160px;
  padding: 20px;
  flex: 1;
}

.container .article_tittle {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
}

.container .article_date {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.container .article_author {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.container .content {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.content .image {
  flex: 1 1 20rem;
  text-align: center;
}

.content .image img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
}

.content .article_info {
  white-space: pre-line;
  flex: 1 1 30rem;
  text-align: justify;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 50px;
}

/* Footer */
footer {
  background-color: var(--gradation);
  text-align: center;
  padding: 0.5rem 0;
  width: 100%;
}
footer .socials {
  margin-bottom: 0.5rem;
}
footer .socials a {
  color: var(--white);
  margin: 0 0.5rem;
  font-size: 0.9rem;
}
footer .socials a:hover {
  color: var(--aqua);
}
footer .links {
  margin-bottom: 0.5rem;
}
footer .links a {
  color: var(--white);
  padding: 0.5rem 1rem;
}
footer .credit {
  font-size: 0.7rem;
}
footer .credit a {
  color: var(--bg);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 820px) {
  .navbar-nav h1 {
    font-size: 60%;
  }
  .navbar-nav img {
    height: 3.5rem;
  }

  .container {
    margin-top: 110px; /* Lebih kecil agar tidak terlalu jauh */
    padding: 10px;
  }

  .container .article_tittle {
    font-size: 80%;
  }

  .container .article_date {
    font-size: 80%;
  }

  .container .article_author {
    font-size: 80%;
  }

  .content {
    flex-direction: column;
    align-items: center;
  }

  .content .article_info {
    font-size: 60%;
  }
  footer {
    background-color: var(--gradation);
    text-align: center;
    padding: 0.5rem 0;
    width: 100%;
  }
  footer .socials {
    margin-bottom: 0.5rem;
  }
  footer .socials a {
    color: var(--white);
    margin: 0 0.5rem;
    font-size: 0.7rem;
  }
  footer .socials a:hover {
    color: var(--aqua);
  }
  footer .links {
    margin-bottom: 0.5rem;
  }
  footer .links a {
    color: var(--white);
    padding: 0.5rem 1rem;
  }
  footer .credit {
    font-size: 0.4rem;
  }
  footer .credit a {
    color: var(--bg);
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .navbar-nav h1 {
    font-size: 50%;
  }
  .navbar-nav img {
    height: 3rem;
  }

  .container {
    margin-top: 100px;
  }

  .container .article_tittle {
    font-size: 70%;
  }

  .container .article_date {
    font-size: 70%;
  }

  .container .article_author {
    font-size: 70%;
  }

  .content .article_info {
    font-size: 50%;
  }
  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
  }
}
