
@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,900");
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700,900");
/* --------------------------------------------

http://meyerweb.com/eric/tools/css/reset/ 
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; }

/* --------------------------------------------

Start: CSS for COMP1950 Lesson One

-------------------------------------------- */
html, body {
  height: 100%;
  width: 100%;
  position: relative; }

body {
  color: #000;
  font-family: "Lato", sans-serif;
  line-height: 2em;
  height: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-text-size-adjust: none; 
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; 
}

a {
  color: #5F4B8B;
  text-decoration: underline;
  -moz-transition: 0.4s ease;
  -ms-transition: 0.4s ease;
  -o-transition: 0.4s ease;
  transition: 0.4s ease;
  -webkit-transition: 0.4s ease; 
}

a:hover, 
a:focus {
  color: #D9284D; 
}

h1,
h2 {
  color: #000000;
  font-family: "Playfair Display", serif; 
  font-weight: 400; 
  line-height: 1.2em;
  text-transform: lowercase; 
}

h1 {
  font-size: 48px;
  margin-top: 1.8em;
}

h2 {
  font-size: 40px
}

h2 + p {
  margin-top: 2.3rem; 
}

p + h2 {
  margin-top: 4.2rem;
}

p {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.2em;
  font-weight: 300;  
  letter-spacing: .025em;
  line-height: 1.64em;
  
  /* max-width to stop the paragraph being full width */
  max-width: 28em;
  margin-bottom: 1.0em;
  vertical-align: baseline;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  display: block; 
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0; 
}

li  {
  display: inline-block;
  padding: 10px;
  padding-top: 0; 
  font-weight: 300;
  font-size: 1.2em;
  font-weight: 300;  
  letter-spacing: .025em;
  line-height: 1.64em;
}

/* --------------------------------------------

   Page Content Containers Styles

-------------------------------------------- */

/* Wrapper to wrap content so it is only 1400px wide */
.wrapper {
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 5%;
  /* align content to center of page */
  align-content: center; 
}

/* --- Styles for Favourites Section --- */
.container-favourites {
  display: flex;
  flex-direction: column;
  background: #F4E9EF; 
}

/* Change flex-direction container from a columns to row for large screens */
@media screen and (min-width: 992px) {
    .container-favourites {
      flex-direction: row; 
  } 
}

.favourites-left {
  flex: 1;
  padding: 0em; 
}

/*  For smaller screens, hide favourites-left so image isn't displayed */
@media screen and (max-width: 991px) {
  .favourites-left {
    display: none;
  } 
}

.favourites-right {
  flex: 1;
  padding: 1rem;
  align-content: center; 
}

/* --- Styles for About and Validate Sections --- */


/* Background image for About Section */
.bkgd-about {
  background-image: url("../img/bkgd-about.jpg");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover; 
}

/* Background image for Validate Section */
.bkgd-validate {
  background-image: url("../img/bkgd-validate.jpg");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover; 
}

/* Vertical padding top and bottom for all Sections */
.space {
  padding-top: 6em;
  padding-bottom: 5em; 
}



/* --------------------------------------------

   Button Styles

-------------------------------------------- */
.btn {
  color: #FFF;
  display: inline-block;
  border: 2px solid #F1E4E8;
  font-weight: 300;
  font-style: normal;
  font-size: 20px;
  letter-spacing: 0.025em; 
  margin: .3em 0 3em 0;
  padding: .25rem 1rem;
  transition: all 0.7s ease-out;
  background: linear-gradient(270deg, rgba(217, 40, 77, 0.8), rgba(140, 50, 115, 0.8), #5f4b8b, #5f4b8b);
  background-position: 1% 50%;
  background-size: 300% 300%;
  text-decoration: none;
  margin-right: 1.25rem;
}

.btn:last-child {
  margin-right: 0;
}
.btn:hover {
  color: #fff;
  border: 2px solid rgba(223, 190, 106, 0);
  background-position: 100% 50%;
  cursor: pointer;
  text-decoration: none; 
}

/* --------------------------------------------

   Image Styles

-------------------------------------------- */

/* Image to stretch to the size of the full width of it's container */
.img-full {
  display: block;
  max-width: 100%;
  min-width: 100%;
  height: auto; 
}

