/* © 2024 Data Culture
Released under the ISC license.
https://studio.datacult.com/  */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.viz {
  width: 100%;
  height: 100%;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* import Inter Font */
:root {
  font-family: Inter, sans-serif;
  font-feature-settings: "liga" 1, "calt" 1;
  /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 1_1
* * * * * * * * * * * * * * * */
/* #viz_1_1 {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
} */

/* * * * * * * * * * * * * * * 
/ Viz 1_2
* * * * * * * * * * * * * * * */
#viz_1_2 .legend_text {
  font-size: 1.75rem;
}

@media screen and (max-width: 568px) {
  #viz_1_2 {
    font-size: 3em;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 1_3
* * * * * * * * * * * * * * * */
#viz_1_3 {
  /* height: auto; */
  /* display: grid; */
  /* grid-template-columns: repeat(2, 1fr); */
  /* Two columns with equal width */
  /* grid-template-rows: repeat(5, 1fr); */
  /* Five rows with equal height */
  /* gap: 16px; */
  /* Consistent gap between grid items */
  font-weight: 700;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 700px;
}

#viz_1_3 .box1 {
  border-top: 1px solid #1c1c1c;
  display: flex;
  align-items: flex-start;
  gap: 19px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-basis: 20%;
  max-width: 50%;
}

#viz_1_3 .color-bar {
  /* display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: #d9d9d9;
  margin-right: 4px; */
}

#viz_1_3 .rank {
  width: 25px;
  flex-shrink: 0;
  color: var(--text-secondary, #717171);
  text-align: center;
  font-family: Inter;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  /* 30.8px */
}

#viz_1_3 figure {
  width: 93.75px;
  height: 93.75px;
  border-radius: 3px;
  background: url(https://t3.ftcdn.net/jpg/04/88/88/76/360_F_488887690_huCE6PEfsvXKfD20YuvIunASI9EuzPJX.jpg),
    lightgray 50% / cover no-repeat;
  filter: blur(7.5px);
}

#viz_1_3 .rank-img {
  height: 85px;
  width: 85px;
  border: #ffffff 4px solid;
}

#viz_1_3 .track-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--8pt-scale-8, 8px);
}

#viz_1_3 .header {
  color: var(--text-primary, #1c1c1c);
  margin-bottom: 8px;
  /* text-align: right; */

  /* Desktop/Body/Redacted/regular */
  font-family: Inter;
  font-size: 1.25em;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  /* 30px */
}

#viz_1_3 .subheader {
  /* display: flex; */
  align-items: center;
  gap: var(--8pt-scale-8, 8px);
  color: var(--text-secondary, #717171);
  /* text-align: right; */

  /* Desktop/Body/Redacted/sm */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  /* 24px */
}

@media screen and (max-width: 1120px) {
  #viz_1_3 {
    flex-wrap: nowrap;
    max-height: none;
  }

  #viz_1_3 .box1 {
    max-width: none;
  }

  #viz_1_3 .header {
    font-size: 2.4em;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 1_5
* * * * * * * * * * * * * * * */

#viz_1_5 {
  width: 100%;
  /* height: 400px; */
  padding: 96px 64px 64px 64px;

  display: flex;

  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

#viz_1_5 .header-container {
  display: flex;
  column-gap: 16px;
}

#viz_1_5 #topArtistsByFollowersBubbles_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

#viz_1_5 #topArtistsByFollowersBubbles_header .title-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

#viz_1_5 .title {
  font-size: 116px;
  font-style: normal;
  font-weight: 500;
  line-height: 90%;
  /* 104.4px */
  letter-spacing: -4.64px;
  flex: 4;
}

#viz_1_5 .toggle-section {
  display: flex;
  width: 489px;

  align-items: flex-start;
  gap: 4.5px;
  border-radius: 75px;
  border: 0.75px solid #c2c2c1;
}

#viz_1_5 .toggle-item {
  display: flex;
  padding: 18px 24px;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border-radius: 75px;
}

#viz_1_5 .toggle-item.active {
  flex: 1 0 0;
  /* border: 0.75px solid #1C1C1C; */
  background: #1c1c1c;
}

#viz_1_5 .toggle-item span {
  color: #c2c2c1;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

