#profile-card-container {
  width: 95%;
  min-width: 600px;
  position: relative;
  max-width: 1400px;
  padding: 40px 30px 20px 30px;
}

.journal-info-container {
  background-color: white;
  border: 1px solid #ccc;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

#journal-content-container {
  min-width: 600px;
  max-width: 1400px;
}

#back-button {
  background-color: transparent;
  font-size: 1.2rem;
  top: 0;
  left: 10px;
  position: absolute;
  color: var(--primary-color);
}

#submit-button {
  cursor: pointer;
  border: var(--primary-color) 1px solid;
  padding: 0.5rem 2rem;
  border-radius: 20px;
  color: var(--primary-color);
  width: fit-content;
  text-align: center;
  margin-top: 1rem;
}

#submit-button:hover {
  color: whitesmoke;
  background-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgb(194, 204, 243)
}

.journal-cover-wrapper {
  padding-top: 0.25rem;
}

/* Content */

#tab-container {
  display: flex;
  width: 100%;
}
.tab {
  flex: 1;
  padding: 10px 0;
  cursor: pointer;
  color: black;
  background-color: transparent;
  border: 1px solid #ccc;
  border-bottom: none;
  text-align: center;
  box-sizing: border-box;
}
.tab.active {
  color: white;
  background-color: rgb(30, 29, 77);
  border: 0px;
  border-bottom: 1px solid white;
}

.content {
  min-height: 300px;
  background-color: rgba(30, 29, 77, 0.2);
  padding: 20px 40px;
  border: 1px solid #ccc;
  border-bottom-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  line-height: 1.8rem;
  font-family: "Times New Roman", Times, serif !important;
}

.content * {
  font-family: inherit !important;
}

.hidden {
  display: none;
}

.journal-info-title {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 5px;
}