@font-face {
  font-family: Extended;
  src: url(extended.woff2);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.header {
    font-family: Extended;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 4fr;
    justify-content: stretch;
    margin: 2rem 1rem;
}

nav {
  grid-column: 1 / span 3;
}

h1 {
    font-family: Syncopate;
    font-weight: 400;
}

h2 {
    font-family: Extended;
    font-size 1rem;
  margin: 0;
  padding: 0.9rem 0 0.5rem;
}

.category-filter-bar {
  display: flex;
  justify-content: flex-end;
  margin: 1rem 0 0;
}

button {
  border: none;
  background-color: #BC2FFF;
  color: black;
  font-size: 1rem;
  font-variant-caps: all-small-caps;
  font-weight: bold;
  font-style: italic;
  margin: 0.1rem;
  border-radius: 2px;
}

button.active {
  color: white;
}

.recurring {
  background-color: #5E177F;
  color: white;
}

.off {
  color: grey;
}

.title {
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: -0.1rem;
    margin: 0.3rem;
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
}

.subtitle {
    font-size: 1rem;
    text-align: right;
    grid-column: 2 / span 2;
    grid-row: 2 / span 1;
    align-self: end;
}

.circle {
    height: 8rem;
    width: 8rem;
    aspect-ratio: 1 / 1;
    background-color: #BC2FFF;
    border-radius: 50%;
    grid-column: 1 / span 2;
    grid-row: 2 / span 1;
    justify-self: center;
    z-index: -1;
}

a{
    color: #BC2FFF;
}

a:hover{
    color: #EE6055;
}

.tags-panel {
  position: absolute;
  background-color: white;
  min-width: 10rem;
  right: 1rem;
}

.tags-list {
  display: flex;
  flex-direction: column;
}

.eventbox{
    border: 3px solid #ffeaf6;
    background-color: #ffeaf6;
    margin: 0.5rem 0; 
    padding: 0.5rem;
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  border-radius: 2px;
}

.eventbox:hover{
    border: 3px solid #CCFF2E;
}

.eventboxtop {
  display: flex;
  flex-direction: column;
}

.eventboxbottom {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin: 0.4rem 0 0 0;
}

.name {
    text-transform: uppercase;
    padding: 0.1rem 0 0.3rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.location {
    font-style: italic;
}

.category {
    font-variant-caps: all-small-caps;
    font-weight: bold;
    font-style: italic;
    align-self: flex-end;
    padding: 0.1rem 0.3rem;
  border-radius: 2px;
}

.Club {
  background-color: #FF80FF;
  color: black;
}

.Celebration {
  background-color: #CCFF2E;
  color: black;
}

.Activity {
  background-color: #FC7E32;
  color: black;
}

.Arts {
  background-color: #B6F7FF;
  color: black;
}

.Life {
  background-color: #FFE42E;
  color: black;
}

.Sexy {
  background-color: #FF2929;
  color: black;
}

section{
    padding: 0 1rem 1rem;
}

.weekday {
}

#monday {
  background-color: #FF6CE3;
}

#tuesday {
  background-color: #FF1515;
}

#wednesday {
  background-color: #FF7A00;
}

#thursday {
  background-color: #FFD429;
}

#friday {
  background-color: #06C054;
}

#saturday {
  background-color: #004CFF;
}

#sunday {
  background-color: #BC2FFF;
}

@media (min-width: 40em) {
	.event-section-list{
    	display: grid;
    	justify-content: space-between;
    	grid-template: auto / repeat(6, 1fr);
    	column-gap: 1rem;
    	row-gap: 1rem;
	}
  
  .header {
    grid-template-columns: repeat(3, 1fr);
    min-height: 12rem;
    grid-column: 1 / span 2;
  }
  
  .title {
    font-size: 4rem;
    grid-column: 1 / span 2;
  }
  
  .subtitle {
    font-size: 2rem;
  }
  
  .circle {
    height: 12rem;
    width: 12rem;
  }
  
  .eventbox {
     margin: 0; 
  }
  
  .eventboxtoprow {
    display: flex;
    justify-content: space-between;
  }
  
  .eventboxtopcol {
    display: flex;
    flex-direction: column;
  }
  
/*  .location {
    text-align: right;
  } */
  
  .name {
    padding: 0.1rem 0 0.25rem;
    grid-column: 1 / span 2;
    grid-row: 1 / span 1;
  }
}

@media (min-width: 55em) {
	.event-section-list{
    	display: grid;
    	justify-content: space-between;
    	grid-template: auto / repeat(9, 1fr);
    	column-gap: 1rem;
    	row-gap: 1rem;
	}

@media (min-width: 86em) {
	.event-section-list{
    	display: grid;
    	justify-content: space-between;
    	grid-template: auto / repeat(12, 1fr);
    	column-gap: 1rem;
    	row-gap: 1rem;
	}
  .name {
    padding: 0.2rem 0 0.2rem;
  }
}