/* 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 || --- --- */
* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  width:90%;
	min-width: 350px;
  font-family: "Montserrat", Arial, Verdana, sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.5;
  background-color: #f7f7f7;
  color: #222e2d;
}
.wrapper {
  margin-bottom: 0;
  padding: .8em;
  background-color: #f7f7f7;
}

/* --- --- || GENERAL TYPOGRAPHY || --- --- */
em {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.3em;
  letter-spacing: .8px;
} /*For header nav */
h1,
h2,
h3 {
	color: #510D0A;
}
h1 {
	font-family: 'Lobster', 'Bradley Hand', 'Brush Script MT', cursive;
	font-size: 2em;
	margin-top: .3em;
}
h2,
h3 {
	font-family: 'Bebas Neue', 'Bradley Hand', 'Brush Script MT', cursive;
}
header p {
	margin: .3em 0 .3em 0;
	display: inline-block;
}
header div {
	border-bottom: 1px solid #510D0A;
	border-top: 1px solid #510D0A;
	width: auto;
	clear: both;
	text-align: center;
	font-size: .9em;
	color: #510D0A
}
img + h1 {
  margin-bottom: .2em;
} /* For homepage */
#introduction h1 {
  margin-top: 0;
}
#introduction li {
  font-size: 1.1em;
	float:left;
	padding: 0 .8em .4em 0;
}
#introduction ul {
	margin-bottom: 1.3em
}
header ul,
#introduction ul {
  overflow: hidden;
} /*navigation to look as it should*/
h2 {
  font-size: 1.6em;
}
div:first-child > h2 {
  margin-top: 0;
}/* For homepage */
h3 {
  font-size: 1.2em;
	margin-bottom: .8em;
}
p {
  margin-bottom: .7em;
}
strong {
  font-weight: 600;
	font-size: 1.1em;
}
footer em {
  font-size: 1em;
}
footer p {
  margin-bottom: .4em;
}

/* --- --- || HEADER || --- --- */
header img {
	width: 50%;
	display: block;
	margin: 1em auto 0 auto;
}
header nav {
  background-color: #510D0A;
	margin: .8em 0 .8em 0;
}
header li {
  display: block;
	text-align: center;
}

/* --- --- || LINKS || --- --- */
/* Links general */
ul li a {
	display: block;
}
a {
  text-decoration: underline;
  color: #510D0A;
}
a:link {
  color: #510D0A;
}
a:visited {
  color: #1b52d1;;
}
a:hover {
  color: #1b52d1;
}
a:active {
  color: #510D0A;
}

/* -- Links Navigation -- */
header ul a {
  text-decoration: none;
  color: #f7f7f7;
	padding: .4em
}
header ul a:link,
header ul a:visited {
  color: #f7f7f7;
}
header ul a:hover {
  color: #f7f7f7;
	background-color: #1b52d1;
  text-decoration: none;
}
header ul a:active {
  color: #f7f7f7;
}

/* -- Links footer -- */
footer a {
  text-decoration: underline;
  color: #f7f7f7;
}
footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
  color: #f7f7f7;
}

/* --- --- || PRODUCTS AND SERVICES PAGE || --- --- */
#productslist h2 {
  margin-bottom: 1em;
}
#productslist figcaption {
  font-size: .9em;
}

/* --- --- || WORKSHOPS PAGE, GIFTS AND KITS PAGE || --- --- */
.kitslist > h2 + p,
.workshoplist > h2 + p {
  margin-bottom: .8em;
}

/* --- --- || BLOG PAGE AND BLOG POSTS || --- --- */
article {
  margin-bottom: 1em;
}
article h1 {
  margin-top: 0;
}
small + p {
  margin-top: .5em;
}

/* --- --- || CONTACT PAGE || --- --- */
/* map */
#map {
  margin-bottom: 1.2em;
}
iframe {
  border-radius: 40px / 30px;
	width: 100%;
}
#map h1 {
  text-align: center;
  margin-bottom: .6em;
}

/* Contact and Employees */
dl {
  margin-top: .5em;
  font-size: 1.1em;
}
dt {
  font-weight: 600;
}
dd {
  margin-bottom: 0.5em;
}

/* Quote */
.quote {
  color: #f7f7f7;
  background-color: #4a6f6d;
  font-size: 1.3em;
	margin: 1em 0 1em 0;
	padding: .5em;
}
.quote figcaption {
  font-family: "Cormorant", Arial, Verdana, sans-serif;
  margin-left: .8em;
}

/* --- --- || FOOTER || --- --- */
footer {
  padding: .8em;
  background-color: #510D0A;
  font-size: .9em;
  color: #f7f7f7;
	text-align: center;
}
footer nav {
  padding: 0px;
}
footer + p a:hover {
  color: #f7f7f7;
}
footer p:first-child {
	margin-top: 1.5em;
}
footer + p {
  padding: 0 1em 1.5em 1em;
  font-size: 12px;
  background-color: #510D0A;
  color: #f7f7f7;
	text-align: center;
}

