:root {
  --callout-bgcolor: #cbe1e8;
  --callout-color: black;
  --footer-bgcolor: gray;
  --footer-color: white;
}

h1 {
  text-align: center;
}
h2 {
  margin-bottom: 0.5em;
}
.hero-image {
  width: 100%;
}
p {
  width: 100%;
  line-height: 1.5;
}

ul {
  list-style: none;
  margin: 10px auto;
  padding: 0;
  max-width: 90%;
}

ul li:before {
  content: '\00BB';
  color: #006ab9;
  font-size: 24px;
  margin-right: 0.5em;
}
li > p:first-of-type {
  display: inline;
}
/* HTML Selectors */
code {
  background-color: yellow;
  border: 1px solid black;
  font-weight: bold;
  padding: 5px;
}

div {
  margin: 10px;
}

label {
  display: inline-block;
  min-width: 120px;
  text-align: right;
}

nav {
  background-color: black;
  color: white;
}

nav ul {
  display: flex;
  justify-content: center;
  align-content: space-around;
  margin: 0;
}

ul li {
  padding: 5px;
}

nav ul li {
  list-style: none;
  padding: 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px;
}

ol li {
  padding: 5px;
}

/* Class Selectors */
.active {
  background-color: white;
  color: black;
}

.biography {
  font-family: "Kalam", cursive;
}

.center {
  width: 60%;
  margin: 0 auto;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.task {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    url("images/background.png");
  height: 25%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  min-height: 150px;
}
