<!DOCTYPE html>
<html lang="en">
<head>
	<title>Demo</title>
	<link rel="icon" href="logo.png">
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
	<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
	<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
	<script src="jquery/jquery-3.2.1.min.js"></script>
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
	
	<style>
  body {
      font: 400 15px Lato, sans-serif;
      line-height: 1.8;
      color: #818181;
  }
  
  h2 {
      font-size: 24px;
      text-transform: uppercase;
      color: #303030;
      font-weight: 600;
      margin-bottom: 30px;
  }
  h4 {
      font-size: 19px;
      line-height: 1.375em;
      color: #303030;
      font-weight: 400;
      margin-bottom: 30px;
  }
  
  .fullHeight {
	  height: 100%;
  }
  
  .container-fluid {
      padding: 60px 50px;
  }
  .navbar {
      margin-bottom: 0;
      background-color: #000000;
      z-index: 9999;
      border: 0;
      font-size: 16px !important;
      line-height: 1.42857143 !important;
      letter-spacing: 2px;
      border-radius: 0;
      font-family: Montserrat, sans-serif;
  }
  .navbar li a, .navbar .navbar-brand {
      color: #fff !important;
  }
  .navbar-nav li a:hover, .navbar-nav li.active a {
      color: #000 !important;
      background-color: #fff !important;
  }
  .navbar-default .navbar-toggle {
      border-color: transparent;
      color: #fff !important;
  }
  
  footer {
     background-color: #000;
     color: #FFF;
  }
  
  #firstPanel {
	  color: white;
	  background: #92b2d3;
	  text-align: center;
  }
  
  #firstPanel h1 {
      letter-spacing: 3px;
  }
  
  #secondPanel {
	  text-align: left;
	  padding: 0;
	  margin: 0;
  }
  
  #secondPanel h1{
	 color: black;
  }
  
  #secondPanel h4{
	 font-size: 21px !important;
  }
  
  #svg {
		width: 100%;
		height: 100%;
		
		background: #F0F0F0;
  }
  
  #thirdPanel {
	  color: white;
	  background: #92b2d3;
  }
  
  #thirdPanel h2{
	  color: white;
  }
  
  #thirdPanel h3{
	  color: #EEE;
  }
  
  #thirdPanel h4{
	  color: white;
	  margin-bottom: 10px;
  }
  
  .row {
	  height: 100%;
	  padding: 0;
	  margin: 0;
  }
  
  .col-sm-12 {
	  height: 100%;
	  padding: 0;
	  margin: 0;
  }
  </style>
</head>
<body>

<nav class="navbar navbar-default navbar-fixed-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>                        
      </button>
      <a class="navbar-brand" href="#">Vective</a>
    </div>
    <div class="collapse navbar-collapse" id="navbar">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="http://feudal-ambitions.com/Vective">Home</a></li>
        <li><a href="editor.php">Editor</a></li>
        <li><a href="editor.php?isTutorial=true">Tutorial</a></li>
        <li><a href="support.php">Support</a></li>
        <li><a href="demo.php">Demo</a></li>
      </ul>
    </div>
  </div>
</nav>

<nav id="hiddenNav" class="navbar navbar-default" style="visibility:hidden">
</nav>

<div id="secondPanel" class="container-fluid">
	<div class="row">
		<div class="col-sm-12">
			<svg id="svg" version="1.1" xmlns="http://www.w3.org/2000/svg" style="touch-action:none;height:722px"></svg>
		</div>
    </div>
</div>


<footer id="footer" class="container-fluid text-center" style="padding: 10px">
	<p>Vective</p>
</footer>

<script src="CIG/Collisions/data.json"></script>
<script src="http://feudal-ambitions.com/Vective/lib/v0.02/lib.js"></script>

<script>
function resize(event) {
	document.getElementById("secondPanel").style.height = (window.innerHeight - document.getElementById("footer").clientHeight  - document.getElementById("hiddenNav").clientHeight) + "px";
	document.getElementById("svg").style.height = "";
	onResize();
}

window.onresize = resize;
window.onload = resize;
</script>

</body>
</html>