html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* START CSS */

/* START HEADER CSS */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: #f3f7ff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 8px;
  overflow: hidden;
}

.popup.active {
  display: block;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #f3f7ff;
  border-bottom: 1px solid #f3f7ff;
}

.popup-close {
  cursor: pointer;
  font-size: 20px;
}

.popup-content {
  padding: 20px;
}

.logout-button {
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  background-color: #f44336;
  color: #f3f7ff;
  text-decoration: none;
  border-radius: 5px;
}

header {
  height: auto;
  width: 100%;
  background-color: #f3f7ff;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", sans-serif;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f3f7ff;
}

nav {
  font-family: "Inter", sans-serif;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu ul {
  display: flex;
  justify-content: space-between;
  width: 600px;
  font-size: 20px;
  position: relative;
  font-weight: 600;
}

.nav-menu ul li {
  position: relative;
}

.nav-menu ul li a {
  text-decoration: none;
  color: black;
  transition: color 0.3s ease; /*tambahan*/
  position: relative;
}

.nav-menu ul li a:hover {
  color: #007bff;
}

.nav-menu ul li a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #fabc3f;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

.logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
}

.logo-container h1 {
  margin-left: 15px;
}

header nav img {
  height: 60px;
  width: 60px;
}

.sign-container {
  display: flex;
  align-items: center;
  justify-content: right;
  /*width: 90px;*/
}

.sign-container a {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #3f51b5;
  font-weight: 600;
}

.sign-container a:hover {
  color: #007bff;
}

