@font-face {
  font-family: Buffied;
  src: url(fonts/Buffied.ttf);
}
@font-face {
  font-family: VampeticaBoldItalic;
  src: url(fonts/VampeticaBoldItalic.ttf);
}
@font-face {
  font-family: VampeticaBold;
  src: url(fonts/VampeticaBold.ttf);
}
@font-face {
  font-family: VampeticaItalic;
  src: url(fonts/VampeticaItalic.ttf);
}
@font-face {
  font-family: VampeticaRegular;
  src: url(fonts/VampeticaRegular.ttf);
}
@font-face {
  font-family: NanumM;
  src: url(fonts/NanumMyeongjo.ttf);
}
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;
}
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
/* 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;
}

/*#818179(grey) #470012(maroon) #1A1A1A(black) #F2F2F2(white) #95231d(red)*/

/*default mobile css*/

body{
	font-size: 20px;
	background-image: url('img/vampirecastle.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: black;
}

hr{	
	width: 90%;
	border: 1px solid #95231d;
	border-radius: 3px;
	box-shadow: 1px 1px 2px black;
}

header{
	min-height: 250px;
	background-color: #47001290;
	border-bottom: 2px solid #470012/*maroon*/;

}

h1{
	font-size: 4.0em;
	font-weight: bold;
	text-align: center;
	padding-top: 3%;
	font-family: Buffied;
	text-shadow: 1px 1px white;
}

header p{
	width: 65%;
	margin: 1% auto;
	margin-top: 4%;
	background-color: #470012/*maroon*/;
	padding: 2%;
	border-radius: 20px;
	border:1px solid white;
	color:  #F2F2F2 /*white*/;
	font-family: VampeticaRegular;
}

.bloodpattern{
	width: 90%;
	max-width: 1100px;
	margin: auto;
	margin-top:-10%;
	margin-bottom: -1%;
}

#recipetitle{
	text-align: center;
	font-size: 5.0em;
	color: #F2F2F2 /*white*/;
	font-family: Buffied;
	text-shadow: 3px 2px black;
}

#wrapper{
	width: 90%;
	max-width: 1100px;
	margin: auto;
	margin-bottom: 3%;
	background-color: #470012;
	color: #F2F2F2 /*white*/;
	border-radius: 5px;
}

#data ul{
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 5px;
	list-style-type: none;
	margin-bottom: 6%;
	padding-top: 6%;
}

#data li{
	padding-top: 2%;
	display: block;
	text-align: center;
	font-family: NanumM;
}

#ingredients ul{
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 5px;
	list-style-type: none;
	margin-top: 6%;
	margin-bottom: 6%;
}

#ingredients li{
	display: block;
	text-align: center;
	font-family: NanumM;
}

#steps ul{
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 5px;
	list-style-type: none;
	margin-top: 6%;
	margin-bottom: 6%;
	margin-left: 3%;
	margin-right: 3%;
	background-color: #81817930;
	box-shadow: 5px 5px 5px #1A1A1A50;
}

#steps li{
	font-family: NanumM;
	display: block;
	text-align: center;
	padding: 5%;
}

.stepstitle{
	font-weight: bold;
	padding: 10px;
	border-radius: 40px;
	width: 40px;
	margin: auto;
	margin-top: 3%;
	background-color: #95231d /*red*/;
	color: #F2F2F2 /*white*/;
	border: 1px solid black;
	box-shadow: 1px 1px 2px black;
}

#history{
	font-size: 1.6em;
	display: grid;
	grid-template-columns: 1fr ;
	grid-gap: 5%;
	font-family: VampeticaRegular;
	padding: 3%;
	margin-bottom: 10%;
}

#historytext{
	padding-top: 7%;
}

img{
	width:100%;
}

.elixirimg{
	border-radius: 50px;
	width:100%;
	box-shadow: 7px 7px 5px #1A1A1A50;
}

span{
	font-size: 1.3em;
	font-family: VampeticaBold;
}

footer{
	font-size: 0.8em;
	margin-top: 5%;
	padding: 1%;
	text-align: center;
	font-family: NanumM;
	font-style: italic;
}

#bottompattern{
 	transform: scaleY(-1);
	width: 90%;
	max-width: 1100px;
	margin: auto;
	margin-top: -3.5%;
	z-index: 0;
}

a {
  box-shadow: inset 0 0 0 0 #95231d;
  color: orangered;
  margin: 0 -.25rem;
  padding: 0 .25rem;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

a:hover {
  box-shadow: inset 100px 0 0 0 #95231d;
  color: white;
}

/*table css*/
@media only screen and (min-width: 600px) and (max-width: 800px) {

	#data ul{
		grid-template-columns: 1fr;
	}

	#steps ul{
		grid-template-columns: 1fr 1fr;
	}
	#history{
	grid-template-columns: 1fr;
	}

}

/*desktop css*/
@media only screen and (min-width: 801px) {

	#data ul{
		grid-template-columns: 1fr 1fr 1fr;
	}

	#steps ul{
		grid-template-columns: 1fr 1fr 1fr;
	}

}

@media only screen and (min-width: 1000px) {
			#history{
	grid-template-columns: 1fr 1fr;
	}
}



