/* ====== PAGINA OPMAAK ====== */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    text-align: center;
    background-color: #191919;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    margin: 0;
}

.img {
  height: 20vh;
}

h1 {
    color: rgb(255, 255, 255);
    font-size: 50px;
    filter: drop-shadow(0 15px 20px);

}

h2 {
    color: rgb(255, 255, 255);
    font-size: 20px;
    filter: drop-shadow(0 15px 20px);
}
main {
    display: flex;
    width: auto;
    justify-content: center;
}

.button-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: auto;
}

.row1 {
     flex-direction: column;
    display: flex;
    gap:20px;

}
.row2 {
    margin-top: 72px;
    flex-direction: column;
    display: flex;
    gap:20px;
}

.row3 {
    flex-direction: column;
    display: flex;
    gap:20px;
}

/* ====== NIEUWE BUTTON STIJL VAN UIVERSE ====== */
.button {
  --btn-main: #644dff;
  --btn-dark: #4836bb;
  --btn-shadow: #654dff63;

  cursor: pointer;
  width: 184px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.125em;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  background: var(--btn-main);
  border: 2px solid var(--btn-dark);
  border-radius: 0.75rem;
  box-shadow: 0 8px 0 var(--btn-dark);
  transform: skew(-10deg);
  transition: all 0.1s ease;
  filter: drop-shadow(0 15px 20px var(--btn-shadow));
  text-decoration: none;
}

.button:hover {
  transform: skew(-10deg) scale(1.05);
}

.button:active {
  letter-spacing: 0;
  transform: skew(-10deg) translateY(8px);
  box-shadow: none;
}

/* Kleurvarianten */
.Clicker {
  --btn-main: #644dff;
  --btn-dark: #4836bb;
  --btn-shadow: #654dff63;
}

.Trash {
  --btn-main: #644dff;
  --btn-dark: #4836bb;
  --btn-shadow: #654dff63;
}

.afsluiten {
  --btn-main: #ff3b3b;
  --btn-dark: #b71c1c;
  --btn-shadow: #ff3b3b63;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #6c63ff; /* Paarse balk */
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.menu-btn {
  font-size: 1.8em;
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #000000;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #6c63ff;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #ffffff;
}

input:checked + .slider:before {
  transform: translateX(24px);
}
.dropdown-menu {
  display: none; /* standaard verborgen */
  position: absolute;
  top: 60px; /* net onder de topbar */
  left: 10px;
  background-color: #6c63ff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  flex-direction: column;
  padding: 10px;
}

.dropdown-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s;
}

.dropdown-menu a:hover {
  background-color: rgba(255,255,255,0.2);
}

/* Wanneer het menu open is */
.dropdown-menu.show {
  display: flex;
}
/* ====== LIGHT MODE STYLES ====== */
body.light-mode {
  background-color: #f4f4f4;
  color: #000;
}

body.light-mode h1,
body.light-mode h2 {
  color: #000;
}

body.light-mode .topbar {
  background-color: #6c63ff; /* lichtere paarse balk */
}

body.light-mode .button {
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1));
}

body.light-mode .slider {
  background-color: #ccc;
}

body.light-mode .slider:before {
  background-color: #6c63ff;
}