@charset "utf-8";

/* HEADER and FOOTER*/

/* HEADER That Scrolls */

header
{
        position:relative;
		background-color: #e8e8ea;
	    margin: 10px auto 15px auto;
		font-family: 'Open Sans', sans-serif;
}

header h1
{
        margin:15px 0 0 10px;
        font-size:50px;
        color:#960;
        
		text-align: left;
		text-shadow: 4px 4px 4px #aaa;
		
}

header h2
{
        margin:10px 0 0 10px;
        font-size:35px;
        color:#36F;
      	text-align: left;
		text-shadow: 4px 4px 4px #aaa;
}

header h3
{
       	margin:10px 0 0 10px;
        font-size:25px;
        color:#090;
       	text-align: left;
		text-shadow: 4px 4px 4px #aaa;
}

header h4
{
        margin:10px 0 0 10px;
        font-size:20px;
        color:#C30;
       	text-align: left;
		text-shadow: 4px 4px 4px #aaa;
}


/* CSS FIXED HEADER Using JS */

.top-container {
  background-color: #f1f1f1;
  padding: 30px;


  
}

.header {
  padding: 10px 16px;
  background: #555;
  color: #cfdcf5;
  font-size:35px;
}

.content {
  padding: 16px;
  color: #cfdcf5;
  font-size:35px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 102px;
}



/* JAVASCRIPT for HTML page*/

/*

<script>
window.onscroll = function() {myFunction()};

var header = document.getElementById("myHeader");
var sticky = header.offsetTop;

function myFunction() {
  if (window.pageYOffset > sticky) {
    header.classList.add("sticky");
  } else {
    header.classList.remove("sticky");
  }
}
</script>

*/

/* CSS fixed FOOTER */

footer {
   position: sticky;
   bottom: 0;
   left: ;
   width: 100%;
}
.footer{
   max-height:100px;
   top: calc( 100vh - 100px );
   background-color:#000;
   margin:auto;
   width:98%;
   color:#FFF ;
   padding:10px;
  
}
