<div class="calendar-container">
<div class="calendar-header">
<span></span>
<span></span>
</div>
<div class="calendar-body">
<h1>Sunday</h1>
<h2>22</h2>
<h3>December 2024</h3>
<h4>winter</h4>
</div>
</div>
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');
.calendar-container {
margin: 0 auto;
max-width: 260px;
font-family: "Oswald", sans-serif;
}
.calendar-header {
display: flex;
flex-direction: row;
justify-content: space-around;
background-color: #cc5446;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-bottom: 4px solid #ffffff;
}
.calendar-header span {
background-color: #edf0f1;
border: 4px solid #ffffff;
width: 20px;
height: 40px;
border-radius: 6px;
position: relative;
top: -20px;
}
.calendar-body {
background-color: #edf0f1;
min-height: 100px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
padding: 20px;
text-align: center;
}
.calendar-body h1 {
font-size: .80em;
margin: 0;
text-transform: uppercase;
}
.calendar-body h2 {
font-size: 4em;
margin: 0;
text-transform: uppercase;
}
.calendar-body h3 {
font-size: 1.2em;
font-weight: normal;
}