* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
	min-height: 100vh;
}

.remark{
	font-size: 0.75em;  /* Makes the superscript smaller */
    vertical-align: super; /* Aligns the text to the top */
    line-height: 0; /* Adjusts the line height */
}	
	
.container {
     /* Set minimum height to full viewport height */
    display: flex; /* Optional: Use flexbox for layout */
    flex-direction: row; /* Optional: Stack children vertically */
	flex-flow: row wrap;
	flex: 1;
    max-width: 100%;
    margin: auto;
    justify-content: space-around;
	position: relative;
	
}
.container2 {
	position:relative;
    display: flex; /* Optional: Use flexbox for layout */
    flex-direction: row; /* Optional: Stack children vertically */
	flex-flow: row wrap;
	flex: 1;
}
.container3 {
	position:relative;
    display: flex; /* Optional: Use flexbox for layout */
    flex-direction: row; /* Optional: Stack children vertically */
	flex-flow: row wrap;
	flex: 1;
	justify-content: center; /* Centers children horizontally */
	padding: 0px;
	margin: 0px;
	border: 0px solid black;
	
}
    
body {
    font-family: Arial, sans-serif;
    background-color: #FBFBFB;
    display: flex;
    flex-direction: column;
	min-height: 100vh;
}

header {
    position: relative;
	min-height: 5em;
}

.icon {
    position: absolute;
    top: 10px;
    left: 10px;
}

.icon img {
    width: 4em; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
}

.subject{
	padding-top: 2px;
	margin-top: 0px;
	font-size: 1.5em;
	font-weight: bold;
	text-align: left;
	color: #3674B5;
}

#Subheader{
	position: relative;
	padding: 10px;
	width: 100%;
	top:0px;
	padding: 2em;
	
	background-image: url('header-bg.png'); /* Path to your image */
    background-size: cover; /* Ensures the image covers the entire header */
    background-position: center; /* Centers the image */
    
    
    display: flex; /* Flexbox for centering content */
    justify-content: center; /* Centering horizontally */
    align-items: center; /* Centering vertically */
    text-align: left; /* Center text */
	
}
#Subheader2{
	position: relative;
	padding: 0px;
	width: 100%;
	top:0px;
	
	
	display: flex; /* Flexbox for centering content */
	flex-direction:column;

    justify-content: center; /* Centering horizontally */
    align-items: center; /* Centering vertically */
    text-align: left; /* Center text */
}

#Subheader2 .videoContainer iframe{
	width:100%;
	min-height:40vh;
}

#menu-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 50px;
	color: #3674B5;
    cursor: pointer;

}

nav {
	flex-direction: row; /* Change to row for horizontal layout */
    justify-content: center; /* Center items horizontally */
    
	position: absolute;
	top: 0em; /* Adjust based on header height */
	   
    border-radius: 5px;
    z-index: 1000;
	
}

nav.active {
    display: flex; /* Show nav when active */
}

nav a {
    color: #3674B5;
    text-decoration: none;
	
}

nav a:hover {
    background: #3674B5;
	color: white;
	text-align: center;
	align-items: center;
}



footer {
    background: #3674B5;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
}

.content {
    background: #ffffff;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	position:relative;
}
.content1{
	position: relative;
	margin: 10px;
	padding: 10px;
	border: 1px solid gray;
	border-radius: 10px 10px;
}
.subcontainer{
	position: relative;
		
	border: 1px solid gray;
	border-radius: 10px 10px;
	
	margin: 10px;
	
	display: flex; /* Optional: Use flexbox for layout */
    flex-direction: row; /* Optional: Stack children vertically */
	flex-flow: row wrap;
	flex: 1;
    max-width: 100%;
    
    
    justify-content: space-around;
	position: relative;
}

.image-container{
	display: flex;
	justify-content: space-around;
}
.image-container img{
	width: 100%;
	
}
.content2 {
		width: 100%;
		background: #BDB76B;
		
		height: 4em;
		text-align: left;
		padding: 0em 1em;
		
		
	}
