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

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

.hero-text {
	position: absolute;
	top: 40px;
	left: 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;
}

.hero-text h1 {
	margin-bottom: 10px;
	margin-top: -30px;
}

.hero-text h5 {
	margin: 0;
	margin-top: 5px;
}

@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;
	}
}

/*safty section*/

.safety {
	grid-area: safety;
	text-align: center;
	align-content: center;
	margin-top: 20px;
	background: #C2CFB2;
	padding-top: 20px;
	
}

.safety h2, .safety h4 {
	margin: 0;
}

.safety h2 {
	margin: 30px 0;
}

.safety h2 a {
	text-decoration: none;
	background: #4B4A67;
	color: #DDD1C7;
	padding: 15px;
	border-radius: 10px;
	box-shadow: 5px 5px 5px #7E8987;
}

.safety h2 a:hover {
	background: #8DB580;
}


/*end*/


/* layout grid */
.layout {
	display: grid;
	grid-template-areas:
		"summary summary summary summary"
		"equip equip equip equip"
		"info info info info";
	grid-template-rows: minmax(1000px, 1400px) minmax(auto, 1fr) 600px ;
	grid-template-columns: minmax(100px, 350px) minmax(100px,350px) minmax(100px, 350px) minmax(100px, 350px);
	gap: 0px;
	max-width: 1200px;
	justify-content: center;
	margin: 0 auto;
}

.section {
	padding: 10px;
}

/*summary section*/
.summary {
	grid-area: summary;
	margin: 0 40px;
	max-width: 760px;
	margin: 0 auto;
}


.summary .write {
	margin: 20px 20px 20px;
}

.summary .write h3, .summary .write h4 {
	margin: 20px auto;
	background: #DDD1C7;
	padding: 10px;
	border-radius: 10px 10px 0 0 ;
} 

.summary .write h4 {
	margin-left: 20px;
}

.summary .write p {
	margin: 0 auto;
	margin-left: 40px;
}

.summary .rate {
	text-align: center;
	background: #DDD1C7;
	margin: 10px;
	padding: 10px;
	border-radius: 10px;
}

.summary .rate h4 {

}

.either {
	display: grid;
	grid-template-columns: repeat(2, minmax(200px, 250px));
	grid-template-rows: minmax(200px, 350px);
	justify-content: space-around;
	background: #DDD1C7;
	max-width: 700px;
	margin: 0 auto;
	border-radius: 10px;
	margin-top: 20px;
	padding: 20px;
}

.either .pros, .either .cons {
	background: #C2CFB2;
	border: solid 10px #8DB580;
	border-radius: 10px;
	box-shadow: 5px 5px 5px #7E8987;
	padding-right: 10px;
}

.either h4 {
	text-align: center;
}

/*end*/

/* materials and tools layout */

.materials-tools {
	grid-area: equip;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 500px));
	grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
	margin: 0 20px;
	justify-content: center;
	margin-top: -280px;
	
}


.tools, .materials {
	display: grid;
	background: lightgrey; 
	grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
	grid-template-rows: repeat(auto-fit, minmax(auto, 1fr));
	justify-content: center;
	justify-items: center;
	overflow: scroll;
	gap: 20px;
	padding: 20px;
	border-bottom: 5px #4B4A67 solid;
	border-radius: 10px;
	background: url(../images/doodad.png);
	height: fit-content;
}

.materials h3, .tools h3 {
	margin: -10px;
	margin-bottom: -20px;
	background: whitesmoke;
	border-radius: 10px;
	width: 100%;
	padding: 30px;
	text-align: center;
}

.materials .caption, .tools .caption {
	margin: 0;
	padding: 10px 20px;
	border-radius: 0 0 10px 10px;
	background: whitesmoke;
}

.tools .item, .materials .item {
	background: lightgrey;
	display: flex;
	max-width: 400px;
	border-radius: 10px;
	padding: 15px;
	box-shadow: 10px 10px 10px grey;
}

.materials .item, .tools .item {
	background: white;
}

.materials .item img, .tools .item img {
	max-height: 150px;
	min-height: 100px;
	min-width: 150px;
	margin-top: 50px;
	margin-left: 10px;
}

.materials .item .text h4, .tools .item .text h4{
	margin: 0;
}

.materials .item .text p, .tools .item .text p {
	max-width: 300px;
}

.materials .item .text h5, .tools .item .text h5  {
	margin: 0;
}

/*example button*/
.materials .item .text h5 a, .tools .item .text h5 a {
	text-decoration: none;
	background: #4B4A67;
	padding: 10px;
	border-radius: 10px;
	color: whitesmoke;
} 

.materials .item .text h5 a:hover, .tools .item .text h5 a:hover {
	background: #C2CFB2;
	box-shadow: 5px 5px 5px #7E8987;
} 

/*end*/

.scroll {
	position: absolute;
	bottom: -1000px;
	background: green;
	border-radius: 10px;
	padding: 10px;
}


@media (max-width: 1106px) {
	.one {
		display: none;
	}

	.up {
		width: fit-content;
		bottom: -725px;
	}
	.materials-tools {
		margin-bottom: -250px;
		margin-top: -300px;
	}

	.tools {
		margin-top: 200px;
		margin-bottom: 60px;
	}
}

@media (max-width: 633px) {
	.up {
		width: fit-content;
		bottom: -780px;
	} 

	.materials-tools {
		margin-top: -210px ;
	}
}


.more-info {
	grid-area: info;
	display: grid;
	grid-template-columns: repeat(4, minmax(100px, 200px));
	grid-template-rows: 5px 250px 25px 270px 5px;
	justify-content: center;
}

.videos, .links {
	background: #DDD1C7;
	padding: 5px 20px 5px ;
	border-radius: 10px;
}

/* example video layout */
.videos {
	justify-content: space-around;
	grid-column: 1 / 5;
	grid-row: 2 / 3;
	overflow-x: scroll;
}

.videos h3 {
	margin-top: 10px;
	margin-left: 0px;
	background: whitesmoke;
	border-radius: 10px 10px 0 0;
	padding: 5px;
	margin-bottom: -5px;
	position: sticky;
	top: 10px;
	left: 0;
}

.videos .vids {
	display: flex;
	margin: 0;
}

.videos .vids iframe {
	width: 250px;
	height: 150px;
	align-self: center;
	padding: 0 5px;
	margin: 20px 0 10px;
}

.bowl {
	padding-right: 10px;
}

/*scroll reminder*/
.scroll-vids {
	grid-column: 2 / 4;
	grid-row: 3 / 4;
	align-self: center;
	justify-self: center;
	z-index: 6;
	padding: 10px;
	border-radius: 10px;
	background: #8DB580;
	color: white;
	height: fit-content;
	width: fit-content;
}

/*linked resources*/
.links {
	grid-column: 1 / 5;
	grid-row: 4 / 5;
	overflow-y: scroll;
	padding-bottom: 20px;
}

.links h3 {
	margin-top: 10px;
	margin-left: 0px;
	background: whitesmoke;
	border-radius: 10px 10px 0 0;
	padding: 10px;
	margin-bottom: -5px;
	position: sticky;
	top: 10px;
}

.links .a h4 {
	margin: 20px 0;
}

.links .a a {
	text-decoration: none;
	padding: 7px;
	margin: 10px;
	background: #4B4A67;
	border-radius: 10px;
	box-shadow: 5px 5px 5px #7E8987;
	color: #DDD1C7;
}

.link .a a:hover {
	background: #C2CFB2;
}
}












