/* StAuth10244: I Jay Choksi, 000887533 certify that this material is my original work. No other person's work has been used without due acknowledgement. I have not made my work available to anyone else. */

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Base styles for desktop */
#map {
  width: 1200px;
  height: 500px;
  margin: 0 auto;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

p {
  font-size: 1.1rem;
}

.container {
  padding: 0 30px;
}

footer {
  font-size: 1rem;
}

/* Responsive adjustments for devices up to 576px wide */
@media (max-width: 576px) {
  #map {
    width: 100%;
    height: 40vh;
    margin: 0 auto;
  }

  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .container {
    padding: 0 15px;
  }

  /* Stack filter buttons vertically */
  .filter-btn {
    flex: 1 1 100%;
    margin-bottom: 10px;
  }

  .card {
    margin: 10px 0;
  }

  footer {
    text-align: center;
    font-size: 0.9rem;
  }
}

/* Size for iPhone SE */
@media (max-width: 375px) {
  #map {
    height: 35vh;
  }

  h1 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.9rem;
  }

  .container {
    padding: 0 10px;
  }

  .filter-btn {
    margin-bottom: 8px;
  }

  .card {
    margin: 8px 0;
  }

  footer {
    font-size: 0.8rem;
  }
}
