*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  overflow-x: hidden;
}

/* ================================================================== HEADER STYLING ================================================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: black;
}

header h1 {
  font-size: 28px;
  color: white;
  text-shadow: 2px 2px 4px #858080;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Navigation styles */
nav ul {
  list-style: none;
  display: flex;
}

header nav ul li {
  margin-right: 10px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
}

header nav ul li a:hover {
  color: cyan;
}

/* ================================================================== WELCOME STYLING ================================================================== */
.welcome {
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.welcome p {
  font-size: 18px;
  color: #555;
}

/* ================================================================== MAP STYLING ================================================================== */
#map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 103vh;
  width: 100vw;
}

#map {
  height: 95%;
  width: 95%;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.info {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.info h4 {
  margin: 0 0 5px;
  color: #777;
}

.borough-label {
  font-size: 16px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #fff;
}

.zipcode-label {
  font-size: 16px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #fff;
}


/* ================================================================== FOOTER STYLES ================================================================== */
footer {
  background-color: black;
  color: #555;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  color: white;
  cursor: pointer;
}

/* ================================================================== ABOUT POPUP STYLES ================================================================== */
#about-popup {
  display: none;
  position: fixed;
  background-color: white;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: 900px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
}

@media (max-width: 768px) {
  #about-popup {
    width: 450px;
  }
}

#about-popup .close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #555;
}

#about-popup .close-btn:hover {
  color: black;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

#about-popup > p {
  color: black;
  font-size: 18px;
  padding: 10px 10px 0px 10px;
}

.credits {
  font-size: 12px;
  padding: 10px 10px 0px 10px;
}

.linkedin-link {
  color: rgb(0, 128, 128);
  text-decoration: none;
}

.linkedin-link:hover {
  text-decoration: underline;
}
