:root {
	--month-background-color: cornflowerblue;
	--month-color: white;
}

.calendar, .month, .event {
	position: relative;
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.month {
	margin-bottom: 15px;
}

.month-name-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	margin-bottom: 15px;
}

.month-name-wrapper::after {
	content: '';
	width: 100%;
	height: 1px;
	background-color: cornflowerblue;
	position: absolute;
	top: 100%;
}

.month__name {
	position: relative;
	padding: 5px;
	background-color: var(--month-background-color);
	color: var(--month-color);
	font-weight: 600;
	text-transform: capitalize;
}

.day, .day__number, .day__name {
	position: relative;
	display: flex;
	justify-content: center;
}

.day {
	margin-bottom: 15px;
	display: flex;
	justify-content: space-between;
}

.day-name-wrapper {
	position: relative;
	display: inline-flex;
	flex-direction: row;
	align-content: flex-start;
	width: calc(30% - 5px);
	flex-shrink: 1;
	flex-wrap: wrap;
}

.day__number, .day__name, .day__notification {
	display: flex;
	width: 100%;
	flex-shrink: 1;
	justify-content: center;
}

.day__number {
	font-size: 2em;
	font-weight: 600;
	color: black;
}

.day__name {
	text-transform: capitalize;
}

.day__notification {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 1.25em;
	color: white;
}

.day--is-today .day__name,
.day--is-today .day__number,
.day--is-today .day__notification {
	background-color: cornflowerblue;
}

.day--is-today .day__number {
	color: white;
}

.day--is-tomorrow .day__name,
.day--is-tomorrow .day__number,
.day--is-tomorrow .day__notification {
	background-color: burlywood;
}

.day__events {
	position: relative;
	display: inline-block;
	width: calc(70% - 5px);
}

.event {
	border-radius: 5px;
	padding: 10px 20px;
	margin-bottom: 10px;
	box-shadow: 1px 1px 4px darkgray;
	display: block;
	transition: all .25s linear;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

.event__title {
	display: block;
	font-weight: 500;
	font-size: 1.25em;
}

.event__start, .event__end, .event__location, .event__description {
	display: inline-block;
}

.event__description {
	height: 0;
	overflow: hidden;
}
