:root {
  --chocolate: rgb(101, 79, 79);
  --dark-chocolate: rgb(51, 41, 41);
  --lime: #b1ff69;
  --vanilla: #fff8da;
  --vanilla-dim: #d4cba5;
  --vanilla-deep: #b7aa81;
  --marble: #fefff7;
  --pistachio-beige: #9f9d7b;
  --pistachio-dim: #6f6c51;
}

body {
  background-color: var(--marble);
  background: radial-gradient(
    ellipse 100% 80%,
    var(--lime) 0%,
    var(--marble) 50%
  );
  background-attachment: fixed;
  color: var(--dark-chocolate);
  line-height: 140%;
  padding-left: 100px;
  padding-right: 100px;
}

.sono {
  font-family: "Arimo", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "MONO" 1;
}

.scroll,
.quotes {
  display: flex;
  flex-flow: column wrap;
  margin: 5px 0px 0px 20px;
}

.quotes {
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.quote {
  width: 70%;
  padding: 30px;
  border: 1px dotted var(--chocolate);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  text-align: left;
  box-shadow: 4px 4px 4px rgba(101, 79, 79, 0.2);
  transition: transform 1s;
}

.quote:hover {
  transform: scale(1.15);
  transition: transform 1s;
}

.post {
  border: 1px solid var(--chocolate);
  border-radius: 10px;
  margin: 20px;
  padding: 20px;
  background-color: var(--marble);
  box-shadow: 4px 4px 4px rgba(101, 79, 79, 0.6);
}

.link {
  padding: 8px;
  text-decoration: none;
  margin-right: 10px;
  background-color: var(--chocolate);
  color: var(--vanilla);
  transition: linear 0.1s;
  border-radius: 10px;
}

.link:hover {
  color: var(--dark-chocolate);
  background-color: var(--lime);
  transition: linear 0.1s;
}

ul li::marker {
  content: "● ";
  color: var(--lime);
  font-size: 20px;
}

.date {
  color: #80786e;
  text-transform: lowercase;
  font-size: 15px;
  margin-top: -15px;
}

.horizontal-break {
  font-size: 24px;
  text-align: center;
}

.header {
  top: 0;
  background: linear-gradient(var(--marble) 25%, transparent 100%);
  padding: 20px;
}

.navbar {
  margin-top: 5px;
}

#title {
  font-size: 40px;
  margin-right: 20px;
}

#circles,
#title-line {
  display: flex;
  flex-flow: row;
  align-items: center;
}

.circle {
  width: 30px;
  height: 30px;
  border-radius: 100%;
}

#choco,
#side-choco {
  background-color: var(--chocolate);
}

#vanilla {
  background-color: var(--vanilla);
  opacity: 1;
  animation-name: move-over;
  animation-duration: 1s;
  animation-delay: 0.5s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}

#lime {
  background-color: var(--lime);
  opacity: 1;
  animation-name: move-over;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}

#vanilla,
#lime,
#side-lime,
#side-vanilla {
  border: 1px solid var(--dark-chocolate);
}

@keyframes move-over {
  from {
    margin-left: 0px;
  }
  to {
    margin-left: 30px;
  }
}

.image-box {
  display: flex;
  flex-flow: row;
  align-items: center;
}

.image {
  border-radius: 10px;
  border: 2px solid var(--lime);
  margin: 40px;
}

main {
  display: flex;
  flex-direction: row;
}

.sidebar {
  margin-right: 40px;
  padding: 20px;
  width: 100%;
}

.circle-holder {
  position: fixed;
}

.side-circle {
  width: 250px;
  height: 250px;
  border-radius: 100%;
  margin: 20px;
  position: absolute;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#side-choco {
  z-index: 1;
  top: -100px;
  color: var(--vanilla);
}

#side-lime {
  background-color: var(--lime);
  top: 80px;
  z-index: 2;
  left: 110px;
  box-shadow: -4px -4px 10px 2px rgba(51, 41, 41, 0.3);
  color: var(--dark-chocolate);
}

