:root {
    --background-color: #FFF;
    --text-color: #555;
    --link-color: #2A8CB7;
    --link--visited-color: #8F00F5;
}

html[data-theme='light'] {
    --background-color: #FFF;
    --text-color: #555;
    --text-hover-color: #646464;
    --link-color: #2A8CB7;
    --link--visited-color: #8F00F5;
   
}

html[data-theme='dark'] {
    --background-color: #1C1B22;
    --text-color: #F7F8F8;
    --text-hover-color: rgb(194, 194, 194);
    --link-color: #69BADD;
    --link--visited-color: #BB5CFF;
}

#theme-toggle {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    padding: 6px;
    border: none;
    background-color: transparent;
    z-index: 10;

}

[data-theme='light'] #theme-toggle {
    filter: contrast(70%) brightness(120%) opacity(40%);
}

[data-theme='dark'] #theme-toggle {
    filter: contrast(70%) brightness(130%) opacity(40%);
}

[data-theme='light'] #theme-toggle:hover {
    filter: none;
    cursor: pointer;
}

[data-theme='light'] #theme-toggle:active {
    font-size: 1.45em;
}

[data-theme='dark'] #theme-toggle:hover {
    filter: none;
    cursor: pointer;
}

[data-theme='dark'] #theme-toggle:active {
    font-size: 1.45em;
}

[data-theme='light'] #theme-toggle::after {
    content: "\1F31E";
}

[data-theme='dark'] #theme-toggle::after {
    content: "\1F319";
}
body {
    margin: 0 auto;
    max-width: 50em;
    line-height: 1.5;
    padding: 4em 1em;
    color: var(--text-color);
    background: var(--background-color);
    font-family: "Helvetica", "Arial", sans-serif;
}

h2 {
    margin-top: 1em;
    padding-top: 1em;
}

label {
    padding-left: 10px;
}

a {
    color: var(--link-color);
}

a:visited {
    color: var(--link--visited-color);
}
:root {
    --background-color: #FFF;
    --text-color: #555;
    --link-color: #2A8CB7;
    --link--visited-color: #8F00F5;
}

html[data-theme='light'] {
    --background-color: #FFF;
    --text-color: #555;
    --text-hover-color: #646464;
    --link-color: #2A8CB7;
    --link--visited-color: #8F00F5;
   
}

html[data-theme='dark'] {
    --background-color: #1C1B22;
    --text-color: #F7F8F8;
    --text-hover-color: rgb(194, 194, 194);
    --link-color: #69BADD;
    --link--visited-color: #BB5CFF;
}

#theme-toggle {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    padding: 6px;
    border: none;
    background-color: transparent;
    z-index: 10;

}

[data-theme='light'] #theme-toggle {
    filter: contrast(70%) brightness(120%) opacity(40%);
}

[data-theme='dark'] #theme-toggle {
    filter: contrast(70%) brightness(130%) opacity(40%);
}

[data-theme='light'] #theme-toggle:hover {
    filter: none;
    cursor: pointer;
}

[data-theme='light'] #theme-toggle:active {
    font-size: 1.45em;
}

[data-theme='dark'] #theme-toggle:hover {
    filter: none;
    cursor: pointer;
}

[data-theme='dark'] #theme-toggle:active {
    font-size: 1.45em;
}

[data-theme='light'] #theme-toggle::after {
    content: "\1F31E";
}

[data-theme='dark'] #theme-toggle::after {
    content: "\1F319";
}
body {
    margin: 0 auto;
    max-width: 50em;
    line-height: 1.5;
    padding: 4em 1em;
    color: var(--text-color);
    background: var(--background-color);
    font-family: "Helvetica", "Arial", sans-serif;
}

h2 {
    margin-top: 1em;
    padding-top: 1em;
}

label {
    padding-left: 10px;
}

a {
    color: var(--link-color);
}

a:visited {
    color: var(--link--visited-color);
}
.main-menu-button {
  background-color: unset;
  border: none;
  cursor: pointer;
}

.main-menu {
  position: relative;
  display: inline-block;
}

h1 {
    color: var(--text-color);
    font-family: "Helvetica", "Arial", sans-serif;
}

h1:hover {
    color: var(--text-hover-color);
}
.main-menu-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.main-menu-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.main-menu-content a:hover {background-color: #f1f1f1}

.main-menu:hover .main-menu-content {
  display: block;
}

#root>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