/* SM SVG Icons - svgicons.sparkk.fr - Footer */
.svg-icon {
  width: 40px;
  height: 40px;
}
.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
  fill: #f7f7f7;
}
.svg-icon circle {
  stroke: #f7f7f7;
  stroke-width: 1;
}

/* --- --- || ERROR PAGE || --- --- */
#errorpage {
	text-align: center;
}
#errorpage h1 {
	margin: 1.5em 0 1em 0;
}
#errorpage p {
	font-size: 1.2em
}
#errorpage a {
	display: inline-block;
}
#errorpage a:hover {
	color: #f7f7f7;
	background-color: #1b52d1;
	text-decoration: none;
}
b {
	font-weight: 600;
}
#errorpage img {
	margin: 1em 0 2em 0;
}

/* --- --- || IMAGES || --- --- */
/* Homepage */
main div img {
	width: auto;
  width: 100%;
  max-width: 774.933px;
  display: block;
	margin-bottom: .4em;
}
#products img {
	width: 25%;
	float: left;
}
.sideimage {
	width: 100%;
  margin-top: .6em;
}
/* Contact page */
#employees img {
  width: 50%;
	margin-top: 1em;
}
/* Products and services page */
#productslist figure {
	padding-bottom: 1em;
}
#productslist img {
	width: 60%;
}
/* Gifts page and Workshops page */
.kitslist img,
.workshoplist img {
  width: 100%;
}
.kitslist img, .workshoplist img {
	border-radius: 12px 22px 12px 22px;
	margin-top:1.5em;
}
/* Blog */
section img {
	width: 100%;
	margin-top: 1em;
}
article img {
	width: 100%;
}
/* Social media icons - footer */
#info img {
	margin: .5em .8em 0 0;
}
/*Error page*/
#errorpage img {
	width: 100%
}
#errorpage img + img {
	width: 50%
}

/* --- --- || /\/\/\ MEDIA QUERIES /\/\/\/\ || --- --- */
@media (min-width:420px) {
	/* Header */
	header img {
		width: 40%
	}
	/* Products and services page */
	#productslist img {
    width: 70%;
	}
	#productslist figure {
		float: left;
		display: block;
	}
	#productslist div::after {
		content: "";
		display: block;
		clear: both;
	}
	/* Contact page */
	#employees img {
	  width: 35%;
	}
	/*Error page*/
	#errorpage img + img {
		width: 40%
	}
}
@media (min-width:600px) {
	/* Header */
	header img {
		width: 40%
	}
	/* Header */
	header img {
		width: 35%;
	}
	/* Homepage */
	header nav {
		content: "";
		display: block;
		clear: both;
	}
	/*Gifts and kits*/
	.kitslist img {
		width:70%
	}
	/* Contact page */
	#employees figure {
	 float: left;
	 margin-right: 2em;
	 margin-bottom:1em;
	 display: block;
	}
	.quote {
		content: "";
		display: block;
		clear: both;
	}
  #employees img {
	 width: 100%;
  }
	footer {
		column-count: 2;
	}
	/*Error page*/
	#errorpage img + img {
		width: 30%
	}
}
@media (min-width:700px) {
	/* Header */
	header img {
		width: 30%
	}
	/* Homepage */
	.wrapper {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-auto-rows: auto;
		column-gap: 1.5em;
	}
	.wrapper main {
		grid-column: 1/3;
	}
	#introduction,
	.kitslist,
	#productslist,
	.workshoplist,
	section,
	#map,
	#contact,
	#employees,
	.quote,
	footer,
	article,
	#errorpage,
	footer + p {
		grid-column: 1/4;
	}
	/*Blog posts*/
	article{
		column-count: 2;
	}
	/*Gifts and Kits*/
		.kitslist div, .workshoplist div {
			margin-bottom: 2em
		}
		.kitslist img, .workshoplist img {
			width: 47%;
			float: left;
			margin-top: .4em;
			margin-right: 1em;
		}
		.kitslist div {
			content: "";
			display: block;
			clear: both;
		}
}
@media (min-width:800px) {
	/* Header */
	header img {
		width: 25%;
	}
	/* Homepage */
	header nav ul {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	header ul a{
		padding: 1.4em;
	}
	/*Error page*/
	#errorpage img {
		width: 750px;
		height: 300px;
	}
	#errorpage img + img {
		width: 200px;
		height: 200px;
	}
}
@media (min-width:1000px) {
	/* Header */
	header img {
		width: 20%
	}
	body {
		max-width: 1200px;
	}
	.workshoplist img , .kitslist img {
		width: 40%;
		margin-bottom: 2em;
	}
	/*blog posts*/
	article{
		column-count: 3;
	}
}
