/*----- algemeen -----*/
html, body {
    box-sizing: border-box;
    background-color: rgb(250,234,215);
    font-family: Arial, Helvetica, sans-serif;
    height: auto;
    width: auto;
    padding: 0;
    margin: 0;}

body {
    display: grid;
    grid-template-areas: 
    'header header header header'
    'nav nav nav nav'
    'aside main main main'
    'aside footer footer footer';}

/*----- titels en tekst -----*/
h1, h2 {
    text-align: center;
    letter-spacing: 0.4rem;
    text-transform: uppercase;}

h1 {
    font-size: 1.8rem;
    padding: 4rem 0 2rem 0;
    color: rgb(255,145,77)}

h2 {
    font-size: 1.2rem;
    padding: 2rem 0 0.6rem 0;
    color: rgb(0,0,0)}

p {
    font-size: 1.1rem;
    text-align: left;
    padding: 0.4rem 0 1rem 0;
    line-height: 2rem;
    color: rgb(0,0,0);}

/*----- header -----*/
header {
    grid-area: header;
    margin: -1rem;}

header img {
    display: block;
    margin: 0 auto;}

/*----- nav -----*/
nav {
    grid-area: nav;
    padding: 2rem;
    margin: -5rem 0.6rem 0 0;
    border-bottom: 1px solid rgb(255,145,77);
    display: flex;
    justify-content: space-between;}

.left-side, .right-side {
    list-style: none;}

.left-side li {
    display: inline-block;}

.left-side li a {
    display: inline-block;
    width: auto;
    height: auto;
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(0,0,0);
    font-size: 0.8rem;
    letter-spacing: 0.4rem;
    padding: 1rem 0.6rem;}

.left-side li a:hover {
    letter-spacing: 0.4rem;
    color: rgb(255,145,77);
    font-weight: bolder;}

.right-side form {
    display: flex;
    height: 50px;
    justify-content: left;}

.right-side form button {
    padding: 1rem;
    height: 100px;
    margin-top: -25px;}

.active {
    letter-spacing: 0.4rem;
    font-weight: bold;}

nav input[type=search] {
    display: inline-block;
    box-sizing: border-box;
    border: 1px solid rgb(0,0,0);
    border-radius: 4px;
    font-size: 0.8rem;
    padding: 1rem 0rem 1rem 1rem;}

#shoppingCartNav {
    margin: 0.5rem 1rem 0 2rem;}

/*----- main -----*/
.mainAllOther {
    grid-area: main;
    padding: 4rem 0;} 

/* Zodat sfeerbeeld geen open ruimte aan de bovenzijde heeft */
#mainHome {
    grid-area: main;
    padding-bottom: 4rem;}

/*----- main/home -----*/
#home {
    background-image: url("../assets/horizontaal_sfeerbeeld.jpg");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    width: auto;
    height: auto;}

#home blockquote p {
    color: rgba(233, 96, 11, 0.96);
    text-shadow: 2px 1px rgb(255, 149, 83);
    font-size: 1.8rem;
    text-align: center;
    font-weight: bold;
    line-height: 4rem;
    letter-spacing: 0.4rem;
    padding: 0.5rem 4rem;}

#home blockquote p:first-child {
    font-style: italic;
    padding: 5rem 0;}

#home button {
    display: inline-block;
    font-weight: bold;
    margin: 3rem;
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
    border: 3px solid rgba(233, 96, 11, 0.96);
    font-size: 1.8rem;;
    border-radius: 4px;}

#home button:hover {
    border: 4px solid rgba(233, 96, 11, 0.96);
    font-weight: bolder;}

#home button a {
    color: rgba(233, 96, 11, 0.96);
    text-transform: uppercase;}

#aboutUs {
    margin: 0 5rem;}

#aboutUs img {
    display: block;
    margin: 0 auto;
    border-radius: 4px;}

/*----- main/home & shop & product-----*/
.flexboxLargeItems {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding-left: 5rem;
    gap: 10rem 5rem;}

.flexboxSmallItems {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding-left: 5rem;
    gap: 10rem 18rem;}

