body {
  background: #ffa593;
  font-family: "Poppins", sans-serif;
}

footer {
  background: #eee;
  color: #5a5a5a;
  padding: 20px;
}

h1 {
  font-size: xxx-large;
  color: #e2fae0;
  text-decoration: underline 2px;
  text-shadow: 4px -2px 2px rgba(0, 0, 0, 0.2);
  margin-left: -18px;
}

h2 {
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}

li {
  font-size: large;
  line-height: 1.8;
}

.date_box {
  margin-bottom: 20px;
}
.date_control {
  text-align: center;
  font-size: x-large;
  background: black;
  color: #e2fae0;
  padding: 8px;
  user-select: none;
  -webkit-user-select: none; /* Safari */
}
#date {
  border-radius: 18px;
}
#reset {
  border-radius: 5px;
}
#back {
  border-radius: 18px 5px 5px 18px;
}
#forward {
  border-radius: 5px 18px 18px 5px;
}

.page {
  color: #94300e;
  margin-left: 20px;
}

.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar {
  position: relative;
  width: 300px;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  overflow: hidden;
}

.calendar__picture {
  position: relative;
  height: 200px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(to right, black 0%, #333 25%, #ffd 121%), url("640px-Pizza_with_pineapple.jpg") center/cover;
  background-blend-mode: hard-light;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}
.calendar__picture::before {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1));
}
.calendar__picture h2 {
  margin: 0;
}
.calendar__picture h3 {
  margin: 0;
  font-weight: 500;
}

.calendar__date {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(7, minmax(25px, 1fr));
  grid-gap: 10px;
  box-sizing: border-box;
  overflow: auto;
}

.calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  font-weight: 600;
  color: #262626;
}
.calendar__day:nth-child(7) {
  color: #ff685d;
}

.calendar__number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  color: #262626;
}
.calendar__number:nth-child(7n) {
  color: #ff685d;
  font-weight: 700;
}
.calendar__number--current, .calendar__number:hover {
   border-radius: 10px;
  background-color: #009688;
  color: #fff !important;
  font-weight: 700;
  cursor: pointer;
}
.calendar__number--other_month {
   color: #c1c1c1 !important;
}
