* {
  box-sizing: border-box;
}

body {
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  font-family: "Roboto";
}

input,
textarea,
button,
select {
  font: inherit;
}

/* remove defaults */

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

a {
  text-decoration: none;
}

/* height 100vh */

.full-screen-height {
  height: 100vh;
}

/* button styles */
/* this needs to be at the top or all other styles get overridden */

.ax-button {
  all: unset;
  outline: revert;
  box-sizing: border-box;
}

main {
  min-height: 100vh;
  background-color: var(--sub-light);
  display: grid;
  grid-template-areas:
    "header header header"
    ". post .";
  grid-template-rows: min-content 1fr;
  grid-template-columns: 1fr 700px 1fr;
}

header {
  grid-area: header;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--prime-dark);
  text-align: center;
  padding: 10px 0 10px;
}

.frame {
  display: flex;
  justify-content: center;
}

.sticky-date {
  position: sticky;
  top: 10px;
}

.date-styles {
  text-align: center;
  display: block;
  color: var(--sub-light);
  background-color: var(--prime-dark);
}

.date-styles:hover {
  cursor: pointer;
  color: var(--prime-dark);
  background-color: var(--sub-light);
}

.title {
  display: flex;
  align-items: center;
}

.entry-area {
  grid-area: post;
  background-color: var(--prime-light);
  padding: 10px;
}

.todays-entry {
  text-align: center;
}

.entry-passage {
  text-align: left;
}

/* calendar accordion styles */

.panel {
  background-color: var(--sub-dark);
  border-radius: 5px;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion {
  cursor: pointer;
  border: none;
  background-color: var(--prime-dark);
  border: 1px solid var(--prime-light);
  color: var(--sub-light);
}

.active,
button:hover {
  background-color: var(--prime-light);
  color: var(--prime-dark);
}
