*, *::before *::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 2rem;
}

body {
  padding: 2rem;
  height: 100vh;
  font-family: "Josefin Sans", sans-serif;
  background: rgb(38, 198, 134);
  background: linear-gradient(180deg, rgb(38, 198, 134) 0%, rgb(221, 255, 123) 98%);
}

body h1 {
  font-weight: 600;
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
}

h3 {
  font-weight: 600;
}

@keyframes transition {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.calendar {
  margin: auto;
  width: 40rem;
  height: 45rem;
  background: #FFF;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  animation-name: transition;
  animation-duration: 4s;
}

.calendar header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  animation-name: transition;
  animation-duration: 1s;
}

.calendar ul li {
  width: 5rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
  animation-name: transition;
  animation-duration: 1s;
}

.prev, .next {
  width: 2rem;
  height: 2rem;
  position: relative;
  top: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
}

.prev::before, .next::before {
  content: "";
  width: 50%;
  height: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 0.25em 0.25em 0 0;
  border-color: #ccc;
}

.next::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.prev::before {
  transform: translate(-50%, -50%) rotate(225deg);
}

.prev:hover::before, .next:hover::before {
  border-color: #000;
}

.days {
  font-weight: 600;
}

.dates li.today {
  color: #fff;
}

.dates li.today::before {
  content: "";
  width: 4rem;
  height: 4rem;
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  background: black;
  border-radius: 50%;
  z-index: -1;
}

.dates li.inactive {
  color: #ccc;
}

/*# sourceMappingURL=style.css.map */
