body {
    margin: 0;
    background-color: #fcf7f2;
    font-family: 'Roboto', sans-serif;
}

/*********** HEADER ************/

header {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    height: 120px;
}

#login-bar {
    height: 20px;
    background-color: #38362d;
    color: white;
    text-align: right;
    padding-top: 10px;
    padding-right: 10px;
    font-size: .6em;
    letter-spacing: 5px;
}

nav {
    padding-top: 25px;
    text-align: right;
    padding-right: 150px;
}

nav a {
    font-family: 'Roboto', sans-serif;
    color: black;
    text-decoration: none;
    font-size: .7em;
    letter-spacing: 4px;
    
}

.navigation {
    display:inline-block;
    padding-left: 40px;
    padding-top: 15px;
}

#container {
    padding: 0px;
    margin: 0px;
}

#logo {
    position: absolute;
    left: 40px;
    top: 35px;
    width: 250px;
    height: auto;

}

.itemCount {

   padding-left: 80px;
}

#cart {
    width: 30px;
    height: auto;
    position: absolute;
    padding-left: 40px;
    padding-top: 3px;
}

/*********** BANNER ************/

/* Referenced the following link to center banner image
https://stackoverflow.com/questions/14562457/center-oversized-image-in-div
*/

#photo-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 10px auto;
    background: white;
    z-index: 0;
}

#banner {

    height: 200px;
    width: 3550px;
    margin-bottom: 80px;
    z-index: 0;
}

#banner img {
    height: 500px;
    width: auto;
    z-index: -1;

}

#left-pillow {
    position: absolute;
    margin-left: 50%;
    transform: translateX(-165%);

}

#right-pillow {
    position: absolute;
    margin-left: 50%;
    transform: translateX(75.7%);
    

}

#home-pillow {
    position: absolute;
    top: -80%;
    bottom: -100%;
    left: -100%;
    right: -100%;
    margin: auto;
}

#banner-text {

    font-family: 'Roboto', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    letter-spacing: 2px;
    text-align: center;
}

#shop-now {
    width: 130px;
    height: 35px;
    margin-left: -65px; /* margin is -0.5 * dimension */
    margin-top: 10px;
    padding-top: 15px;

    font-family: 'Roboto', sans-serif;
    
    text-decoration: none;
    font-size: .9em;
    letter-spacing: 2px;
    text-align: center;
    background-color: rgba(0,0,0, .5);;
    color: rgba(250,250,250, 1);
}

#shop-now a {
    color: white;
    text-decoration: none;
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -5px; /* margin is -0.5 * dimension */
    margin-top: 100px;

    width: 10px;
    height: 10px;
    background-color: white;
    opacity: .7;
    border-radius: 50%;
/* Cleaner, but slightly less support: use "50%" as value */
}

#left-circle {
    left: 45%;
}

#right-circle {
    left: 55%;
}

/*********** CATCHPHRASE ************/
#catch-phrase {
    width: 800px;
    margin-left: -400px;
    top: 480px;
    font-style: italic;
    font-size: 1.2em;
    letter-spacing: 3px;
    text-align: center;
}

#underline{
    width: 800px;
    margin-left: -400px;
    top: 520px;
    height: 1px;
    background-color: black;
}


/*********** IMAGE LINKS ************/

/*Refrences Codacademy tutorial*/

#image-links {
    display: grid;
    grid-template-columns: 40% 40%;
    grid-template-rows: repeat(1, 300px);
    grid-gap: 30px;
    margin-top: 95px;
    grid-auto-rows: 100px;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    overflow: hidden;
    position: relative;
}

#image-left {
    overflow: hidden;
    width: 100%;
    margin: 10px auto;
}

#image-right {
    overflow: hidden;
    width: 100%;
    margin: 10px auto;
}

#image-links img {
    object-fit: contain;
    width: 100%;
}

#read-about {
    height: 40%;
    width: 40%;
    background-color: rgba(250, 250, 250, .75);
    padding-top: 10%;
    margin-top: -65%;
    margin-left: 10%;
    position:relative;
    text-align: center;
    overflow: hidden;
}

#our-story {
    margin-top: 10%;
    margin-left: 6%;
    height: 25%;
    padding-top: 5%;
    width:85%;
    background-color: rgba(250, 250, 250, .75);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgb(56, 54, 45);
}

#pittsburgh-workshop {
    height: 10%;
    width: 100%;
    background-color: rgba(250, 250, 250, .75);
    padding-top: 2%;
    margin-top: -75%;
    padding-left: 0%;
    position:relative;
    text-align: center;
    overflow: hidden;

}

#visit-us {
    margin-top: -.8%;
    margin-left: 3%;
    height: 75%;
    padding-top: 0%;
    width: 25%;
    background-color: rgba(250, 250, 250, .75);
    text-align: center;
    border: 2px solid rgb(56, 54, 45);
    float: left;
}

.spacer {
    height: 95px;
}
/*********** FOOTER ************/

footer {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: repeat(2, 30px);
    grid-gap: 0px;
    margin-top: 0px;
    grid-auto-rows: 10px;
    justify-content: center;

    width: 100%;
    height: 80px;
    background-color: #38362d;
    font-family: 'Roboto', sans-serif;
    color: white;
    
    padding-top: 10px;
    padding-left: 0px;
    font-size: .6em;
    
}

