
/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.5s, color 0.5s;
}

/* Dark Mode Switch */
.dark-mode-switch {
    position: absolute;
    top: 10px;
    right: 20px;
}

.dark-mode-switch img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s ease-in-out;
}

.dark-mode-switch img:hover {
    transform: scale(1.1);
}

/* Ensure image visibility in dark mode */
body.dark-mode .dark-mode-switch img {
    filter: invert(1) hue-rotate(180deg); /* Invert colors for dark mode */
    display: block; /* Ensure the image stays visible */
}

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
  }
  
/* Links */
a {
  color: #3498db;
  text-decoration: none;
  font-size:1.1em;
}

a:hover {
  text-decoration: underline;
}

body.dark-mode a {
  color: #74b9ff;
}

  
