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

:root {
  --bg:      #F2F4F6;
  --surface: #08283808;
  --border:  #636015;
  --text:    #7C8E97;
  --textdark: #556B77;
  --textdarkest: #082838;
  --muted:   #ffffffAB;
  --supermuted:   #ffffff66;
  --accent:  #C8C32F;
  --accent67:  #C8C32FAB;
  --accent20:  #C8C32F33;
  --accent25:  #C8C32F40;
  --accent40:  #C8C32F66;
  --noteYellow:  #C8C32F;
  --noteText:  #242305;
}

/* LIGHT MODE */
.light-mode {
  --bg:      #ffffff;
  --surface: #f7f7f2;
  --border:  #d6d6c2;
  --text:    #242305;
  --muted:   #242305aa;
  --supermuted: #24230566;
  --accent:  #A19C0D;
  --accent67: #A19C0Daa;
  --accent20: #A19C0D33;
  --accent25: #A19C0D40;
  --accent40: #A19C0D66;
  --noteYellow: #e6e27a;
  --noteText: #242305;
}

/*  --noteYellow: #e6e27a; */

/* {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
} */

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-family: "League Spartan", sans-serif;
  width: 100%;
}


.main-board {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100vh;
    width: 100%;
}

/* Upper Row */
.upper-row {
    margin: 0 auto;
    display: flex;
    padding: 2rem 2rem;
    background: var(--surface);
    width: 100%;
    animation: fadeSlide 0.25s ease;
    height: 300px;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Lower Row */
.lower-row {
    gap: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    min-width: 650px;
    margin: 0 auto;
    padding: 2.5rem 2.5rem;
}


.link-text {
    color: var(--text);
    transition: all 0.1s ease-in-out;
}

.link-text a {
    text-decoration: none;
    color: inherit; 
}

.link-text:hover {
    color: var(--textdark);
    transform: scale(1.05);
}

.link-text:active {
    color: var(--textdarkest);
    transform: scale(1.03);
}
















/* Note Stuff */
.note-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
    max-width: 360px;
    align-items: center;
}

.note {
    height: 340px;
    width: 360px;
    padding: 2rem 2rem;
    background: var(--noteYellow);
    color: var(--noteText);
    font-size: 1.125rem;
    line-height: 1.4em;
    font-weight: 400;
    transform: rotate(359deg);
}

/* Daybar Stuff */
.daybar {
    display: flex;
    padding-bottom: 1rem;
    border-bottom: 0.5px solid var(--border);
}

.daybar-daytime {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5em;
}

.daybar-day {
    display: flex;
    gap: 0.5em;
}

.end-daybar {
    display: flex;
    padding-top: 1rem;
    border-top: 0.5px solid var(--border);
}

/* Log Stuff */
.note-log {
    display: flex;
    gap: 1rem;

    opacity: 0;
    transform: translateY(20px);
}

.note-log.show {
  animation: slideFadeIn 0.3s ease forwards;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#logsContainer {
    gap: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.note-time {
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    color: var(--accent67);
    min-width: 4rem; 
    padding-top: 0.1875rem;
}

.note-square {
    width: 1rem;
    height: 0.9375rem;
    background-color: var(--noteYellow);
    transform: rotate(359deg);
}

.note-timesquare {
    display: flex;
    padding: 0.125rem 0;
    width: 5.625rem;
    height: 1.75rem;
    gap: 0.375em;
    align-items: center;
}

.note-log-text {
    padding: 0.125rem 0;
    font-size: 1.125rem;
    line-height: 1.4em;
    font-weight: 400;
    color: var(--muted);
}





/* Text Stuff */
h1 {
    color: var(--text);
    font-size: 2rem;
    font-weight: 400;
}

.prompt {
    max-width: 300px;
    text-align: center;
    line-height: 1.1em;
}

h2 {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 400;
}

h5 {
    font-weight: 400;
    letter-spacing: 0.04rem;
}

.normal-text {
    font-weight: 400;
}

.bold {
    font-weight: 600;
}

.muted-text {
    color: var(--muted);
}

.muted-accent {
    color: var(--accent67);
}

.ghost-text {
    color: var(--supermuted);
}

.time-text {
    font-size: 0.875rem;
    letter-spacing: 0.06em;
}

.note-text {
    font-size: 1.125rem;
    line-height: 1.4em;
    font-weight: 400;
}

/* Button Stuff */
.icon-button {
    font-size: 1rem;
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent20);
    color: var(--accent);
    border: none;
    border-radius: 2.5rem;
    transition: all 0.2s ease-in-out;
}

.wide-button {
    width: 8rem;
}

.icon-button:hover {
    background-color: var(--accent25);
    transform: scale(1.1);
}

.icon-button:active {
    background-color: var(--accent40);
    transform: scale(1.05);
    transition: all 0.1s ease-in-out;
}

.icon-button svg {
    height: 1.5em;
    width: 1.5em;
}

.togicon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* default = dark mode (show sun) */
.moon {
  opacity: 0;
  transform: scale(0.8);
}

.sun {
  opacity: 1;
}

/* light mode */
.light-mode .moon {
  opacity: 1;
  transform: scale(1);
}

.light-mode .sun {
  opacity: 0;
  transform: scale(0.8);
}
