/*
**
*/

body {
	background-color:  OldLace;
	font-family: verdana;
}

h1 {
	font-size: 1em;
}

@media screen and (max-width: 1023px) {  /* small screens */
	
	body: {
		font-sizer: 18px;
	}
	#header {
		width: 98%;
		height: auto;
		margin: 12px 1%;
		padding: 8px;
		/* background-color: CornflowerBlue; */
		background-color: transparent;
		text-shadow: 2px 2px 5px crimson;
		font-weight: 700;
		font-size: 4em;
		font-family: Arial;
		color: DarkSlateBlue;
		border: 2px solid transparent;
		#headerelements {
			display: flex;
			flex-direction: row;
			justify-content: left;
			gap: 0px 8px;
			.headerelement {
				flex-grow: 1;
				flex-basis: 5%;
				text-shadow: none;
				cursor: pointer;
				font-size: .5em;
				color: DarkSlateBlue;
			}
		}
	}
	
	#footer {
		width: 98%;
		height: auto;
		margin: 12px 1%;
		font-size: .5rem;
		color: DarkSlateBlue;
		border: 2px solid Purple;
	}
	
	#response {
		width: 98%;
		height: auto;
		margin: 8px 1%;
		color: red;
		font-size: 1.2em;
	}
	
	.container {
  		display: grid;
		  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		  gap: 10px;
	}
		
	.grid-item {
	  position: relative;
	  padding-top: 100%;
	  background-color: lightblue;
	}
		
	.grid-item > div {
	  position: absolute;
	  top: 0;
	  bottom: 0;
	  left: 0;
	  right: 0;
	}

	#mainnavbar {
		/* display: grid;
		grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
		grid-template-rows: repeat(auto-fit, 50px);
		gap: 8px; */
		display: block;
		width: 98%;
		height: auto;
		margin: 4px 1%;
		overflow-x: auto;
		white-space: nowrap;
		background-color: transparent;
		color: RebeccaPurple;
		border-bottom: 4px solid crimson;
		a:link,a:visited {
			color: RebeccaPurple;
			text-decoration: none;
		}
		.navbaritem {
			display: inline-block;
			position: relative;
			width: 20%;
			height: auto;
			margin-bottom: 8px;
			margin-right: 8px;
			text-align: center;
			cursor: pointer;
			font-size: 1.5rem;
			border: none;
			.itemnote {
				display: none;
				position: absolute;
				top: 25px;
				left: 100px;
				width: 500px;
				height: auto;
				padding: 8px;
				background-color: BlanchedAlmond;
				text-align: left;
				color: RebeccaPurple;
				border: 8px solid RebeccaPurple;
				border-radius: 15px;
			}
		}
	}
	
	#maincontainer {
		display: flex;
		flex-direction: column;
		width: 98%;
		height: 1200px;
		margin: 8px 1%;
		overflow-y: auto;
		.column {
			width: 98%;
			height: auto;
			margin: 8px 1%;
			border: 1px solid transparent;
			border-radius: 15px;
		}
		#leftcolumn {
			width: 98%;
			background-color: transparent;
			.leftcolumn_sub {
				width: 98%;
				height: auto;
				margin: 12px 1%;
				padding: 8px;
				font-size: 1.8em;
				color: RebeccaPurple;
				border: 2px solid SlateBlue;
				border-radius: 15px;
				h1 {
					color: crimson;
				}
			}
			#leftsub2 {
				width: 98%;
				height: auto;
				box-shadow: none;
				background: transparent;
				#img1div {
					position: relative;
					width: 98%;
					height: auto;
					margin: 12px 1%;
					&:hover { border-color: silver };
					#leftimg1 {
						display: block;
						width: 100%;
						border: 2px solid transparent;
						border-radius: 15px;
						
					}
					#img1text {
						position: absolute;
						top: 10px;
						left: 10px;
						width: 90%;
						height: auto;
						padding: 8px;
						opacity: 1;
						z-index: 100;
						font-size: .8em;
						background-color: transparent;
						color: white;
						border: 2px solid transparent;
						border-radius: 15px;
						&:hover { background-color: black; border-color: white; opacity: 1 }
					}
				}  /* img1div */
			}  /* leftsub2 */
			#leftsub3 {
				width: 98%;
				margin: 2px 1%;
				height: auto;
			}
		}  /* left column */
		
		#rightcolumn {
			width: 98%;
			background-color: transparent;
			.rightcolumn_sub {
				width: 94%;
				height: auto;
				margin: 8px 3%;
				padding: 12px 8px;
				resize: vertical;
				border: 4px solid RebeccaPurple;
				border-radius: 15px;
			}
			#photos {
				width: 95%;
				max-height: 800px;
				margin: 12px 1%;
				overflow-y: auto;
				border: 2px solid SlateBlue;
				border-radius: 15px;
				#phototitle {
					width: 98%;
					height: auto;
					margin: 12px 1%;
					color: crimson;
					font-size: 1.8em;
					font-weight: 600;
				}
				#photomessage {
					width: 98%;
					height: auto;
					margin: 12px 1%;
					color: RebeccaPurple;
					font-size: 1.2em;
					font-weight: 600;
				}
				.photo_element {
					width: 90%;
					height: auto;
					margin: 8px 0px 0px 5%;
					cursor: pointer;
					color: RebeccaPurple;
					font-size: 1.5rem;
					border: none;
					&:hover { color: black; background-color: transparent; }
					a:link, a:visited { color: RebeccaPurple; text-decoration: none; }
					a:hover { color: crimson; font-weight: 600 }
				}
			}
		}  /* rightcolumn */
	}  /* maincontainer */
}  /* small screens */

