/* ul {list-style-type: none;}
body {font-family: Verdana, sans-serif;} */

html{
  font-size: 55.5%;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.page{
  width: 100%;
  height: 100vh;
  background-color: darkred;
  color: gold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.calendar{
  width: 50rem;
  height: 60rem;
  background-color: blue;
  box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4);
}

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

.next_month,
.prev_month{
  font-size: 2.5rem;
  cursor: pointer;
}
.month h1{
  font-size: 3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}

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

.day_names{
  width: 100%;
  height: 5rem;
  padding: 0 0.4rem;
  display: flex;
  align-items: center;
}
.day_names div{
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .1rem;
  width: calc(44.2rem/7);
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
}

.num_days{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 0.2rem;
}


.num_days div{
  font-size: 1.4rem;
  margin: 0.3rem;
  width: calc(40.2rem/7);
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s;
}


 .num_days div:hover:not(.today){
 background-color: blue;
 border: .2rem solid #777;
 cursor: pointer;
} 


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


.result{
  white-space: initial;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 20rem;
  height: 40rem;
  margin-right:0%;
  margin-left:10%;
  color: black;
  background-color: cyan;
  text-align:center; 
  padding: 0 2rem;
  box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  justify-content: space-between;
  top: -15px;
}
/* .today{
  background-color: navy;
} */



/*Previous button inside month header
.month .prev {
  float: left;
  padding-top: 10px;
}

/* Next button */
/* .month .next {
  float: right;
  padding-top: 10px;
} */

/* Weekdays (Mon-Sun) */
/* .weekdays {
  margin: 0;
  padding: 10px 0;
  background-color:#ddd;
}

.weekdays li {
  display: inline-block;
  width: 13.6%;
  color: #666;
  text-align: center; */


/* Days (1-31) */
/* .days {
  padding: 10px 0;
  background: #eee;
  margin: 0;
} */

/* days li {
  list-style-type: none;
  display: inline-block;
  width: 13.6%;
  text-align: center;
  margin-bottom: 5px;
  font-size:12px;
  color: #777;
}. */

/* Highlight the "current" day */
/* .days li .active {
  padding: 5px;
  background: #1f2bd3;
  color: white !important
} */