.ParentContainer{
	display: flex;
	
}

.content3 {
		width: 100%;
		
		text-align: left;
		padding: 0em 1em;
		
		
	}
.content3 h2{
	margin: 0px;
}

.NewContainer{
	margin: 10px;
	border: 1px solid gray;
	border-radius: 10px 10px;
	/*flex-grow: 3 */
	width: 50%;
	
}
.TextBarNewStyle{
	background:  ffffff;
	
}
.TextBarStyle1{
	background:  #ffaaab;
}
.TextBarStyle2{
	background: #ffb116;
}
.TextBarStyle3{
	background: #68d388;
}
.TextBarStyle4{
	background: #2d545e;
}
.TextBarStyle5{
	background: #0FA4AF;
}
.TextBarNewText a{
	color: #000000;
	font-size: 1em;
	font-weight: normal;
}

.TextBarText a{
	color: white;
}

.content2 a{
	color: white;
}

	
	#VideoWeek1{
		display: none;
	}	
	#VideoWeek2{
		display: none;
	}
	#VideoWeek3{
		display: none;
	}
	#VideoWeek4{
		display: none;
	}
	#VideoWeek5{
		display: none;
	}

	.VideoFrame {
		position: relative;
		top:2em;
		width: 100%; /* Make the video frame take full width */
		max-width: 560px; /* Limit the maximum width for larger screens */
		background-color: #f0f0f0; /* Optional: Light grey background */
		border: 1px solid #ccc; /* Optional: Border around the video */
		border-radius: 8px; /* Optional: Rounded corners */
		padding: 0px;
	margin: 0px;
		
	}

	.VideoFrame iframe {
		width: 560px; /* Make the iframe responsive */
		height: 315px;
	
		
		border: none; /* Remove iframe border */
	}

	.VideoFrame h3 {
		text-align: center; /* Center align the title */
		margin: 0.5em 0; /* Add margin around the title */
		
	}
	
	.container3 .VideoFrame {
		display:block;
		
	}
	
	.videolink{
		display:none;
	}
	
	.gallery {
		display: flex;
		justify-content: center;
		width: 100%;
		border: 0px solid #ccc;
    }
    .gallery iframe{
		border: none; /* Removes border for a cleaner look */
		width: 100%; /* Makes iframe responsive */
		
	}
	nav .submenu {
		display: none;
		
		background-color: #444; /* Background color for the sub-menu */
		z-index: 1; /* Ensure it appears above other content */
		min-width: 160px; /* Minimum width for sub-menu */
	}
	.submenu a {
		float: none; /* Stack links vertically */
		color: white; /* Text color */
		padding: 10px; /* Padding for sub-menu items */
		text-decoration: none; /* Remove underline */
		display: block; /* Make links block elements */
	}
	.submenu a:hover {
		background-color: #555; /* Change background on hover */
	}
	.dropdown:hover .sub-menu {
		display: block; /* Show sub-menu on hover */
	}
	.container h2{
		margin:10px;
	}
	.content1{
		position: relative;
		margin: 10px;
		padding: 10px;
		border: 1px solid gray;
		border-radius: 10px 10px;
	}
	
	.SubHeaderStyle{
		position:absolute; top:-22px;background-color:#FBFBFB;z-index:1;
	}
	.containerHeader{
		position: relative;margin-top:20px;font-size:0.9em;font-weight:normal;
	}


