body {
  height: auto;
}
:root {
  --jumbotron-padding-y: 1rem;
}

.jumbotron {
  padding-top: var(--jumbotron-padding-y);
  padding-bottom: var(--jumbotron-padding-y);
  margin-bottom: 0;
  background-color: #b1d4e0;
}

@media (min-width: 768px) {
  .jumbotron {
    padding-top: calc(var(--jumbotron-padding-y) * 2);
    padding-bottom: calc(var(--jumbotron-padding-y) * 2);
  }
}

.py-5.map-container {
  padding-top: 0px !important;
  padding-bottom: 5px !important;
}

.py-5 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 768px) {
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .py-5.map-container {
    padding-top: 0px !important;
    padding-bottom: 2rem !important;
    
  }
}

#map{
  max-width: 100%;
  background-color: rgb(255, 255, 255);
  max-height: 700px;
  height: 70vw;
}


.loading {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  margin:15px auto;
  position: relative;
  top: 50%;
  color: #2b75a5;
  left: -100px;
  box-sizing: border-box;
  animation: shadowRolling 2s linear infinite;
}

@keyframes shadowRolling {
  0% {
    box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
  }
  12% {
    box-shadow: 100px 0 #2b75a5, 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
  }
  25% {
    box-shadow: 110px 0 #2b75a5, 100px 0 #2b75a5, 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
  }
  36% {
    box-shadow: 120px 0 #2b75a5, 110px 0 #2b75a5, 100px 0 #2b75a5, 0px 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 130px 0 #2b75a5, 120px 0 #2b75a5, 110px 0 #2b75a5, 100px 0 #2b75a5;
  }
  62% {
    box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 #2b75a5, 120px 0 #2b75a5, 110px 0 #2b75a5;
  }
  75% {
    box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 #2b75a5, 120px 0 #2b75a5;
  }
  87% {
    box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 #2b75a5;
  }
  100% {
    box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0);
  }
}
  
    
.map-loaded #map .loading {
  display: none;
}

.jumbotron p:last-child {
  margin-bottom: 0;
}

.jumbotron-heading {
  /*font-weight: 300;*/
  color: #2b75a5;
}

h2.jumbotron-heading {
  margin-top: 10px;
  font-weight: 300;
}

.jumbotron .container {
  max-width: 40rem;
}

footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

footer p {
  margin-bottom: 0.25rem;
}

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

/*
.navbar {
  background-color: #145da0;
}
*/

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus{
  box-shadow: none;
}

.header-icon {
  margin-right: 5px;
}

.counter-box {
  display: block;
  /*background: linear-gradient(#3389c1, #2b75a5);*/
  padding: 10px 0px 5px 0px;
  text-align: center;
  margin: 10px 0px 10px 0px;
  border-radius: 40px;
  border: 2px solid #2b75a5;

}

.counter-box p{
  margin: 5px 0 0;
  padding: 0;
  color: #2b75a5;
  font-size: 12px;
  font-weight: 400;
  
}


.counter{
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #2b75a5; /* #028bc4 */
  line-height: 12px;
}

@media (min-width: 768px) {
  .counter-box p {
    font-size: 18px;
    font-weight: 500;
  }

  .counter {
    font-size: 32px;
    line-height: 24px;
  }

  .counter-box {
    padding: 12px 20px 5px 0px;
    margin: 10px;
  }
}

.counter-box i {
  font-size: 60px;
  margin: 0 0 15px;
  color: #d2d2d2;
}


@keyframes rotateIn {
  0% {
    transform: rotateX(-90deg);
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.rotate-text {

  animation: rotateIn 0.5s ease-in-out;
}


.share-box {
  display: block;
  background: #f6f6f6;
  padding: 10px;
  margin:  10px 0px;
  border-radius: 40px;
}

#states-row {
  transition: opacity 0.6s ease, height 0.6s ease;
  overflow: hidden; /* Ensure content is not shown when height is limited */
  opacity: 0;
  height: 1px;
}
#states-row.visible {
  opacity: 1;
  height: auto; /* Alternatively, you can specify a specific height value */
}

.states-box {
  color: #fff;
  display: block;
  background: #3389c1;
  padding: 10px;
  margin:  10px 0px;
  border-radius: 40px;
}

#copyLinkButton{
  background-color: #028bc4;
  color: #fff;
  border-radius: 30px;
  display: flex;
  height: 30px;
  align-items: center;
}

#statesLinkButton{
  background-color: #fff;
  color: #fff;
  border-radius: 30px;
  display: flex;
  height: 30px;
  align-items: center;
}

#statesLinkButton a{
  color: #028bc4;
}
#statesLinkButton a:hover{
  color: #000;
}

.leaflet-container {
  max-width: 100%;
  background-color: rgba(255, 0, 0, 0);
  max-height: 700px;
  height: 70vw;

}

