body {
  background-image: url(images/background.jpg);
	background-color: #323232;
	font-family: "Times New Roman", serif;
}

* {/*star symbol means all HTML tags*/
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/*-----------------------*/
.nav-bg {
	max-width: fit-content(100%);
	margin: auto;
	/* background-color: #555; */
	height: 350px;
	color: white;
	border-radius: 10px;
	display: none;
}
  
.navbar {
	overflow: auto;
	background-color: #333;
	position: relative;
	visibility: hidden;
}
  
.navbar #mobilelinks {
	display: none;
}

  
.navbar a {
	color: white;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
	display: block;
}
  
.navbar a.icon {
	background: black;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
}
  
.navbar a:hover {
	background-color: #ddd;
	color: black;
}
  
.active {
	background-color: #04AA6D;
	color: white;
}

/* Style the navigation menu */
.mobilenav {
	overflow: hidden;
	background-color: rgba(51, 51, 51, 0.9);
	position: relative;
	background-image: url(images/background.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

}
  
  /* Hide the links inside the navigation menu (except for logo/home) */
.mobilenav #mobilelinks {
	display: none;
	text-align: center;
	background: linear-gradient(rgba(104, 59, 171, 0.5), rgba(74, 41, 122, 0.5));
	border: 2px solid #333;
	border-radius: 20px;
}

.mobilenav #mobilelinks a:hover {
	border-radius: 50px;
}
  
  /* Style navigation menu links */
.mobilenav a {
	color: white;
	padding: 14px 16px;
	text-decoration: none;
	font-size: clamp(1rem, 4vw, 3rem);
	display: block;
}
  
  /* Style the hamburger menu */
.mobilenav a.icon {
	background: rgba(0, 0, 0, 0.5);
	border: 2px solid #333;
	border-radius: 20px;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
}
  
  /* Add a grey background color on mouse-over */
.mobilenav a:hover {
	background-color: #ddd;
	color: black;
}
  
  /* Style the active link (or home/logo) */
.mobileactive {
	color: white;
}

.maincontainer {
	/* background-color: #323232; */
	border: 15px solid #683bab;
	padding: 40px;
	margin-left: 0;
	margin-right: 0;
	justify-content: center;
	display: flex;
	flex-direction: column;
	color: white;
	overflow: hidden;
	white-space: nowrap;
}

.maincontainer h1 {
	font-size: clamp(1.2rem, 5vw, 3rem);
	text-align: center;
}

.maincontainer h2 {
	font-size: clamp(1rem, 4vw, 2rem);
	text-align: center;
}

.maincontainer p {
	text-align: center;
	text-wrap: balance;
}

.rowcontainer {
	display: block;
	text-align: center;
}

.imagebox  {
	text-align: center;
	position: relative;	
}

.imagebox:hover {
	opacity: 0.8;
}

.imagebox img {
	max-width: 100%;
	/*width: 250px;*/
	height: auto;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
}

.imagetext {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.7);
	padding: 20px;
	display: flex;	
}

footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: #323232;
	padding: 10px;
	text-align: center;
	color: white;
	border: 5px solid #683bab;
	
}

footer a:link {
	color: green;
	background-color: transparent;
	text-decoration: none;
}

footer a:visited {
	color: pink;
	background-color: transparent;
	text-decoration: none;
}
  
footer a:hover {
	color: red;
	background-color: transparent;
	text-decoration: underline;
}
  
footer a:active {
	color: yellow;
	background-color: transparent;
	text-decoration: underline;
}

/*------------------------*/
/*Styles changes for BIG DEVICES: PC or desktops
  screen width: >= 769px 
*/
@media only screen and (min-width: 950px) {
	body {
		background-color: #121212;
	}

	.nav-bg {
		/* background-image: url(images/background.jpg); */
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		position: relative;
		display: flex;
		justify-content: center;
		border-radius: 0;
	}
	
	.nav-container {
		position: absolute;
		margin: 0;
		bottom: 0;
	}
	
	.title-text {
		text-align: center;
		vertical-align: middle;
		line-height: 20vh;
  	background-color: rgba(0, 0, 0, 0.5);
		border: 3px solid #333;
		
	}

	.title-text h1 {
		font-size: 50px;
	}
	
	.navbar {
		overflow: hidden;
		background: linear-gradient(rgba(104, 59, 171, 0.9), rgba(74, 41, 122, 0.9));
		border-radius: 20px;
		visibility: visible;
	}
	
	.navbar ul {
		list-style: none;
	}
	
	.navbar ul li {
		float: left;
	}
	
	.nav-bg a {
		color: white;
		text-align: center;
		padding: 25px 45px;
		text-decoration: none;
		font-size: 20px;
	}

	.nav-bg a:hover {
		background-color: #ddd;
		color: black;
	}
	

	.mobilenav {
		visibility: hidden;
	}

	.maincontainer {
		margin-left: auto;
		margin-right: auto;
		width: 75%;
		flex-direction: row;
	}

	.maincontainer h1 {
		/*font-size: 50px;*/
		text-align: center;
	}

	.maincontainer h2 {
		/*font-size: 45px;*/
		text-align: center;
	}

	.imagebox {
		display: inline-block;
	}
	.imagebox img {
		max-width: 350px
	}

}