:root {
  --header-height: 50px;

  
  --first-color: #9761fc;
  --first-color-alt: #744cbd;

  --title-color: #F1F3F2;
  --text-color: #C7D1CC;
  --text-color-light: #707070;

  --body-color: linear-gradient(135deg, black, rgb(65, 4, 151));
  --container-color: rgb(65, 4, 151);
  --button-color: #9761fc;
  --body-font: 'Roboto', 'Poppins', sans-serif;

  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  
  --font-medium: 500;
  --font-semi-bold: 600;

  
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  
  --z-tooltip: 10;
  --z-fixed: 100;
}

*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  font-family: var(--body-font);
  font-size: var(--normal-font-size);

  color: var(--text-color);
  line-height: 1.6;

  background: #000;
}

h1,
h2,
h3,
p,
ul{
    margin: 0;
    padding: 0;
    list-style: none;
  }
a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

input[type=text] {
    background-color: var(--body-color);
    color: var(--text-color);
    border: 0;
  }


a:link,
a:visited {
  color: var(--text-color);
}

a:hover {
  color: var(--first-color);
}

a:active {
  color: var(--first-color);
}

.mobile-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-image: url('../img/background-mobile.png');
  background-attachment: fixed;
  background-repeat: no-repeat;
   background-position: center;
  margin: 0 auto;

  padding: 10px;

  color: var(--text-color);

  box-sizing: border-box;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  position: relative;
}

.l-header {
  width: 100%;

  position: relative;
  top: 0;
  left: 0;

  z-index: var(--z-fixed);

  background-color: rgb(16, 4, 34);
}
.l-header2 {
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  /* background-color: rgb(16, 4, 34); */
  /* background-color: (--container-color); */
}
.nav {
  width: 100%;
  height: var(--header-height);

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;
}
.nav2 {

  width: 100%;
  min-height: var(--header-height);
  
  display: flex;
  flex-direction: column;
  align-items: stretch;
  
  position: relative;
  }
.nav__logo {
  color: var(--text-color);
  font-weight: var(--font-medium);

  white-space: nowrap;
}

.nav__logo:hover {
  color: var(--first-color);
}
.nav__logo2 {

  color: var(--text-color);
  font-weight: var(--font-medium);
  
  white-space: nowrap;
  text-align: center;
  
  padding: 10px 0 8px;
  
  text-decoration: none;
  }
 
  .nav__logo2:hover {
  
  color: var(--first-color);
  }
  

.nav__toggle {
  cursor: pointer;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  transition: transform 0.3s ease;
}

.nav__toggle:hover {
  transform: scale(1.1);
}

