/* Global Colors   */
:root {
  --background-color: #fff;
  --url-color: #1d4480;
  --gold-color: #ffb700;
  --hover-color: #025e5b;
  --footer-color: #211d1e;
  --heading-color: #cf142b;
  --nav-color: #cacaca;
}

/* General */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Radio Canada', sans-serif;
}


html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
}


iframe {
  max-width: 100%;
}

.center {
  text-align: center;
}



a {
  color: var(--url-color);
  text-decoration: none;
  font-size: 15px;
  position: relative;
}

/* Underline effect */
.underline-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--heading-color);
  /* Underline color */
  transition: width 0.3s ease-in-out;
}

/* Hover state */
.underline-link:hover::after {
  width: 100%;
  /* Expand underline */
}


a:hover {
  color: var(--heading-color);
  text-decoration: none;
}

p {
  font-size: 15px;
  color: var(--footer-color);
}

h1 {
  font-size: xx-large;
  color: var(--heading-color);
}

img {
  max-width: 100%;
  height: auto;
  pointer-events: none;
}

.img-responsive {
  width: 95%;
  height: auto;
}

@media (min-width: 576px) {
  img {
    max-width: 90%;
  }
}

@media (min-width: 768px) {
  img {
    max-width: 70%;
  }
}

@media (min-width: 992px) {
  img {
    max-width: 50%;
  }
}

@media (min-width: 1200px) {
  img {
    max-width: 40%;
  }
}

@media (min-width: 1600px) {
  img {
    max-width: 30%;
  }
}

.flag-img {
  width: 100px;
  height: auto;
}

#canada {
  width: 100%;
  background: url("../assets/img/mountain_dark_ani.svg") no-repeat bottom / contain, url("../assets/img/CanadaPattern.png") repeat center / 20rem;
  padding-bottom: 50px;
  background-attachment: scroll;
  z-index: 1;

}

/* Footer */
.footer {
  padding: 10px;
  width: 100%;
  background-color: var(--hover-color);
  font-size: small;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999;
}

.footer_text {
  font-size: small;
  color: var(--nav-color);
}

#footer .copyright {
  font-size: small;
  text-align: center;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding: 20px 15px;
  }
}

/* SVG Styling */
#svg-container svg {
  width: 100%;
  height: auto;
}

#map {
  width: 100%;
  height: auto;
  opacity: 75%;
}

#tooltip {
  position: absolute;
  background: rgba(150, 150, 150, 0.9);
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0px 4px 6px rgba(85, 0, 0, 0.1);
  pointer-events: none;
  z-index: 1000;
  opacity: 80%;
}

#map path {
  cursor: pointer;
  transition: stroke 0.2s ease-in-out;
}

#map path:hover {
  stroke-width: 0.5px;
  fill: #800000;
}

/*--------------------------------------------------------------
# by: Gamal Nabih |  1LineArt Studio | https://1lineart.com
--------------------------------------------------------------*/