/* 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 css 
=========*/

* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(30deg, #ffffff, #d4bb9b);
  min-height: 100vh;
  font-family: 'droid-serif', Georgia, 'Times New Roman', 'Book Antiqua', serif;
  color: #384068;
}

h1 {
  padding: 10px;
  font-family: 'saffran', Arial, Helvetica, Calibri, sans-serif;
  font-weight: 800;
  font-size: 70px;
  display: flex;
  justify-content: center;
  color: #ce9f56;
}
h1 + p {
  float: right;
  width: 50%;
}
h1 + p + p {
  text-align: center;
  clear: both;
}

h2 {
  font-family: 'saffran', Arial, Helvetica, Calibri, sans-serif;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  padding: 5px;
  color: #ce9f56;
}

p {
  font-size: 18px;
  line-height: 1.5em;
  margin: 1.5em;
}

p a {
  font-style: italic;
}

br {
  line-height: 1.5em;
}

header {
  background-color: #f2f2f1;
  border-bottom: 8px dotted #ddc9b0;
  width: 560px;
  margin: 0px auto;
  margin-top: 5em;
  padding: 8px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

nav {
  text-align: center;
  padding: 10px;
}

li {
  display: inline;
  padding: 25px;
  font-size: 18px;
  font-weight: bold;
}

a {
  text-decoration: none;
  color: #384068;
}

a:hover::after {
  width: 100%;
  transition: width 0.3s linear;
}

a:hover {
  color: #b67d43;
}

.wrapper {
  background-color: #ececeb;
  max-width: 990px;
  margin: 0 auto;
  margin-bottom: 1.5em;
  padding: 3em;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.quotes-container {
  max-width: 700px;
  margin: 20px auto;
  padding: 20px;
  background-color: #ececeb;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.quote {
  position: relative;
  padding-left: 25px;
  margin-bottom: 20px;
}

.quote:before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #d2a559;
}

.quote p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #384068;
}

.coursework {
  text-align: center;
}

blockquote {
  margin-left: 25px;
  border-left: 3.5px solid #d0a257;
  font-size: 18px;
}
/*==========================
      Media Queries 
============================*/
@media (max-width: 1100px) {
  h1 {
    font-size: 3.5em;
  }

  h1 + p + p {
    font-size: 16px;
  }
  h2 {
    font-size: 2.5em;
  }
  p {
    font-size: 16px;
  }

  li {
    font-size: 16px;
  }
  .wrapper {
    max-width: 90%;
    padding: 2.5em;
  }
  .quote p {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 3em;
  }
  h1 + p + p {
    font-size: 14px;
  }
  h2 {
    font-size: 2em;
  }
  p {
    font-size: 14px;
  }
  li {
    font-size: 14px;
    padding: 14px;
  }
  .wrapper {
    max-width: 90%;
    padding: 2em;
  }
  header {
    width: 60%;
  }
  .quote p {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.5em;
  }
  h1 + p + p {
    font-size: 13px;
  }
  h2 {
    font-size: 1.6em;
  }
  p {
    font-size: 13px;
  }
  li {
    font-size: 12px;
    padding: 10px;
  }
  .wrapper {
    max-width: 90%;
    padding: 1.5em;
  }
  header {
    width: 60%;
  }
  .quote p {
    font-size: 10px;
  }
}
