/* ──────────────────────────────────────────────────────────────────────────
   Modern flat nav styles
   ────────────────────────────────────────────────────────────────────────── */
/* ──────────────────────────────────────────────────────────────────────────
   Modern flat nav - font & positioning fix
   ────────────────────────────────────────────────────────────────────────── */
#navcontainer ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background-color: #004080;
  position: relative; /* pushes content down instead of overlapping */
}

#navcontainer ul li a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: Arial, sans-serif;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;

  /* 3D gradient + bevel + drop-shadow */
  background: linear-gradient(
    to bottom,
    rgba(0, 96, 160, 0.9),
    rgba(0, 64, 128, 0.9)
  );
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.25),        /* outer shadow */
    inset 0 1px 0 rgba(255, 255, 255, 0.2); /* top highlight */
}

#navcontainer ul li a:hover {
  /* deepen gradient & shadow on hover */
  background: linear-gradient(
    to bottom,
    rgba(0, 112, 176, 0.95),
    rgba(0, 80, 144, 0.95)
  );
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* active-page indicator (unchanged) */
#home    #navcontainer ul li a#nav-home,
#screenshots #navcontainer ul li a#nav-screenshots,
#quality #navcontainer ul li a#nav-quality,
#features    #navcontainer ul li a#nav-features,
#technology  #navcontainer ul li a#nav-technology,
#upgrades    #navcontainer ul li a#nav-upgrades,
#downloads   #navcontainer ul li a#nav-downloads,
#purchase    #navcontainer ul li a#nav-purchase,
#videos      #navcontainer ul li a#nav-videos,
#forum       #navcontainer ul li a#nav-forum,
#support     #navcontainer ul li a#nav-support {
  background: rgba(255, 255, 255, 0.25);
}

html{
   min-height: 100%;
   min-width:100%;
}

body
{
background-image: url('skyfull.jpg');
    background-color: #cccccc
}

.textpanel {
    width: 640px;
    height:auto;
    margin: auto;
    text-align:center;
    position:relative;
}
.text_over_image {
    position: absolute;
	margin: auto;
	resize:none;
	font:normal 17px Arial, Helvetica, sans-serif;
	color:#FFFFFF;
    position: absolute;
    top:30px;
    left:30px;
    height:340px;
    width:580px;
	border:0;
	padding:0;
	text-align:center;
}

input[type=submit] {padding:5px 5px; background:#ccc; border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transition: all 0.2s cubic-bezier(.42,.97,.52,1.49);	}
	
input[type=submit]:hover {padding:5px 5px; background:#99ccff; border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}	

.shadowbox {
	font:normal 17px Arial, Helvetica, sans-serif;
	color:#FFFFFF;
	text-align:center;
	background: #505050;
	border: 1px solid #777777;
	-moz-border-radius: 15px 15px 15px 15px;
	-webkit-border-radius: 15px 15px 15px 15px;
	border-radius: 15px 15px 15px 15px;
	-moz-box-shadow: 16px 16px 12px -6px rgba(0, 0, 0, 0.7);
	-webkit-box-shadow: 16px 16px 12px -6px rgba(0, 0, 0, 0.7);
	box-shadow: 16px 16px 12px -6px rgba(0, 0, 0, 0.7);
	margin: 20px auto;
	padding: 15px;
	position: relative;
	width: 800px;
	transition: all 0.2s cubic-bezier(.42,.97,.52,1.49);
}

.shadowbox_280 {
	font:normal 17px Arial, Helvetica, sans-serif;
	color:#FFFFFF;
	text-align:center;
	background: #505050;
	border: 1px solid #777777;
	-moz-border-radius: 15px 15px 15px 15px;
	-webkit-border-radius: 15px 15px 15px 15px;
	border-radius: 15px 15px 15px 15px;
	-moz-box-shadow: 16px 16px 12px -6px rgba(0, 0, 0, 0.7);
	-webkit-box-shadow: 16px 16px 12px -6px rgba(0, 0, 0, 0.7);
	box-shadow: 16px 16px 12px -6px rgba(0, 0, 0, 0.7);
	margin: 20px auto;
	padding: 15px;
	position: relative;
	width: 280px;
	transition: all 0.2s cubic-bezier(.42,.97,.52,1.49);
}

.shadowbox:hover {
  transform: scale(1.015, 1.015);

  /* original dark drop-shadow + new light-blue underglow */
  -moz-box-shadow:
    16px 16px 12px -6px rgba(0, 0, 0, 0.7),
     0   4px 15px  rgba(128, 204, 255, 0.6);
  -webkit-box-shadow:
    16px 16px 12px -6px rgba(0, 0, 0, 0.7),
     0   4px 15px  rgba(128, 204, 255, 0.6);
  box-shadow:
    16px 16px 12px -6px rgba(0, 0, 0, 0.7),
     0   4px 15px  rgba(128, 204, 255, 0.6);
}

.shadowbox_280:hover {
  transform: scale(1.015, 1.015);

  -moz-box-shadow:
    16px 16px 12px -6px rgba(0, 0, 0, 0.7),
     0   4px 15px  rgba(128, 204, 255, 0.6);
  -webkit-box-shadow:
    16px 16px 12px -6px rgba(0, 0, 0, 0.7),
     0   4px 15px  rgba(128, 204, 255, 0.6);
  box-shadow:
    16px 16px 12px -6px rgba(0, 0, 0, 0.7),
     0   4px 15px  rgba(128, 204, 255, 0.6);
}

.shadowboxglow {
  font: normal 17px Arial, Helvetica, sans-serif;
  color: #fff;
  text-align: center;
  background: #505050;
  border: 1px solid #777777;
  border-radius: 15px;
  margin: 20px auto;
  padding: 15px;
  position: relative;

  /* fixed smaller width to nest inside the 800px box */
  width: 640px;

  /* two shadows:
     1) your original dark drop-shadow
     2) the pale blue underglow always on */
  box-shadow:
    16px 16px 12px -6px rgba(0, 0, 0, 0.7),
     0   4px 15px       rgba(255,255,255,0.3);

  /* no transform-on-hover transition needed here, but you can keep it if you like */
  transition: all 0.2s cubic-bezier(.42,.97,.52,1.49);
}