:root {
  /* Light mode */                 /*https://github.com/alexandersandberg*/
  --light-text: #222430;
  --light-bg: #f7f7f7;
  --light-theme: #d34a97;
 
  /* Dark mode */
  --dark-text: #f7f7f7;
  --dark-bg: #222430;
  --dark-theme: #FFFFFF;

  /* Blue mode */
  --third-text: #FFF;
  --third-bg: #0081FF;
  --third-theme: #FFFFFF;
  
  /* Green mode */
  --fourth-text: #FFF;
  --fourth-bg: #008000;
  --fourth-theme: #FFF;
  
  /* Olive mode */
  --fifth-text: #FFF;
  --fifth-bg: #808000;
  --fifth-theme: #FFF;

  /* Yellow mode */
  --sixth-text: #000;
  --sixth-bg: #FFFF00;
  --sixth-theme: #0000FF;
  
  /* Orange mode */
  --seventh-text: #000;
  --seventh-bg: #FFA500;
  --seventh-theme: #OOOOFF;
  
  /* Grey mode */
  --eighth-text: #000;
  --eighth-bg: #DEDFE3;
  --eighth-theme: #FFOOOO;
  
  /* Pink mode */
  --nine-text: #000;
  --nineth-bg: #FFC0CB;
  --nineth-theme: #OOOOFF;
  
  /* Rasta mode */
  --tenth-text: #008000;
  --tenth-bg: #FFE300;
  --tenth-theme: #FF0000;
 

    
  /* Default mode */
  --switch-shadow-color: var(--light-switch-shadow);
  --switch-icon: var(--light-switch-icon);
  --switch-text: var(--light-switch-text);
  --text-color: var(--light-text);
  --bg-color: var(--light-bg);
  --theme-color: var(--light-theme);
}

/* Dark mode */
#theme-switch2:checked ~ #page {
  --text-color: var(--dark-text);
  --bg-color: var(--dark-bg);
  --theme-color: var(--dark-theme);
}

/* Blue mode */
#theme-switch3:checked ~ #page {
  --text-color: var(--third-text);
  --bg-color: var(--third-bg);
  --theme-color: var(--third-theme);
}

/* Green mode */
#theme-switch4:checked ~ #page {
  --text-color: var(--fourth-text);
  --bg-color: var(--fourth-bg);
  --theme-color: var(--fourth-theme);
}

/* Olive mode */
#theme-switch5:checked ~ #page {
  --text-color: var(--fifth-text);
  --bg-color: var(--fifth-bg);
  --theme-color: var(--fifth-theme);
}

/* Yellow mode */
#theme-switch6:checked ~ #page {
  --text-color: var(--sixth-text);
  --bg-color: var(--sixth-bg);
  --theme-color: var(--sixth-theme);
}  
/* Orange mode */
#theme-switch7:checked ~ #page {
  --text-color: var(--seventh-text);
  --bg-color: var(--seventh-bg);
  --theme-color: var(--seventh-theme);
}

/* Grey mode */
#theme-switch8:checked ~ #page {
  --text-color: var(--eighth-text);
  --bg-color: var(--eighth-bg);
  --theme-color: var(--eighth-theme);
}

/* Pink mode */
#theme-switch9:checked ~ #page {
  --text-color: var(--nineth-text);
  --bg-color: var(--nineth-bg);
  --theme-color: var(--nineth-theme);
}

/* Rasta mode */
#theme-switch10:checked ~ #page {
  --text-color: var(--tenth-text);
  --bg-color: var(--tenth-bg);
  --theme-color: var(--tenth-theme);
  
}

/* Theme switcher */
.theme-switch { /* Hides the radio buttons */
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.switch-label {
  background: var(--text-color);
  border: 3px solid var(--text-color);
  border-radius: 5px;
  color: var(--bg-color);
  cursor: pointer;
  display: inline-block;
  font-size: 125%;
  margin: 20px 0 20px 20px;
  padding: 8px 12px;
  transition: box-shadow .2s, border .2s;
}

.theme-switch:focus + .switch-label,
.switch-label:hover {
  box-shadow: 0 0 10px #20f1e7;
  border: 3px solid #20f1e7;
  border-radius: 5px;
}

/* Styling */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: lightcoral;
}

#page {
  background: var(--bg-color);
  color: var(--text-color);
  font: normal 125%/1.4 Georgia, 'Times New Roman', Times, serif;
  min-height: 100%;
  transition: color .2s, background-color .2s;
}

#content {
  margin: auto;
  max-width: 60ch;
  padding: 2ch;
}

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

footer {
  padding: 20px 0;
  margin: 50px 0;
  border-top: 1px solid var(--text-color);
}
.right {float:right; }
