@import url("header.css") screen;
@import url("contact.css") screen;
@import url("print.css") print;

:root {
  --accent-color: deepskyblue;
  --accent-color-hover: #00a4de;
  --contrast-level: 90%;
  --base-font-size: 100%
}

* {
  box-sizing: border-box;
  color: white;
  font-family: Roboto, sans-serif;
}

html {
  filter: contrast(var(--contrast-level));
  font-size: var(--base-font-size);
  transition: .5s;
}

.accessibility-mode {
  --contrast-level: 100%;
  --base-font-size: 120%;
}

body {
  margin: 0;
  background-color: black;
}

main {
  padding: 4vw;
}

h1 {
  font-weight: 500;
  font-size: 1.8rem;
}

h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 150px;
  margin-bottom: 40px;
}

p {
  font-size: 1.3rem;
  line-height: 1.5;
}

a {
  font-size: 1.3rem;
}

a:visited {
  color: var(--accent-color-hover);
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

#jump {
  position: absolute;
  left: -10000px;
}

#jump:focus {
  position: static;
  display: block;
  left: auto;
}

button {
  font-size: 1.0rem;
  cursor: pointer;
}


button:active {
  opacity: .7;
}

#copyright {
  margin-top: 100px;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

#to-top-button {
  background-color: var(--accent-color);
  border-radius: 10px;
  border: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: .5em 1em;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transition: .5s;
}

#to-top-button.visible {
  opacity: 1;
  pointer-events: auto;
}

#to-top-button:hover {
  background-color: var(--accent-color-hover);
}

summary {
  cursor: pointer;
}