@charset "UTF-8";

*{
    box-sizing: border-box;
    font-family: 'EB Garamond', serif;
}

body {
  background: black;
  color: white;
  font-size: 100%;
  font-family: 'EB Garamond', serif;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    }
    nav a{
        text-decoration: none;
        color: #2b2a27;
        font-family: 'Kaushan Script', cursive;
    }
    nav ul {
    display: flex;
    background: rgba(255,255,255,.7);
    margin: 0;
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
    }
    nav li {
    text-align: center;
    padding: 10px 0;
    width: 80px;
    cursor: pointer;
    transition: all 1s;
    }
    nav li:hover {
    background: white;
    }
    nav.open {
        display: block;
    }

    nav img {
        max-width: 100%;
    } 

.flex {
  display: flex;
  margin-bottom: 60px;
}
.flex .image {
  width: 50%;
}

.flex .image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  vertical-align: bottom;
}
.flex .recipe {
  width: 50%;
  padding: 40px 5% 0 5%;
}
.flex .recipe .page-title {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.flex .recipe .content-title {
  border-bottom: solid 1px #ccc;
  font-size: 1.25rem;
  padding-bottom: 5px;
  margin: 40px 0 15px 0;
}
.flex .recipe .ingredient-list {
  display: flex;
  flex-wrap: wrap;
}

.flex .recipe .ingredient-list dt {
  width: 85%;
  border-bottom: dotted 1px #ccc;
  padding: 6px 0;
}
.flex .recipe .ingredient-list dd {
  width: 15%;
  border-bottom: dotted 1px #ccc;
  padding: 6px 0;
  text-align: right;
}
.flex .recipe .step-list li {
  border-bottom: dotted 1px #ccc;
  padding: 6px 0;
  margin-left: 20px;
}

.btn {
  text-align: center;
  margin-bottom: 80px;
}

.btn a {
  display: inline-block;
  border: solid 1px white;
  font-size: 0.875rem;
  font-family: 'Kaushan Script', cursive;
  color: white;
  padding: 18px 60px;
  text-decoration: none;
}


footer {
    grid-column-start: left;
    grid-column-end: right;
    grid-row-start: footer;
    grid-row-end: bottom;
    text-align: center;
    background: white;
    padding: 10px 0;
    font-family: 'EB Garamond', serif;
    font-size: 15px;
    }

@media screen and (max-width: 834px) {
 
  .flex {
    flex-direction: column;
  }
  .flex .image {
    width: 100%;
  }
  
  .flex .image img {
    height: auto;
  }
  .flex .recipe {
    width: 100%;
  }
}