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

body {

  display: flex;
  margin-top: 5px;
  justify-content: center;
  background-image: linear-gradient(to right, rgb(234, 68, 7), rgb(0, 174, 222));
}

#header {
  padding: 10px;
  color: #d36c6c;
  font-family: sans-serif;
  display: flex;
  justify-content: space-between;
}

#header,
#monthDisplay {
  align-self: center;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}

#header{
  background-color: steelblue;
}

#nameCalendar {
  font-size: 20px;
}

#monthDisplay {
  font-size: 45px;
  text-shadow: 1px 1px 1px black;
}

.prev,
.next {
  cursor: pointer;
  font-size: 26px;
  text-shadow: 3px 2px 2px rgb(0, 0, 0);
}

#container {
  width: 775px;
  margin-bottom: 15px;
  background-color: #FFFCFF;
  border: black solid;
  border-radius: 15px;
  box-shadow: 15px 15px 15px black;
}

#weekdays {
  width: 110%;
  display: flex;
  color: #247BA0;
  text-shadow: 0px 0px 1px rgb(0, 0, 0);
}

#weekdays div {
  width: 110px;
  padding: 10px;
}

#calendar {
  width: 110%;
  display: flex;
  flex-wrap: wrap;
}

.day {
  width: 100px;
  padding: 10px;
  height: 100px;
  cursor: pointer;
  box-sizing: border-box;
  background-color: white;
  margin: 5px;
  box-shadow: 0px 0px 3px rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.day:hover {
  background-color: #e8faed;
}

.day+#currentDay {
  background-color: #e8f4fa;
}

.event {
  font-size: 10px;
  padding: 3px;
  background-image: linear-gradient(to right, rgb(234, 68, 7), rgb(0, 174, 222));
  color: white;
  border-radius: 5px;
  max-height: 55px;
  overflow: hidden;
  box-shadow: 2px 3px 3px rgb(0, 0, 0);
}

.padding {
  cursor: default;
  background-color: #FFFCFF;
  box-shadow: none;
}

#newEventTitle,
#deleteEventTitle {
  display: none;
  z-index: 20;
  padding: 25px;
  background-color: steelblue;
  box-shadow: 0px 0px 3px black;
  border-radius: 5px;
  width: 350px;
  top: 100px;
  left: calc(50% - 175px);
  position: absolute;
  font-family: sans-serif;
}

#eventTitleInput {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 25px;
  border-radius: 3px;
  outline: none;
  border: none;
  box-shadow: 0px 0px 3px gray;
}

#eventTitleInput.error {
  border: 2px solid red;
}

#cancelButton,
#deleteButton {
  background-color: #d36c6c;
  font-size: large;
  border-radius: 10px;
  width: 65px;
}

#saveButton,
#closeButton {
  background-color: #92a1d1;
  font-size: large;
  border-radius: 10px;
  width: 60px;
}

#cancelButton:hover,
#deleteButton:hover,
#saveButton:hover,
#closeButton:hover {
  cursor: pointer;
  color: #fff;
}

#deleteEventTitle p {
  background-color: #fff;
  font-size: larger;
}

#eventText {
  font-size: 14px;
}

#modalBackDrop {
  display: none;
  top: 0px;
  left: 0px;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
}