* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

html {
  font-size: 62.5%;
}

.container {
  width: 100%;
  height: 100vh;
  /* background-color: #363639; */
  color: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar {
  width: 45rem;
  height: auto;
  margin: 0em auto;
  /* background-color: #222227; */
  box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4);
}

.month {
  width: 100%;
  height: 12rem;
  background-color: #2295b4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  text-align: center;
  /* text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5); */
}

.month i {
  /* color:red; */
  font-size: 2.5rem;
  cursor: pointer;
  /* background: #000; */
  
}

.month h1 {
  font-size: 3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 1rem;
  color: white;
}

.month p {
  font-size: 1.6rem;
}


.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  /* margin: 10px; */
  /* background: blue; */
}
.weekdays {
  width: 100%;
  height: 5rem;
  /* padding: 0 0.4rem; */
  display: grid;
  grid-template-columns: repeat(7, 14.28%);
  /* background: red; */
  align-items: center;
  color:#2295b4;

}

.weekdays div {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.days {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 14.28%);
  padding: 0 0.5rem;
  padding-bottom: 0.5rem;
  color:#2295b4;
  /* background-color: #2295b4; */
  /* font-weight: 600; */
}

.days div:not(.ndays){
  font-size: 1.4rem;
  margin: 0.2rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #a4deed;
  transition: background-color 0.2s;
}

.edays:hover:not(.today) {
  background-color: #2295b4;
  color: white;
  cursor: pointer;
}

.prev-date,
.next-date {
  opacity: 0.5;
}

.today {
  position: relative;
  background-color: #2295b4;
  color: white;
}

.edays{
  /* color : white; */
  position: relative;
}
.edays .ndays, .today .ndays{
  position: absolute;
  bottom: 2px;
  right: 3px;
  color: #2294b4b7;
  /* opacity: 0.5; */
  font-size: 12px;
  height: fit-content;
  /* margin: 1.5em  1.5em 0 0; */
  width: fit-content;

}

@media (max-width: 700px) {


  .container {
    width: 100%;
    height: 100vh;
  
  }
  .calendar {
    width: 45rem;
    height: auto;
    margin: 0 0.2em;
    
  }


}
@media (max-width: 500px) {

  .calendar {
    width: 85%;
    height: auto;
    margin: 0 0.2em;
    
  }


}



