body {
    display: flex;
    margin-top: 100px;
    margin-left: 100px;
    justify-content: center;
    background-color: rgb(74, 119, 137);
  }
  button {
    width: 75px;
    cursor: pointer;
    box-shadow: 0px 0px 2px black;
    border: none;
    outline: none;
    padding: 5px;
    border-radius: 5px;
    color: white;
  }
  
  #header {
    padding: 10px;
    color: rgb(246, 122, 46);
    font-size: 26px;
    font-family: sans-serif;
    display: flex;
    justify-content: space-between;
    font-size: 30px;
  }
  #header button {
    background-color:coral;
  }
  #container {
    width: 770px;
  }
  #weekdays {
    width: 100%;
    display: flex;
    color: yellow;
    font-size: 25px;
  }
  #weekdays div {
    width: 100px;
    padding: 10px;
  }
  #calendar {
    width: 100%;
    margin: auto;
    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 4px black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .day:hover {
    background-color: cyan;
  }
  
  .day + #currentDay {
    background-color:cyan;
  }
  .event {
    font-size: 20px;
    padding: 3px;
    background-color: yellowgreen;
    color: white;
    border-radius: 5px;
    max-height: 55px;
    overflow: hidden;
  }
  .padding {
    cursor: default !important;
    background-color: grey !important;
    box-shadow: none !important;
  }
  #newEventModal, #deleteEventModal {
    display: none;
    z-index: 20;
    padding: 25px;
    background-color: #e8f4fa;
    box-shadow: 0px 0px 3px black;
    border-radius: 20px;
    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 black;
  }
  #eventTitleInput.error {
    border: 2px solid red;
  }
  #cancelButton, #deleteButton {
    background-color: red;
  }
  #saveButton, #closeButton {
    background-color: blue;
  }
  .addButton {
    background-color: rgb(35, 218, 35);
  }
  #eventText {
    font-size: 30px;
    color: blue;
  }
  #eventTimeFrom {
    color: green;
    font-size: 24px;
  }
  #eventTimeTo {
    color: red;
    font-size: 24px;
  }
  #to {
    color: blue;
    font-size: 24px;
  }
  #modalBackDrop {
    display: none;
    top: 0px;
    left: 0px;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    position: absolute;
    background-color: rgba(0,0,0,0.8);
  }
  @media(max-width:765px){
    html{
        overflow-x: hidden;

    }

    body {
        display: flex;
        margin: 15px auto;
        justify-content: center;
        background-color: rgb(226, 236, 240);
      }

    #container {
        width:100vw;
      }

    #weekdays {
       display: none;
      }
      #weekday-responsive{
        width: 100%;
        display: flex;
        color: blueviolet;
        font-size: 18px;
      }
      #weekday-responsive div {
        width: 100px;
        padding: 5px 0px;
      }
    #calendar {
        width: 100%;
        margin: auto;
        display: flex;
        flex-wrap:wrap;
    }
    .day {
        width: 12%;
        
        padding: 3px;
        height: 50px;
        cursor: pointer;
        box-sizing: border-box;
        background-color: white;
        margin: 3px;
        display: flex;
        flex-wrap: wrap;
        flex-direction:column;
        justify-content: space-evenly;
      }
      
        #newEventModal{
            width:300px;
            margin: auto;  
      }
}
