/* Introduction to Cascading Style Sheets */

body {
  /* If the user cannot load the Arial font, the sans-serif font is used */
  font-family: Arial, sans-serif;
  background-color: #FEFFF1;
  width: 900px;
  margin: 0 auto;
}

h1 {
  font-size: 38px;
}

h2 {
  font-size: 32px;
}

/* This selector selects ALL anchor tag children of ALL list elements that
are children of an Unordered Lsit element */
ul li a, figcaption a {
  text-decoration: none;
  color: inherit;
}

/* This selector selects only IMMEDIATE (1 level deep) image element children
of the header element */
header > img {
  width: 100px;
}

/* Selects all elements with the class attribute "ingredients-list" */
.ingredients-list {

  /* The list style property is shorthand for multiple list-style properties*/
  list-style: square inside;
}

ol {
  list-style: upper-roman inside;
}

.user_review h4 {
  font-size: 18px;
  font-weight: bold;
}

input[type="radio"] {
    -webkit-appearance: none;
    width: 27px;
    height: 27px;
    background-image: url(../assets/stars.png);
    vertical-align: bottom;
}

input[type="radio"]:checked {
  background-position: 30px 30px;
}

a { 
  display: inline-block;
}


input:last-child {
    background: gold;
}

input:last-child:hover {
    -webkit-filter: brightness(90%);
}

ol li:nth-of-type(2n) {
  background-color: whitesmoke;
}

h2 + .user_review {
    border-top: 1px solid black;
}

nav ul li { 
  display: inline-block;
}

nav ul li a { 
  padding: 20px;
}

nav { 
  display: inline-block;
}

section { 
  width: 700px;
  display: inline-block;
}

aside { 
  width: 180px;
  display: inline-block;
  margin-right: 15px;
}

.ingredients-list li { 
  margin-bottom: 15px; 
  margin-top: 15px;
}

section ol li { 
  margin-bottom: 15px;
  margin-top: 15px;
}

input[type="submit"] { 
  display: block;
}

input[type="text"] { 
  display: block;
  width: 175px;
}

select { 
  display: block;
  margin-bottom: 15px;
  margin-top: 15px;
}

textarea { 
  width: 300px;
}