@media screen and (min-width: 1024px) {  /* large screens */
	
	#headercanvas {
		/* width: 20%;
		height: auto;
		aspect-ratio:  2 / 1;
		margin: 8px 1%; */
		border: 1px solid RebeccaPurple;
	}
	
	#header {
		width: 98%;
		height: auto;
		margin: 12px 1%;
		padding: 8px;
		/* background-color: CornflowerBlue; */
		background-color: transparent;
		text-shadow: 2px 2px 5px crimson;
		font-weight: 700;
		font-size: 4em;
		font-family: Arial;
		font-style: oblique;
		color: DarkSlateBlue;
		border: 2px solid transparent;
		#headerelements {
			display: flex;
			flex-direction: row;
			justify-content: left;
			gap: 0px 8px;
			.headerelement {
				flex-grow: 1;
				flex-basis: 5%;
				text-shadow: none;
				cursor: pointer;
				font-style: oblique;
				font-size: .3em;
				color: DarkSlateBlue;
				&:hover {
					 color: red;
				}
			}
		}
	}
	
	#response {
		width: 98%;
		height: auto;
		margin: 8px 1%;
		color: red;
		font-size: 1.2em;
	}
		
	#mainnavbar {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(10%, 1fr));
		grid-template-rows: repeat(auto-fit, 40px);
		gap: 0px 8px;
		width: 98%;
		min-height: 50px;
		padding: 8px 0px;
		background-color: transparent;
		color: RebeccaPurple;
		border-bottom: 4px solid crimson;
		a:link,a:visited {
			color: RebeccaPurple;
			text-decoration: none;
		}
		.navbaritem {
			position: relative;
			text-align: center;
			vertical-align: text-top;
			margin-top: 8px;
			cursor: pointer;
			transition: transform 0.3s ease;
			font-size: 1em;
			border: 2px solid transparent;
			border-radius: 15px;
			&:hover {
				transform: scale(1.2,1.2);
				background: linear-gradient(to right,Crimson,RebeccaPurple);
				text-shadow: 2px 2px 5px RebeccaPurple;
				color: OldLace;
			}
			.itemnote {
				display: none;
				position: absolute;
				top: 25px;
				left: 100px;
				width: 500px;
				height: auto;
				padding: 8px;
				text-shadow: none;
				background-color: BlanchedAlmond;
				text-align: left;
				z-index: 500;
				color: RebeccaPurple;
				resize: both;
				overflow: auto;
				border: 8px solid RebeccaPurple;
				border-radius: 15px;
			}
		}
	}
	
	#maincontainer {
		display: grid;
		grid-template-columns: 50% 50%;
		grid-gap: 0px 8px;
		width: 98%;
		height: 800px;
		margin: 8px 1%;
		overflow-y: auto;
		.column {
			gap: 0px 8px;
			font-size: 1.2em;
			padding: 8px;
			border: 1px solid transparent;
			border-radius: 15px;
		}
		#leftcolumn {
			background-color: transparent;
			.leftcolumn_sub {
				width: 96%;
				min-height: 400px;
				margin: 8px 1%;
				padding: 8px;
				color: RebeccaPurple;
				box-shadow: 10px 10px 20px RebeccaPurple, -10px -10px 20px #ffffff;
				background: rgba(106, 90, 205, 0.3); /* Semi-transparent background */
  				/* backdrop-filter: blur(10px); */ /* Blurs the background behind the element */
				resize: vertical;
				overflow: auto;
				border: 2px solid RebeccaPurple;
				border-radius: 15px;
				h1 {
					color: crimson;
				}
			}
			#leftsub2 {
				box-shadow: none;
				background: transparent;
				#img1div {
					position: relative;
					width: 98%;
					height: auto;
					margin: 12px 1%;
					&:hover { border-color: silver };
					#leftimg1 {
						display: block;
						width: 100%;
						border: 2px solid transparent;
						border-radius: 15px;
						
					}
					#img1text {
						position: absolute;
						top: 10px;
						left: 10px;
						width: 50%;
						height: auto;
						padding: 8px;
						opacity: 0.25;
						z-index: 100;
						font-size: .8em;
						background-color: transparent;
						color: white;
						border: 2px solid transparent;
						border-radius: 15px;
						&:hover { background-color: black; border-color: white; opacity: 1 }
					}
				}
			}
			#leftsub3 {
				max-height: 500px;
			}
		}
		#rightcolumn {
			background-color: transparent;
			.rightcolumn_sub {
				width: 98%;
				height: auto;
				margin: 8px 1%;
				padding: 8px;
				box-shadow: 10px 10px 20px RebeccaPurple, -10px -10px 20px #ffffff;
				resize: vertical;
				overflow: auto;
				border: 2px solid RebeccaPurple;
				border-radius: 15px;
			}
			#photos {
				width: 98%;
				height: auto;
				margin: 8px 1%;
				padding: 8px;
				overflow-y: auto;
				color: crimson;
				#phototitle {
					width: 98%;
					height: auto;
					margin: 12px 1%;
					color: crimson;
					font-size: 1.2em;
					font-weight: 600;
				}
				#photomessage {
					width: 98%;
					height: auto;
					margin: 12px 1%;
					color: RebeccaPurple;
					font-size: .9em;
					font-weight: 600;
				}
				.photo_element {
					width: 60%;
					height: auto;
					margin: 8px 0px 0px 5%;
					cursor: pointer;
					color: RebeccaPurple;
					font-size: 1.2em;
					&:hover { color: black; background-color: transparent; }
					a:link, a:visited { color: RebeccaPurple; text-decoration: none; }
					a:hover { color: crimson; font-weight: 600 }
				}
			}
		}  /* rightcolumn */
		
		#footer {
			width: 98%;
			height: auto;
			margin: 12px 1%;
			border: 1px solid purple;
		}
	}
	
}  /* large screens */