.sign-container img {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.sign-container .hover-img {
  display: none;
}

.sign-container a:hover .default-img {
  display: none;
}

.sign-container a:hover .hover-img {
  display: inline-block;
  transform: scale(1.1); /* Membesarkan gambar saat di-hover */
}

.sign-container span {
  font-size: 20px;
}

.sign-container h1 {
  font-size: 16px;
  color: #3f51b5;
  font-weight: bold;
  padding-right: 40px;
}

/* END HEADER CSS */

/* START BODY CSS */

.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-button a {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #3f51b5;
  font-weight: bold;
}

.back-button a:hover {
  color: #007bff;
}

.back-button img {
  display: inline-block;
  width: 50px;
  height: 50px;
  transition: transform 0.3s;
}

.back-button .hover-button {
  display: none;
}

.back-button a:hover .default-button {
  display: none;
}

.back-button a:hover .hover-button {
  display: inline-block;
  transform: scale(1.1);
}

.back-button span {
  font-size: 24px;
  padding-left: 10px;
}

/*.button-back button{
  background-color: #316CF4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Poppins";
}

.button img{
  width: 20px;
  height: 20px;
}

.back-button span {
  font-size: 16px;
} */

.container-read {
  padding-left: 200px;
  padding-right: 200px;
  padding-top: 50px;
}

.title-container {
  padding: 20px 50px;
  display: flex;
  flex-direction: column;
}

.title-container p {
  font-size: 24px;
  padding-top: 10px;
  color: #747474;
}

.judul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.judul h1 {
  font-size: 30px;
  color: #222222;
  font-weight: 700;
}

.tanggal {
  font-size: 14px;
  margin-top: 10px;
  background-color: #134b70;
  padding: 10px;
  color: #f3f7ff;
  border-radius: 10px;
  width: 10%;
}

.author {
  margin-top: 40px;
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.author img {
  width: 50px;
  height: 50px;
}

.author h2 {
  font-size: 20px;
  font-weight: 500;
}

.artc-read {
  padding: 20px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.artc-read img {
  width: 100%;
}

.artc-read p {
  padding-top: 40px;
  font-size: 20px;
  text-align: justify;
  line-height: 1.5;
  font-weight: 400;
}

/* END BODY CSS */

/* START FOOTER CSS */
footer {
  display: flex;
  flex-direction: row;
  column-gap: 50px;
  background-color: #316cf4;
  color: #f3f7ff;
  height: 400px;
}

.footer-kiri {
  display: flex;
  align-items: center;
  flex: 1;
  /* width: 200px; */
}

.footer-kiri iframe {
  width: 60vw;
  height: 340px;
  border: 0;
}

.footer-kanan {
  display: flex;
  width: 100%;
  flex-direction: column;
  /* row-gap: 10px; */
  padding: 60px 0px;
}
.footer-kanan h1 {
  font-size: 60px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-kanan p {
  font-size: 30px;
}

.location {
  width: 80%;
}

.location a {
  font-size: 20px;
  text-decoration: none;
  color: #f3f7ff;
}

.sosmed {
  padding-top: 40px;
  display: flex;
  align-items: center;
}
.sosmed ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sosmed ul li {
  display: flex;
  align-items: center;
}

.sosmed ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #f3f7ff;
  font-size: 20px;
}

.sosmed ul li img {
  height: 30px;
  margin-right: 10px;
}

.copy {
  background-color: black;
  color: #f3f7ff;
  text-align: center;
  padding: 10px;
}
/* END FOOTER CSS */

/* END CSS */
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #fabc3f #f3f7ff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 30px;
}

*::-webkit-scrollbar-track {
  background: #f3f7ff;
}

*::-webkit-scrollbar-thumb {
  background-color: #fabc3f;
  border-radius: 100px;
  border: 4px solid #f3f7ff;
}

@media only screen and (max-width: 430px) {
  nav {
    padding: 20px 20px;
  }

  .container-read {
    padding: 0px;
  }

  .judul h1 {
    font-size: 24px;
  }

  .tanggal {
    width: 30%;
    display: flex;
    justify-content: center;
  }

  .logo-container h1 {
    display: none;
  }

  .sign-container {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px; /* Adjust this value based on your needs */
  }

  .sign-container h1 {
    font-size: 12px;
  }

  .nav-menu ul {
    flex-direction: row;
    display: flex;
    column-gap: 30px;
    width: 100%;
    padding-bottom: 6px;
  }

  .nav-menu ul li a {
    font-size: 12px;
  }

  .logo-container img {
    width: 30px;
    height: 30px;
  }

  .addDiskusi {
    width: 80%;
    margin-left: 25px;
  }

  .addkiri h1 {
    font-size: 20px;
  }

  .addkiri select,
  .addkiri button {
    font-size: 14px;
  }

  .discuss-title h1 {
    font-size: 150px;
    width: auto;
  }

  .timestamp {
    font-size: 18px;
  }

  .discuss-content {
    font-size: 16px;
  }

  .filter-select {
    font-size: 16px;
    width: 200px;
  }

  .filter button {
    width: 80px;
  }

  .card-container {
    width: 80%;
  }

  .user-name {
    font-size: 14px;
    padding-left: 10px;
  }

  .popup-category {
    font-size: 14px;
    background-color: #fabc3f;
  }

  .footer-kiri {
    display: none;
  }

  .footer-kiri iframe {
    width: 10%;
    height: 10%;
  }

  .footer-kanan {
    padding: 100px 70px;
    justify-content: center;
  }

  .footer-kanan h1 {
    font-size: 40px;
  }
  .footer-kanan p {
    font-size: 20px;
  }
  .location {
    padding-bottom: 10px;
    width: 100%;
  }
  .location a {
    font-size: 18px;
  }

  .sosmed {
    padding-top: 0px;
  }

  .sosmed ul li a span {
    font-size: 18px;
  }
}

@media only screen and (min-width: 431px) and (max-width: 576px) {
  /* CSS rules specific for extra small screens */
  nav {
    padding: 20px 20px;
  }

  .logo-container h1 {
    display: none;
  }

  .sign-container {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px; /* Adjust this value based on your needs */
  }

  .nav-menu ul {
    flex-direction: row;
    display: flex;
    column-gap: 30px;
    width: 100%;
  }

  .nav-menu ul li a {
    font-size: 16px;
  }

  .container-read {
    padding: 0px;
  }

  .judul h1 {
    font-size: 24px;
  }

  .tanggal {
    width: 30%;
    display: flex;
    justify-content: center;
  }

  .logo-container img {
    width: 50px;
  }

  .addDiskusi {
    width: 80%;
    margin-left: 25px;
  }

  .addkiri h1 {
    font-size: 20px;
  }

  .addkiri select,
  .addkiri button {
    font-size: 14px;
  }

  .discuss-title h1 {
    font-size: 150px;
    width: auto;
  }

  .timestamp {
    font-size: 18px;
  }

  .discuss-content {
    font-size: 16px;
  }

  .filter-select {
    font-size: 16px;
    width: 200px;
  }

  .filter button {
    width: 80px;
  }

  .card-container {
    width: 80%;
  }

  .user-name {
    font-size: 14px;
    padding-left: 10px;
  }

  .popup-category {
    font-size: 14px;
    background-color: #fabc3f;
  }

  .footer-kiri {
    display: none;
  }

  .footer-kiri iframe {
    width: 10%;
    height: 10%;
  }

  .footer-kanan {
    padding: 100px 70px;
    justify-content: center;
  }

  .footer-kanan h1 {
    font-size: 40px;
  }
  .footer-kanan p {
    font-size: 20px;
  }
  .location {
    padding-bottom: 10px;
    width: 100%;
  }
  .location a {
    font-size: 18px;
  }

  .sosmed {
    padding-top: 0px;
  }

  .sosmed ul li a span {
    font-size: 18px;
  }
}

@media only screen and (min-width: 577px) and (max-width: 768px) {
  header {
    height: 100%;
  }
  nav {
    padding: 20px 20px;
  }

  .logo-container h1 {
    display: none;
  }

  .nav-menu ul {
    flex-direction: row;
    display: flex;
    column-gap: 50px;
    width: 100%;
  }

  .nav-menu ul li a {
    font-size: 18px;
  }

  .container-read {
    padding: 40px 0px;
  }

  .judul h1 {
    font-size: 26px;
  }

  .tanggal {
    width: 50%;
    display: flex;
    justify-content: center;
  }

  .title-container {
    padding: 0px 50px;
  }
  .title-container p {
    font-size: 22px;
  }

  .author {
    column-gap: 10px;
  }

  .author img {
    width: 40px;
    height: 40px;
  }

  .author h2 {
    font-size: 18px;
  }

  .artc-read p {
    font-size: 18px;
  }
  footer {
    column-gap: 0px;
  }

  .footer-kiri {
    /* width: 50%; */
    display: none;
  }

  .footer-kanan {
    padding: 80px 40px;
    justify-content: center;
  }

  .footer-kanan h1 {
    font-size: 40px;
  }
  .footer-kanan p {
    font-size: 20px;
  }

  .location {
    padding-bottom: 10px;
    width: 100%;
  }

  .location a {
    font-size: 18px;
  }

  .sosmed {
    padding-top: 0px;
  }

  .sosmed ul li a span {
    font-size: 18px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  nav {
    padding: 20px 50px;
  }

  .logo-container {
    font-size: 20px;
  }
  .logo-container h1 {
    display: none;
  }

  .nav-menu ul {
    flex-direction: row;
    display: flex;
    column-gap: 100px;
    width: 100%;
  }

  .nav-menu ul li a {
    font-size: 20px;
  }

  .container-read {
    padding-right: 35px;
    padding-left: 35px;
  }

  /* .judul h1{
    font-size: 26px;
  } */

  .tanggal {
    width: 30%;
    display: flex;
    justify-content: center;
  }

  /* .title-container{
    padding:0px 50px ;
  }
  .title-container p{
    font-size: 22px;
  } */

  /* .author{
    column-gap: 10px;
  }

  .author img{
    width: 40px;
    height: 40px;
  } */

  /* .author h2{
    font-size: 18px;
  }

  .artc-read p{
    font-size: 18px;
  } */
  footer {
    column-gap: 10px;
  }

  .footer-kiri {
    width: 60%;
  }

  .footer-kanan {
    padding: 60px 15px;
  }

  .footer-kanan h1 {
    font-size: 40px;
  }
  .footer-kanan p {
    font-size: 20px;
  }

  .location a {
    font-size: 18px;
  }

  .sosmed {
    padding-top: 0px;
  }

  .sosmed ul li a span {
    font-size: 18px;
  }
}