.menuIcon {
  width: 24px;
  height: 24px;

  background-image: url(menu.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.nav__menu {
  display: none;

  position: absolute;

  top: var(--header-height);
  left: 0;

  width: 100%;

  padding-top: 20px;
  padding-right: 50px;
  padding-bottom: 20px;

  text-align: right;

  background-color: rgb(16, 4, 34);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  border-radius: 0 0 1rem 1rem;

  z-index: var(--z-fixed);

  transform: translateY(-10px);
  opacity: 0;

  transition:
      transform 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
}
.nav__menu2 {

  display: block;
  width: 100%;
  }
  
.nav__menu.show-menu {
  display: block;

  transform: translateY(0);
  opacity: 1;
}

.nav__list {
  list-style: none;

  margin: 0;
  padding: 0;
}
.nav__list2 {

  list-style: none;
  
  margin: 0;
  padding: 5px 0 10px;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  width: 100%;
  }
.nav__item {
  margin-bottom: var(--mb-2);
}
.nav__item2 {

  position: relative;
  
  flex: 1;
  
  display: flex;
  justify-content: center;
  align-items: center;
  
  margin: 0;
  padding: 0 2px;
  }
  
.nav__item:last-child {
  margin-bottom: 0;
}

.nav__link {
  color: var(--text-color);

  font-weight: var(--font-medium);

  display: block;
}
.nav__link2 {

  position: relative;
  
  width: 42px;
  height: 42px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  box-sizing: border-box;
  
  color: var(--text-color);
  
  text-decoration: none;
  
  background:
      linear-gradient(
          145deg,
          rgb(28, 12, 58),
          rgb(10, 5, 25)
      );
  
  border: 1px solid rgba(145, 70, 255, 0.55);
  
  border-radius: 8px;
  
  box-shadow:
      inset 0 0 8px rgba(100, 30, 180, 0.18),
      0 0 5px rgba(100, 30, 180, 0.18);
  
  transition:
      border-color 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.2s ease;
  }
  
.nav__link:hover {
  color: var(--first-color);
}
/* -----------------------------------------
HOVER
----------------------------------------- */

.nav__link2:hover {

  border-color: var(--first-color);
  
  box-shadow:
      inset 0 0 10px rgba(120, 40, 220, 0.25),
      0 0 8px rgba(120, 40, 220, 0.35);
  }
  
  .nav__link2:hover .nav__icon2 {
  
  color: #1518eb;
  box-shadow:
      inset 0 0 10px rgba(120, 40, 220, 0.25),
      0 0 8px rgba(120, 40, 220, 0.35);
  text-shadow:
      0 0 5px var(--first-color),
      0 0 10px var(--first-color);
  }
  
  .nav__link2:hover .nav__icon2 img {
  
   color: #eb1515;
  }
  
  /* -----------------------------------------
ACTIVE BUTTON
----------------------------------------- */

.nav__link2.active-link {

  border-color: var(--first-color);
  
  background:
      linear-gradient(
          145deg,
          rgb(35, 15, 70),
          rgb(12, 5, 30)
      );
  
  box-shadow:
      inset 0 0 12px rgba(120, 40, 220, 0.35),
      0 0 8px rgba(120, 40, 220, 0.45);
  }
/* -----------------------------------------
BOTTOM GLOW
----------------------------------------- */

.nav__link2::after {

  content: "";
  
  position: absolute;
  
  left: 15%;
  bottom: -7px;
  
  width: 70%;
  height: 8px;
  
  background: var(--first-color);
  
  border-radius: 50%;
  
  filter: blur(7px);
  
  opacity: 0;
  
  transition:
      opacity 0.3s ease,
      width 0.3s ease,
      left 0.3s ease;
  }
 /* -----------------------------------------
ACTIVE ICON
----------------------------------------- */

.nav__link2.active-link .nav__icon2 img {

  /* filter:
      brightness(0)
      saturate(100%)
      invert(72%)
      sepia(60%)
      saturate(3000%)
      hue-rotate(250deg)
      brightness(110%)
      contrast(110%);
  
  transform: scale(1.05);
  color: var(--first-color); */
  
  color: var(--first-color);
  
  text-shadow:
      0 0 5px var(--first-color),
      0 0 10px var(--first-color),
      0 0 16px var(--first-color);
  
  }
  
  
  /* -----------------------------------------
  ACTIVE BOTTOM GLOW
  ----------------------------------------- */
  
  .nav__link2.active-link::after {
  
  opacity: 1;
  
  width: 80%;
  left: 10%;
  
  box-shadow:
      0 0 8px var(--first-color),
      0 0 16px var(--first-color);
  }
  
  
  /* -----------------------------------------
  PRESS EFFECT
  ----------------------------------------- */
  
  .nav__link2:active {
  
  transform: scale(0.94);
  }
  
  
  /* -----------------------------------------
  REMOVE OLD HAMBURGER
  ----------------------------------------- */
  
  .nav__toggle2 {
  
  display: none;
  } 
  
.nav__icon2 {

  position: relative;
  z-index: 2;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 80%;
  height: 80%;
  }
  .nav__icon2 img {

    /* width: 24px;
    height: 24px; */
    width: 100%;
    height: 100%;
    
    display: block;
    
    /* Black SVG → muted violet */
    
    
    }
.active-link {
  color: var(--first-color);
}

.l-main {
  width: 100%;
  
}

.home {
  width: 100%;
 
}

.home__subtitle {
  font-size: var(--h1-font-size);

  color: #85eaea;

  margin-bottom: 10px;
}

.content {
  height: 50px;

  position: relative;

  border-bottom: 2px solid;
}

.title {
  cursor: pointer;

  padding: 10px;

  border-bottom: 1px solid;
}

.titleAbout {
  height: 50px;

  background-color: var(--button-color);

  position: relative;

  border-bottom: 2px solid;

  z-index: 21;
}
.sunstats{
  font-family: var(--body-font);
 font-size: var(--normal-font-size);
 color: var(--text-color);
 line-height: 1.6;
 
}
.worldmap{
   padding-top: 30px;
}

.circle-border {
  width: 30px;
  height: 30px;

  border-radius: 50%;

  position: absolute;

  bottom: -16px;

  left: 0;
  right: 0;

  margin: 0 auto;

  border: 2px solid;

  z-index: 0;
}


.circle {
  width: 30px;
  height: 30px;

  background-color: var(--button-color);

  border-radius: 50%;

  position: absolute;

  bottom: -15px;

  left: 0;
  right: 0;

  margin: 0 auto;

  text-align: center;

  font-size: 20px;
  line-height: 30px;

  z-index: 20;
}

.icon-down-circled2 {
  width: 24px;
  height: 24px;

  position: absolute;

  left: 0;
  right: 0;
  bottom: 1px;

  margin: 0 auto;

  background-image: url(downArrow.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.info {
  display: none;

  height: 0;

  overflow: hidden;

  transition: height 0.2s ease-out;
}


.info.active {
  display: block;

  height: auto;

  padding-top: 20px;
}

.info__about {
  color: white;

  background: linear-gradient(135deg, black, rgb(65, 4, 151));

  padding: 20px;

  border-radius: 10px;

  font-family: Arial, sans-serif;

  line-height: 1.6;
}


.info__about h2 {
  font-size: 24px;

  margin-bottom: 10px;
}


.info__about p {
  font-size: 16px;

  margin-bottom: 15px;
}

.about-list {
  list-style-type: none;

  padding-left: 0;
  margin-left: 0;
}


.about-list li {
  margin-bottom: 10px;

  font-size: 16px;
}


.about-list li strong {
  color: #f0f0f0;
}


.about-list li em {
  color: #b0b0b0;
}

.button {
  display: inline-block;

  background-color: var(--button-color);

  color: var(--text-color);

  padding: 5px;

  border: none;

  border-radius: 0;

  box-shadow: none;

  cursor: pointer;

  font-family: inherit;
  font-size: inherit;

  transition: background-color 0.3s;
}


.button:hover {
  background-color: var(--first-color-alt);
}
#analemmaContainer canvas,
#dialViewContainer canvas {
  width: 100%;
  height: auto;
}

#analemmaContainer {
  width: 100%;
  height: 300px;
  position: relative;
  margin: 0 auto;
  overflow: visible;
  margin-top: -50px;
}

#analemma {
  display: block;

  width: 100%;
  height: 100%;
  position: absolute;

  top: 0;
  left: 50%;

  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center center;
}

.analemma-container-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#analemmaContainer,
#dialViewContainer {
  width: 100%;
}

