* {
  padding: 0;
  margin: 0
}

h1 { position:absolute; top:50px; width:100%; text-align:center; color:#fff; z-index:999;}

a { color:#fff; z-index:999;}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

body { background-color: #000000; }


heading{
 position: fixed;
 color: #fff; 
 border: 0px solid #336655;    
 background: rgba(0,0,0, 0.50);	
 font-family: 'Open Sans', sans-serif;
  
 }



div{
 position: fixed;
 text-align:center; 
 color: #fff; 
 border: 0px solid #336655;  
 box-shadow: 10px 10px 14px rgba(0, 0, 0, 0.25);
 background: rgba(0,0,0, 0.90);	
 font-size: 16px;
 font-family: 'Open Sans', sans-serif;
}


.crossfade > figure {
  animation: imageAnimation 60s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  left: 0px;
  opacity: 0;
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.crossfade > figure:nth-child(1) { 
  
  background-image: url('images/No_Drag_Car.png');
 }

.crossfade > figure:nth-child(2) {
  
  animation-delay: 12s;
  background-image: url('images/SeaTides.jpg');
}

.crossfade > figure:nth-child(3) {
  
  animation-delay: 24s;
  background-image: url('images/Ships.jpg');
}

.crossfade > figure:nth-child(4) {
  
  animation-delay: 36s;
  background-image: url('images/Sky.jpg');
}

.crossfade > figure:nth-child(5) {
  
  animation-delay: 48s;
  color: black;
  background-image: url('images/Propeller.png');
}




 @keyframes 
imageAnimation {  0% {
 animation-timing-function: ease-in;
 opacity: 0;
}
 8% {
 animation-timing-function: ease-out;
 opacity: 1;
}
 17% {
 opacity: 1
}
 25% {
 opacity: 0
}
 100% {
 opacity: 0
}
}


.modalDialog {
    position: fixed;
    font-family: 'Open Sans', sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 1000ms ease-in;
    -moz-transition: opacity 1000ms ease-in;
    transition: opacity 1000ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:0.90;
    pointer-events: auto;
}
.modalDialog > div {
    width: 72%; height: 86%;
    position: relative;
    margin: 1% auto;
    padding: 5px 5px 5px 5px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #333);
    background: -webkit-linear-gradient(#fff, #444);
    background: -o-linear-gradient(#fff, #555);
}
.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 24px;
    text-align: center;
    top: 24px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:hover {
    background: #00d9ff;
}





