@charset "utf-8";
/* CSS Document */

/*
* {
  border-color:blue;
  border-style:dashed;
  border-width:thin;
}
*/

body {	
  font-family: Verdana, Geneva, sans-serif;
	font-size: 16px;
	word-wrap: normal;
	color: #303030;
	text-align: justify;
	background-color: #D3D3D3;
}	

main {
  width: 98%;
  background-color: #f1f1f1;
	margin: auto;
}

.headertopspace {
	position: fixed;
	top: 0;
	height: 10px;
	width: 100%;
	background-color: #d3d3d3;
	z-index: 3;
}

#header {
	position: fixed;
  display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	height: 75px;
	width: 93%;
	align-items: center;
	background-color: #f1f1f1;
	z-index: 2;
}

.img-title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.title {
	color: red;
	font-size: 24px;
	margin: 0 20px;
}

#header-img {
  margin: 0 20px;
}

#nave-bar {
	display: flex;
	align-content: space-bettween;
}

.nave-link-div {
  text-align: center;
	margin: 0 10px;
}

.topspace {
	display: block;
	height: 75px;
}

.h1section {
	display: flex;
	Justify-content: center;
	align-content: center;
	color: blue;
}

.rightntm {
	text-align: right;
	margin-top: 0px;
}

.form {
	display: flex;
	Justify-content: center;
	align-content: center;
}

#video {
  
}

#form {
  display: flex;
	align-items: center;
	Justify-content: center;
	flex-wrap: wrap;
}

#email {
  border-radius: 4px;
	height: 20px;
	width: 200px;
	margin: 10px;
	border: 2px gray solid;
}

#submit {
	background-color: lightgreen;
	border-radius: 4px;
	color: blue;
	font-size: 1em;
	height: 40px;
	margin: 10px;
	border: 0px solid;
}

.videoflexbox {
  display: flex;
	justify-content: space-around;
	align-content: center;
	height: 250px;
}

.box {
	display: flex;
	flex-direction: column;
}

.center {
	text-align: center;
	margin: auto;
}

.spacer {
	height: 20px;
}

@media (max-width: 1100px) {
	.topspace {
	height: 100px;
	}
	#header {
		display: flex;
		flex-direction: column;
		justify-content: center;
		height: 100px;
	}
	.videoflexbox {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		height: auto;
	}
	#video, #video2, #video3 {
	max-width: 95%;
	height: auto;
}
}

@media (max-width: 730px) {
	.topspace {
	height: 150px;
	}
		#header {
		display: flex;
		flex-direction: column;
		justify-content: center;
		height: 150px;
	}
	#nave-bar {
		display: flex;
		flex-direction: column;
	}
}
  
@media (max-width: 400px){
	#header {
		height: 170px;
	}
	.topspace {
	height: 170px;
	}
		.img-title {
			display: flex;
			flex-direction: column;
			align-items: center;
			flex-wrap: wrap;
		}
	}