* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
.plain {
  height: 100%;
  width: 100%;
  background: #eaead7;
}
.wallpaper {
  height: 100%;
  width: 100%;
  background-image: url("../flowers.jpg");
  z-index: 1;
}

h1 {
  text-align: center;
  align-items: flex-start;
  font-family: "Arsenal SC", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.5em;
  margin: 0.5em 0;
}
h2 {
  font-family: "Ysabeau SC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
h3 {
  text-align: left;
  align-items: center;
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
}
h4 {
  font-family: "Arsenal SC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
#hello {
  font-family: "Chilanka", cursive;
  font-weight: 400;
  font-style: normal;
}
.login-container {
  position: relative;
  height: 100vh;
  width: auto;
}
.google-signin-wrapper {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 6px 6px 12px 1px rgba(184,184,184,0.3);
  z-index: 2;
}
.journal-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: hidden;
}
.overlay {
  position: absolute;
  top:0;
  bottom:0;
  height: 100%;
  width: 100%;
  background-color: #faf5f5;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}
.row {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: auto;
  justify-content: center;
  z-index: 3;
}
#flex-container {
    display: flex;
}
.element {
  text-align: left;
  align-items: center;
  padding: 0.5em;
  z-index: 3;
  transition: width 0.05s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.left {
  display: flex;
  flex-direction: column;
  width: 30vw;
  height: auto;
}
.center {
  display: flex;
  flex-direction: column;
  width: calc(100% - (2 * 30vw));
  height: auto;
}
.right {
  display: flex;
  flex-direction: column;
  width: 30vw;
  height: auto;
}
.logout {
  z-index: 4;
  cursor: pointer;
}
.locks {
  position: absolute;
  top: 30%;
  left: 48%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(4px 4px 3px rgb(170, 161, 161, 0.4));
  height: 75px;
  width: auto;
  object-fit: cover;
  z-index: 1;
}
.lock1, .lock2, .welcome-message {
  transition: opacity 0.5s ease-in-out;
}
.lock2 {
  opacity: 0;
}
.hide-lock1 {
  opacity: 0;
  animation: lockTransition 0.5s forwards;
}
.show-lock2 {
  opacity: 1;
}
.welcome-message {
  opacity: 0;
}
.show-message {
  opacity: 1;
  animation: welcomeSlide 0.5s forwards;
}
@keyframes lockTransition {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes welcomeSlide {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

#search-form {
    margin-bottom: 20px;
    display: none;
    justify-content: center;
}
#search-input {
    width: 70%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
}
#search-button {
    width: 100px;
    padding: 0.6rem;
    background-color: #b8ccb8;
    color: #575252;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 0.9rem;
}
#search-button:hover {
    background-color: #999999;
}

#calendar {
    background-color: white;
    padding: 5px;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 6px 6px 12px 3px rgba(209,202,179,0.5);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
#calendar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.fc {
    font-size: 0.8em !important;
}
.fc .fc-toolbar.fc-header-toolbar {
    padding: 0px !important;
    margin-bottom: 0.5em;
}
.fc-day {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.fc .fc-button {
    background-color: #afb0b1;
    border: none;
    font-size: 8px;
}
.fc .fc-button:hover {
    background-color: #787878;
    border: none;
}
.fc .fc-daygrid-day-number {
    padding: 2px;
    font-size: 0.9em;
}
.fc .fc-daygrid-day-frame {
    height: 1.5em;
    overflow: hidden;
}

.component-container {
  width: 100%;
  transition: height 0.05s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.page-stack {
    position: relative;
    width: 100%;
}
.left-stack {
    position: relative;
    width: 100%;
}
.right-stack {
    position: relative;
    width: 100%;
}
.background-page {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    min-height: 1500px;
    height: auto;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(209,202,179,0.4);
    z-index: -1;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    padding: 20px;
}
.left-background {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    min-height: 2000px;
    height: auto;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(209,202,179,0.4);
    z-index: -1;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    padding: 20px;
}
.right-background {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    min-height: 2000px;
    height: auto;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(209,202,179,0.4);
    z-index: -1;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    padding: 20px;
}

.wisdom-title {
    font-family: "Indie Flower", cursive;
    font-size: 1.8em;
    color: #575252;
    margin-bottom: 15px;
}
#other-wisdom-content ~ .tox-tinymce, 
#even-more-wisdom-content ~ .tox-tinymce,
#quotes-content ~ .tox-tinymce,
#book-wisdom-content ~ .tox-tinymce,
#conscientious-content ~ .tox-tinymce {
  min-height: 500px !important;
  height: 90vh !important;
}
.notes-title {
    font-family: "Indie Flower", cursive;
    font-size: 1.8em;
    color: #575252;
    margin-bottom: 15px;
}

#quotes-content {
    width: 100%;
    min-height: 400px !important;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    font-family: "DM Sans", sans-serif;
    font-size: 0.9em;
    line-height: 1.5;
    resize: none;
}
#quotes-content:focus {
    outline: none;
    border-color: #b8ccb8;
}

