* {
  box-sizing: border-box;
}

/* Style untuk body */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  line-height: 24px;
  font-weight: 500;
}

/* Style untuk warna text */
p,
li {
  color: rgb(88, 88, 88);
}

/* Style untuk header  */
.header {
  padding-top: 60px;
  text-align: center;
  background: #47b5ff;
  color: white;
}

/* Style untuk navigation bar */
.navbar {
  display: flex;
  background-color: #06283d;
  justify-content: center;
  align-items: center;
}

/* Style untuk navbar menu */
.navbar a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Hamburger Toogle */
.menu-toggle {
  display: none;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  margin: 10px;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
}

/* main element */
.main {
  display: flex;
  flex-wrap: wrap;
  padding-right: 6.5rem;
  padding-left: 6.5rem;
  flex-direction: row-reverse;
  background-color: rgb(248 250 252);
  transition: all ease-in-out 0.7s;
}

/* Style untuk aside */
.side {
  flex: 30%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Content */
.content {
  flex: 70%;
  padding: 20px;
  min-height: 300px;
}

/* Article Card */
article {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
  margin-top: 2rem;
}

/* Style agar element terlihat mengapung ketik cursor berada di atas element */
.float-eff {
  transition: all ease-in-out 0.3s;
}
.float-eff:hover {
  transform: translateY(-10px);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

/* Foto Profile */
.profileimg {
  background-color: #06283d;
  padding: 10px;
  object-fit: cover;
  border-radius: 50%;
  width: 200px;
  height: 200px;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #06283d;
  color: white;
}

/* Class untuk ditambahkan ke navbar saat client scroll sampai titik yang ditentukan agar navbar menjadi sticky */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
}

/* Style untuk article post card container di All Post Page */
#all-post-container {
  display: flex;
  flex-wrap: wrap;
}

/* Style Untuk Tag di article card */
.tag {
  background-color: #aaa;
  color: white;
  padding: 5px;
  margin: 3px;
  border-radius: 7px;
}

/* Style untuk Menu di Dashboard Page */
.menu {
  width: 100%;
  background-color: #06283d;
  border-radius: 7px;
  padding: 20px;
  color: white;
  text-align: center;
}

.menu:hover {
  color: #47b5ff;
}

/* Style untuk ucapan selamat datang pada dashboard page */
.greeting {
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Style untuk semua tombol yang ada di DOM */
button {
  background-color: #06283d;
  color: white;
  padding: 12px 20px;
  border-radius: 7px;
  border: none;
  width: 100%;
  margin: 8px 0;
}

/* Style tombol ketika cursor berada pada tombol */
button:hover {
  color: #47b5ff;
}

/* Style Untuk tombol di article card */
article button {
  width: auto;
  margin-right: 5px;
}

/* Style untuk tombol berwarna merah */
.btn-danger {
  background-color: rgb(173, 2, 2);
}

/* Style untuk  */
input {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Class untuk navbar toggle menu */
.d-none {
  display: none;
}

/* Class untuk margin bawah */
.m-bottom-60 {
  margin-bottom: 60px;
}

/* Class untuk justify text */
.text-justify {
  text-align: justify;
}

/* style untuk article card di all post page */
.all-post-article-card {
  flex-grow: 1;
  margin: 5px;
}

/* style untuk gambar di article card di all post page */
.img-all-post-article-card {
  object-fit: cover;
  width: 100%;
  height: 150px;
}

/* class untuk text align justify */
.text-justify {
  text-align: justify;
}

/* Responsive style ketika layar dibawah 700px*/
@media screen and (max-width: 700px) {
  .main {
    flex-direction: column;
  }
  .navbar {
    flex-direction: column;
  }
  .menu-toggle {
    display: flex;
  }
}
@media screen and (min-width: 700px) {
  .navbar a {
    display: block;
  }
}
@media screen and (max-width: 1000px) {
  .main {
    padding: 0;
  }
}
