/*page styles*/
*{ 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style-type: none;
    font-family: 'Cormorant Garamond' serif;
}

html {
    font-size: 62.5%;
}
/*End page styles*/

.navbar {
    position: fixed;
    z-index: 100;
    width: 100%;
    top: 1rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.menu {
    display: none;
}

.nav-list {
    display: flex;
    justify-content: center;
}

.nav-link {
    font-size: 1.5rem;
    color: #fff;
    width: 15rem;
    margin: 0 3rem;
    text-transform: uppercase;
    border: .1rem solid #fff;
    text-align: center;
    padding: .2rem 0;
    letter-spacing: .1rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: "";
    position:absolute;
    width: 150%;
    height: 5rem;
    background-color: #d50000;
    left: -20%;
    transform: rotate(-40deg) translateX(-4rem);
    transform-origin: left bottom;
    opacity: .8;
    transition: left .3s;
}

.nav-link:hover::before {
    left: 110%;
}

.logo {
    height: 6rem;
}

.page-btn {
    position: fixed;
    z-index: 100;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
}

.page-btn img {
    width: 4rem;
    opacity: .4;
    cursor: pointer;
    transition: opacity .2s;
}

.page-btn img:hover {
    opacity: 1;
}

.left-btn {
    left: 4rem;  
}

.left-btn img {
    transform: rotate(-90deg);
}

.right-btn {
   right: 4rem;  
}

.right-btn img {
    transform: rotate(90deg);
}

.progress-wrapper {
    position: fixed;
    z-index: 100;
    bottom: 2rem;
    left: 3rem;
}

.progress {
    margin: 1rem 0;
    text-align: center;
}

.progress h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
}

.circle-wrapper {
    display: flex;
}

.circle {
    width: 1rem;
    height: 1rem;
    border: .1rem solid #fff;
    border-radius: 50%;
    margin: 0 .3rem;
    transition: background-color .3s;
}

.circle-1 {
    background-color: #ddd;
}

.wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

section {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    overflow: hidden;
    transition: left 1.5s;
}

.section-1 {
    z-index: 50;
}

.section-wrapper {
    width: inherit;
    height: inherit;
    transform: scale(1.5);
    transition: all 2s;
}

.section-1-wrapper {
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.4)),
    url(images/section-1-bg.jpg) center no-repeat;
    background-size: cover;
}

.section-1-heading-wrapper {
    position: absolute;
    top:70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-1-heading {
    font-size: 8rem;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1rem;
    border-bottom: .2rem solid #d50000;
    text-align: right;
    user-select: none;
}

.section-2 {
    z-index: 40;
}

.section-2-wrapper {
    background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.9)),
    url(images/section-2-bg.jpg) center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.sale {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sale-bag {
    opacity: .9;
    width: 45rem;
}

.sale-btn {
    width: 20rem;
    height: 5rem;
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .1rem;
    background-color: transparent;
    color: #fff;
    margin-top: 4rem;
    border: .1rem solid #fff;
    transition: background-color .2;
}

.sale-btn:hover {
    background-color: #d50000;
}

.wine-bottle {
    opacity: .6;
    width: 80rem;
}

.section-3 {
    z-index: 30;
    background-color: #000;
}

.section-3-wrapper {
    background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.9)),
    url(images/section-3-bg.jpg) center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-img {
    width: 100rem;
    position: absolute;
    opacity: .5;
}

.grapes-img {
    width: 40rem;
    position: absolute;
    opacity: .7;
    transition: all 1.5s;
}

.grapes-img:hover {
    opacity: 1;
    transform: scale(2);
}

.section-3-heading {
    font-size: 18rem;
    color: #ccc;
    text-transform: uppercase;
    transform: rotate(-20deg);
    text-align: center;
    text-shadow: 0 .5rem 1.5rem #000;
    user-select: none;
}

.section-4 {
    z-index: 20;
}

.section-4-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-4-bg {
    width: 110%;
    height: 110%;
    position: absolute;
    background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.7)),
    url(images/section-4-bg.jpg) center no-repeat;
    background-size: cover;
    z-index: -1;
    filter: blur(.5rem);
}

.section-4-heading {
    font-size: 10rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: #d50000;
    user-select: none;
}

.new-wines-img {
    width: 60rem;
    border: .1rem solid #fff;
    padding: 1rem;
    opacity: .7;
}

.section-5 {
    z-index: 10;
}

.section-5-wrapper {
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.5)),
    url(images/section-5-bg.jpg) center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-list {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: .1rem;
    color: #ddd;
    margin: 1rem 0;
}