footer address {
    padding-left: 20px;
    padding-top: 15px;
    text-align: left;
    letter-spacing: 5px;
}

#copyright {
    padding-top: 15px;
    padding-right: 20px;
    text-align: right;
}

#icon-container {
    padding-right: 10px;
}

.icons {
    height: 20px;
    width: auto;
    float: right;
    padding-right: 15px;
    padding-top: 5px;

}

/*********** PRODUCT PAGE ************/

#underline-header{
    width: 100%;
    margin-left: -50%;
    top: 175px;
    height: 1px;
    background-color: black;
    opacity: .2;
}

#product-header {
    width: 800px;
    margin-left: -400px;
    top: 215px;
    font-size: 1.2em;
    letter-spacing: 3px;
    text-align: center;
}

#product-underline{
    width: 60%;
    margin-left: -30%;
    top: 255px;
    height: 1px;
    background-color: black;
}

#product-statement {
    width: 400px;
    margin-left: -200px;
    top: 280px;
    font-size: .8em;
    letter-spacing: 4px;
    text-align: center;
}

/*********** PRODUCT IMAGES ************/

#product-links {
    display: grid;
    grid-template-columns: 175px 175px 175px 175px;
    grid-template-rows: repeat(1, 300px);
    grid-gap: 30px;
    margin-top: 190px;
    padding-bottom: 100px;
    grid-auto-rows: 100px;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    overflow: hidden;
    position: relative;
}

.product-link {
    height: 100%;
}

#bed-pillow {
    overflow: hidden;
    width: 100%;
    margin: 10px auto;
}

#couch-pillow {
    overflow: hidden;
    width: 100%;
    margin: 10px auto;
}

#floor-pouf {
    overflow: hidden;
    width: 100%;
    margin: 10px auto;
}

#round-pillow {
    overflow: hidden;
    width: 100%;
    margin: 10px auto;
}

.product-text {
    position: absolute;
    padding-top: 5px;
}

/*********** PRODUCT DETAIL PAGE ************/

#bed-detail-img {
    float: left;
    padding-left: 50px;
    padding-top: 80px;
    width: 400px;
}

#detail-text {
    text-align: left;
    margin-top: 20px;
    margin-left: 500px;
}

#detail-underline{
    width: 70%;
    margin-top: 10px;
    top: 255px;
    height: 1px;
    background-color: black;
}

#bed-title {
    text-align: left;
    font-size: 2em;
    letter-spacing: 5px;
}

#price {
    padding-top: 20px;
    font-size: 1.5em;
}

.shapes-color-text {
    padding-top: 20px;
    letter-spacing: 3px;
    font-size: .9em;
}

#shapes-grid {
    display: grid;
    grid-template-columns: 100px 100px 100px;
    grid-template-rows: repeat(2, 50px);
    grid-gap: 10px;
    margin-top: 10px;
    padding-bottom: 10px;
    grid-auto-rows: 10px;
    align-items: stretch;
    align-content: center;
    overflow: hidden;
    position: relative;
}

.shape-item {
    background-color: white;
    width: 100%;
    border: 1px solid rgb(130, 128, 122);;
}

.shape-item img {
    padding-top: 7px;
    padding-left: 5px;
    float: left;
}

.shape-item div {
    color: #38362d;
    padding-top: 13px;
    margin-left: 20px;
    text-align: center;
}

#square {
    background-color: lightgray;
    width: 100%;
}

#colors-grid {
    display: grid;
    grid-template-columns: 55px 55px 55px 55px 55px;
    grid-template-rows: repeat(1, 30px);
    grid-gap: 11.5px;
    padding-top: 10px;
    padding-left: 5px;
    padding-bottom: 10px;
    grid-auto-rows: 10px;
    align-items: stretch;
    align-content: center;
    overflow: hidden;
    position: relative;
}

.color-item {
    background-color: white;
    width: 100%;
    border: 1px solid rgb(130, 128, 122);;
    

}

.outlineClass {
    outline: 1.5px solid black;
    outline-offset: 2px;
}

#black {
    background-color: black;
}

#red {
    background-color: darkred;
}

#purple {
    background-color: purple;
}

#blue {
    background-color: darkblue;
}

input {
    float: left;
    margin-top: 20px;
    width: 40px;
    height: 30px;
    text-align: center;
}

#add-to-cart{
    height: 27px;
    width: 253px;
    margin-top: 20px;
    padding-top: 8px;
    margin-left: 70px;
    background-color: gray;
    text-align: center;
    color: white;
    font-size: 1em;
    letter-spacing: 2px;
    
}

a {
    text-decoration: none;
}

#detail-title {
    font-size: 2em;
    margin-top: 80px;
    padding-left: 50px;
}

#detail-title-underline{
    width: 10%;
    margin-top: 10px;
    padding-left: 800px;
    top: 255px;
    height: 1px;
    background-color: black;
}

.center { 
    position: absolute;
    width: 300px;
    height: 150px;
    top: 50%;
    left: 50%;
    margin-left: -150px; /* margin is -0.5 * dimension */
    margin-top: -50px;
}​
