body{
    box-sizing: border-box;
}

p, h1, h2, h3, h4, ul, li, button{
    padding: 0;
    margin: 0;
    color: #47240F;
    font-family: Acme;
}

/**end resets ***/

h1, h2, h3{
    text-align: center;
    padding: 2%;
}

h2, h3{
    text-align: center;
    padding: 3%;
}

#story-img {
    display: none;
    height: 400px;
    width: 575px;
    border-radius: 25px;
}

#story h2{
    font-size: 1.6rem;
    margin-top: -50px;
}

#story p{
    padding: 1%;
    width: 500px;
    margin: auto;
    font-size: 1.9rem;
}

body{
    padding: 0;
    margin: 0;
    background-color: rgb(212, 212, 212);
    width: 100%;
}

header{
    width: 100%;
}



#container{
    width: 600px;
    padding-top: 15px;
    padding-bottom: 3%;;
    background-color: #FFFCF6;
    margin: auto;
    width: 600px;
}


header img{
  /*  margin-left: 240px;*/
    height: 120px;
    width: 120px;
}
#name{

    display: flex;
    width: 500px;
}

#Hlogo{
    margin-left: 1%;
}

#HName{
    margin-left: 16%;
    width: 200px;
    height: 200px;
}

header h1{
    text-align: center;
}

nav ul{ 
    margin:auto;
    width: 420px;
    display: flex;
    padding: 0;
}

nav ul li{
    text-align: center;
    width: 220px;
    margin: auto;
    /*border-bottom: black solid 2px;
    border-left: black solid 2px;
    border-top: black solid 2px;*/
    padding: 3%;
    list-style: none;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/*nav ul li:last-of-type{
    border-right: black solid 2px;
}*/

section{
    width: 600px;
}

#ordor{
    display: flex;
    padding-top: 60px;
    background-color: #94A98D;
    width: 600px;
}

.cookie{
    position: relative;
    display: none;
    border-radius: 25px;
    background-color: #ffffff41;
    margin: auto;
    height: 525px;
    width: 500px;
}

.cookie img{
    margin-top: 20px;
    margin-left: 150px;
    width: 200px;
    border-radius: 500px;
}

.cookie h3{
    font-size: 1.5rem;
}

.cookie p{
    margin: auto;
    padding: 30px;
}

#half-cookie{
    display: none;
}



#buttons{
    width: 83%;
    margin: auto;
}

#emtpy{
    margin: auto;
    position: relative;
}

#contact{
    margin: 50px 25%;
}

button{
    font-size: 1.7rem;
}

.cta-button {    
    margin: 50px 25%;
    border-color: rgb(248, 173, 108);
    height: 80px;
    width: 300px;
    background-color: rgb(248, 173, 108);
    border-radius: 25px;
    padding: 2%;
}

.order-buttons{
    position: absolute;
    left: 30%;
    bottom: 25px;
    border-color: rgb(248, 173, 108);
    height: 80px;
    width: 200px;
    background-color: rgb(248, 173, 108);
    border-radius: 25px;
    padding: 2%;
}




.ordorbuttons{
    width: 50px;
    height: 50px;
   /* background-color: aqua;*/
    border-radius: 50%;
    margin: 50px 14px;
}

#images .slide1 { background: url(images/m-cookie.jpg) top left no-repeat; }
#images .slide2 { background: url(images/c-cookie.jpg) top left no-repeat; }
#images .slide3 { background: url(images/m-cookie2.jpg) top left no-repeat; }

#button-one{
    background: url(images/button-one.jpg);
}

#button-two{
    background: url(images/button-two.jpg);
}

#button-three{
    background: url(images/button-three.jpg);
}


#button-four{
    background: url(images/button-four.jpg);
}

#button-five{
    background: url(images/button-five.jpg);
}

#images .slides li div {
	width: 100%;
	position: relative;
	padding-bottom: 50%;
	background-size: cover;
}

#images .slides li div h2 {
	position: absolute;
	top: 20px;
	left: 20px;
	color: #B40205;
}


.cta{

	height:150px;
	width: 150px;
	font-size: 24px;

}


#images .flex-control-paging{
 
        position: absolute;
        top: 90%;
}

.flex-control-paging li a{
    background-color: rgba(146, 146, 146, 0.596);
    height: 15px;
    width: 15px;
}

.flex-control-paging li a.flex-active{

    background-color: #ffffff;

}

.flexslider .slides img{
    width: 300px;
}


article{
    padding-right: 80px;
    padding-left: 80px;
}

.star{
    margin: auto;
}

.flexslider .slides .review-img{
    display: none;
}

footer{
    display: flex;
    padding-left: 78px;
}
footer img{
    margin-left: 5px;
    margin-top: 20px;
    width: 100px;
    height: 100px;
}

footer ul{
    margin-top: 20px;
}

footer li{
    font-size: 1.3rem;
    margin-left: 60px;
    color: black;
}


button{
    border-color: rgba(255, 255, 255, 0);
}



@media only screen and (min-width: 1000px) {

    #button-one{
        background: url(images/button-one.jpg);
        position: absolute;
        right: 0%;
        top: 1%;
    }

    #half-cookie{
        display: block;
        width: 350px;
        height: 350px;
        position: relative;
        top: -435px;
        right: -705px;
    }

    #button-two{
        background: url(images/button-two.jpg);
        position: absolute;
        right: 10%;
        top: 14%;
    }

    #button-three{
        background: url(images/button-three.jpg);
        position: absolute;
        right: 14%;
        top: 32%;
    }


    #button-four{
        background: url(images/button-four.jpg);
        position: absolute;
        right: 10%;
        top: 51%;
    }

    #button-five{
        background: url(images/button-five.jpg);
        position: absolute;
        right: 1%;
        top: 64%;
    }

    .flexslider .slides .review-img{
        display: block;
    }


    .review-flex{
        display: flex;
    }


    #reviews p{

        margin: auto;
        padding: 15px;
        padding-left: 8%;
        padding-top: 7%;
    }


    .flexslider .slides .star{
    width: 150px;
    margin-top: -10px;
    margin-left: auto;
    margin-right: auto;


    }

    .review-img{
        display: block;
        margin-top: 20px;
        height: 100px;
        width: 100px;
    }

    .cookie{
        margin-right: 320px;
    }

    #story-img{
       margin-right: 30px;
        height: 45%;
        width: 45%;
    }

    #story{
        height: 550px;
        position: relative;
    }

    #contact{
        position: absolute;
        left: 34%;
        bottom: 0px;
    }

    #story-flex{
        display: flex;
        flex-direction: row-reverse;
    }

    #story p{
        font-size: 1.2rem;
        width: 450px;
    }


    #ordor{
        width: 960px;
    }

    #emtpy{
        height: 600px;
    }

    section{
        width: 960px;
    }

    #container{
        width: 960px;

    }

    #story-img {
        display: block;
    }

    header img{
        
    }

    #Hlogo{
        margin-left: 30px; 
        margin-top: 10px;
    }

    #HName{
        margin-top: -60px;
        margin-bottom: -90px;
        height: 60%;
        width: 60%;
        margin-left: 185px;  
    }

    footer div{
        width: 960px;
        display: flex;
    }
    
    footer ul:last-of-type{
    margin-left: 75px;
}

	
}

@media only screen and (min-width: 1200px) {
    #ordor{
        width: 960px;
    }

    section{
        width: 960px;
    }

    #container{
        width: 960px;

    }
	
    footer div{
        width: 960px;
        display: flex;
    }

}