#dialViewContainer {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
}

#dial {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 300px;
  margin: 0 auto;
}

#graph {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 300px;
  margin: 0 auto;
}

.EOT-lightTheme {
  color: var(--text-color);

  text-align: left;
}


#time {
  margin: 0;
}


#graph {
  background-size: 100% 100%;
}
.glass {
  width: 100%;
  height: 80%;

  background-color: rgba(255, 255, 255, 0.1);

  padding: 50px;

  backdrop-filter: blur(30px);

  border: 2px;
}

.icon {
  z-index: 200;
}

#info-one {
  z-index: 9;
}

#info-two {
  z-index: 8;
}

#info-three {
  z-index: 7;
}

canvas {
  margin: 0;
}

.box {
  margin: 0;
  padding: 0;
}

body.light-theme {
  --title-color: #ffffff;
  --text-color: #ffffff;

  --body-color: rgb(65, 4, 151);
  --container-color: rgb(65, 4, 151);

  --button-color: #9761fc;
}
footer {

  position: relative;
  
  font-size: 10px;
  
  color: rgba(145, 70, 255, 0.55);
  
  /* Centering Properties */
  
  display: flex;
  
  justify-content: center;
  /* Centers text horizontally */
  
  align-items: center;
  /* Centers text vertically */
  }