/* MODAL CSS */

.modal {
  
  visibility: hidden !important;
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .4s;
  transition: opacity 0.4s;
  /*bottom: 0;*/
  display: flex;
  width: 600px;
  max-width: 100%;
  /*height: 948px;*/
  /*height: auto; *//* Let the height adjust automatically */
  max-height: 100%;
  align-items: center;
  justify-content: center;
  transition: all .4s;
  box-shadow: 0 3px 4000px 700px rgba(0, 0, 0, 0.6);
  z-index: 5000;
}

.modal.visible {
  display: flex;
  visibility: visible !important;
  opacity: 1 !important;
}

.modal.fading {
  opacity: 0;
}


.modal:target {
  /*visibility: visible;
  opacity: 1;
*/
}

.modal__content {
  position: relative; /* Use relative instead of absolute */
  top: 0;
  left: 0;
  border-radius: 4px;
  /*position: relative;*/
  width: 100%;
  background: #fff;
  /*padding: 1em 1em;*/
  font-family: gilroyFont;
  /*overflow: auto;*/
  box-shadow: 0 3px 4000px 600px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;


  overflow-y: auto; /* Ensure content is scrollable if it exceeds the height */
  max-height: 100%; /* Limit the height to prevent overflow */
  
  /* NEW */
  padding-bottom: 20px;
}

/*.modal__footer {
  text-align: right;

  a {
    color: #585858;
  }

  i {
    color: #d02d2c;
  }
}*/

.modal__close {
  position: absolute;
  top: 10px;
  right: 24px;
  color: #585858;
  font-size: 28px;
  text-decoration: none;
  cursor: pointer;
}



.modal__close:hover {
  text-decoration: none;
}


.modal-artist-name {

  color: #000;
  text-align: center;
  padding-top: 30px;
  text-decoration: none;
  font-family: gilroyFont;
  font-size: 28px;
  line-height: 30px;
  margin: auto;
}




.modalArtistImage {
  height: 100%;
  width: 100%;
  /*object-fit: cover border:none;*/
}


.modalArtistImageContainer {
  height: 220px;
  /*Set any dimensions you like*/
  width: 220px;
  border: none;
  margin: auto;
  width: 50%;
  margin-top: 20px;
}




.modal-monthly-listeners-container {
  border-radius: 4px;
  position: relative;
  height: 90px;
  background: #403F4C;
  padding: 1em 2em;
  margin-top: 20px;

  width: 300px;
  max-width: 70%;
  margin-left: 16px;
  margin-right: 16px;
  align-self: center;
}


.modal-section-title {

  color: #FFF;
  text-align: left;
  text-decoration: none;
  font-family: gilroyFont;
  font-size: 16px;
  line-height: 30px;
  margin-left: -10px;
  margin-top: -6px;
}


.modal-artist-monthly-listeners {

  color: #FFF;
  text-align: left;
  text-decoration: none;
  font-family: gilroyFont;
  font-size: 40px;
  line-height: 30px;
  margin-top: 2px;
  margin-left: -10px;
}



.modal-toronto-listeners-container {
  border-radius: 4px;
  position: relative;
  height: 90px;
  background: #467C96;
  padding: 1em 2em;


  margin-top: 8px;
  width: 300px;
  max-width: 70%;

  margin-left: 16px;
  margin-right: 16px;
  align-self: center;
}


.modal-artist-toronto-listeners {

  color: #FFF;
  text-align: left;
  text-decoration: none;
  font-family: gilroyFont;
  font-size: 40px;
  line-height: 30px;
  margin-top: 2px;
  margin-left: -10px;
}




.modal-toronto-percentage-container {
  border-radius: 4px;
  position: relative;
  max-width: 300px;
  min-height: 90px;
  background: #965C47;
  padding: 1em 2em;

  width: 300px;
  max-width: 70%;
  margin-left: 16px;
  margin-right: 16px;
  align-self: center;

  margin-top: 8px;
  
}


.modal-artist-toronto-percentage {

  color: #FFF;
  text-align: left;
  text-decoration: none;
  font-family: gilroyFont;
  font-size: 40px;
  line-height: 30px;
  margin-top: 2px;
  margin-left: -10px;
}



.modal-spotify-container {
  border-radius: 4px;
  position: relative;
  width: 300px;
  height: 50px;
  background: #11A149;
  padding: 1em 2em;
  
  margin: auto;
  max-width: 70%;

  margin-top: 12px;

  cursor: pointer;
}

.modal-spotify-container:hover {
  background: #0b7634; /* Choose any color you prefer for the hover effect */
}

.modal-spotify-button-text {

  color: #FFF;
  text-align: center;
  text-decoration: none;
  font-family: gilroyFont;
  font-size: 16px;
  line-height: 30px;
  margin-top: -5px;

}




.modal-content-container {
  position: relative;
  width: 320px;
  max-width: 90%;
  padding: 1em 2em;
  margin: auto;
  margin-top: 20px;
}


.modal-buy-report-title {


  color: #000;
  text-align: left;
  text-decoration: none;
  font-family: gilroyFont;
  font-size: 16px;
  line-height: 30px;
  margin-left: -10px;
  margin-top: 0px;

}

.modal-spotify-container:hover {
  background: #0c8039; /* Choose any color you prefer for the hover effect */
}

.modal-buy-report-body {


  color: #000;
  text-align: left;
  text-decoration: none;
  font-family: 'gilroy-Regular';
  font-size: 16px;
  line-height: 20px;
  margin-left: -10px;
  margin-top: 0px;
  margin-bottom: 24px;
  width: 280px;

}



.modal-buyreport-container {
  border-radius: 4px;
  position: relative;
  width: 300px;
  height: 50px;
  background: #1798E9;
  padding: 1em 2em;

  margin: auto;

  margin-top: -10px;
  margin-bottom: 48px;
  cursor: pointer;
  max-width: 70%;
}

.modal-buyreport-container:hover {
  background: #007ACD;
}



.modal-buyreport-button-text {

  color: #FFF;
  text-align: center;
  text-decoration: none;
  font-family: gilroyFont;
  font-size: 16px;
  line-height: 30px;
  margin-top: -6px;

}




/*
@media screen and (max-width: 600px) {
  .header-right {
    float: none;
  }

  .modal-monthly-listeners-container, .modal-toronto-listeners-container, .modal-toronto-percentage-container {
    width: auto !important;
    height: auto;
  }

  .modal-spotify-container {
    width: auto !important;
  }

  .modal-buyreport-container {
    width: auto !important;
  }

  .modal__close {
    right: 32px;
  }
}
*/

.modalArtistImageContainer {
  width: 220px !important;
}


@media screen and (max-width: 500px) {

}


.modal{
  overflow: auto;
}



/* CSS FOR GOOGLE ADS */


.modal-ad-container {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 0px 0;
  background-color: #fff; /* Optional: Adjust background color if needed */
  margin-top: 30px; /* Adds space between the button and the ad */
}