#mostSoldItems a img, #suggestedItems a img {
    width: auto;
    height: 300px;
    border-radius: 4px;}
    
#mostSoldItems a figcaption, #suggestedItems a figcaption {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    padding: 1rem 0;}

#mostSoldItems a figcaption::first-line, #suggestedItems a figcaption::first-line {
    font-size: 0.8rem;
    font-style: italic;
    letter-spacing: 0.1rem;
    padding: 0 1rem;}

/*----- main/shop & product-----*/
#shopAllProducts a img, #productPage figure img {
    width: auto;
    height: 400px;
    border-radius: 4px;}

#shopAllProducts a figcaption p:nth-child(1), #productPage figure figcaption p:nth-child(1) {
    font-size: 0.8rem;
    font-style: italic;
    letter-spacing: 0.1rem;}

#shopAllProducts a figcaption p:nth-child(2), #productPage figure figcaption p:nth-child(2) {
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    padding: 1rem 0;}

#shopAllProducts a figcaption p:nth-child(3), #productPage figure figcaption p:nth-child(3) {
    text-align: left;
    font-size: 1.2rem;}

#buttonWishList {
    position: absolute; 
    margin-left: 2rem;}

/*----- product/contact -----*/
.form legend {
    font-size: 1.2rem;
    padding: 2rem 0 1rem 0;}

.form label {
    font-size: 1.1rem;
    margin: 4rem 0 5rem 0;
    color: rgb(0,0,0);}

span {
    color: rgb(255,145,77);}
  
.form input, .form textarea, .form select {
    width: 100%;  
    margin-bottom: 2rem;
    border-radius: 4px;
    padding: 1rem 0rem 1rem 1rem;
    border: 1px solid rgb(0,0,0);
    color: rgb(0,0,0);
    font-size: 0.8rem;
    font-family: Arial, Helvetica, sans-serif;}

.form h1 {
    padding-bottom: 2rem;}

#wishlist {
    padding-left: 2rem;}

#formContact {
    margin: 0 5rem;}

#contact h1 {
    padding-bottom: 2rem;}

#shoppingCartProduct {
    display: inline-block;}

/*----- aside -----*/
aside {
    grid-area: aside;
    background-color: rgb(253, 221, 181);
    padding: 1rem 1rem 4rem 1rem;}

aside p {
    text-align: center;}

aside form {
    text-align: center;}

aside input[type=email] {
    display: inline;
    text-align: left;
    box-sizing: border-box;
    padding: 1rem 0rem 1rem 1rem;
    border: 1px solid rgb(0,0,0);
    border-radius: 4px;
    font-size: 0.8rem;
    width: 250px;}

.button {
    display: inline-block;
    text-transform: uppercase;
    padding: 0 1rem;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;}

.button:hover {
    font-weight: bold;
    color: rgb(255,145,77);
    cursor: pointer;}

.buttonShop {
    display: inline-block;
    text-transform: uppercase;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    font-weight: bold;
    background-color: rgb(253, 221, 181);
    color: black;
    border: 2px solid black;
    border-radius: 4px;}

.buttonShop:hover {
    font-weight: bolder;
    color: rgb(255,145,77);
    border: 2px solid rgb(255,145,77);
    box-shadow: 0 0.5px 1.5px 1.5px;
    cursor: pointer;}

/*----- footer -----*/
footer {
    grid-area: footer;
    margin: 2rem 1rem 1rem 1rem;}

footer p, footer p a {
    text-align: center;
    font-size: 0.8rem;}

/* ----- shoppingcart ----- */
.flexboxShoppingCart {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;}

.flexboxArticleCart {
    position: relative;
    padding: 8rem 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    border-top: 1px solid rgb(255,145,77);}

.cartItemImage {
    position: absolute;
    top: 1.5rem;
    left: 0.25rem;
    width: 125px;
    border-radius: 4px;}

.cartItemName {
    position: absolute;
    width: 25%;
    top: 1.5rem;
    left: 10rem;}