.leaflet-container a {
  color: #666;
}

.info {
  padding: 3px 8px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 5px rgba(165, 165, 165, 0.2);
  border-radius: 5px;
}

@media (min-width: 768px) {
  .info {
    padding: 6px 8px;
    font-size: 14px;
  }
}

.info h4 {
  margin: 0 0 5px;
  color: #777;
}
.legend {
  text-align: left;
  line-height: 18px;
  color: #555;
}
.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}
#selected-countries {
  margin-top: 20px;
}
#selected-countries button {
  margin-left: 5px;
}
.selected-country {
  margin-bottom: 5px;
}
.selected-country button {
  margin-left: 5px;
}

.accordion-button {
  font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
  background-color: #3389c1;
  color: #fff;
}

.faq .accordion-button:not(.collapsed) {
  background-color: #dfdfdf;
  color: #000000;
}

.accordion-button:focus {
  box-shadow: none;
}

.nav-link {
  color: #3389c1;
  border-radius: 20px;
  padding: 5px;
}

.nav-link:hover {
  color: #ffffff;
  background-color: #028bc4;
  border-radius: 20px;
}

.accordion-button {
  font-weight: bold;
}

.faq .accordion-button {
  font-weight: bold;
}

.continent-counter {
  font-weight: lighter;
  padding: 5px;
}

.worldmap {
  width: 90vw;
  max-width: 600px;
  height: auto;
  margin: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.statesmap {
  width: 90vw;
  max-width: 600px;
  height: auto;
  margin: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.most-visited-worldmap{
  width: 90vw;
  max-width: 800px;
  height: auto;
  margin: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: #7c7c7c;
}

a:hover {
  color: #aaaaaa;
}

.float-right {
  float: right;
}

.table {
  max-width: 1000px;
}

.leaflet-control-zoom,.leaflet-control-custom{
  opacity: 0.5;
}

.image-description{
  margin: 5px auto;
  color: #555;
  text-align: center;
}

.social{
  padding: 40px;
}

.social-links {
  display: flex; /* Use Flexbox for horizontal alignment */
  gap: 10px; /* Adjust the space between icons */
  margin: 0; /* Remove default margin from <p> */
  padding: 0; /* Remove default padding from <p> */
}

h1{
  font-size: 1.4rem;
}

.lead {
  font-size: 1rem;
}

.share-info-text{
  font-size: 0.8rem;
  padding-left:10px;
}

@media (min-width: 768px) {
  .lead {
    font-size: 1.25rem;
  }
  h1{
    font-size: 2.5rem;
  }
  .share-info-text{
    font-size: 1rem;
  }
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  visibility: hidden;
}


.leaflet-container:hover .leaflet-bar a{
  background-color: #f6f6f6;
  visibility: visible;
  border: none;
}

.leaflet-top .leaflet-control{
  margin-right: 3px;
  margin-top: 3px;
}

header {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 3000; /* Ensures it stays on top of other content */
  background-color: white; /* Ensure the header has a background */
}

/* Additional optional styling for better appearance */
.header-icon {
  margin-right: 10px;
}

.navbar-brand span {
  font-size: 1.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
}

/* Make the specific row sticky */
main {
  position: relative; /* Ensure the container is properly positioned */
}


.sticky-row {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 60px; /* Adjust this value to ensure it sits correctly below the header */
  z-index: 2000; /* Ensures it stays on top of other content but below the header */
  background-color: white; /* Ensure the row has a background */
  box-shadow: 0 2px 5px #fff;
}

.btn-social {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background-color: #4b4b4b;
  padding: 3px;
  margin: 2px;
}

.btn-social svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.btn-social:hover {
  background-color: #028bc4; 
}


/* Media query for smaller screens */
@media (max-width: 768px) {
  .btn-social {
    width: 30px ;
    height: 30px ;
    border-radius: 50px;
    padding: 0px;
    margin: 1px; /* Adjust margin for smaller screens */
  }

  .btn-social svg {
    width: 18px;
    height: 18px;
  }

}

.share-social-btn{
  display: flex;
}

.ad-container-leaderboard{
  background-color: red;
}


.ad-container {
  max-width: 550px;
  margin: 0 auto; /* Center the container */
}
.ad-img {
  width: 100px;
  height: 100px;
  object-fit: cover; /* Keeps the image aspect ratio intact */
}
/* Make the entire card clickable */
.ad-card {
  display: block;
  text-decoration: none;
  color: inherit; /* Ensure text color is not affected */
}

.btn-container {
  display: flex;
  align-items: center;
}

.card-img-top{
  width: 100%;
}

.chart-canvas-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: auto;
  padding: 0px;
}
.chart-canvas-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
}
.chart-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
  color: rgb(68, 68, 68);
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.chart-title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}