body {
  background-color: #1e1f26;
}

h2 {
  color: azure;
  font-size: 48px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center_plot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.text {
  color: black;
  background-color: #F5F5F2;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 50px;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}

.wrapper {
  display: flex;
}

#scatterplot {
  background-color: #F5F5F2;
  margin-left: 300px;
  margin-right: 300px;
  border-radius: 20px;
  border-color: #000000;
}

#barChart {
  background-color: #F5F5F2;
  border-color: #000000;
  border-bottom-left-radius: 20px;
  border-top-left-radius: 20px;
  width: 50%;
}

#lollipopChart {
  background-color: #F5F5F2;
  border-color: #000000;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

#geomap {
  background-color: #F5F5F2;
  border-color: #000000;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

#nodelink {
  background-color: #F5F5F2;
  border-color: #000000;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  margin-left: 200px;
  margin-right: 200px;
}

.left-text {
  max-width: 50%;
  padding-left: 20px;
  color: black;
  background-color: #F5F5F2;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  font-size: 18px;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.button-bar {
  align-items: center;
  appearance: none;
  background-color: #FCFCFD;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395A;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.button-bar:focus {
  box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}

.button-bar:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-bar:active {
  box-shadow: #D6D6E7 0 3px 7px inset;
  transform: translateY(2px);
}

select.primary-attribute {
  font-size: 16px;
  padding: 8px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  color: #333;
  cursor: pointer;
  font-family: "JetBrains Mono",monospace;
}

select.primary-attribute option {
  font-size: 14px;
  background-color: #f8f8f8;
  color: #333;
}

select.primary-attribute:hover {
  border-color: #999;
}

select.primary-attribute:focus {
  outline: none;
  border-color: #555;
}


.tooltip-scatter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "image1 text"
    "image2 text";
  z-index: 9999;
  background-color: rgb(45, 45, 45);
  border: 5px solid #252525;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  width: 390px;
  height: 180px;
  position: absolute;
}

.tooltip-scatter img.image1 {
  border-radius: 10px;
  grid-area: image1;
  width: 150px;
  height: 100px;
  float: left;
}

.tooltip-scatter img.image2 {
  grid-area: image2;
  width: 70px;
  height: 70px;
  float: left;
  margin-top: 10px;
  margin-left: 35px;
  border-radius: 10px;
}

.tooltip-scatter ul {
  grid-area: text;
  margin-top: 20px;
  list-style: none;
  padding: 0;
  color: #bab9b9;
  /* align to center of the grid */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tooltip-scatter ul li {
  margin-bottom: 5px;
  font-size: 22px;
}


.tooltip-bar {
  width: 250px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-color: rgb(45, 45, 45);
  border-radius: 10px;
}

.tooltip-bar img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 5px;
}

.tooltip-bar .bar-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 1px;
}

.tooltip-bar .bar-bottom .image {
  flex: 1 0 30%;
}

.tooltip-bar .bar-bottom .image img {
  max-width: 80%;
  height: auto;
  margin-right: 5px;
}

.tooltip-bar .bar-bottom .bar-text {
  flex: 1 0 70%;
  text-align: center;
  font-size: 20px;
  color: azure;
}

.tooltip-bar .bar-bottom .bar-text ul {
  list-style: disc;
  text-align: left;
  margin: 0 auto;
  padding-left: 20px;
  list-style: none;
}

/* flex option so that each div follows the given width and height */
#menu-lollipop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Change this value as needed */
  align-items: center;
  max-height: 300px;
  /* set a maximum height for the container */
  max-width: 610px;
  overflow-y: scroll;
  /* add a vertical scroll bar */
  background-color: antiquewhite;
  border-radius: 10px;
  border: 2px solid #252525;
  padding: 5px;
  position: absolute;
}

#menu-lollipop option {
  display: flex;
  align-items: flex-end;
  flex-basis: auto;
  height: 70px;
  width: 120px;
  margin: 10px;
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 15px;
  color: azure;
  border: 2px solid #252525;
  border-radius: 10px;
  background-color: rgb(45, 45, 45);
  text-align: center;
  font-weight: bold;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

.tooltip-lollipop {
  background-color: azure;
  border-radius: 10px;
  border: 2px solid #252525;
  padding: 2px 5px;
}

.title-img {
  border-radius: 10px;
}


.geomap-tooltip {
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 350px;
  height: 200px;
  border-radius: 10px;
  background-color: cadetblue;
  border: 2px solid #252525;
  position: absolute;
}

.brLarge {
  display: block;
  margin-bottom: 20px;
}

.geomap-tooltip-title {
  grid-row: 1 / 2;
  grid-column: 1 / 3;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: -20px;
  margin-top: -10px;
}

.geomap-tooltip-image1 {
  justify-self: center;
  margin-left: -40px;
}

.geomap-tooltip-image2 {
  justify-self: center;
  margin-left: -40px;
  margin-bottom: 10px;
}

.geomap-tooltip-image1 img {
  grid-row: 2 / 3;
  grid-column: 1 / 2;
  height: 100px;
  width: 100px;
  border-radius: 10px;
  border: 2px solid #252525;
}

.geomap-tooltip-text {
  grid-row: 2 / 4;
  grid-column: 2 / 3;
  max-height: 180px;
  overflow: hidden;
  justify-self: left;
  margin-left: -50px;
  margin-top: -8px;
}

.geomap-tooltip-image2 img {
  grid-row: 3 / 4;
  grid-column: 1 / 2;
  height: 100px;
  width: 100px;
}

.fi {
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  height: 50px;
  width: 80px;
}