#focus-content ~ .tox-tinymce {
    min-height: 500px !important;
    height: 1800px !important;
}

.page-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, #e8e8e8 50%);
    border-radius: 0 5px 0 0;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
}
.page-corner:hover {
    background: linear-gradient(135deg, transparent 50%, #d0d0d0 50%);
}

.left-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, #e8e8e8 50%);
    border-radius: 0 5px 0 0;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
}
.left-corner:hover {
  background: linear-gradient(135deg, transparent 50%, #d0d0d0 50%);
}

.right-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, transparent 50%, #e8e8e8 50%);
  border-radius: 0 5px 0 0;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease;
}
.right-corner:hover {
background: linear-gradient(135deg, transparent 50%, #d0d0d0 50%);
}

.background-page.front {
  transform: translateY(0) translateX(0);
  z-index: 2;
}
.left-background.front {
transform: translateY(0) translateX(0);
z-index: 2;
}
.right-background.front {
transform: translateY(0) translateX(0);
z-index: 2;
}

#entry-form.back {
    z-index: 0;
}
#todo-list.back {
    z-index: 0;
}
#calendar.back {
    z-index: 0;
}

#entry-form {
    position: relative;
    width: 100%;
    background-color: white;
    padding: 20px;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 6px 6px 12px 3px rgba(209,202,179,0.5);
    z-index: 1;
}

/* Container for tweets section */
.tweets-container {
    position: relative;
    background-color: #f9f6f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    min-height: 2000px;
    height: auto;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}
.tweets-container .page-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, #e8e8e8 50%);
    border-radius: 0 5px 0 0;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
}

.left-container {
    position: relative;
    background-color: #f9f6f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    min-height: 2000px;
    height: auto;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}
.left-container .left-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, #e8e8e8 50%);
    border-radius: 0 5px 0 0;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
}

.right-container {
    position: relative;
    background-color: #f9f6f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    min-height: 2000px;
    height: auto;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}
.right-container .right-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, #e8e8e8 50%);
    border-radius: 0 5px 0 0;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
}

.tweets-container .page-corner:hover {
  background: linear-gradient(135deg, transparent 50%, #d0d0d0 50%);
}
.left-container .left-corner:hover {
    background: linear-gradient(135deg, transparent 50%, #d0d0d0 50%);
}
.right-container .right-corner:hover {
  background: linear-gradient(135deg, transparent 50%, #d0d0d0 50%);
}

#entry-content {
    width: 100%;
    min-height: 230px;
    height: auto;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
}
#submit-entry {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #b8ccb8;
    color: #575252;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}
#submit-entry:hover {
    background-color: #a3b8a3;
}
#tabs {
    width: 100%;
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: center;
}
.tab-button {
    padding: 0.4rem 1rem;
    background-color: #ededed;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
    font-size: 0.9rem;
    color: #6b6b6b;
}
.tab-button.active {
    background-color: #fff;
    color: #575252;
}
#entries-timeline {
    position: relative;
    z-index: 1;
}
.entry {
    width: 100%;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: block;
    padding: 1.5rem 1rem 1rem 2rem;
    color: #404040;
}
.entry:last-child {
    border-bottom: none;
}
.entry-content {
    margin-bottom: 5px;
}
.entry-date {
    font-size: 0.8em;
    color: #777;
}
.entry > ul, .entry > ol {
  margin: 0.5rem 1rem 0.5rem 2rem;
}
.entry > ul ul, .entry > ol ol {
  margin: 0.5rem 1rem 0.5rem 2.1rem;
}
.entry > ul ul ul, .entry > ol ol ol {
  margin: 0.5rem 1rem 0.5rem 2.2rem;
}
.entry > p {
  margin-top: 0.75rem;
}

.highlight {
    background-color: #fffacd;
    transition: background-color 0.5s ease;
}
.heart-button {
  margin-left: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.heart-icon {
  width: 18px;
  height: 18px;
  transition: all 0.2s ease;
}
.heart-icon.active {
  fill: #e47799;
  stroke: #e47799;
}
.metrics {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@keyframes heartBeat {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.3);
  }
  100% {
      transform: scale(1);
  }
}

.heart-icon.animate {
  animation: heartBeat 0.3s ease-in-out;
}

#todo-list {
  width: 100%;
  background: #fff;
  padding: 1em;
  border-radius: 5px;
  margin-bottom: 1rem;
  box-shadow: 6px 6px 12px 3px rgba(209,202,179,0.5);
}
.todo-line {
  display: flex;
  align-items: flex-start;
  padding-top: 0.7rem;
  margin: 0;
}
.line-number {
  width: 2rem;
  text-align: right;
  padding-right: 0.5rem;
  margin-top: 0.05rem;
  color: #888;
}
.line-content {
  outline: none;
  width: 100%;
  padding: 0 0.2rem 0.1rem 0.2rem;
  border-bottom: 1px solid #ddd;
}
.todo-checkbox {
  margin-top: 0.2rem;
  margin-left: 0.5rem;
}
.todo-line:not(.filled) .todo-checkbox {
  opacity: 0;
  pointer-events: none;
}
input[type='checkbox'] {
    accent-color: #c9c5c5;
}

