/* 
  This affects all templates. 
  Only update this css file if intending to apply universal styling to all templates
 */

 body{
  background-color:darkgrey;
 }  

 /* Nav CSS */

 .navbar {
  width:100%;
  min-width:1000px;
  background-color: #b7d0e2;  
  padding: 30px 15px;
  display:flex;
  flex-wrap:nowrap;
  min-height:80px;
  justify-content: space-between;
}      

.navbar-title {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: black;             
  text-decoration: none;
  text-align:center;
  flex-grow: 1;
}

.dark-toggle {
  position: absolute;
  left:2%;
  top:6px;
  padding:20px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 18px;
  color: black;
  cursor: pointer;
}

.toggle-label input {
  display: none;
}

.slider {
  width: 40px;
  height: 20px;
  background-color: white;
  border-radius: 20px;
  position: relative;
  transition: background-color 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: black;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}

input:checked + .slider {
  background-color: #FFC844;
}

input:checked + .slider::before {
  transform: translateX(20px);
  background-color: black;
}

.nav-links {
  display: flex;
  gap: 50px;
  margin-left: auto; 
  position: absolute; 
  right:2%;
  top:6px;
  padding:20px;
}

.nav-links a {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 18px;
  color: black;
  text-decoration: none;  
}

.nav-links a:hover {
  color: #4A6FA5;  
}

/* Nav CSS for homepage */

.home-page .navbar {
  min-height:360px;        
  position:relative; 
}

.home-page .navbar-title {
    font-size: 48px;
}

/* Footer */

.footer {
  position:fixed;
  bottom:0px;
  width: 100%;
  min-height:5%;
  padding: 5%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:nowrap;
}

.statistics_title{
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 48px;
  font-weight: bold;
  color: black;             
  text-decoration: none;
}

.active-nav{
  background-color:#B0D7E5;
}



.dark-mode body {
  background-color: #1e272e;
  color: white;
}

.dark-mode .navbar {
  background-color: #2C3E50;
}

.dark-mode .navbar-title {
  color:white;
}


.dark-mode .toggle-label {
  color:white;
}

.dark-mode .toggle-label input {
  color:white;
}



.dark-mode .nav-links {
  color:white;
}

.dark-mode .nav-links a {
  color:white;
}

.dark-mode .nav-links a:hover {
  background-color:#202D3A;
}

.dark-mode .home-page .navbar {
  color:white;
}



.dark-mode .footer {
  background-color: #333333;
}

.dark-mode .statistics_title {
  color:white;
}


