header{ /* Page's top */
  display: flex; /* Adds space between text and icons */
  justify-content: space-between;
  font-weight: bold;
  font-size: 8vh;
  background-color: rgba(255,255,255,0.75); /* White, three quarters of the opacity */
  color: black;
  }

body 	{ /* Main style */
  font-family: system-ui; /* Will use a custom font */
  background-color: silver; /* Same as image's background */
  background-image: url('bg.png'); /* Image file */
  background-position: right bottom;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0; /* Elements below will use custom margins */
  }

h1  { /* Main headers */
text-align: right;
font-weight: lighter; /* Removes bold from header */
font-size: 6vh;
margin-left: 50vw; /* Half of the screen's width */
margin-right: 0vw;
background-color: rgba(255,255,255,0.5); /* White, half opacity */
color: black;
}

h2  { /* Secondary headers */
text-align: left;
font-weight: lighter; /* Removes bold from header */
font-size: 4vh;
margin-left: 0;
margin-right: 66vw; /* Two thirds of the screen's width */
background-color: rgba(255,255,255,0.25); /* White, quarter of the opacity */
color: black;
}

p   { /* Normal text */
text-align: left;
font-weight: normal;
margin-left: 3vw;
margin-right: 3vw;
color: black;
}

ul  { /* Unordered lists */
text-align: left;
line-height: 150%;
list-style-type: square;
margin-left: 3vw;
margin-right: 3vw;
color: black;
}

a   { /* Text with external links */
color: black;
text-decoration: none; /* Removes underlining */
font-weight: bold; /* Makes it bold */
font-style: italic; /* Makes it italic */
}

a:hover { /* Text with external links when mouse hovered */
    filter: invert(50%); /* Becomes fully gray, applies to both text and images */
    text-decoration: none; /* Removes underlining */
    }

code { /* In-line code */
font-weight: lighter;
font-family: monospace;
color: silver;
background-color: black;
}

img     { /* Banners */
    width: 93vw;
    }

footer  { /* Page's bottom */
    display: flex;
    justify-content: space-between;
    background-color: rgba(255,255,255,0.33); /* White, quarter of the opacity */
    margin-bottom: 0;
    color: black;
    }

/* For vertical screens */
@media (max-aspect-ratio: 1/1)
{p {margin-right: 3vw;} h1 {font-size: 5vh; margin-left: 0vw;} h2 {margin-right: 0vw;}}