#side-vanilla {
  background-color: var(--vanilla);
  z-index: 3;
  top: 250px;
  box-shadow: 4px -4px 10px 2px rgba(51, 41, 41, 0.3);
  color: var(--dark-chocolate);
}

.dropdown {
  border: 1px solid var(--chocolate);
  border-radius: 10px;
  background-color: var(--marble);
  box-shadow: 3px 3px 4px 1px rgba(101, 79, 79, 0.2);
}

.dropdown-title {
  margin: 3px;
}

.side-circle-inner {
  width: 70%;
  margin: 15px;
  text-align: center;
}

tr:nth-child(even) {
  background-color: #b1ff69;
}

tr {
  background-color: var(--marble);
}

tr:hover {
  background-color: var(--vanilla);
}

tr:nth-child(even):hover {
  background-color: #e4fdcd;
}

td,
th {
  padding: 5px;
}

table {
  width: 80%;
}

th {
  border: black 1px solid;
}

#date_dropdown {
  background: var(--marble);
  color: var(--dark-chocolate);
  padding: 1rem;
  border-radius: 24px;
  box-shadow: 0 0 10px rgba(111, 108, 81, 0.3);
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.95rem;
  position: relative;
  border: 1px solid var(--pistachio-dim);
  z-index: 1;
}

.dropdown-title {
  cursor: pointer;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-chocolate);
  text-shadow: 0 0 3px var(--vanilla-dim);
  position: relative;
  z-index: 2;
}

.year-layer,
.month-layer {
  cursor: pointer;
  padding: 6px 8px;
  transition: background 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
  font-weight: normal;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--chocolate);
  z-index: 2;
}

.year-layer::before,
.month-layer::before {
  content: "✧";
  color: var(--pistachio-beige);
  font-size: 0.85rem;
  margin-right: 8px;
  filter: drop-shadow(0 0 1px var(--vanilla-dim));
}

.year-layer {
  margin-left: 0;
}

.month-layer {
  margin-left: 20px;
}

.year-layer:hover,
.month-layer:hover {
  background: rgba(177, 255, 105, 0.1);
  padding-left: 16px;
  color: var(--dark-chocolate);
}

.day-layer {
  padding: 2px 0;
  margin-left: 40px;
  text-align: left;
  color: var(--chocolate);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-underline-offset: 3px;
  transition: transform 0.2s ease, color 0.3s ease;
  z-index: 2;
}

.day-layer:hover {
  transform: translateX(4px);
  color: var(--dark-chocolate);
}

a {
  text-decoration: none;
  color: var(--lime);
  text-shadow: 0 0 2px var(--vanilla-dim);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pistachio-beige);
}

.month-container,
.day-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out, opacity 0.4s ease;
  opacity: 0;
}

.month-container.open,
.day-container.open {
  max-height: 500px;
  opacity: 1;
}

@keyframes shimmer {
  from {
    text-shadow: 0 0 4px var(--vanilla-deep);
    color: var(--vanilla-deep);
  }
  to {
    text-shadow: 0 0 6px var(--pistachio-dim);
    color: var(--pistachio-dim);
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--lime);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pistachio-beige);
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .sidebar {
    width: 0;
  }

  main {
    display: flex;
    flex-direction: column;
  }
  #title-line {
    flex-direction: column;
    margin: 0 0 15px 0;
  }
  #title {
    min-width: 100%;
    text-align: center;
  }
  .scroll,
  .quotes {
    margin: 0;
  }
  .post {
    max-width: 100%;
  }
  .image {
    width: 90%;
    height: 90%;
    margin: 10px;
  }
  .image-box {
    flex-flow: column;
  }
  body {
    padding: 10px;
  }
  .header {
    position: relative;
  }
  .navbar {
    display: flex;
    flex-flow: row;
    justify-content: center;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .header {
    position: sticky;
  }
}
