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


/*===CSS STYLING SHEET STARTS HERE===*/

body {
    background-color: #f5f3ed;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background-color: white;
    padding: 80px 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
}

/*===MAIN PAGE LAYOUT===*/

header {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: auto auto;
    gap: 20px 60px;
    margin-bottom: 60px;
    align-items: start;
}

header img {
    grid-row: 1 / 3;
}

header h1 {
    text-align: right;
    margin: 0;
}

header p {
    font-family: "bilo", sans-serif;
    text-align: right;
    font-style: normal;
    font-size: 20px;
    line-height: 1.6;
    color: #17477a;
    margin: 0;
}

h1 {
    font-family: 'Dawning of a New Day', cursive;
    font-size: 100px;
    color: #d45d4a;
    font-weight: 400;
}

img {
    width: 280px;
    height: 320px;
    object-fit: cover;
    transform: rotate(-3deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: rgb(242, 228, 209) solid 15px;
}

p {
    font-family: "bilo", sans-serif;
    text-align: right;
    font-style: normal;
    font-size: 20px;
    line-height: 1.6;
    color: #17477a;
    margin: 0;
}

h2{
    text-align: right; 
    font-family: "bilo", sans-serif;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    color: #d45d4a;
    
}

/*===NAVIGATION===*/

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

nav li {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: #6b8fb5;
    font-style: italic;
    margin-bottom: 10px;
    text-align: center;
}

/*===LINK DESIGN===*/

a {
    color: #6b8fb5;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #d45d4a;
    text-decoration: underline;
}

.blog-link {
    color: #177a4f;
    font-style: italic;
    font-weight: 300;
}



/* mega CTA: SVG Sprite Link */
article {
text-align: center;
align-items: center;
}

article p {
margin: 0 0 2em 0;
}

article p.sprite a:link, article p.sprite a:visited {
	display: block;
	width: 150px;
	height: 150px;
	margin: 2ch auto;
	padding: 70px 0 0 256px;
   font-size: 1.8rem;
   align-items: center; 

	/* png fallback */
	background: url(actual-test.png);
	/* svg */
	background: url(actual-test.svg), linear-gradient(transparent, transparent);
	background-repeat: no-repeat;
	background-size: 252px;
	
}

article p.sprite a:hover {
	background-position-y:  -252px;
   color:rgba(11, 161, 207, 0.336); 
}

article p.sprite a:active, article p.sprite a:focus {
	background-position-y:  -504px;
   color: rgba(11, 161, 207, 0.336); 
}



