/* 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;
}

/***********************
STYLE
***********************/
h1 {
	font-size: 5rem;
	padding-bottom: 2%;
}
h2 {
	font-size: 3rem;
	text-decoration: underline;
}

p {
  font-family: allura;
  font-size: 40px;
}

h3, img {
	width: 40%;
}
h3 {
	font-size: 1.75rem;
	float: right;
	width: 95%;
	margin: 2%;
}
#instructions, #ingredients, #measurements{
	font-size: 1.25rem;
	text-align: left;
	margin: 2%;
}
 input {
	font-size: 1.25rem;
	padding: 1%;
}
 button {
  margin-top: 20%;
	max-width: 100%;
	font-size: 1.25rem;
}
 
 /***********************
 LAYOUT
 ***********************/
 body {
	 line-height: 1;
	text-align: center;
  font-family: 'Allura', cursive;
  font-family: 'Days One', sans-serif;
  color: rgb(199, 109, 5);
	text-shadow: 1px 1px 1px black;
}
body::after {
	content: "";
	background-image: url('images/atlskyline.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left;
	opacity: 30%;
	top: 0;
	left: 0;
	bottom: 30%;
	right: 0;
	position: absolute;
	z-index: -1;   
}
.search-wrapper {
	display: flex;
	flex-direction: column;
	margin-top: 10%;
}

.drink-cards :hover {
	background-color: peachpuff;
	color:rgb(22, 7, 243);
	cursor: pointer;
}
input, button {
	max-width: 100%;
	margin: 0 auto;
}
.drink-cards {
  background-color: rgb(245, 166, 97);
	width: 50%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.25rem;
	margin-top: 1rem;
	align-items: center;
}
.card {
	background-color: rgb(245, 201, 187);
	padding: 0.5rem;
	text-align: center;
	max-width: 100%;
}
.hide {
	display: none;
}
.container {
	width: 80%;
	height: auto;
	margin: 10% auto;
	padding: 5%;
}

/***DRINK IMAGE***/
img {
	float: left;
	border-radius: 10%;
	margin: 5% auto;
}

/***RECIPE TEXT SECTION***/
div {
  display: flex;
	align-items: flex-end;
	flex-direction: column;
	justify-content: space-between;
	height: auto;
};
ul, li {
	 width: 95%;
	 text-align: center;
}

@media screen and (max-width: 400px ) {
	h1 {
		font-size: 2rem;
		margin: 5%;
	}
	h2 {
		font-size: 1.25rem;
		margin: 5%;
	}
	#ingredients, #measurements, #instructions {
		font-size: 0.85rem;
	}
	.container {
		display: flex;
		flex-direction: column;
	}
	#image {
		display: none;
	}
	.media-query {
		line-height: 1.1rem;
		background-position: top center;
		background-repeat: no-repeat;
		background-size: cover; 
		max-width: 100%;
		height: 580px;
	}
	.text {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		
	}
	 
}
