#map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#notice {
  font-family: sans-serif;
  background-color: white;
}

@media screen and (min-width: 601px) {

  #notice-container {
    top: 20px;
    right: 20px;
    width: 300px;
    position: absolute;
    z-index: 500;
  }

  #notice {
    border-radius: 20px;
    padding: 1rem 2rem;
  }
}

#closebutton {
  border-radius: 20px;
  padding: 8px;
  background-color: gray;
  border: 2 px solid black;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  z-index: 500;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {

  #notice-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 500;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  #notice {
    width: 70vw;
    border-radius: 10px;
    padding: 1rem 2rem;
  }
}
  

#closebutton:hover {
  transform: scale(1.05);
}
