.modal {
  position: fixed;
  top: 20%;
  left: 5%;
  width: 90%;
  background-color: white;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: none; /* 자바스크립트를 통해 보이기로 할 것이므로 disply : none */
}

#backdrop{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;  /* 자바스크립트를 통해 보이기로 할 것이므로 disply : none */
}

@media (min-width: 48rem) {
  .modal {
    left: calc(50% - 20rem); /*  화면중앙에서 -20rem 한 값 */
    width: 40rem;
  }
}