#viz_1_5 .active span {
  color: #f5f4f0;
}

#viz_1_5 .note {
  flex: 1;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  /* 25.6px */
  max-width: 400px;
}

/* Chart */
#viz_1_5 #topArtistsByFollowersBubbles_bottom {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  align-self: stretch;

  overflow: visible;
}

#viz_1_5 .topArtistsByFollowersBubbles_bot-section {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 30px;
  flex: 1 0 0;
}

#viz_1_5 .topArtistsByFollowersBubbles_bot-chart {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

#viz_1_5 svg#gradient-background {
  overflow: hidden;
}

#viz_1_5 .circle-1-5 {
  z-index: 10000;
}

#viz_1_5 #bubble-foreground {
  z-index: 10;
}

#viz_1_5 .topArtistsByFollowersBubbles_bot-icon {
  display: flex;
  padding: 8px 0px;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
  border-top: 3px solid #000;
}

#viz_1_5 .text {
  font-size: 44px;
  font-style: normal;
  font-weight: 900;
  line-height: 110%;
  /* 48.4px */
  letter-spacing: -1.76px;
}

#viz_1_5 .icon {
  display: flex;
}

#viz_1_5_tooltip {
  position: fixed;
  z-index: 100000;
  width: 300px !important;
  padding: 0 15px;
  font-size: 14px;
  color: #222;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border-top: 1px solid #f3f3f3;
  border-left: 1px solid #f3f3f3;
  pointer-events: none;
}

#viz_1_5 .topline,
#viz_1_5 .state,
#viz_1_5 .billHR,
#viz_1_5 .billText {
  color: #222;
  pointer-events: none;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
  box-sizing: border-box;
}

#viz_1_5 .topline {
  /* position: relative; */
  margin: 15px auto;
}

#viz_1_5 .state {
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 17px;
}

#viz_1_5 .billHR {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  font: 14px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.438);
  margin: 8px 0;
}

#viz_1_5 .billHR::before,
#viz_1_5 .billHR::after {
  content: "";
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.35);
  height: 1px;
  font-size: 0;
  line-height: 0;
  margin: 0 8px;
}

#viz_1_5 .billText {
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Helvetica, sans-serif;
  line-height: 1.4em;
  font-size: 15px;
  /* white-space: pre-line; */
}

/* * * * * * * * * * * * * * * 
/ Viz 2_1
* * * * * * * * * * * * * * * */
#viz_2_1 {
  position: relative;
}

#viz_2_1 #top100ArtistCountriesGenderCirclePacking_background {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 877px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #feb425 0deg,
    #6eddf5 108.75000357627869deg,
    #d8b9ff 223.12500715255737deg,
    #6ac3f5 360deg
  );
  filter: blur(167.7881317138672px);
}

#viz_2_1 #top100ArtistCountriesGenderCirclePacking_chartContainer {
  position: relative;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
}

#viz_2_1 #top100ArtistCountriesGenderCirclePacking_chart {
  width: 100%;
  height: 100%;
}

#viz_2_1 #top100ArtistCountriesGenderCirclePacking_chart circle {
  mix-blend-mode: soft-light;
}

#viz_2_1 #gender-section {
  width: 100%;
  margin: 0 auto;
  padding-top: 150vh;
}

#viz_2_1 #gender-section .section1 {
  margin: 0 auto;
  padding-bottom: 100vh;
}

/* * * * * * * * * * * * * * * 
/ Viz 2_2
* * * * * * * * * * * * * * * */

#viz_2_2 {
  width: 100%;
  /* height: 100%; */
  display: flex;
  justify-content: center;
  align-items: center;
}

#viz_2_2 #gentreTreemap_chart {
  width: 100%;
  height: 100%;
  /* background-image: url("../assets/genreTreemap.png"); */
  background-size: cover;
  /* or contain, depending on your needs */
  background-repeat: no-repeat;
  background-position: center;

  border-radius: 10px;

  /* overflow: hidden; */
  /* padding: 10%; */

  position: relative;
}

#viz_2_2 .front-2-2-rect {
  /* fill: var(--surface-dark, #1C1C1C); */
  mix-blend-mode: plus-lighter;
  background-size: cover;
  background-position: center;
}

