/*colors 
	light grey - #DDD1C7
	grey - #7E8987
	violet - #4B4A67
	light green - #C2CFB2
	green - #8DB580
*/

/*--text: #3E3226;
--white: #FAF8F7;
--brown: #AA5F1E;
--tan: #CE9564;
--sage: #bdcba9;
--green: #98ba8c;
*/

html {
	box-sizing: border-box;
}

body {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
}

header {
	background: #4B4A67;

}

.bulk {
	margin-top: 70px;
}

.hero-image img {
	width: 100%;
	object-fit: cover;
	max-height: 500px;
}

.hero-text {
	position: absolute;
	top: 40px;
	right: 0;
	transition: .4s;
	background: seagreen;
	height: ;
	width: 200px;
	padding: 30px;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 60px;
}

@media (max-width: 633px) {
	
	.bulk {
		margin-top: 0;
	}

	header {
		height: 250px;
		padding: 5px;
		padding-bottom: 40px;
	}

	.hero-image {
		padding-top: 0;
	}


	.hero-text {
		position: absolute;
		top: 295px;
	}
}

.grid {
	display: grid;
	grid-template-areas: 
		"intro intro"
		"tips tools"
		"tips tools";
	grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr);
	grid-template-rows: 300px 400px minmax(auto, 1fr) ;
	max-width: 1000px;
	justify-content: center;
	gap: 20px;
	margin: 10px auto;
}

@media (max-width: 1020px) {
	.grid {
		margin: 10px 20px;
	}
}	

@media (max-width: 900px) {
	.grid {
	display: grid;
	grid-template-areas: 
		"intro"
		"tips"
		"tools";
	grid-template-columns: minmax(400px, 1fr) ;
	grid-template-rows: 300px minmax(auto, 1fr) minmax(auto, 1fr);
	gap: 50px;
	margin: 0 20px;
	}

	.tools {
	}
}
}

.item {
	padding: 10px;
}

/*intro*/
.intro {
	grid-area: intro;
	text-align: center;
	background: #C2CFB2;
	border-radius: 10px 10px 0 0;
	padding-top: 20px;
}

.intro h3 {
	margin: 10px;
}

.intro h1 {
	margin-top: 20px;
}

/*end*/

/*safety tips*/
.tips {
	grid-area: tips;
	background: url(images/doodad.png);
	height: fit-content;
	padding: 20px;
	border-radius: 10px;
}

.tips h3 {
	margin: 0;
	margin-bottom: 10px;
	background: whitesmoke;
	padding: 10px;
	border-radius: 10px 10px 0 0;
}

.tip {
	height: 80px;
	overflow: hidden;
	width: 450px;
	background: whitesmoke;
	margin-bottom: 10px;
	box-shadow: 5px 5px 5px #7E8987;

}

.tip h4 {
	background: #DDD1C7;
	margin-top: 0;
	padding: 10px;
	height: 80px;
}

.tip p {
	margin: 0;
	width: 400px;
	padding: 20px;
	margin-top: -40px;
}

.tip:hover {
	height: fit-content;
}


/*ends*/

/*tools*/
.tools {
	grid-area: tools;
	background: url(images/doodad.png);
	border-radius: 10px;
	height: fit-content;
	padding: 20px;
}

.tools h3 {
	margin-top: 0;
	margin-bottom: 10px;
	background: whitesmoke;
	padding: 10px;
	border-radius: 10px 10px 0 0;
}

.tool {
	background: whitesmoke;
	margin-bottom: 20px;
	height: 60px;
	box-shadow: 5px 5px 5px #7E8987;
	overflow: hidden;
}


.tool:hover {
	height: fit-content;
}

.tool-text {
	display: flex;
	
}

/*tool description*/
.tool h4{
	margin-top: 0;
	padding: 15px 10px 20px;
	background: #DDD1C7;
	width: 800px;
}

.tool-text {
	margin-top: -30px;
	padding-left: 10px;
	padding-bottom: 20px;
}

.tool-text p {
	max-width: 250px;
	padding-left: 20px;
	padding-right: 10px;
}

.tool-text p a {
	text-decoration: none;
	background: #4B4A67;
	padding: 10px;
	border-radius: 10px;
	color: whitesmoke;
}
.tool-text p a:hover{
	background: #C2CFB2;
}

.tools img {
	width: 150px;
	height: 150px;
	margin-top: 20px;
	padding-right: 20px;
}





