@font-face {
    font-family: 'gelpen';
    src: url('fonts/gelpenuprightlight-webfont.woff2') format('woff2'),
         url('fonts/gelpenuprightlight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'toawc_arrow';
    src: url('fonts/toawc_arrow.eot?96303263');
    src: url('fonts/toawc_arrow.eot?96303263#iefix') format('embedded-opentype'),
         url('fonts/toawc_arrow.woff2?96303263') format('woff2'),
         url('fonts/toawc_arrow.woff?96303263') format('woff'),
         url('fonts/toawc_arrow.ttf?96303263') format('truetype'),
         url('fonts/toawc_arrow.svg?96303263#toawc_arrow') format('svg');
    font-weight: normal;
    font-style: normal;
  }


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

html {
    height: 100%;
    font-family: sans-serif;
    background-image: url(img/pattern-bg.jpg);
    background-size: 100%;
    overflow: hidden;
    font-family: 'gelpen', Arial, Helvetica, sans-serif;
    color: #444;
}

body {
    width: 100%;
    height: 100%;

}
.content-container {
    min-height: 100%;
    position: relative;
}

nav {
    margin-bottom: 0;
}

.top-nav {
    max-width: 100%;
    display: flex;
    justify-content: space-around;
}

.nav-button {
    width: 18%;
    height: 0;
    padding-top: 5.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.about-full {
    background-image: url(img/about-sprite.png);
    padding-bottom: 30%;

}

.buy-full {
    background-image: url(img/buy-sprite.png);
    padding-bottom: 30%;

}

.inspiration-full {
    background-image: url(img/inspiration-sprite.png);
    padding-bottom: 30%;


}

.cooking-full {
    background-image: url(img/cooking-sprite.png);
    padding-bottom: 30%;

}


.nav-link {
    width: 100%;
    height: 0;
    background-position: 0 0;
    background-size: 100%;
    background-repeat: no-repeat;
}

.nav-link:hover {
    background-position-y: 50%;
}


.name-img {
    width: 70%;
    margin: 0 auto;
    padding-top: 10%;
    display: block;
}

.active {
    background-position-y: 100%;
}



.hometext-container {
    margin: 9em auto;
    background-image: url(img/home-textbox.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 38em;
    height: 16em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.hometext-container h2 {
    font-size: 1.5em;
    text-align: center;
    padding: 0 3.1em;
}




.featuredfeed-container {
    background-image: url(img/featuredgal_bg.png);
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -1.55em;
    width: 100%;
    padding-top: 1em;

}

.whatscooking-linkcontainer {
    display: flex;
    justify-content: flex-end;
    padding: .5em
}

.whatscooking-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: .5em;
    color: #a2ce4a;
    font-size: 1.4em;

}

.arrow {
    font-family: 'toawc_arrow';
}

.whatscooking-link a {
    text-decoration: none;
    color: #fff;
}

.whatscooking-link a:hover {
    color: #faa950;
}


/*about page*/

.abouttext-container {
    margin: 9em auto;
    background-image: url(img/about-textbox.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: 75%;
    height: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.abouttext-container p {
    font-size: 1.4em;
    padding: .75em 3em 0 3em;
}



/*buy pay*/

.buy-container {
    display: flex;
    justify-content: space-evenly;
    margin-top: 7em;
}


.main-carousel {
    width: 35em;
    height: 32em;

  }
  
  .carousel-cell {
        width: 100%;
        max-height: 100%;
          
  }

  .carousel-cell img {
      margin: 0 auto;
      max-width: 100%;
      display: block;
  }
  

.buytext-container {
    background-image: url(img/buy-textbox.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    width: 35em;
    height: 32em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.buytext-container p {
    font-size: 1.4em;
    padding: .75em 2em 0 2em;
}


.buy-form {
    margin: 1em auto;
}

.thank-you {
    font-size: 2em;
    color: #a2ce4a;
}


input {
    margin: .25em;
    font-family: 'gelpen', sans-serif;
    font-size: 1.4em;
    height: 3rem;
    width: 10rem;
    padding: .5em;
    border: hidden;

}

.name-input {
    background-image: url(img/inputbg1.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    
}

input:focus {
    border:none;
    outline: none;
}

.name-input:focus {
    background-image: url(img/inputbg1-hover.png);
}

.email-input {
    background-image: url(img/inputbg2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;

}

#filled1 {
    background-image: url(img/inputbg1-hover.png);
}

#filled2 {
    background-image: url(img/inputbg2-hover.png);
}

.email-input:focus {
    background-image: url(img/inputbg2-hover.png);
}

.submit-button {
    border: hidden;
    background-image: url(img/submitbutton-bg.png);
    background-size: 100% 100%;
    background-color: #fff;
    font-family: 'gelpen', sans-serif;
    color: #fff;
    font-size: 1.7em;
    height: 3.5rem;
    width: 8rem;
    cursor: pointer;
    transition: all 0.5s;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.submit-span {
    cursor: pointer;
    display: inline-block;
    transition: 0.5s;
  }
  
  .submit-arrow {
    font-family: 'toawc_arrow';
    position: absolute;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    right: -28px;
    color: #fff;
    transition: 0.5s;
    font-size: .7em;
  }
  
  .submit-button:hover .submit-span {
    padding-right: 25px;
  }
  
  .submit-button:hover .submit-arrow {
    opacity: 1;
    right: 10px;
  }


/*whats cooking page*/

.whatscooking-text {
    margin-top: 6.5em;
    text-align: center;
}

.whatscooking-text h2 {
    font-size: 3.5em;
}

.whatscooking-text h4 {
    font-size: 1.5em;
}

.gallery-container {
    margin: 1.2em auto;
    max-width: 90%;
}


.inspiration-container {
    margin-top: 6.5em;
}

#week-name {
    text-align: center;
    font-size: 3em;
}

.inspiration-content {
    display: flex;
    justify-content: space-evenly;
}

.recipe-container {
    background-image: url(img/recipe-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    padding: 2em 5em;
    margin: 1em 1em 1em 2em;
    width: 55vw;
}

.suggestions-container {
    background-image: url(img/suggestions-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    padding: 2em 3em;
    margin: 1em 2em 1em 1em;
}

.inspiration-content h3 {
    font-size: 2em;
    text-align: center;
}

.inspiration-content h4 {
    font-size: 1.5em;
    padding: .5em;
}

li {
    padding: .1em 0;
}

.suggestions-container li {
    padding: .25em 0;
}

.suggestions-container ul {
    margin-top: .25em;
}