.footer-list li:first-child {
    text-transform: uppercase;
    color: #fff;
}

.footer-img {
    width: 60rem;
    margin: 0 20rem;
    opacity: .9;
}

.copyright {
    position: absolute;
    bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #eee;
    letter-spacing: .2rem;
}
/*Media Queries*/
@media(max-width: 1600px) {
    .sale-bag {
        width: 35rem;
    }

    .wine-bottle {
        width: 65rem;
    }

    .footer-img {
        width: 45rem;
        margin: 0 12rem;
    }
}

@media(max-width: 1300px){
    .sale-bag {
        width: 30rem;
    }

    .wine-bottle {
        width: 60rem;
    }

    .footer-img {
        width: 35rem;
        margin: 0 10rem;
    }
}

@media(max-width: 1200px){
    .nav-link {
        margin: 0 1.5rem;
    }

    .section-1-heading-wrapper {
        width: 80%;
    }

    .section-1-heading {
        font-size: 8rem;
    }

    .sale-bag {
        width: 25rem;
    }

    .sale-btn {
        width: 15rem;
        height: 4rem;
        font-size: 1.7rem;
    }

    .wine-bottle {
        width: 50rem;
    }

    .footer-img {
        width: 25rem;
        margin: 0 7rem;
    }
}

@media(max-width: 1000px){
    .navbar {
        justify-content: start;
        padding-left: 2rem;
    }

    .menu {
        display: block;
        width: 4rem;
        height: 2.5rem;
        position: absolute;
        top: 1rem;
        right: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .menu-line {
        width: 100%;
        height: .3rem;
        background-color: #d50000;
        transition: transform .5s;
    }

    .change .menu-line-1 {
        transform: rotate(40deg) translate(.5rem, 1rem);
    }

    .change .menu-line-2 {
        transform: translate(-.2rem, 2rem);
    }

    .change .menu-line-3 {
        transform: rotate(-40deg) translate(.5rem, -1rem);
    }

    .nav-list {
        position: absolute;
        top: 5rem;
        right: -21rem;
        flex-direction: column;
        height: calc(100vh - 5rem);
        background-color: #333;
        justify-content: start;
        padding: 2rem;
        border-radius: .5rem 0 0 0;
        transition: right .5s;
    }

    .change .nav-list {
        right: 0;
    }

    .nav-link {
        margin: 1rem;
    }

    .section-2-wrapper {
        flex-direction: column;
    }

    .sale {
        order: 1;
    }

    .section-3-heading {
        font-size: 12rem;
    }

    .frame-img {
        width: 70rem;
    }

    .grapes-img {
        width: 25rem;
    }

    .section-4-heading {
        font-size: 8rem;
    }

    .new-wines-img {
        width: 60rem;
    }

    .section-5-wrapper {
        flex-direction: column;
    }

    .footer-img {
        width: 20rem;
        order: 1;
    }

    .footer-list {
        width: 20rem;
        margin: 2rem auto;
    }
}

@media(max-width: 800px){
    .left-btn {
        left: 2rem;
    }

    .right-btn {
        right: 2rem;
    }

    .section-1-heading {
        font-size: 6rem;
    }

    .sale-bag {
        width: 20rem;
    }

    .wine-bottle {
        width: 40rem;
    }

    .section-3-heading {
        font-size: 11rem;
        opacity: .7;
    }

    .frame-img {
        width: 60rem;
    }

    .new-wines-img {
        width: 45rem;
    }

    .progress-wrapper {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media(max-width: 600px) {
    .section-1-heading {
        font-size: 4rem;
    }

    .sale-bag {
        width: 15rem;
    }

    .wine-bottle {
        width: 30rem;
    }

    .sale-btn {
        width: 12rem;
        height: 3rem;
        font-size: 1.4rem;
    }

    .section-3-heading {
        font-size: 10rem;
    }

    .frame-img {
        width: 35rem;
    }

    .section-4-heading {
        font-size: 6rem;
    }

    .new-wines-img {
        width: 35rem;
    }
}

@media(max-width: 500px){
    html {
        font-size: 45%;
    }

    .left-btn {
        left: .5rem;
    }
    
    .right-btn {
        right: .5rem;
    }

    .nav-list {
        top: 6.5rem;
    }

    .section-3-heading {
        font-size: 8rem;
    }

    .grapes-img {
        width: 15rem;
    }

    .grapes-img:hover {
        width: 25rem;
    }
}
/*End Media Queries*/