/* 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;
}

* {
  box-sizing: border-box;
}

/*-------Reset End-------- */

/*My style rules*/
body {
  font-family: 'fira sans', verdana, arial, helvetica, sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
  color: #5928e5;
  background-color: #fcf7ff;
  min-height: 100vh;
  position: relative;
  padding-bottom: 60px;
}
/* styling for the main content area */
main {
  padding: 1.2em;
  max-width: 900px;
  margin: 0 auto;
}
/* styling for the header*/
header {
  background-color: #c8c1dc70;
  padding: 1em 1.2em;
}

nav a {
  display: inline-flex;
  padding: 10px;
  padding: 0 10em 0 0;
}
/* styling for heading elements (h1, h2, h3, h4) */
h1,
h2,
h3,
h4 {
  font-family: 'fira sans', verdana, arial, helvetica, sans-serif;
  line-height: 1.2;
  color: #5928e5;
  margin-top: 1em;
  margin-bottom: 0.3em;
}

h1 {
  font-size: 2em;
  font-weight: 700;
  text-align: center;
}

h2 {
  font-size: 1.6em;
  font-weight: 700;
  text-align: left;
}

h3 {
  font-size: 1.4em;
  font-weight: 300;
}

h4 {
  font-size: 1.2em;
}
/* Styling for paragraphs */
p {
  color: #000000;
  margin-bottom: 0.9em;
  text-align: justify;
}
/* styling for paragraphs immediately following an h1 element */
h1 + p {
  text-align: center;
}
/* styling for clicking on the link text */
a {
  font-weight: bold;
  color: #5928e5;
  text-decoration: none;
  padding: 0 20px 0 0;
  cursor: pointer;
}
/* styling for link hover*/
a:hover::after {
  width: 100%;
  transition: width 0.3s linear;
}
/* styling for link hover color change */
a:hover {
  color: #5a28e591;
}
/* styling container for a set of images */
.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* styling for individual image cards */
.image-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 10px;
  padding: 15px;
  text-align: center;
}
/* styling for images within image cards */
.image-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
/* styling for all images on the three object page */
img {
  border-radius: 10px;
}
/* styling for figures (used for image and caption pairing on three design object) */
figure {
  margin: 0.2em 1.2em 0 0;
  float: left;
}

figure + h2 {
  margin-top: 1.5em;
}

figcaption {
  text-align: center;
}
/* styling for the footer */
footer {
  margin-top: auto;
  padding: 1em 1em 1em 1em;
  font-size: 1em;
  text-align: center;
  background: #c8c1dc70;
  position: absolute;
  bottom: 0;
  width: 100%;
}