#viz_2_2 .label-bg {
  position: absolute;
  background: rgb(255, 255, 255);
  /* Semi-transparent black background */
  color: black;
  /* White text */
  padding: 4px 4px;
  margin: 5px 10px;
  /* Adjust as necessary */
  border-radius: 5px;
  /* Rounded corners */
  font-weight: bold;
  /* Bold text */
  font-size: 1em;
  /* Adjust as necessary */
  display: inline;
  max-width: 85%;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  overflow: hidden;
}

@media (max-width: 500px) {
  #viz_2_2 .label-bg {
    font-size: 2em;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 2_3
* * * * * * * * * * * * * * * */
#viz_2_3 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter";
  font-weight: 600;
}

#viz_2_3 #platforms-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 32px;
}

#viz_2_3 .country-row {
  display: flex;
  padding: 12px 24px 12px 20px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  text-wrap: nowrap;
  overflow: hidden;
  margin-bottom: 2px;
}

#viz_2_3 .column {
  display: flex;
  flex-direction: column-reverse;
  min-width: 32%;
  gap: 4px;
}

#viz_2_3 .country-row {
  display: flex;
  padding: 12px 24px 12px 20px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  /* Light grey background */
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#viz_2_3 .country-name {
  text-overflow: ellipsis;
}

#viz_2_3 .country-value {
  color: #2c3e50;
}

#viz_2_3 .highlighted {
  background-color: black !important;
  transition: background-color 0.5s ease;
}

#viz_2_3 .highlighted .country-value {
  color: white !important;
}

#viz_2_3 .highlighted .country-name {
  color: white !important;
}

#viz_2_3 .header-container {
  display: flex;
  gap: 16px;
  padding: 8px 0px;
  border-bottom: 1px solid #c2c2c1;
  /* copied */
  color: #333;
  line-height: 20px;
  font-size: 0.9259259259259258vw;
  align-items: center;
}

#viz_2_3 .text {
  color: #1c1c1c;
  letter-spacing: -0.5px;
  font-family: Inter, sans-serif;
  font-size: 1.625rem;
  line-height: 0.85;
  font-weight: 700;
  margin-bottom: 0;
  margin-left: 0;
}

#viz_2_3 .icon {
  /* width:100%; */
  height: 100%;
  display: flex;

  align-items: center;

  vertical-align: middle;
}

#viz_2_3 .icon img {
  width: 30px;
  box-sizing: border-box;
  border: 0;
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

@media (min-width: 760px) {
  #viz_2_3 #platforms-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 32px;
  }

  #viz_2_3 .column {
    flex-direction: column;
  }

  #viz_2_3 .header-container {
    border-bottom: none;
    border-top: 1px solid #c2c2c1;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 2_5
* * * * * * * * * * * * * * * */
#viz_2_5 text {
  font-size: 1rem;
}
@media (min-width: 1900px) {
  #viz_2_5 {
    font-size: 1.2rem;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 2_6
* * * * * * * * * * * * * * * */

#viz_2_6 .vis-svg-container {
  width: 100%;
}

#viz_2_6 {
  display: flex;
  height: auto;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  /* Sets space between flex items */
}

#viz_2_6_tooltip {
  padding: 8px;
  border-radius: 8px;
  font-size: 1rem;
}

#viz_2_6 .release_date {
  text-transform: uppercase;
  font-weight: 700;
}

#viz_2_6 #calendarHeatmap {
  flex: 1;
  display: flex;

  justify-content: center;
  /* Sets space between flex items */
}

#viz_2_6 #calendarHeatmap svg {
  width: 100%;
  height: auto;
}

/* Calendar heatmap styling */

#viz_2_6 .calendar-day-label,
.calendar-month-label {
  color: #646464;

  /* Desktop/Label/XS/regular */
  font-family: Inter;
  font-size: min(1.2vw, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#viz_2_6 .calendar-month-label {
  transform: translateX(-10%);
}

/* Photos */
#viz_2_6 #rotatingPhotos {
  flex: 1;
  margin-top: 3%;
  position: relative;
}

#photo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

#rotatingPhotos {
  flex: 1;
  margin-top: 3%;
  position: relative;
}

.photo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
}

