html, body{
    height: 100%;
    margin: 0 0;
    padding: 0 0;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    /*Style the webpage to have no default padding or margins*/
}
/*Removes whitespace between content divs and imgaes to allow seamless transition*/
p{margin:0; padding: 10px;}
/*HEader styling*/
.header{
    /*The image being used*/
    background-image: url("images/coffee-bar.jpg");
    /*Sets the image to full height*/
    height: 100%;
    /*create parallax effects*/
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex; /*uses flexbox to center the content*/
    justify-content: center;
    position: relative; /*setting the position to relative allows for the sizing of divs within this class*/
    font-family: 'Alkatra', cursive;
    font-family: 'Josefin Sans', sans-serif;
    font-family: 'Kaushan Script', cursive;
}
/*Designs the review section*/
.reviewSection{
    /*The image we are using*/
    background-image: url("images/coffee-shop-1-min.webp");
    /*full height setting*/
    height: 100%;
    /*create parallax*/
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex; /*By Using flexbox in this div it allows me to customize the layout of "review" cards*/
    flex-flow: column wrap;
    justify-content: space-around;
}
/*Designs the product section*/
.productSection{
    /*The image we are using*/
    background-image: url("images/muchacho-interiors-45.webp");
    /*full height setting*/
    height: 100%;
    /*create parallax*/
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex; /*By Using flexbox in this div it allows me to customize the layout of "product" cards*/
    flex-flow: row wrap;
    justify-content: space-between;
}

.contact{
    /*The image we are using*/
    background-image: url("images/coffee-bar.jpg");
    /*full height setting*/
    height: 100%;
    /*create parallax*/
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*Designs the internal div inside the header,*/
.card{
    background-color:antiquewhite;
    opacity: 80%;
    margin: 0;
    text-align: center;
    width: 100%;
}
/*Designs the content boxes between the images*/
.content{
    background-color: black;
    color: white;
    font-size: 1.25em;
}

/*Styling of the review cards within the reviewSection div*/
.review {
    width: 25%;
    height: 35%;
    border: 2px solid black;
    background-color: rgba(250, 235, 215, 0.747); /*Used RGBA on antique white to create Opacity effect without affecting the text within the divs*/
    font-size: 1.5em;
    text-align: center;
    align-self: center;
    position: relative;
}

.review p{
    position: absolute; 
    -ms-transform: translateY(-50%); 
    transform: translateY(-50%); 
    top:50%;
}

/*Creates style for the product image cards in the product section*/
/*Button Styling*/
.product{
    margin: 0;
    text-align: center;
    width: 40%;
}

.open {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.open:hover , .active:hover{background-color: aliceblue;}
/*Image card styling*/
.productImage1 {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
    background-image: url("images/mochaLatte.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
}

.productImage2 {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
    background-image: url("images/caramelMachiato.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
}

.productImage3 {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
    background-image: url("images/Americano.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
}

.productImage4 {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
    background-image: url("images/cappucino.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
}

@media screen and (max-width: 500px){
    p {
        font-size: .75em;
    }
    
    .review {
        width: 100%;
        height: 10%;
        border: 2px solid black;
        background-color: rgba(250, 235, 215, 0.747); /*Used RGBA on antique white to create Opacity effect without affecting the text within the divs*/
        font-size: 1.5em;
        text-align: center;
        align-self: center;
        position: relative;
    }
}