@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");





.main-container {
	background: #ecfffc;
	color: #cc0000;
	width: 500px;
	margin: auto;
float:right;
margin-top:60px;
	border:#cc0000 5px solid;
	border-radius: 10px;
}

.main-container h4 {
	color: #cc0000;
	opacity: 0.8;
	letter-spacing:4px;
line-height:65px;
}

.main-container ul {
	list-style: none;
}

.main-container a {
	text-decoration: none;
color:#cc0000;
}

.calendar-head {
	display: flex;
height:65px;
	justify-content: space-between;
	padding-left: 22px;
	border-bottom: 2px solid #cc0000;
}

.calendar-body {
	padding: 30px;
	text-align: center;
}

.weekdays {
	text-transform: uppercase;
	color: #cc0000;
	font-weight: bold;
	font-size: 0.9rem;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-bottom: 10px;
	border-bottom:#cc0000 2px dashed;
	padding-bottom:18px;
}

.days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.days li {
	padding: 10px 0;
	cursor: pointer;
	position: relative;
}

.days li:hover {
		background: #cc0000;
	color: #ecfffc;
	font-weight: bold;
}

.previous-month {
	opacity: 0.6;
}

.date-with-event {
	padding: 10px;
}



.event-count {
	position: absolute;
	top: 0;
	right: 5px;
	font-size: 0.6rem;
	background: #c74b43;
	color: #fff;
	display: block;
	padding: 2px 5px;
	border-radius: 50px;
}

.active {
	background: #cc0000;
	color: #ecfffc;
	font-weight: bold;
	padding: 10px;
	border-radius: 50%;
}

.calendar-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 30px;
	border-top: 2px solid #cc0000;
}

.add-event-btn {
	color: #cc0000;
	padding: 10px 15px;
	border: 2px solid #cc0000;
	border-radius: 50%;
}

.add-event-btn:hover {
	background: #cc0000;
	color: #ecfffc;
}