/* Primary color : #8f00ff #4e00b3*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  font-size: 16px;
  background-color: #f0f0ff;

  /* ini akan bekerja jika tida ada absolute position terhadap relasi ke elemen body */
  overflow-x: hidden;
}

.heading-2 {
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1.8rem;
}

.heading-6 {
  font-weight: 500;
  margin-bottom: 1.6rem;
  letter-spacing: 0.8px;
  line-height: 1.2;
}

.heading-tertiary {
  font-weight: 500;
  margin-bottom: 1.4rem;
  line-height: 1px;
}

.sub-heading {
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-left: 1.9rem;
}

/* HEADER */
.header-section {
  background-color: #d4c6f1;
  box-shadow: 0 0.5px 7px #555;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header {
  padding: 0.5rem 1.2rem;
  margin: 0 1rem;
  color: #6f2da8;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 3rem;
  width: 3rem;
}

.icon-menu {
  height: 3rem;
  width: 3rem;
  color: #6f2da8;
}

.user-box {
  font-weight: 600;
}

.user-icon {
  height: 3.2rem;
  width: 3.2rem;
  font-weight: 700;
}

.user-email {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

/* MOBILE SIDE BAR */
.offcanvas.offcanvas-start {
  width: 320px;
  background-color: #8f00ff;
  color: #fff;
}

.offcanvas-header {
  padding: 0.5rem 1.2rem;
  border-bottom: 2px solid #c9b8ed;
}

.offcanvas-title {
  color: #fff;
}

.btn--close {
  color: #fff;
  height: 3.5rem;
  width: 3.5rem;
  border: none;
  background: none;
  font-size: 2rem;
}

/* SIDE BAR */
.sidebar {
  width: 310px;
  background-color: #8f00ff;
  position: fixed;
  top: 71px;
  bottom: 0;
  left: 0;
  box-shadow: 0.5px 0 8px #555;
  z-index: 998;
}

/* dashboard */
.main-content {
  position: relative;
  top: 71px;
  left: 0;
  bottom: 0;
  right: 0;
  padding-left: 310px;
  width: 100%;
  color: #2c0066;
}

.content-title {
  color: #2c0066;
  background-color: #ffc95e;
  border-radius: 7px;
  margin-bottom: 3.5rem;
}

/* NAVIGATION */
.nav-open {
  background-color: rgba(177, 153, 230, 0.507);
}

.main-nav-link {
  display: inline-block;
  padding: 1.25rem;
}

.main-nav-list {
  list-style: none;
  padding: 1.4rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #ffd299;
}

.nav-icon {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-right: 1.25rem;
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* BUTTON */
.btn-primary {
  background-color: #8100e6;
  border: none;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:active {
  background-color: #9a4dff;
}

.btn-secondary,
.btn-secondary:visited {
  background-color: #d4c6f1;
  border: none;
  font-weight: 500;
  color: #2c0066;
}

.btn-secondary:hover,
.btn-secondary:active {
  background-color: #2c0066;
  color: #fff;
}

.btn-link {
  text-decoration: none;
  color: #fff;
}

.btn-link:hover,
.btn-link:active {
  color: #fff;
}

.table > :not(caption) > * > * {
  padding: 0.6rem 0.8rem;
  color: #232323;
  background: none;
}

.alert{
  text-align: center;
}

.error{
  color: #b21818;
  line-height: 1.6rem;
}

.error-banner{
  text-align: start;
  line-height: 1.8;
}