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

@media only screen and (max-width: 992px) {
  .calendar {
    margin-left: 0%;
    width: 320px;
  }
}

@media only screen and (max-width: 768px) {
  .calendar {
    margin: auto;
  }
}

.calendar__picture {
  position: relative;
  height: 200px;
  padding: 20px;
  color: #fff;
  background: #262626 url(../../../img/calendario-img.jpg) no-repeat center/cover;
  background-color: #0a2d82;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  text-align: center;
  text-transform: uppercase;
}

.calendar__picture::before {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  background: none;
}

.calendar__picture h2 {
  margin: 0;
  font-size: 1.5rem;
}

.calendar__picture h3 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  margin-top: 5px;
}

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

@media only screen and (max-width: 992px) {
  .calendar__date {
    padding: 20px 10px;
  }
}

.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;
  font-size: 14px;
}

.calendar__number:nth-child(7n) {
  color: #ff685d;
  font-weight: 700;
}

.calendar__number--current {
  background-color: #0a2d82;
  color: #fff !important;
  font-weight: 700;
  cursor: pointer;
  border-radius: 30px;
}
