@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;900&display=swap");
:root {
  /* color */
  --body-color: #f3efe9;
  --main-color: #f5f0bb;
  --secondary-color: #61481c;
  --heading-color: #ffffff;
  --button-color: #7d9d9c;
  --navbar-color: #e0dad2;
  --navbar-text-color: #576f72;
  --button-text-color: #f0ebe3;
  --card-detail-color: #611c5e;
  /* font */
  --body-font: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  /* list-style: none; */
  box-sizing: border-box;
}

body {
  background-color: var(--body-color);
  font-family: var(--body-font);
}

/* Header start */
.header {
  position: relative;
}

.header-bg {
  height: 10rem;
  width: 100%;
  background-image: url('../img/00LogodanNavigasi/navigasi.svg');
  background-position: center;
  background-size: cover;
  filter: blur(5px);
  position: relative;
  left: 0;
  top: 0;
}

.header-content {
  width: 100%;
  height: 10rem;
  background: rgba(0, 0, 0, 0.34);
  color: var(--heading-color);
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
}
/* Header end */

/* Navbar start */
.navbar {
  background-color: var(--navbar-color);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}

.show {
  background-color: transparent;
  border: none;
}
.nav-link {
  color: var(--navbar-text-color);
}
.nav-link:hover {
  color: #000;
  border-radius: 10%;
  font-weight: bolder;
}
.btn-login {
  background: var(--button-color);
  border-radius: 10px;
  color: var(--button-text-color);
}

.active {
  background-color: var(--body-color);
  font-weight: bolder;
}
.active:hover {
  color: #000;
  font-weight: normal;
  border-radius: 10%;
}

.btn-login:hover {
  background-color: var(--heading-color);
  font-weight: bolder;
  border-radius: 10%;
  border: none;
}
.navbar-toggler {
  background-color: var(--main-color);
}
.navbar-toggler-icon {
  color: var(--secondary-color);
}
/* Navbar end */

/* Section search start */
.section-search {
  position: relative;
}
.search-bg {
  position: relative;
  background-image: url('../img/04Berita/searchbg.svg');
  background-position: center;
  background-size: cover;
  left: 0;
  width: 100%;
  height: 300px;
}

.search-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: rgba(0, 0, 0, 0.4);
}

.search-input {
  background: var(--heading-color);
  border: 7px solid #bababa;
  border-radius: 40px;
}

.search-form-control {
  color: transparent;
  border: none;
  border-radius: 40px;
}
.search-btn {
  background-color: var(--button-color);
  color: var(--heading-color);
}
.search-btn:hover {
  background-color: var(--button-color);
  color: var(--heading-color);
  border: none;
}
/* Section search end */

/* section-berita start */
.section-berita {
  position: relative;
}

/* mobile 1 */
.card {
  background: var(--navbar-color);
  color: var(--secondary-color);
  position: relative;
}
/* mobile 1 */

.link-berita {
  /* text-decoration: none; */
  color: var(--secondary-color);
}
.link-berita:hover {
  /* text-decoration: none; */
  font-weight: bold;
  color: var(--secondary-color);
}
.card-text {
  font-size: 15px;
}
/* mobile 1 */
.card-image-date {
  width: 100%;
  height: 65%;
  position: absolute;
  color: var(--heading-color);
}
.image-date {
  background-color: var(--secondary-color);
  border-radius: 20px;
  opacity: 90%;
}
/* mobile 1 */

/* pagination start */
.pagination a {
  color: var(--heading-color);
  background-color: var(--button-color);
}

.pagination a:hover,
.pagination .active a {
  background-color: var(--body-colorr);
  color: var(--secondary-colors);
}

.pagination .active a {
  background-color: var(--body-color);
  color: var(--secondary-color);
  border: none;
  cursor: default;
}

/* pagination end */

/* berita item start */
.berita-item {
  overflow: hidden;
}
.berita-header {
  position: relative;
  height: 589px;
  width: 100%;
}
.berita-editor {
  color: var(--heading-color);
  height: 589px;
  width: 100%;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0) 35.57%, rgba(34, 28, 18, 0.451042) 70.79%, #473a23 100%);
  position: absolute;
  top: 0;
  left: 0;
}
.berita-content {
  color: var(--secondary-color);
  text-align: justify;
}
.list-group-item {
  background-color: transparent;
  border: none;
  color: var(--secondary-color);
}

/* berita item end */
/* section-berita end */

/* contact start */
.contact img {
  width: 70px;
  height: 60px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  overflow: hidden;
}
.contact img:hover {
  width: 90px;
  height: 80px;
  transition: all 0.2s ease;
}
/* contact end */

/* Footer start */
.footer {
  background-color: var(--navbar-color);
}

.footer-text {
  font-weight: 700;
  font-size: 15px;
}
/* Footer end */

/* Responsive start */
@media screen and (min-width: 1444px) {
  /* mobile 1 */
  .image-date {
    display: none;
  }
  /* mobile 1 */
}

@media screen and (min-width: 992px) {
}
@media screen and (max-width: 768px) {
  .header-logo {
    width: 7rem;
  }
  .header-address,
  .header-subtitle {
    display: none;
  }
  .header-content {
    align-items: center;
  }
}
@media screen and (min-width: 601px) {
  /* mobile 1 */
  .image-date {
    display: none;
  }
  /* mobile 1 */
}
@media screen and (max-width: 600px) {
  /* header */
  .header-text {
    display: none;
  }
  .header-content {
    place-content: center;
  }

  /* navbar */
  .navbar {
    padding: 20px;
    border-radius: 0 0 10% 10%;
  }

  /* section-berita */
  .berita-title {
    text-align: start;
  }
  /* mobile 1 */
  .search-form-control,
  .search-btn {
    font-size: 9.8px;
  }
  .card {
    background-color: transparent;
    border: none;
    box-shadow: none;
  }
  .card-img-top {
    border-radius: 20px;
  }
  .card-body {
    padding: 0;
  }

  .card-text,
  .bi-calendar,
  #date {
    display: none;
  }
  /* mobile 1 */
}

/* Responsive end */
