@import 'general.css';
@import 'menu.css';
@import 'footer.css';

article {
  max-width: 800px;
  padding-left: 2rem;
  padding-right: 2rem;
  align-self: center;
}

article > h2 {
  font-family: Merienda, sans-serif;
  color: #4f9c07;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

article > div > p {
  padding-top: 1rem;
}

article > .recipe {
  padding-bottom: 2rem;
}
.hdg{
  color: #4f9c07;
  margin-left: -1rem;
}

.recipe-note{
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: flex-start;

}
.recipe-note > strong {
  padding-right: 0.5rem;
}
.recipe-note > span {
  color: #aa8622;
}
/*
article > .recipe > a {
  color: inherit;
  text-decoration: none;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}
article > .recipe > a:hover {
  color: #337ab7;
  text-decoration: double;
}
*/
ul {
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
}
ul > code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
.ingredient{
  margin-left: -1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.well{
  font-weight: 300;
  font-size: 14px;
  min-height: 20px;
  padding: 10px 19px;
  margin-bottom: 5px;
  background-color: #f5f5f5;
  border: 1px solid #e3d3d3;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.slide-link {
  /* font-family: "Staatliches"; */
  color: inherit;
  text-decoration: none;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  position: relative;
  color: #222;
}
.slide-link:hover{
  color: #337ab7;
  text-decoration: double;
}
.slide-link span {
  padding: 10px;
  display: inline-block;
  transition: transform 0.3s ease-out;
}
.slide-link span:nth-child(2){
  position: absolute;
  width: 100%;
  text-align: center;
  left: 100%;
}
.slide-link:hover span {
  transform: translateX(-100%);
}

.two-lines{
  text-decoration: none;
  position: relative;
  color: #222;
}
.two-lines:hover{
  color: #337ab7;
  text-decoration: double;
}
.two-lines::before,
.two-lines::after {
  content: "";
  position: absolute;
  height: 2px;
  background: #337ab7;
  opacity: 0;
  left: 50%;
  transform: translate(-50%, 5px);
  transition: all 0.2s ease-in-out;
}
.two-lines::before{
  width: 90%;
  bottom: 0;
}
.two-lines::after{
  width: 60%;
  bottom: -5px;
}
.two-lines:hover::before,
.two-lines:hover::after {
  opacity: 1;
  transform: translate(-50%, 0px);
}
.two-lines::before,
.two-lines:hover::after {
  transition-delay: 0.1s;
}
.two-lines:hover::before {
  transition-delay: 0s;
}