.image-container {
  border: 10px solid white;
  /*  Adjust the thickness of the stroke as needed */
  margin-right: 20px;
  /* Adjust the space between the image and text */
  border-radius: 4px;
  background-color: white;
  box-shadow: 0px 1.65px 11.55px 0px rgba(0, 0, 0, 0.08);
}

.image-container img {
  display: block;
  /* This removes any extra space beneath the image */
  min-width: 100px;
  /* Adjust based on your actual image size */
  height: auto;
  border-radius: 4px;
}

.text-container {
  flex: 1;
  font-size: 0.8rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
  max-width: 40%;
  overflow: hidden;
  white-space: normal;
}

.text-container hr {
  border: none;
  height: 2px;
  /* Adjust the thickness of the line */
  background-color: black;
  /* Adjust color as needed */
  margin: 4px 0;
  /* Adjust spacing around the line */
}

.text-container .artist-name {
  font-weight: normal;
  font-size: 0.75rem;
}

.text-container .date {
  text-transform: uppercase;
}

#viz_2_6_summary .bar-chart svg {
  max-width: 100%;
}

#viz_2_6_summary .bar-chart text {
  font-size: 1rem;
}

@media (max-width: 568px) {
  #viz_2_6_summary {
    font-size: 2.3em;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 2_8
* * * * * * * * * * * * * * * */

#viz_2_8 {
  font-family: Inter, sans-serif;
  font-feature-settings: "liga" 1, "calt" 1;
  display: flex;
  align-items: start;
  width: 90vw;
}

#viz_2_8 .vis-svg-container {
  flex-basis: 60%;
}

#viz_2_8 text {
  font-size: 18px;
}
#viz_2_8 text.position_labels_left {
  font-size: 20px;
}

#viz_2_8 text.position_labels {
  font-size: 20px;
}
#viz_2_8 text.year_labels {
  font-size: 32px;
  font-weight: bold;
}
#viz_2_8 path {
  transition: opacity 0.3s;
}

#viz_2_8 .labels {
  font-size: 20px;
}

#viz_2_8 #artist_info_container {
  display: flex;
  padding: 16px;
  background: white;
  column-gap: 24px;
  align-items: stretch;
  border-radius: 8px;
  box-shadow: 1px 1px 10px 8px rgb(0 0 0 / 6%);
  flex-basis: 40%;
  margin-top: 2.5%;
}

#viz_2_8 .img_container {
  object-fit: cover;
  position: relative;
  height: 10vw;
  width: 10vw;
  overflow: hidden;
}

#viz_2_8 .artist_image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

#viz_2_8 .text-container {
  font-family: Inter, sans-serif;
}

#viz_2_8 .country,
#viz_2_8 .flag {
  font-size: 1rem;
}

@media screen and (max-width: 760px) {
  #viz_2_8 {
    flex-direction: column;
  }

  #viz_2_8 .vis-svg-container {
    width: 100%;
  }

  #viz_2_8 #artist_info_container {
    width: 100%;
  }

  #viz_2_8 .img_container {
    height: 35vw;
    width: 35vw;
  }

  #viz_2_8 .labels,
  #viz_2_8 .country,
  #viz_2_8 .flag {
    font-size: 2em;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 2_9
* * * * * * * * * * * * * * * */

#viz_2_9 .vis-svg-container {
  width: 100%;
}

#viz_2_9 .label {
  font-size: 1.5rem;
}

.genre_text,
.stage_text {
  font-size: 1.2rem;
  text-transform: capitalize;
}

@media (max-width: 580px) {
  #viz_2_9 .label {
    font-size: 2.2rem;
  }
}
@media (min-width: 1980px) {
  #viz_2_9 .label {
    font-size: 1.5rem;
  }
  #viz_2_9 .genre_text,
  #viz_2_9 .stage_text {
    font-size: 1.2rem;
  }
}

#viz_2_9 {
  width: 100%;
  /* height: 800px; */

  /* Adjust the gradient to match the image */

  background-size: cover;
  /* or contain, depending on your needs */
  background-repeat: no-repeat;
  background-position: center;
  padding: 0px 0px 30px 0px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

#viz_2_9 #topArtistsBankingBars_UI {
  flex: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;

  /* Adjust as needed */
}

