#interface {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: auto;
}

#schedule {
  position: absolute;
  left: 50%;
  top: 32px;
  transform: translate3d(-50%, 0, 0);
  border: 1px solid #000;
  width: 800px;
}
.info {
  width: 100%;
  /* height: 200px; */
  height: max-content;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #000;
  align-items: center;
  padding: 32px 16px;
}


/* month information */
#info-month {
  width: 20%;
}
.month-container p {
  line-height: 40px;
  vertical-align: middle;
}
.year-date {
  line-height: 54px;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-direction: row;
}
#year {
  font-size: 24px;
}
#month-num {/* month (numerical) 12 */
  font-size: 54px;
  color: crimson;
  margin-bottom: 0;
}
#month {/* month December */
  text-align: center;
  font-size: 32px;
  color: crimson;
  margin-bottom: 0;
}
.prev-next {
  line-height: 54px;
  text-align: center;
  margin-bottom: 0;
}
#prev {
  font-size: 18px;
  padding-right: 10px;
  border-right: 1px solid #000;
  color: darkorange;
}
#next {
  font-size: 18px;
  padding-left: 10px;
  color: #a0da2c;
}

/* Center today's date */
#info-date {
  text-align: right;
  width: 45%;
}
.sat {
  color: dodgerblue;
}
.sun {
  color: crimson;
}
#info-date p {
  margin: 0;
  padding-right: 20px;
  padding-left: 16px;
  line-height: 140px;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}
#date {
  font-size: 98px;
  vertical-align: middle;
}
#day {
  font-size: 30px;
  vertical-align: middle;
  margin-right: 10px;
}




/* top right monthly calendar */
#info-calendar {
    width: 30%;
    font-size: 20px;
}
#info-calendar table {
    width: 100%;
    height: 100%;
    color: gray;
}
  
#info-calendar td {
    text-align: center;
    transition: .3s;
}
#info-calendar thead {
    font-size: .6em;
}
#info-calendar tbody td.selectCalendar:hover {
  cursor: pointer;
  background-color: #CBE4DE;
  border-radius: 50%;
  transition: .3s;
}

#info-calendar td:nth-child(6) {
    color: dodgerblue;
}
  
#info-calendar td:nth-child(7) {
    color: crimson;
}
#info-calendar #target {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    background-color: rgb(236, 236, 236);
}


  
/* memo space */
#grid-area {
  height: 800px;
  width: 100%;
  background-image: url('../img/grid.jpg');
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
  background-position: top;
  background-size: contain;
}

#memo {
  padding: 8px;
  border: none;
  background-color: transparent;
  width: 100%;
  height: 100%;
  color: #3f3f3f;
}
#memo:focus {
  outline: 2px solid #1976d2;
  box-shadow: 0 5px 10px rgba(116, 162, 209, 0.507);
}



/* control pannel */
div#controlPannel {
    max-width: 400px;
    height: max-content;
    position: fixed;
    left: 0;
    bottom: 0;
    user-select: none;
    background-color: #CBE4DE;
    padding: 32px;
    box-shadow: 6px 0 3px -3px #00000034;
}

div#controlPannel .controllers {
    margin-top: 32px;
}
div#controlPannel button {
    margin-bottom: 8px;
    width: 100%;
    border-radius: 0px;
    border-bottom: 2px solid #0E8388;
    color: #0E8388;
}
div#controlPannel button:hover {
    background-color: #0E8388;
    color: #fff;
}

div#controlPannel .flex {
    display: flex;
    flex-direction: row;
    gap: 8px;
}
div#controlPannel .flex button {
    flex: 1;
}



@media print {
  #schedule {
    left: 0;
    top: 0;
    width: 100%;
    transform: translateX(0px);
  }
  #interface::-webkit-scrollbar {
    display: none;
  }
  div#controlPannel {
      display: none;
  }

}