/* Box Model Hack */
* {
  box-sizing: border-box;
}

/* Clear fix hack */
.clearfix:after {
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
  content: ".";
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/

body {
  background-color:lightgray;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.icon {
  height:30px;
  width:45px;
  padding: 0px 10px;
}

.dish {
  aspect-ratio: 1 / 1.30;
}

.video {
  background-color: rgb(255, 145, 0);
  height: 300px;
  width: 550px;
}

button {
  background-color: rgb(255, 145, 0);
  color: white;
  display: inline-block;
  width: fit-content;
  padding: 5px 20px;
  border-radius: 10px;
  border:none;
  margin: 0 auto;
}
button:hover {
  cursor: pointer;
}
.subtitle, h4 {
  color: rgb(255, 145, 0);
}

p {
  line-height: 2;
}
ul {
  list-style: none;
}
body > section:last-of-type > div.profile {
  height: 100px;
  width:100px;
  background-color: rgb(255, 145, 0);
  border: 1px solid rgb(255, 145, 0);
  border-radius: 100px;
}
.rating {
  color: goldenrod;
}

h1, h2, h3, h4, h5, h6 {
  font-family: serif;
}

h2, h3 {
  font-size: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
}
h4, h6 {
  font-size: 18px;
}
h6, h3{
  margin:20px 0;
}

ul > li > a {
  text-decoration: none;
  color:black;
  font-weight: bold;
}
/******************************************
/* LAYOUT
/*******************************************/
header {
  height: 60px;
}
nav {
  float: right;
}
nav > *, nav > ul > * {
  float: left;
}
nav ul {
  margin: 20px 40px;
}
nav li {
  width: fit-content;
  padding: 0 20px 0 20px;
}
main {
  height: 700px;
  padding-top: 10%;
  width: 50%;
}
main > * {
  margin-left: 50px;
}
main > button {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left:30%;
  width: 25%;
}
main ul {
  height: 40px;
  padding: 0;
  margin-left: 25%;
}
main ul > * {
  float: left;
  width: 100px;
}
main ul > li >* {
  float:left;
}
main > h1 {
  margin-top: 100px;
}
.hero {
  background-image: url("../images/dojohero.png");
  background-size: 100% auto;
}

body > section:first-of-type {
  background: white;
  background-image:url("../images/dojostory.png");
  background-size: 100% auto;
  height: fit-content;
  padding-top: 180px;
  padding-bottom: 200px;
}

body > section:first-of-type > * {
  margin-left: 33.33%;
  width:40%;
}

body > section:first-of-type > button {
  width: fit-content;
  padding: 5px 20px;
}

body > section:nth-child(3) {
  height: fit-content;
  padding-bottom: 40px;
}
body > section:nth-child(3) > * {
  width: 80%;
  margin: auto;
  text-align: center;
}

body > section:nth-child(3) > section {
  padding-left: 5%;
}

body > section:nth-child(3) > hgroup {
  margin-top: 80px;
}

body > section:nth-child(3) * {
  text-align: center;
}

body > section:nth-child(3) > ul {
  height: fit-content;
  width: 50%;
}
body > section:nth-child(3) > ul > *{
  float: left;
  border-bottom: 2px solid darkgrey;
  width:20%;
  text-align:center;
  padding-bottom: 10px;
}

body > section:nth-child(3) > ul > .selected-class{
  border-bottom-color: rgb(255, 145, 0);
}

.selected-class {
  color: rgb(255, 145, 0);

}

body > section:nth-child(3) > ul > li > a{
  text-align: left;
}
body > section:nth-child(3) > section > * {
  float: left;
  margin: 38px 20px;
  width: 20%;
}
body > section:nth-child(4) {
  height: 800px;
  background: rgb(234, 234, 236);
  padding-top: 20px;
}

body > section:nth-child(4) > *, body > section:nth-child(4) hgroup >* {
  text-align: center;
  margin: 20px auto;
  display: block;
  padding:0;
}

body >section:nth-child(4) hgroup {
  margin-top: 40px;
  margin-bottom: 20px;
}
body >section:nth-child(4) > section {
  height: 100px;
}
body >section:nth-child(4) > section >ul {
  width: 50%;
  margin:auto;
  padding-top:20px;
}
body >section:nth-child(4) > section > ul >*{
  float:left;
  height: 80px;
  margin-right: 20px;
  width: 45%;
}
body >section:nth-child(4) > section > ul > li >*{
  display:block;
  margin: 0;
}
body> section:last-of-type {
  height: 500px;
  padding: 40px 80px;
}
body > section:last-of-type >* {
  width: 50%;
  margin: 20px auto;
  display: block;
  text-align: center;
}


/*footer {

}*/

/******************************************
/* ADDITIONAL STYLES
/*******************************************/
