* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Fustat", sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

p {
  font-size: 14px;
  font-weight: 300;
}

#footnote {
  font-weight: lighter;
  font-size: 10px;
}

#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
}

.info {
  z-index: 1000;
  position: absolute;
  box-sizing: content-box;
  right: 10px;
  top: 10px;
  padding: 6px 6px;
  font-size: 16px;
  text-align: center;
  color: whitesmoke;
  background: #272727;
  background-color: #272727;
  opacity: 0.95;
  box-shadow: 0 0 10px black;
  width: 350px;
  height: inherit;
  border-radius: 3%;
}

#gradient-text {
  color: transparent;
  font-weight: 500;
  background-image: linear-gradient(to right,#e41a1c,#ff7f00,#377eb8,#4daf4a);
  background-size: 100%;
  background-clip: text;
  color: transparent;
}

#legend {
  z-index: 1000;
  max-width: 600px;
  max-height: fit-content;
  padding: 10px;
  box-sizing: border-box;
  font-size: 16px;
  color: whitesmoke;
  position: fixed;
  top: 0px;
  left: 38px;
  text-align: left;
}

.content {
  overflow-y: auto;
  max-height: fit-content;
  display: block;
  padding: 20px;
  background-color: #272727;
  opacity: 0.97;
  text-align: left;
}

.content img {
  width: 70%;
  height: fit-content;
  display: block;
  margin: 0 auto; /* center in the content div */
}

.collapsible {
  background-color: #272727;
  color: whitesmoke;
  cursor: pointer;
  width: 40px;   /* Adjust as needed to make it a square */
  height: 40px;  /* Adjust as needed to make it a square */
  font-size: 20px;  /* Adjust as needed for the icon size */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 300px;
  padding: 0;
  border-radius: 3%;
  position: fixed;
  top: 128px;
  left: 6px;
}

.resetView {
  z-index: 500;
  background-color: #272727;
  color: whitesmoke;
  cursor: pointer;
  width: 40px;   /* Adjust as needed to make it a square */
  height: 40px;  /* Adjust as needed to make it a square */
  text-align: center;
  font-size: 20px;  /* Adjust as needed for the icon size */
  padding: 0;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3%;  /* Optional: Add border radius for rounded corners */
  top: 80px;
  left: 6px;
}


.active,
.collapsible:hover {
  background-color: whitesmoke;
  color: #272727;
}

.active,
.resetView:hover {
  background-color: whitesmoke;
  color: #272727;
}