#completed, #failed, #notes {
  width: 100%;
  background: #fff;
  padding: 1em 1em 1em 0.75em;
  border-radius: 5px;
  margin-bottom: 1rem;
  box-shadow: 6px 6px 12px 3px rgba(209,202,179,0.5);
}

.notes-section {
  position: relative;
  width: 100%;
  background-color: #f8f8f8;
  border-radius: 5px;
  box-shadow: 3px 3px 8px rgba(209,202,179,0.4);
  z-index: -1;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  padding: 20px;
  margin-bottom: 1rem;
}
.notes-section.front {
  transform: translateY(0) translateX(0);
  z-index: 2;
}
.completed-line, .failed-line, .notes-line {
  display: flex;
  align-items: flex-start;
  padding-top: 0.7rem;
  margin: 0;
}

.completed_id, .failed_id, .note_id {
  color: #888;
  width: 1rem;
  margin-top: 0.05rem;
  text-align: center;
}
.completed-content, .failed-content, .notes-content {
  outline: none;
  width: 100%;
  padding: 0 0.2rem 0.1rem 0.2rem;
  border-bottom: 1px solid #ddd;
}

.goal-lists {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  min-height: 2rem;
  height: auto;
}
.active-goals {
  margin-top: 1rem;
}
.active-goals, .completed-goals {
  width: 100%;
  background: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 6px 6px 12px 3px rgba(209,202,179,0.5);
  margin-bottom: 1rem;
}
#completedGoals {
  color: #bababa;
  text-decoration: line-through;
}

.todo-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  min-height: 2rem;
  height: auto;
}
.assessment-section {
  margin-top: 1rem;
  width: 100%;
  background: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 6px 6px 12px 3px rgba(209,202,179,0.5);
  margin-bottom: 1rem;
}

.goal-line {
  display: flex;
  align-items: start;
  width: 100%;
  min-height: 2rem;
  height: auto;
  padding: 0 1;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
}
.goal-checkbox {
  margin-top: 0.7rem;
  margin-right: 0.5rem;
  padding-top: 0;
  flex-shrink: 0;
}
.goal-content {
  flex-grow: 1;
  min-height: 2rem;
  height: auto;
  outline: none;
  padding: 0.5rem 0.2rem 0.1rem 0.2rem;
}
.goal-line:not(.filled) .goal-checkbox {
  opacity: 0;
  pointer-events: none;
}

.note-lists {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  min-height: 2rem;
  height: auto;
}
.active-notes {
  margin-top: 1rem;
  width: 100%;
  background: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 6px 6px 12px 3px rgba(209,202,179,0.5);
  margin-bottom: 1rem;
}

.note-line {
  display: flex;
  align-items: start;
  width: 100%;
  min-height: 2rem;
  height: auto;
  padding: 0 1;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
}
.note-checkbox {
  margin-top: 0.7rem;
  margin-right: 0.5rem;
  padding-top: 0;
  flex-shrink: 0;
}
.note-content {
  font-size: 1rem !important;
  flex-grow: 1;
  min-height: 2rem;
  height: auto;
  outline: none;
  padding: 0.5rem 0.2rem 0.1rem 0.2rem;
}
.note-line:not(.filled) .note-checkbox {
  opacity: 0;
  pointer-events: none;
}

.column-resizer {
  width: 5px;
  background-color: #ccc;
  cursor: col-resize;
  opacity: 0.25;
  transition: background-color 0.05s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.column-resizer:hover {
  opacity: 0.65;
  background-color: #ccc;
}
.container-resizer {
  height: 5px;
  background-color: #ccc;
  width: 100%;
  cursor: row-resize;
  opacity: 0.25;
  transition: background-color 0.05s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.container-resizer:hover {
  opacity: 0.65;
  background-color: #ccc;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.05s cubic-bezier(0.25, 0.1, 0.25, 1);
}


@media (max-width: 768px) {
  .container {
      width: 95%;
  }
  #search-input {
      width: 60%;
  }
  #calendar {
      width: 90%;
  }

    #layout {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }

  .column {
      position: absolute;
      top: 0;
      left: 0;
      width: 85%;
      height: 100%;
      margin: 0.5rem;
      background-color: white;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  #column1 {
      z-index: 5;
      transform: translate(9%, 9%);
      cursor: pointer;
  }

  #column2 {
      z-index: 4;
      transform: translate(4%, 4%);
      cursor: pointer;
  }

  #column3 {
      z-index: 3;
      transform: translate(1%, 1%);
      cursor: pointer;
  }

}
body {
    font-family: Arial, sans-serif;
    margin: 20px;
}
