.card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: none;
  padding: 0;
  margin: 0;
}

.title-card {
  font-weight: bold;
  font-family: open-sans-bold;
  font-size: 24px;
  margin-left: 20px;
  margin-bottom: 20px;
}

.custom-button {
  background: none;
  display: flex;
  padding: 10px;
  background: none;
  font-weight: bold;
  border: none;
  text-decoration: none;
  color: black;
}

.card-data {
  margin: auto auto 5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 17px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 1px rgba(0, 0, 139, 0.1), 0 4px 1px rgba(0, 0, 139, 0.25);
}

.card-data h3 {
  font-weight: bold;
  color: var(--primary-color-500);
}

.card-data a {
  margin: 0;
  font-weight: bold;
  text-decoration: none;
  color: black;
}

/* Style the buttons that are used to open and close the accordion panel */
.acc-tutor {
  background-color: #fff;
  color: var(--primary-color-500);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-weight: bold;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.acc-tutor.active,
.acc-tutor:hover {
  background-color: #eee;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  height: auto;
}

.struktur {
  background-color: var(--primary-color-100);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.struktur p {
  padding: 5px 5px 10px;
  margin: 0;
  color: var(--primary-color-500);
  font-weight: bold;
}

.sub-struktur {
  background-color: var(--primary-color-100);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3vh 0;
}

.sub-struktur p {
  padding: 5px 5px 10px;
  margin: 0;
  color: var(--primary-color-500);
  font-weight: bold;
}

.acc-tutor:after {
  content: '\02C3';
  font-size: 13px;
  color: var(--primary-color-500);
  float: right;
  margin-left: 5px;
}

.acc-tutor.active:after {
  content: '\02C5';
}

/* respon perintah */
.btn-panel {
  background: none;
  border: none;
  font-size: small;
  color: var(--primary-color-500);
  padding: 0 30px;
}

.collapse-content {
  display: block;
  margin-top: 10px;
  border: 1px solid var(--primary-color-500);
  padding: 10px;
  background-color: #f7f7f7;
  font-family: 'Courier New', Courier, monospace;
  white-space: pre;
  max-height: 40vh;
  box-sizing: border-box;
  overflow-y: scroll;
}

@media (max-width: 1024px) {
  .collapse-content {
    white-space: pre-line;
  }
}
