* {
  box-sizing: border-box;
}
body {
  font-size: 0.8em;
  font-family: arial,sans-serif;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
}
header {
  background-image: radial-gradient(farthest-corner at 50% -150%, #9abbeaf6, white 69%);
  height: 14vh;
  padding: 0.5em 1em;
  display: flex; 
  flex-direction: row;
  align-items: center;
}
#punchline {
  color: #0191cf;
  font-size: 2.8em;
  font-family: 'Brush Script MT', cursive;
  margin: 0.5em;
}
footer, article, nav, aside {
  padding: 1em;
}
.navbar {
  font-weight: bold;
  display: flex;
  justify-content: space-around;
  background-color: #fff;
}
.navbar a {
  color: white;
  padding: 1.2dvh 1.5dvh;
  min-width: 15dvh;
  margin: 0px 1px;
  text-decoration: none;
  text-align: center;
}
.navbar a:hover {
  background-color: #f1f1f1;
} 
#cat1 {border-bottom: 0.6dvh solid #f57326; color: #f57326;}
#cat2 {border-bottom: 0.6dvh solid #e44096; color: #e44096;}
#cat3 {border-bottom: 0.6dvh solid #6a439d; color: #6a439d;}
#cat4 {border-bottom: 0.6dvh solid #0254a2; color: #0254a2;}
#cat5 {border-bottom: 0.6dvh solid #0191cf; color: #0191cf;}
#cat6 {border-bottom: 0.6dvh solid #00affe; color: #0297da;}
#cat7 {border-bottom: 0.6dvh solid #58de80; color: #43ac62;}
#cat8 {border-bottom: 0.6dvh solid #89c756; color: #73a847;}
@media screen and (max-width: 700px) {
  .navbar {   
    flex-direction: column;
  }
}
#main {
  display: flex;
  flex: 1;
}
#main > article {
  flex: 1;
}
#main > nav, 
#main > aside {
  flex: 0 0 18vw;
  background: #f7f9fc;
}
#main > nav {
  order: -1;
}


.calendar-wrapper {
  max-width: 280px;
  font: 100% system-ui;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.first-day {
  grid-column-start: 5;
}
.day-name {
  background: #eee;
}
h1 {
  text-align: center;
}
ol {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
li {
  padding: 2px;
}

footer {
  color: white;
  background: rgb(67,42,14);
  background: linear-gradient(180deg, rgb(83, 63, 56) 0%, rgba(35,26,22,1) 100%);   
  height: 9vh;
 }
