* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Add padding to body for demo purposes only.
Remove the padding once working on homework */
/* body {
  background-color: gray;
  padding: 100px;
} */

#wrapper {
  width: 940px;
  margin: 0 auto;
}

main {
  width: 580px;
  float: left;
}

aside {
  width: 340px;
  float: right;
}

footer {
  clear: both;
  height: 50px;
  line-height: 50px;
  display: flex;
  justify-content: left;
  border-top: 1px solid #800;
}

footer ul {
  display: flex;
}

footer ul li {
  font-size: 1.1em;
  list-style-type: none;
  margin: 0 5px;
  color: #800;
}

footer a {
  display: block;
  padding-left: 5px;
  color: #800;
}

form {
  max-width: 580px;
  margin-bottom: 20px;
}

form ul {
  margin-left: 5px;
}

form li {
  list-style-type: none;
  margin-bottom: 10px;
}

fieldset {
  padding: 20px;
  border-radius: 10px;
  border: 1px dotted #888;
  padding: 0 5px;
}

legend {
  font-size: 1.3em;
  font-style: italic;
  font-weight: bold;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.05em;
}

input {
  margin-bottom: 10px;
  height: 30px;
  width: 100%;
}

/* This is an attribute selector */
input[type="submit"] {
  width: 100px;
  /* if you use auto in width, it makes it as bigger as the "value" attribute in html */
}

input[type="radio"],
input[type="checkbox"] {
  height: auto;
  width: auto;
  margin-right: 5px;
}
/* end of attributes selector */

select {
  margin-bottom: 10px;
}

textarea {
  height: 150px;
  width: 100%;
  margin-bottom: 10px;
}

h1 {
  color: #800;
  font-size: 3em;
  margin-bottom: 12px;
}

h2 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.8em;
}

h3 {
  margin-top: 25px;
}

img {
  max-width: 100%;
}

p {
  margin-bottom: 25px;
}
