/* CSS Stylesheet */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



/* \/\/\/\/   My style sheet starts here   \/\/\/\/ */
/* --- --- || GENERAL STYLE || --- --- */

body {
    margin: 0 auto;
    width:90%;
    max-width: 1370px;
    font-family: "Montserrat", Arial, Verdana, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    background-color: #d1c890;
    color: #222e2d;
}

.wrapper {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 250px 250px 250px 250px 250px;
    grid-gap: 30px;
    margin-bottom: 0;
    padding-bottom: 20px;
    background-color: #f7f7f7;
    content: "";
    clear: both; /* because of nav */
}

/* --- --- || GENERAL TYPOGRAPHY || --- --- */

em {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 28px;
    letter-spacing: .8px;
} /* For header nav */

h1, 
h2, 
h3 {
    color: #7a331e;
}

h1 {
    font-size: 30px;
    font-weight: 600;
    margin-top: 20px;
}

img + h1 {
    margin-bottom: 10px;
} /* For homepage */

h2 {
    font-size: 26px;
}

div:first-child > h2 {
    margin-top: 0;
}/* For homepage */

h3 {
    font-size: 22px;
}

p {
    margin-bottom: 10px;
}

strong {
    font-weight: 600;
}

footer em {
    font-size: 17px;
}

footer p {
    margin-bottom: 7px;
}

/* --- --- || HEADER || --- --- */

nav {
    padding: 20px 20px 0px 20px;
}

header nav { 
    padding: 7px 20px 15px 20px;
    border-bottom: 4px dashed #f7f7f7;
    background-color: #7a331e
}

header li:first-child {
    font-family: "Cormorant", Arial, Verdana, sans-serif;
    font-weight: 400;
    font-size: 20px;
    padding: 5px 20px 5px 20px;
    margin: 7px 30px 0px 0px;
    border: 1px solid #f7f7f7;
    border-radius: 12px 22px 12px 22px;
    color: #f7f7f7;
    background-color: #7a331e;
    line-height: 1;
} /* Final result can be used as the logo of Botticelli */

header li, 
#introduction li {
    display: block;
    float: left;
    padding: 20px;
    margin-left: 0px;
    margin-right: 80px;
}

header ul, 
#introduction ul {
    overflow: hidden;
}

/* --- --- || LINKS || --- --- */

/* Links general */
a { 
    text-decoration: underline;
    color: #7a331e;
}

a:link {
    color: #7a331e;
}

a:visited {
    color: #451d11;
}

a:hover {
    color: #4a6f6d;
}

a:active {
    color: #7a331e;
}

/* -- Links Navigation -- */
header ul a { 
    text-decoration: none;
    color: #f7f7f7;
}

header ul a:link, 
header ul a:visited {
    color: #f7f7f7;
}

header ul a:hover {
    color: #f7f7f7;
    text-decoration: underline;
}

header ul a:active {
    color: #f7f7f7;
}

/* -- Links footer -- */
footer div a, 
footer li a { 
    text-decoration: underline;
    color: #f7f7f7;
}

footer div a:link,
footer div a:visited,
footer div a:hover,
footer div a:active {
    color: #f7f7f7;
}

footer li a:link,
footer li a:visited,
footer li a:hover,
footer li a:active {
    color: #f7f7f7;
}


/* --- --- || HOMEPAGE || --- --- */

main {
    grid-column: 1 / 4;
    padding: 40px 0px 0px 20px;
}

aside {
    grid-column: 4 / 6;
    padding: 40px 20px 0px 0px;
}

aside div {
    margin-bottom: 28px;
}

/* --- --- || PRODUCTS AND SERVICES PAGE || --- --- */

#introduction {
    grid-column: 1 / 6;
    padding: 20px;
}

#introduction li {
    font-size: 18px;
}

.productslist {
    grid-column: 1 / 6;
    padding-left: 20px;
}

.productslist h2 {
    margin-bottom: 20px;
}

.productslist figcaption {
    font-size: 14px;
}

/* --- --- || WORKSHOPS PAGE, GIFTS AND KITS PAGE || --- --- */

.kitslist, 
.workshoplist {
    grid-column: 1/6;
    padding: 0 20px 20px 20px;
}

.kitslist strong, 
.workshoplist strong {
    font-size: 18px;
}

.kitslist > h2 + p, 
.workshoplist > h2 + p {
    margin-bottom: 13px;
}

/* --- --- || BLOG PAGE AND BLOG POSTS || --- --- */

section {
    grid-column: 1 / 6;
    padding: 0 20px 0 20px;
    margin-left: auto;
    margin-right: auto;
    display: table;
}

section p {
    display: table-caption;
    caption-side: bottom;
    padding: 0 20px 20px 20px
}

article {
    grid-column: 1 / 6;
    column-count: 3;
    column-gap: 40px;
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 20px;
}

article h1 {
    margin-top: 0;
}

small + p {
    margin-top: 20px;
}

/* --- --- || CONTACT PAGE || --- --- */

/* map */
#map {
    grid-column: 1 / 6;
    margin-bottom: 20px;
}

iframe {
    border-radius: 40px / 30px;
    padding-left: 20px;
}

#map h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* Contact and Employees */
#contact {
    grid-column: 1 / 3;
    padding-left: 20px;
    margin-top: 0px;
}

#contact dl {
    margin-top: 25px;
    font-size: 20px;
}

#contact dt {
    font-weight: 600;
}

dd {
    margin-bottom: 10px;
}

#employees {
    grid-column: 3 / 6;
    display: flex;
    justify-content: flex-end;
}

/* Quote */
.quote {
    grid-column: 1 / 6;
    margin: 20px 20px 60px 20px;
    padding: 20px;
    padding-left: 50px;
    color: #f7f7f7;
    background-color: #4a6f6d;
    font-size: 24px;
    justify-content: center;
}

.quote figcaption {
    font-family: "Cormorant", Arial, Verdana, sans-serif;
    margin-left: 20px;
}

blockquote strong {
    font-size: 34px;
}

/* --- --- || FOOTER || --- --- */

footer {
    padding: 20px 0 20px 0px;
    margin-top: 0px;
    background-color: #7a331e;
    text-align: center;
    column-count: 2;
    font-size: 15px;
    color: #f7f7f7;
}


footer nav {
    padding: 0px;
}

address {
    padding: 0px 20px 10px 20px;
    text-align: center;
    font-size: 14px;
    background-color: #7a331e;
    color: #f7f7f7;
}

address a,
address a:hover {
    color: #f7f7f7;
}

/* --- --- || IMAGES || --- --- */

.products {
    width: 180px;
    height: 180px;
    margin: 10px 5px 0px 0px;
} /* Homepage */

.sideimage {
    width: 510px;
    height: 180px;
    margin-top: 10px;
} /* Homepage */

#employees img {
    margin-right: 30px;
    margin-left:20px;
} /* Contact page */

#employees figcaption {
    margin-left: 20px;
} /* Contact page */

.productslist figure {
    float: left;
    padding: 0 35px 20px 0px;
} /* Products and services page */

.kitslist img, 
.workshoplist img {
    float: left;
    margin-right: 30px;
} /* Gifts page and Workshops page */

.kitslist img {
    border-radius: 12px 22px 12px 22px;
} /* outline of the logo to highlight it is a special section of the shop */

#info img {
    margin-left: 10px;
} /* Social media icons */
