*{
	/* Universal reset: */
	margin:0;
	padding:0;
}

header,footer,
article,section,
hgroup,nav,
figure{
	/* Giving a display value to the HTML5 rendered elements: */
	display:block;
}

.header-flex {
display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px;
  box-sizing: border-box;
  gap: 20px;
  flex-wrap: wrap; /* Helps prevent overflow on smaller screens */
}

.navbar {
display: flex;
  align-items: flex-start;        /* Vertically center dropdown buttons */
  height: 100%;               /* Take full height of header-flex */
  gap: 10px;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 0 10px;            /* Optional padding inside navbar */
  box-sizing: border-box;

}

.navbar a {
    
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover, .dropdown:hover .dropbtn {
 	background-color: #f0f0f0;
	border-radius:10px;
}


.dropdown {
   position: relative;
    overflow: visible;
display: inline-block;
}

.dropdown .dropbtn {  
    border: none;
  cursor: pointer;
    outline: none;
    color: #565656;
    padding: 12px 16px;
  line-height: 1.2; 
border-radius: 10px;
    background-color: #f9f9f9;
    font-family: inherit;
font-size:1em;
    z-index: 1;
    margin: 1; 
 display: flex;
 align-items: center;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}



.dropdown-content {
display: none;
    position: absolute;
    top: 100%;
    right: 0;                      /* Move to center of button */
    --transform: translateX(0%);    /* Adjust back by half width */
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 10px;
    min-width: 160px;               /* Optional: ensures it’s wide enough */
    text-align: center;             /* Optional: center text */
white-space: nowrap; 
  


}

.dropdown-content a {
    float: none;
    color: #565656;
font-size:1em;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
    text-align: center;
	border-radius:10px;

}

.dropdown-content a:hover {
    background-color: #f0f0f0;
    
	border-radius:10px;
}

.dropdown:hover .dropdown-content {
    display: block;
 color: #565656;
	border-radius:10px;
}

li {
  display: inline;
}

body{
	/* Setting the default text color, size, page background and a font stack: */
	font-size:1em;
	color:#e0e0e0;
	background-color:#000000;
	font-family:Arial, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
}

/* Hyperlink Styles: */

a, a:visited {
	
	text-decoration:none;
	outline:none;
}

a:hover{
	


	text-decoration:none;
}

a img{
	border:none;
	color:black;
}

/* Headings: */

h1,h2,h3{
	font-family:"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
	
	


}

h1 a,
h1 a:visited,
h1 a:hover,
h1 a:active {
  color: #ffffff; /* or whatever your h1 color is */
  text-decoration: none;
}


.logo {
 display: flex;
  flex-direction: column;
  justify-content: center; /* top-align content */
text-align: left;
  height: 100%;          /* Match the header height */
  color: white;
  /* Optionally: add some horizontal padding */
  margin: 0;  /* If inherited margin causes space */
 
}

.logo hgroup {																					
  margin: 0;
  padding: 0;
}

.logo h1, .logo h3 {
  margin: 0;
  padding: 0;
  line-height: 1;
display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  font-size: 4em;       /* Reduce from 4.3em to better fit */
  margin: 0;
  line-height: 1;
}

h3 {
  font-size: 1.9em;     /* Reduce from 2em */
  margin: 0;
  line-height: 1;
}

h2{
	font-size:2.2em;
	font-weight:500;
	letter-spacing:0.01em;
	text-transform:uppercase;
	color: #101010;
}

p{
	line-height:1.5em;
	padding-bottom:1em;
}

.line{
	/* The dividing line: */
	height:1px;
	background-color:#101010;
	border-bottom:1px solid #101010;
	margin:1em 0;
	overflow:hidden;
}

article .line{
	/* The dividing line inside of the article is darker: */
	background-color:#101010;
	border-bottom-color:#101010;
	margin:1.3em 0;
}

footer .line{
	margin:2em 0;
}

nav{
	background:url(img/gradient_light.jpg) repeat-x 50% 50% #f8f8f8;
	padding:0 5px;

	border:1px solid #FCFCFC;

	-moz-box-shadow:0 1px 1px #333333;
	-webkit-box-shadow:0 1px 1px #333333;
	box-shadow:0 1px 1px #333333;
}

/* The clearfix hack to clear the floats: */

.clear:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* The navigation styling: */

nav ul li{
	display:inline;
}

nav ul li a,
nav ul li a:visited{
	color:#565656;
	display:block;
	float:left;
	font-size:1.25em;
	font-weight:bold;
	margin:5px 2px;
	padding:7px 10px 4px;
	text-shadow: none;
	text-transform:uppercase;
}

nav ul li a:hover{
	text-decoration:none;
	background-color:#f0f0f0;
}

nav, article, nav ul li a,figure{
	/* Applying CSS3 rounded corners: */
	
	border-radius:10px;
}

/* Article styles: */

#page{
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	box-sizing: border-box;
	position:relative;
}

@media (max-width: 600px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px;
  }
}

article{
	background-color:#7FFF00;
	margin:3em 0;
	padding:20px;
	color:#000000;
	
	
}

article a,article a:visited{
	color:#000000;
	background-color:#7FFF00;
	display:block;
	z-index:100;
	position:relative;
}
footer a:hover{
	text-decoration:none;
	background-color:#142830;

}

figure{
	border:0px solid #142830;
	float:left;
	height:200px;
	margin-left:5px;
	overflow:visible;
	padding: 0px 0px;
	width:300px;
}

figure:hover{
	-moz-box-shadow:0 0 0px #4D7788;
	-webkit-box-shadow:0 0 0px #4D7788;
	box-shadow:0 0 0px #4D7788;
}

figure img{
	max-width: 100%;
  object-fit: cover;
  display: block;
}

/* Footer styling: */

footer{
	margin-bottom:30px;
	text-align:center;
	font-size:0.825em;
}


footer p{
	margin-bottom:-2.5em;
	position:relative;
}

footer a,footer a:visited{
	color:#000000;
	background-color:#7FFF00;
	display:block;
	padding:2px 4px;
	z-index:100;
	position:relative;
}

footer a:hover{
	text-decoration:none;
	color:white;
	background-color:black;
}

footer a.by{
	float:left;

}

footer a.up{
	float:right;
}

p.pos_fixed
	{
	position:fixed;
	top:30px;
	right:5px;
	}

audio { display:inline-block; width: 300px; }