.labelCartItemQuantity {
    position: absolute;
    width: 10%;
    top: 4.5rem;
    right: 2rem;}

.cartItemQuantity {
    position: absolute;
    width: 10%;
    top: 4.5rem;
    right: 1rem;}

.cartItemPrice {
    position: absolute;
    left: 1.6rem;
    bottom: 1.3rem;}

.buttonRemove {
    position: absolute;
    right: 1.5rem;
    bottom: 1.8rem;}

.buttonRemove {
    display: inline-block;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    font-weight: bold;
    background-color: rgb(250,234,215);
    color: black;
    border: 2px solid black;
    border-radius: 4px;}

.buttonRemove:hover {
    font-weight: bolder;
    color: rgb(255,145,77);
    border: 2px solid rgb(255,145,77);
    box-shadow: 0 0.5px 1.5px 1.5px;
    cursor: pointer;}

.tablePrice {
    border-top: 1px solid rgb(255,145,77);
    border-bottom: 1px solid rgb(255,145,77);
    width: 100%;}

.tablePrice td {
    padding: 1.5rem 1.5rem 1.5rem 5rem;}

.tablePrice th {
    padding: 1.5rem;
    font-weight: bold;
    text-align: right;}

/* ----- wishlist ----- */
.buttonWishList {
    display: inline-block;
    margin-left: 1.5rem;
    font-size: 1.5rem;
    color: black;}

.buttonWishList i:hover {
    cursor: pointer;}

/* ----- like button ----- */
.likeButton {
    display: inline-block;
    margin-left: 1.5rem;
    font-size: 1.5rem;
    color: black;}

.likeButton i:hover {
    cursor: pointer;}

/* ----- costumerspage ----- */
#flexboxCostumers {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-flow: row wrap;
    padding: 1rem 5rem 5rem 5rem;
    gap: 3rem;}

.costumerProfile {
    width:30%;
    text-align: center;
    border: 1px solid rgb(253, 221, 181);
    background-color: rgb(253, 221, 181);
    border-radius: 4px;
    padding: 2.5rem 3rem 3rem 3rem;}
.costumerProfile img {
    margin: 0 auto;
    border-radius: 100px;}

.costumerProfile figcaption {
    font-size: 1.1rem;
    padding: 0.4rem 0 1rem 0;
    line-height: 2rem;
    color: rgb(0,0,0);}

.costumerProfile figcaption::first-line {
    font-weight: bold;}

/* ----- hart animatie ----- */
@keyframes bouncy {
    from, to { transform: scale(1, 1); }
    25% { transform: scale(0.9, 1.1); }
    50% { transform: scale(1.1, 0.9); }
    75% { transform: scale(0.95, 1.05);}}

.bouncy {
    -webkit-animation: bouncy 0.6s;
    animation: bouncy 0.6s;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;}

/* ----- media-queries ----- */
/* --- Smaller devices (phones, 320px and up) --- */
@media (min-width: 320px) and (max-width: 575px) {

    body {
        grid-template-areas: 
        'header'
        'nav'
        'main'
        'aside'
        'footer';}

    nav {
        display: flex;
        flex-direction: column;
        width: 100vw;}
    
    .left-side li a {
        text-align: center;}

    .right-side form {
        display: flex;
        height: 50px;
        justify-content: center;}

    .right-side form button {
        padding: 1rem;
        height: 100px;
        margin-top: -25px;}

    #home blockquote {
        top: 62%;
        width: 100%;}
    
    #home blockquote p {
        font-size: 1rem;
        line-height: 2rem;
        padding: 0 50px;}
    
    #home button {
        font-size: 1rem;
        padding: 1rem 1.5rem;}

    #mostSoldItems, #aboutUs, #shopAllProducts, #productPage, #prodcutPage img, #suggestedItems {
        margin: 0 50px;}

    .flexbox {
        gap: 5rem;}
    
    #formContact {
        margin: 0 50px;}
}