/* 
Bar
*/
#viz_2_9 #topArtistsBankingBars_barChart {
  flex: 3;
  overflow: hidden;
  height: 100%;
  display: flex;

  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;

  gap: 14.718px;
}

#viz_2_9 .gradient-bar {
  /* flex-shrink: 0; */
  display: flex;

  align-items: center;
  padding: 16px;
  background-image: linear-gradient(
    to right,
    #f5f5f5 0%,
    #f5f5f5 40%,
    transparent 100%
  );
  border-radius: 48px;

  /* width: 900px; Adjust as needed */
  margin: 0 auto;
  transition: order 500ms ease-in-out;
  position: relative;
}

#viz_2_9 .artist-image {
  /* Adjust as needed */
  border-radius: 50%;
  /* This will make it a circle */
  margin-right: 15px;
}

/* Tooltip */

#viz_2_9_tooltip {
  max-width: 300px;
  min-width: 200px;
  height: 50%;
  position: absolute;
  right: 0;
  display: inline-flex;
  /* transform: rotate(-90deg); */
  padding-left: 16px;
  /** To be editted: this helps include the buttons=40px + margin-left for buttons */
  padding-right: 8px;
  justify-content: flex-start;
  align-items: center;
  border-radius: 78.488px;
  background: var(--colors-white, #fff);
  box-shadow: 0px 0px 15.698px 0px rgba(0, 0, 0, 0.08);
}

#viz_2_9 .flag {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("../assets/us-flag.png");
  background-size: cover;
  /* or contain, depending on your needs */
  background-repeat: no-repeat;
  background-position: center;

  background-blend-mode: hue, difference, normal;
  border: none;
}

#viz_2_9 .career-stack {
  padding: 2px 8px;
  /* Adjusts the size of the button */
  /* Sets the font size */
  font-size: 1.2rem;
  /* Dark grey text color */
  text-align: center;
  /* Centers the text */
  display: inline-block;
  /* Allows it to be next to other inline or inline-block elements */
  cursor: pointer;
  /* Changes cursor to pointer to indicate it's clickable */
  text-transform: capitalize;
}

#viz_2_9 .genre-stack {
  padding: 2px 8px;
  /* Adjusts the size of the button */
  display: inline-flex;
  position: relative;
  border-radius: 8px;
  /* Rounded corners */
  text-transform: capitalize;
  /* Sets the font size */
  font-size: 1.2rem;
  /** To be editted: this helps include the buttons */
  margin-left: 10px;
  /* Ensure there is enough space for the cards to pop */
}

#viz_2_9 .card {
  position: absolute;
  padding: 0px 8px;
  /* width: 50px; */
  /* Adjusted to better reflect the image proportions */
  height: 100%;
  /* Adjusted to better reflect the image proportions */
  border: 1px solid #000;
  background-color: #f4f4f4;
  color: #585858;
  text-align: center;
  text-transform: capitalize;
  /* Adjust padding to vertically center the text */
  transition: transform 0.3s ease, z-index 0.3s ease;
  border-radius: 4px;
  /* Slight rounding of corners as seen in the image */
  font-family: Inter;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Stacking cards with the left-most card on top */
#viz_2_9 .card:nth-child(1) {
  z-index: 3;
  position: relative;
}

#viz_2_9 .card:nth-child(2) {
  left: 15%;
  z-index: 2;
}

#viz_2_9 .card:nth-child(3) {
  left: 30%;
  z-index: 1;
}

/* Hover effect to pop the card */
#viz_2_9 .card:hover {
  transform: scale(1.05);
  /* width: 80px; */
  /* Slight scale-up to make the card pop */
  z-index: 4;
  /* This ensures the hovered card is above others */
}

/* Return to the initial layout when not hovered */
#viz_2_9 .genre-stack .card:not(:hover) {
  transform: scale(1);
  transition: transform 0.3s ease, z-index 0s;
}

@media (min-width: 760px) {
  #viz_2_9 .gradient-bar {
    background-image: linear-gradient(
      to right,
      #f5f5f5 0%,
      #f5f5f5 10%,
      transparent 100%
    );
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 2_21 (duplicate of viz_2_9 - top list)
* * * * * * * * * * * * * * * */

#viz_2_21 .vis-svg-container {
  width: 100%;
}

#viz_2_21 .label {
  font-size: 1.2rem;
}

