
body {
  max-width: 1140px;
  margin: auto;
  padding: 15px;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  text-align: justify;

  background-color: #382D38;
  color: #F6F1F3;
}

header {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 30px;
  padding: 24px 0;
  margin-bottom: 14px;
}

header .logo {
  text-align: center;
}

header a,
header a:visited {
  color: #F6F1F3;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: 'Roboto', sans-serif;
}

h2 {
  clear: both;
}

.recipes {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 360px 360px 360px;
  grid-gap: 30px;
}

@media (max-width: 1140px) {
  .recipes {
    max-width: 730px;
    margin: auto;
    grid-template-columns: 360px 360px;
    grid-gap: 30px;
  }
}

@media (max-width: 750px) {
  .recipes {
    max-width: 360px;
    margin: auto;
    grid-template-columns: 360px;
    grid-gap: 30px;
  }
}

@media (max-width: 360px) {
  .recipes {
    display: block;
    max-width: 360px;
    margin: auto;
  }

  .recipe {
    margin-bottom: 30px;
  }
}

a.recipe,
a.recipe:visited {
  display: block;
  text-decoration: none;
}

.recipe-link {
  padding-bottom: 24px;
  background-color: #F6F1F3;
  border-radius: 6px;
  overflow: hidden;
}

.recipe-image {
  display: block;
  width: 100%;
  margin: auto;
}

.recipe-title {
  padding: 16px 16px 0 16px;

  font-size: 20px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: left;
  color: #382D38;
}

.recipe-category {
  margin-top: 16px;
  padding: 0px 16px;

  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
  color: #E55934;
}

.recipe-description {
  margin-top: 16px;
  padding: 0px 16px;

  font-size: 16px;
  text-align: left;
  color: #382D38;
}

.recipe-content {
  background-color: #F6F1F3;
  color: #382D38;
  border-radius: 6px;
  overflow: hidden;
  max-width: 750px;
  margin: auto;
  padding-bottom: 8px;
}

img.picture-primary {
  display: block;
  width: 100%;
}

h1 {
  text-align: left;
  font-size: 20px;
  margin: 16px 16px;
}

h2 {
  margin: 24px 16px;
  padding-top: 24px;
  font-size: 18px;
  border-top: 1px solid #DCA28D;
}

hr {
  margin: 24px 64px;
  border: none;
  border-top: 1px solid #DCA28D;
  clear: both;
}

p {
  margin: 16px;
}

ul {
  margin-left: 16px;
  padding-left: 24px;
}

li {
  margin-left: 4px;
}

img.picture-recipe {
  width: 50%;
  margin-bottom: 16px;
}

img.picture-recipe.right {
  float: right;
  margin-left: 16px;
}

img.picture-recipe.left {
  float: left;
  margin-right: 16px;
}

footer {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: #F6F1F3;
}

footer a,
footer a:visited {
  color: #DCA28D;
}


@media (max-width: 800px) {
  img.picture-recipe {
    width: 100%;
    margin: 0;
  }

  img.picture-recipe.right,
  img.picture-recipe.left {
    float: none;
  }
}