/* --- Small devices (phones, 576px and up) --- */
@media (min-width: 576px) and (max-width: 767px) {

    body {
        grid-template-areas: 
        'header'
        'nav'
        'main'
        'aside'
        'footer';}

    nav {
        display: flex;
        flex-direction: column;
        width: 100vw;}
    
    .left-side li a {
        text-align: center;}

    .right-side form {
        display: flex;
        height: 50px;
        justify-content: center;}

    .right-side form button {
        padding: 1rem;
        height: 100px;
        margin-top: -25px;}

    #home blockquote {
        top: 65%;
        width: 100%;}
    
    #home blockquote p {
        font-size: 1.2rem;
        line-height: 2rem;
        padding: 0 50px;}
    
    #home button {
        font-size: 1rem;
        padding: 1rem 1.5rem;}

    #mostSoldItems, #aboutUs, #shopAllProducts, #productPage, #productPage img, #suggestedItems {
        margin: 0 50px;}

    .flexbox {
        gap: 5rem;}
    
    #formContact {
        margin: 0 50px;}
}

/* --- Medium devices (tablets, 768px and up) --- */
@media (min-width: 768px) and (max-width: 840px) {

    body {
        grid-template-areas: 
        'header'
        'nav'
        'main'
        'aside'
        'footer';}

    .cartItemImage {
        position: absolute;
        top: 3rem;
        left: 1.5rem;
        width: 150px;
        border-radius: 4px;}
            
    .cartItemName {
        position: absolute;
        top: 5.5rem;
        left: 12rem;}
            
    .labelCartItemQuantity {
        position: absolute;
        width: 10%;
        top: 7rem;
        right: 16.5rem;}
            
    .cartItemQuantity {
        position: absolute;
        width: 10%;
        top: 7rem;
        right: 15.5rem;}
            
    .cartItemPrice {
        position: absolute;
        top: 6.2rem;
        right: -15.5rem;}
            
    .buttonRemove {
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;}

    nav {
        display: flex;
        flex-direction: column;
        width: 100vw;}
    
    .left-side li a {
        text-align: center;}

    .right-side form {
        display: flex;
        height: 50px;
        justify-content: center;}

    .right-side form button {
        padding: 1rem;
        height: 100px;
        margin-top: -25px;}

    #home blockquote {
        top: 70%;
        width: 100%;}
    
    #home blockquote p {
        font-size: 1.4rem;
        line-height: 2rem;
        padding: 0 50px;}
    
    #home button {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;}

    #mostSoldItems, #aboutUs, #shopAllProducts, #productPage, #productPage img, #suggestedItems {
        margin: 0 50px;}

    .flexbox {
        gap: 5rem;}
    
    #formContact {
        margin: 0 50px;}
}

@media (min-width: 841px) and (max-width: 1200px) {
    body {
        grid-template-areas: 
        'header'
        'nav'
        'main'
        'aside'
        'footer';}
        
    .cartItemImage {
        position: absolute;
        top: 1.8rem;
        left: 3rem;
        width: 200px;
        border-radius: 4px;}
        
    .cartItemName {
        position: absolute;
        top: 6.2rem;
        left: 15.5rem;}
        
    .labelCartItemQuantity {
        position: absolute;
        width: 10%;
        top: 7rem;
        right: 20rem;}
        
    .cartItemQuantity {
        position: absolute;
        width: 10%;
        top: 7rem;
        right: 19rem;}
        
    .cartItemPrice {
        position: absolute;
        top: 6.2rem;
        right: -25.5rem;}
        
    .buttonRemove {
        position: absolute;
        right: 1.5rem;
        top: 1.8rem;}

    #home blockquote {
        top: 70%;
        width: 100%;}
    
    #home blockquote p {
        font-size: 1.6rem;
        line-height: 3rem;
        padding: 16px 50px 16px 50px;}
    
    #home button {
        font-size: 1.4rem;
        padding: 1rem 1.5rem;}

    #mostSoldItems, #aboutUs, #shopAllProducts, #productPage, #productPage img, #suggestedItems {
        margin: 0 50px;}

    .flexbox {
        gap: 5rem;}
    
    #formContact {
        margin: 0 50px;}
}