#viz_2_21 .genre_text,
#viz_2_21 .stage_text {
  font-size: 1.2rem;
}

@media (max-width: 580px) {
  #viz_2_21 .label {
    font-size: 2.2rem;
  }
}
@media (min-width: 1980px) {
  #viz_2_21 .label {
    font-size: 0.8rem;
  }
  #viz_2_21 .genre_text,
  #viz_2_21 .stage_text {
    font-size: 0.8rem;
  }
}

#viz_2_21 {
  width: 100%;
  /* height: 800px; */

  /* Adjust the gradient to match the image */

  background-size: cover;
  /* or contain, depending on your needs */
  background-repeat: no-repeat;
  background-position: center;
  padding: 0px 0px 30px 0px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

#viz_2_21 #topArtistsBankingBars_UI {
  flex: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;

  /* Adjust as needed */
}

/* 
Bar
*/
#viz_2_21 #topArtistsBankingBars_barChart {
  flex: 3;
  overflow: hidden;
  height: 100%;
  display: flex;

  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;

  gap: 14.718px;
}

#viz_2_21 .gradient-bar {
  /* flex-shrink: 0; */
  display: flex;

  align-items: center;
  padding: 16px;
  background-image: linear-gradient(
    to right,
    #f5f5f5 0%,
    #f5f5f5 40%,
    transparent 100%
  );
  border-radius: 48px;

  /* width: 900px; Adjust as needed */
  margin: 0 auto;
  transition: order 500ms ease-in-out;
  position: relative;
}

#viz_2_21 .artist-image {
  /* Adjust as needed */
  border-radius: 50%;
  /* This will make it a circle */
  margin-right: 10px;
}

#viz_2_21 .artist-name {
  font-family: "Inter";
  font-weight: 700;
  font-size: 0.5rem;
  /* Adjust as needed */
  color: black;
  /* Adjust as needed */
}

/* Tooltip */

#viz_2_21_tooltip {
  max-width: 300px;
  min-width: 200px;
  height: 50%;
  position: absolute;
  right: 0;
  display: inline-flex;
  /* transform: rotate(-90deg); */
  padding-left: 16px;
  /** To be editted: this helps include the buttons=40px + margin-left for buttons */
  padding-right: 8px;
  justify-content: flex-start;
  align-items: center;
  border-radius: 78.488px;
  background: var(--colors-white, #fff);
  box-shadow: 0px 0px 15.698px 0px rgba(0, 0, 0, 0.08);
}

#viz_2_21 .flag {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("../assets/us-flag.png");
  background-size: cover;
  /* or contain, depending on your needs */
  background-repeat: no-repeat;
  background-position: center;

  background-blend-mode: hue, difference, normal;
  border: none;
}

#viz_2_21 .career-stack {
  padding: 2px 8px;
  /* Adjusts the size of the button */
  background-color: #eeeeee;
  border: 1px solid #9a9a9a;
  border-radius: 8px;
  /* Rounded corners */
  font-size: 14px;
  /* Sets the font size */

  color: #9e9e9e;
  /* Dark grey text color */
  text-align: center;
  /* Centers the text */
  display: inline-block;
  /* Allows it to be next to other inline or inline-block elements */
  cursor: pointer;
  /* Changes cursor to pointer to indicate it's clickable */
  text-transform: capitalize;
}

#viz_2_21 .genre-stack {
  padding: 2px 8px;
  /* Adjusts the size of the button */
  display: inline-flex;
  position: relative;
  border-radius: 8px;
  /* Rounded corners */
  font-size: 14px;
  /* Sets the font size */
  /** To be editted: this helps include the buttons */
  margin-left: 10px;
  /* Ensure there is enough space for the cards to pop */
}

#viz_2_21 .card {
  position: absolute;
  padding: 0px 8px;
  /* width: 50px; */
  /* Adjusted to better reflect the image proportions */
  height: 100%;
  /* Adjusted to better reflect the image proportions */
  border: 1px solid #000;
  background-color: #f4f4f4;
  color: #585858;
  text-align: center;
  text-transform: capitalize;
  /* Adjust padding to vertically center the text */

  transition: transform 0.3s ease, z-index 0.3s ease;
  border-radius: 4px;
  /* Slight rounding of corners as seen in the image */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Stacking cards with the left-most card on top */
