/* https://colorschemedesigner.com/csd-3.5/#0N21T8yqmK-K- */

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

section, article, aside, footer, header, nav {
  display: block;
}

body {
  background-color: #D2BC9A;
  color: #0C2541;
  font-family: 'Open Sans', sans-serif;
}

h1, h2 {
  font-weight: 800;
}

h2 {
  margin-bottom: .5em;
}

a:link, a:visited {
  color: #0C2541;
  text-decoration: none;
}

a:hover {
  color: #0C2541;
  text-decoration: underline;
}

.name a:hover {
  text-decoration: none;
}

.header-container, .footer-container {
  width: auto;
}

.header-container {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
  height: 120px;
  border-bottom: 5px solid #0C2541;
}

.header {
  width: 700px;
  display: flex;
  justify-content: space-between;
}

.name {
  text-align: center;
}

.name .tagline {
  font-size: 18px;
  min-width: 250px;
}

.menu {
  text-align: center;
  margin-top: 20px;
}

.menu h2 {
  display: none;
}

.menu>li {
  display: inline-block;
  margin: 5px 15px;
}

.menu>li:last-of-type {
  margin-right: 0;
}

.menu > li a {
  text-decoration: underline dotted;
}

.footer-container {
  display: flex;
  justify-content: center;
  height: 70px;
  padding-top: 20px;
  border-top: 5px solid #0C2541;
}

.footer {
  width: 700px;
  display: flex;
  justify-content: flex-end;
}

.content-container {
  display: flex;
  flex-direction: column;
  background-color: #F4E4CB;
  padding: 10px 0
}

.copyright {
  margin-right: 10px;
}

.recipe-instruction-frame, .index-text-frame, .book-text-frame {
  display: flex;
  width: 700px;
  justify-content: flex-start;
  margin: auto;
}

.index-text, .recipe-instruction-text, .book-text {
  font-size: 16px;
  text-align: justify;
  line-height: 1.6;
}

.index-text ul {
    list-style-position: outside;
    list-style-type: circle;
    padding: 10px 20px 10px 20px;
}

.index-text h2, .recipe-instruction-text h2, .book-text h2 {
  font-size: 18px;
  padding: 10px 0 5px 0;
line-height: 1;
}

.book-text h2 {
  font-size: 18px;
  padding: 0 0 5px 0;
}

.index-text p, .recipe-instruction-text p, .book-text p {
  margin: 0 5px 15px 5px;
  text-indent: 1em;
}

.recipe-photo-text-frame, .book-photo-text-frame {
  display: flex;
  width: 700px;
  justify-content: space-between;
  margin: auto;
  flex-wrap: wrap;
  border-top: 5px solid #0C2541;
  padding: 30px 0 15px 0;
}

.recipe-photo img, .book-photo img {
  width: 220px;
  height: 220px;
  margin: 0 0 0 10px;
  border: 2px solid #0C2541;
  border-radius: 5px 5px 5px 5px;
  background-color: #0C2541;
}

.recipe-text, .book-text {
  width: 460px;
  text-align: justify;
}

.recipe-text {
  padding: 0 0 0 50px;
}

.book-text {
  padding: 0 0 0 20px;
  line-height: 1.6;
}

.recipe-text h2, .book-text h2{
  font-size: 18px;
  padding-bottom: 5px;
}

.recipe-text h3, .book-text h3 {
  font-size: 14px;
  padding-bottom: 10px;
}

.recipe-text ul {
  list-style-type: none;
  list-style-position: inside;
  font-size: 16px;
  line-height: 1.6;
}

.three-photo-frame {
  width: 700px;
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0 0;
  margin: auto;
}

.three-photo-item img {
  width: 220px;
  height: 220px;
  border: 5px solid #0C2541;
  border-radius: 0;
  background-color: #0C2541;
}

.three-photo-item:first-of-type img {
  border-radius: 10px 0 0 10px;
}

.three-photo-item:last-of-type img {
  border-radius: 0 10px 10px 0;
}

@media only screen and (max-width:699px) {

  .header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  header .name {
    margin: 0 auto;
    text-align: center;
  }

  .menu {
    margin-top: 15px;
    padding-bottom: 15px;
    width: auto;

  }

  .footer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .header-container, .footer-container {
    height: 200px;
    padding: 5px 10px 5px 10px;
  }

  .recipe-instruction-frame, .index-text-frame {
    display: column;
    width: 100%;
    justify-content: center;
  }

  .index-text, .recipe-instruction-text {
    width: 100%;
    padding: 0 10px 0 10px;
  }

  .index-text ul {
    margin: 10px 5px 10px 5px;
  }

  .recipe-photo-text-frame, .book-photo-text-frame {
    display: column;
    width: 100%;
    flex-wrap: wrap;
    border: none;
    padding: 10px 0 15px 0;
    margin: 0 0 0 0;
  }
  .recipe-photo img, .book-photo img {
    margin: 0 0 10px 10px;
  }

  .recipe-text {
    padding: 0 0 0 20px;
  }

  .book-text {
    padding: 0 15px 0 15px;
  }

  .recipe-text ul {
    padding: 0 20px 0 0;
  }

  .three-photo-frame {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .three-photo-item {
    padding: 5px 0 5px 0;
  }
  .key-photo img,
  .three-photo-item img,
  .three-photo-item:first-of-type img,
  .three-photo-item:last-of-type img {
    border-radius: 5px;
  }
}
