/*

Jennifer Tso's Styles for Fine Dining Parallax Website

*/

body {
    font-family: "Open Sans", sans-serif;
}

h1 {
    color: #ccc;
    font-weight: 400;
}

.content {
    position: relative;
    background: white;
    margin-bottom: 400px;
    z-index: 2;
}

.content article {
    text-align: center;
    margin: 0 auto;
/*    margin-top: 50px;*/
    padding: 100px 0;
    max-width: 640px;
}

.container {
    position: relative;
    background: white;
    margin-bottom: 400px;
    overflow: hidden;
}

img {
    max-width: 100%;
}

figure {
    margin: auto;
}

/* Parallax */

.wineglass-box {
    position: relative;
    height: 600px;
    background: url(../images/drink-bg.png) no-repeat top center;
/*    background-size: auto 1000px;*/
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    z-index: 3;
}

.logo {
    height: 200px;
    width: 100%;
    background: url(../images/logo.svg) no-repeat center;
    background-size: 80%;
    position: absolute;
    top: 50%;
/*    left: -750px;*/
    margin-top: -50px;
/*    margin-left: 400px;*/
    z-index: 1000;
}

.wineglass {
    background: url(../images/drink.png) no-repeat right bottom;
    position: absolute;
    width: 960px;
    height: 680px;
    left: 15%;
    margin-left: -480px;
    top: -80px;
    z-index: 50;
/*    top: 175px;*/
/*    left: 1200px;*/
/*    top: -380px;*/
/*    margin-left: -480px;*/
}

/* Food Pics Grid */


.food-pics figure img {
    display: block;
    margin-bottom: 20px;
    overflow: none;
}

.food-pics figure {
    margin-bottom: 20px;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s ease-in-out;
    overflow: hidden;
    cursor: pointer;
}

.food-pics figure.is-showing {
    opacity: 1;
    transform: translateX(0px);
    
}

.food-pics figure img:hover {
    display: block;
    transform: scale(1.1);
    transition:  all 0.9s ease-in-out;
}

.food-pics figure:hover figcaption {
    left: 0%;
}

figcaption {
    position: absolute;
    width: 100%;
    bottom: 20px;
    left: -120%;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding 2px 8px;
    height: 50px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

/* Large Window */

.large-window {
    height: 600px;
    background: url(../images/dining.jpg) repeat-y fixed center 0px;
    margin-top: 100px;
    margin-bottom: 100px;
    border-radius: 50%;
    position: relative;
}

.window-tint {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-text {
    color: white;
    font-weight: 100;
    font-size: 50px;
}

.promo-text span {
    font-weight: 300;
    font-size: 18px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

.promo-text strong {
    display: block;
    font-size: 30px;
}

.window-cta {
    font-size: 20px;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}

.window-cta:hover {
    background: white;
    color: black;
}

/* -------------------------------- Blog Posts ----------------------- */

.blog-posts {
    margin-top: 100px;
}

.blog-posts .post {
    position: relative; 
    border: 1px solid #e1e1e1;
    padding: 20px 20px 0;
    background: white;
}

.blog-posts .post-1 {
    transform: translate(100px. 20px);
}

.blog-posts .post-2 {
    z-index: 2;
}

.blog-posts .post-3 {
    transform: translate(-100px. 20px);
}

/* -------------------------- Footer ------------------------------- */

footer {
    background: #BF893E;
    color: white;
    padding: 40px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-content {
    max-width: 640px;
    margin: 0 auto;
    padding-left: 20px;
}

footer a {
    color: white;
}

footer a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}

form.row {
    margin-left: 0px;
    width: 100%;
} 

/* ----------------------- Media Queries ----------------------------- */

/* Larger than mobile */

@media (min-width 320px) {
    .logo {
        background-size: 80%;
    }
}

@media (min-width: 400px) {
    .large-window {
        height: 530px;
    }

    .logo {
        background-size: 80%;
    }
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {
    .row {
        display: block;
        width: 960px;
/*        margin-left: -160px;*/
    }
    
}

/* Larger than desktop */
@media (min-width: 1000px) {
    .row {
        display: block;
        width: 960px;
        margin-left: -160px;
    }
    
    .logo {
        background-size: 30%;
    }
    
    .large-window {
        height: 600px;
    }
    
    .footer-content {
        margin-left: 0;
    }
}

/* Larger than Desktop HD */
@media (min-width: 1200px) {
    .row {
        display: block;
        width: 960px;
        margin-left: -160px;
    }
    
    
    .large-window {
        height: 600px;
    }
    
    .footer-content {
        max-width: 640px;
        margin: 0 auto;
    }
}
