/* base: */

* {
    margin: 0;
    box-sizing: border-box;
    font-family: Helvetica, sans-serif;
    color: #333;
    line-height: 1.6em;
}


body{
    background-color: #ded7d4;
    width: 80%;
    margin: 1.5rem auto 1.5rem auto;
}

h1, h2, h3, h4, h5, h6{
    font-weight: normal;
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
}

a {
    color: #e53;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.buynow {
    display: block;
    width: 10rem;
    border: 2px RGB(190, 160, 130) solid;
    background-color: RGBA(190, 160, 130, 0.7);
    border-radius: 7px;
    color: #fff;
    text-align:center;
    clear: both;
    transition: background-color 1s linear, border-color 1s linear;
}

.buynow:hover {
    text-decoration: none;
    background-color: RGBA(0, 128, 0, 0.7);
    border-color: green;
}


p {
    text-align: justify;
    margin-bottom: 1rem;
}

.product {
    background-color: #fff;
    padding: 1rem;
    margin: 1rem;
}

aside ul {
    list-style-type: none;
    margin-bottom: 1.5rem;

}

/* display new HTML5 elements as block level elements: */
header, main, nav, aside, article, footer, figure, figcaption {
    display: block;
    padding: 0;
}

div.product figure {
    width: 30%;
    margin: 10px;
    margin-top: 0px;
}

figure > img {
    width: 100%;
    height: 100%;
}

div.product figcaption {
    font-weight: bold;
    text-align: center;
}

.left {
    float: left;
}

.right {
    float: right;
}

main {
    float: left;
    width: 74%;
}

aside {
    float: right;
    width: 24%;
}

footer {
    clear: both;
    width: 100%;
}

#banner {
    background-image: url("../images/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 0;
    box-sizing: content-box;
    padding: 0 0 66% 0;
    margin-bottom: 2rem;
    position: relative;
}

#banner h1{
    color:#fff;
    font-size: 4vw;
    padding: 0vw;
    padding-top: 1vw;
    margin: 0vw 2vw 0vw 2vw;
    text-shadow: 0.1vw 0.1vw 0.2vw #333;
}

#banner p{
    color:#fff;
    font-size: 3vw;
    padding: 0vw;
    margin: 0vw 2vw 3vw 2vw;
    text-shadow: 0.1vw 0.1vw 0.2vw #333;
}

#banner a{
    color:#fff;
    border: 2px solid;
    border-radius: 3vw;
    font-size: 2vw;
    padding: 1vw 5vw;
    margin: 0.5vw 2vw 0vw 2vw;
    text-shadow: 0.1vw 0.1vw 0.2vw #333;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 1s ease-out;
}

#banner a:hover{
    background-color: rgba(238, 85, 51, 0.8);
}

#banner div{
    position: absolute;
    left: 0;
    bottom: 5vh;
}

header{
    background-color: rgba(33, 34, 37, 0.9);
    padding: 2vh 1vw;
    color: #fff;
    margin-top: 0;
    position: sticky;
    top: 0;
    z-index: 15;
}

aside{
    position: sticky;
    top: 9vh;
}