#viz_2_21 .card:nth-child(1) {
  z-index: 3;
  position: relative;
}

#viz_2_21 .card:nth-child(2) {
  left: 15%;
  z-index: 2;
}

#viz_2_21 .card:nth-child(3) {
  left: 30%;
  z-index: 1;
}

/* Hover effect to pop the card */
#viz_2_21 .card:hover {
  transform: scale(1.05);
  /* width: 80px; */
  /* Slight scale-up to make the card pop */
  z-index: 4;
  /* This ensures the hovered card is above others */
}

/* Return to the initial layout when not hovered */
#viz_2_21 .genre-stack .card:not(:hover) {
  transform: scale(1);
  transition: transform 0.3s ease, z-index 0s;
}

@media (min-width: 760px) {
  #viz_2_21 .gradient-bar {
    background-image: linear-gradient(
      to right,
      #f5f5f5 0%,
      #f5f5f5 10%,
      transparent 100%
    );
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 2_10
* * * * * * * * * * * * * * * */

#viz_2_10 {
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* ! responsive h please */
  height: 100vh;
  position: relative;
}

#viz_2_10 path:hover {
  transition: all 1s ease;
}

#viz_2_10 #radioTopTracksMap_gradientBar {
  flex: 1;
  position: relative;
  overflow-y: scroll;
}

#viz_2_10 .gradient-bar {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px;
  /* height: 10%; */
  /* background-image: linear-gradient(to right,
  #f5f5f5 0%,
  #f5f5f5 40%,
  transparent 100%); */
  background-image: linear-gradient(
    to right,
    #e4e0d8 0%,
    #ebe8e0 20%,
    transparent 100%
  );
  border-radius: 50px;
}

#viz_2_10 .gradient-bar:hover {
  cursor: pointer;
}

#viz_2_10 .artist-image {
  /* Adjust as needed */
  border-radius: 50%;
  /* This will make it a circle */
  margin: 6.3px;
  width: 50px;
  height: 50px !important;
}

#viz_2_10 .artist-name {
  overflow: hidden;
}

#viz_2_10 .artist-name span {
  white-space: nowrap;
  overflow: hidden;
  min-width: 50%;
  text-overflow: ellipsis;
  font-size: 0.5rem;
  display: block;
  /* Adjust as needed */
  color: black;
  /* Adjust as needed */
}

/* Map */

#viz_2_10 #radioTopTracksMap_worldMap {
  flex: 2;
}

/* Map tooltip */
#viz_2_10 .map-tooltip {
  position: fixed;
  display: none;
  z-index: 10000;
  padding: 5px;
  align-items: center;
  border-radius: 5px;
  background: #fff;
  pointer-events: none;
}

#viz_2_10 .map-tooltip__country {
  display: flex;
  align-items: center;
  text-wrap: nowrap;
}

#viz_2_10 .flag {
  margin-left: 5px;
}

#viz_2_10 .tooltip__artwork {
  margin-right: 5px;
}

#viz_2_10 .tooltip__artwork_img {
  border-radius: 5%;
  width: 20px;
  height: 20px;
}

#viz_2_10 .tooltip__artist {
  border-radius: 50%;
}

#viz_2_10 .map-tooltip__track {
  display: flex;
  /* padding: 0px 3.298px; */
  align-items: center;
  /* gap: 7.558px; */
  text-wrap: nowrap;
  margin: 0px 10px;
}

#viz_2_10 .map-tooltip__artist {
  display: flex;
  /* padding-left: 16px; */
  align-items: center;
  /* border-radius: 78.488px;
  box-shadow: 0px 0px 15.698px 0px rgba(0, 0, 0, 0.08); */
  text-wrap: nowrap;
  font-weight: 800;
}

/* Tooltip */
#viz_2_10_tooltip {
  height: 50%;
  margin-left: 30px;
  position: absolute;
  display: inline-flex;
  padding-left: 16px;
  /** To be editted: this helps include the buttons=40px + margin-left for buttons */
  padding-right: 62px;
  justify-content: flex-start;
  align-items: center;
  border-radius: 78.488px;
  background: var(--colors-white, #fff);
  box-shadow: 0px 0px 15.698px 0px rgba(0, 0, 0, 0.08);
}