/* Media query for mobile responsiveness */
@media (max-width: 800px) {
    nav {
        display: none;
        flex-direction: column;
        align-items: center;
		background: #578FCA;
		width: 100%; /* Set width of the dropdown */
		color: #ffffff;
		top: 5em;
		left:0em;
		text-align: center;
		
    }
	nav a{
		color: #ffffff;
		padding: 20px 0; /* Add padding for spacing */
		width:100%;

	}
	nav a:hover {
		background: rgba(255, 255, 255, 0.1);
		width:100%;
		text-align: center;
		
	}
	
	.nav a{
		text-align: center;
		align-items: center;
		width:100%;
	}
	
	.nav a:hover {
		width:100%;
		text-align: center;
		align-items: center;
	}
	
	.content img{
		width:100%;
		height:auto;
	}
	
	.container{
		display: flex; /* Optional: Use flexbox for layout */
		flex-direction: column; /* Optional: Stack children vertically */
		flex: 1;
		width: 100%;
		
		
		position: relative;
	}
	
	#subject{
		left: 4.8em;
		top: 0.5em;
		
		width: 50%;
		font-size:100%;
		
	}
	.content {
		max-width: 100%;
		width: 100%;
		
		min-width: 24em;
	}
	#Subheader2 .videoContainer iframe{
		width:100%;
		height:auto;
	}
	
	
	
	.VideoFrame {
		position: relative;
		top:0em;
		width: 100%; /* Make the video frame take full width */
		
		background-color: #f0f0f0; /* Optional: Light grey background */
		border: 1px solid #ccc; /* Optional: Border around the video */
		border-radius: 8px; /* Optional: Rounded corners */
		
	}

	.VideoFrame iframe {
		width: 100%; /* Make the iframe responsive */
		height: 315px;
		border: none; /* Remove iframe border */
	}

	.VideoFrame h3 {
		text-align: center; /* Center align the title */
		margin: 0.5em 0; /* Add margin around the title */
	}
	.container2 {
		position:relative;
		width: 100%;
		
	}
	.container3 {
		position:relative;
		width: 100%;
		text-align: center;
		padding: 0px;
		margin: 0px;
	}
	#subject{
		position: absolute;
		left:4.8em;
		top:0.5em; 
	}
	.subject{
		position: absolute;
		left:4.8em;
		top:0.5em; 
	}
	.SmallFontSize{
		font-size: 100%
	}
	.gallery {
		display: flex;
		justify-content: center;
		width: 100%;
		border: 0px solid #ccc;
    }
    .gallery iframe{
		border: none; /* Removes border for a cleaner look */
		width: 100%; /* Makes iframe responsive */
		
	}
	.subcontainer{
		position: relative;
			
		border: 0px;
		border-radius: 0px;
		
		margin: 0px;

	}
	.container h2{
		
	}
	
	.ParentContainer{
		display: block;
		
	}


	.NewContainer{
		margin: 0px;
		border: 0px;
		border-radius: 0px;
		
		width: 100%;
		
	}
	.content1{
		
		margin: 0px;
		padding: 0px;
		border: 0px solid gray;
		border-radius: 0px;
	}
		
	.content3 p,h2{
		margin: 0em;
		padding: 0.2em;
	}
	.SubHeaderStyle{
		position: relative;
		margin-top: 0px;
		top:10px;
		padding-top: 0px;
		text-align: center;
	}
	.containerHeader{
		margin-top:0px;
		font-size:0.9em;
		top: -20px;
	}
	
	
	
	

}

/* Media query for large screen responsiveness */
@media (min-width: 801px) {
    #menu-toggle {
        display: none; /* Hide toggle on larger screens */
    }

    nav {
		position: absolute;
		right:1em;
		text-align: right;
        flex-direction: row;
        justify-content: right;
		color: #578FCA;
		padding: 1em;
		width: 50%; /* Set width of the dropdown */
		
    }

    nav a {
		padding: 1em;
    }
	.content{
		min-width: 22em;
		max-width: 33.3%;
	}
	.content img{
		max-height:10em;
	}
	
	.SubjectOnNav{
		
	}
	.content img{
		width:100%;
		height:auto;
	}
	#subject{
		position: absolute;
		left:3.5em;
		top:0.5em; 
	}
	.subject{
		position: absolute;
		left:3.5em;
		top:0.5em; 
	}
	
	
}