:root {
    --background-color: #ffffff;
    --border-outline-color: #ffffff;
    --border-background-color: #2200ff;
    --text-outline-color: #ff0000;
    --sidebar-outline-color:#492dff;
}

html, body {
  margin: 0;
  padding: 1.5em 0;
  min-height: 100%;
  height: auto;
}

body {
  background-image: url('./images/grass.png'), url('./images/sky_uwa_so_blue.jpg');
  background-position: bottom center, top center;
  background-repeat: repeat-x, repeat-x;
  background-size: 400px, 100%;
  font-family: 'Brush Script MT', cursive;
  font-size: large;
  color: white;

}

.page {
  max-width: 700px;
  margin: 0 auto;
  padding: 1em;
  background-color: var(--border-background-color);
  border: 4px double var(--border-outline-color);
  border-top: 0px
}

.footer {
  max-width: 700px;
  margin: 0 auto;
  padding: 0.2em;
  text-align: center;
}

.header {
  max-width:760px;
  margin: 0 auto;
  margin-bottom: 0em;
  padding-bottom: 0.5em;
  background-color: var(--border-background-color);
  border: 4px double var(--border-outline-color);
  padding: 0.5em;
  text-align: center;
}

.header h1 {
  color: #ffffff;
}

.header a {
  color: #ffffff;
}

.header a:hover {
  color: #c0c0c0;
}

.sidebar {
  flex: 30%;
  background: var(--border-background-color);
  padding: 1em;
  border: 3px inset var(--sidebar-outline-color);
  margin-bottom: 0.8em;
}

.sidebar h1 {
  text-align: center
}

.sidebar p {
  text-align: center
}

.profile-pic {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
  image-rendering: smooth;
  filter: contrast(0.5) brightness(1.2); /* makes lines more visible */
}

.container {
  display: flex;
  gap: 1em;
}

.main {
  flex: 70%;
}

.project {
  background: var(--border-background-color);
  padding: 1em;
  border: 3px inset var(--border-outline-color);
  border-radius: 10px;
  margin-bottom: 0.8em;
  text-align: center;
}

.project:hover {
  background: #3300ff;
}

h1 {
  font-size: 2em;
  font-weight: normal;
  margin: 0 0 0.2em 0;
}

h2 {
  font-size: 1.3em;
  margin: 0em 0 0.3em 0;
}

p {
  margin: 0.35em 0;
}

audio {
  width: 100%;
  margin-top: 0.5em;
}

#birthday {
  transform: skew(-20deg);
}