/* body{
    background-color: lightblue;
    scroll-behavior: smooth;
    scroll-padding: 500px;
} */
:root {
  --numDays: 14;
  --numHours: 12;
  --timeHeight: 60px;
  --calBgColor: #F1F1F1;
  --eventBorderColor: #ecd3f2;
  --eventColor: #31A3DD;
}
.arrow-back {
  transform: rotate(180deg);
}
.days::-webkit-scrollbar{
  display: none;
}
.calendar {
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  margin-right: 5rem;
}
.btnClass {
  margin-top: 30px;
  padding-left: 40px;
  text-align: center;
  display: flex;
  gap: 900px;
  margin-left: -54px;
}
.btnClass1 {
  margin-top: 8px;
}

.timeline {
  display: grid;
  grid-template-rows: repeat(var(--numHours), var(--timeHeight));
}
.appointment-date {
  height: 20px;
  width: 20px;
}

.days {
  display: flex;
  gap: 5px;
  flex-direction: row;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  overflow-y: scroll;
  padding-right: 5px;
  width: 930px;
  scroll-behavior:smooth;

}
.events {
  text-align: center;
  display: grid;
  grid-template-rows: repeat(var(--numHours), var(--timeHeight));
  border-radius: 5px;
  background: var(--calBgColor);
}
.start-9 {
  grid-row-start: 2;
}
.start-13 {
  grid-row-start: 7;
}

.end-12 {
  grid-row-end: 6;
}

.end-16 {
  grid-row-end: 12;
}

.title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #EFFFFF;
}

.time {
  color: #DBDBDB;
}

.event {
  border: 1px solid var(--eventBorderColor);
  border-radius: 5px;
  padding: 0.5rem;
  margin: 0 0.5rem;
  background: white;
}

.space,
.date {
  height: 60px
}


body {
  font-family: system-ui, sans-serif;
}

.PM {
  background: var(--eventColor);
}
.AM {
  background: var(--eventColor);
}

.date {
  width: 150px;
  display: flex;
  gap: 1em;
  justify-content: center;
}

.date-num {
  font-size: 1.3rem;
  font-weight: 600;
  display: inline;
  color: #DBDBDB;
}

.date-day {
  display: inline;
  font-size: 1.3rem;
  font-weight: 100;
  color: #DBDBDB;
}

@media only screen and (max-device-width: 420px) {
  .days{width: 350px;
    
  }

  .btnClass1{
    display: none;
  }
}