#viz_2_10 .name {
  color: var(--800, #000);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Desktop/Label/14 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

#viz_2_10 .card-stack {
  display: flex;
  position: relative;
  height: 50%;
  /** To be editted: this helps include the buttons */

  /* Ensure there is enough space for the cards to pop */
}

#viz_2_10 .card {
  position: absolute;
  padding: 0px 10%;
  min-width: 100%;
  /* Adjusted to better reflect the image proportions */
  height: 100%;
  /* Adjusted to better reflect the image proportions */
  border: 1px solid #000;
  background-color: #fff;
  text-align: center;

  /* Adjust padding to vertically center the text */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, z-index 0.3s ease;
  border-radius: 4px;
  /* Slight rounding of corners as seen in the image */
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Stacking cards with the left-most card on top */
#viz_2_10 .card:nth-child(1) {
  z-index: 3;
  position: relative;
}

#viz_2_10 .card:nth-child(2) {
  left: 10px;
  z-index: 2;
}

#viz_2_10 .card:nth-child(3) {
  left: 20px;
  z-index: 1;
}

/* Hover effect to pop the card */
#viz_2_10 .card:hover {
  transform: scale(1.05);
  /* Slight scale-up to make the card pop */
  z-index: 4;
  /* This ensures the hovered card is above others */
}

/* Return to the initial layout when not hovered */
#viz_2_10 .card-stack .card:not(:hover) {
  transform: scale(1);
  transition: transform 0.3s ease, z-index 0s;
}

#viz_2_10 .noData_Map {
  pointer-events: none;
}

@media (min-width: 760px) {
  #viz_2_10 {
    flex-direction: row;
  }

  #viz_2_10 #radioTopTracksMap_worldMap {
    flex: 2;
    height: 100%;
    position: relative;
  }

  #viz_2_10 #radioTopTracksMap_path:hover {
    cursor: pointer;
    fill: #46706f;
  }

  #viz_2_10 svg {
    width: 100%;
    height: 100%;
  }
}

/* * * * * * * * * * * * * * * 
/ Viz 2_11
* * * * * * * * * * * * * * * */

@media screen and (max-width: 568px) {
  #viz_2_11 {
    font-size: 4em;
  }
}

#viz_2_1_tooltip,
#viz_2_14_tooltip,
#viz_2_15_tooltip {
  padding: 5px;
  border-radius: 5px;
  background-color: #fff;
}

#viz_2_1_tooltip_image,
#viz_2_14_tooltip_image,
#viz_2_15_tooltip_image {
  border-radius: 5px;
  width: 150px;
  height: auto;
}

#viz_2_1_tooltip_image,
#viz_2_14_tooltip_subtitle,
#viz_2_15_tooltip_subtitle {
  font-size: 0.7em;
  color: grey;
  margin-bottom: 5px;
}

#viz_2_1_tooltip_title,
#viz_2_14_tooltip_title,
#viz_2_15_tooltip_title {
  max-width: 150px;
}

/* * * * * * * * * * * * * * * 
/ Viz 2_13
* * * * * * * * * * * * * * * */

/* * * * * * * * * * * * * * * 
/ Viz 2_19 / single values
* * * * * * * * * * * * * * * */

#viz_2_19 {
  position: relative;
  transform: translate(0px, -1px);
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  background-color: #f5f4f0;
}

section.scrollstory-item {
  margin: 0 auto;
  padding-bottom: 100vh;
}

#dailyIngestionFunFactBubbles_ChartContainer {
  width: 100%;
  height: 100%;
}

#svgdailyIngestionFunFactBubbles_textContainer {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
}

text.text-single-values {
  color: var(--text-primary, #1c1c1c);
  text-align: center;

  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  /* 16px */
  backdrop-filter: blur(3px);
}

#dailyIngestionFunFactBubbles_text .icon {
  font-size: 1.2rem;
  position: absolute;
  transform: translateX(15%);
}

#dailyIngestionFunFactBubbles_text .iconBackground {
  height: 1.6rem;
  width: 1.6rem;
  border-radius: 50%;
  position: absolute;
}

.iconBackground-single-values {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 12px; */
  backdrop-filter: blur(3px);
}
