<!DOCTYPE html>
<html>
    <head>
        <link href='http://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
	    <link rel='stylesheet' href='style.css'/>
	    <script src='script.js'></script>
    </head>
    <body>
    
      <!-- Main section -->
      <div class="main-section">
        
        <video src="http://s3.amazonaws.com/codecademy-content/projects/excursion/bg.mp4" autoplay="true" loop="true"></video>
        <div class="section-content container">
            <h1>Discover hidden places in the world around you</h1>
            <a class="btn" href="#">Download Excursion</a>
        </div>            
      </div>


      <!-- First text section -->
      <div class="text-section">
        <div class="container">
          <h2>Your personal travel guide</h2>
          <p>Excursion remembers places you like, and recommends new points of interest around you.</p>
        </div>
      </div>


      <!-- Feature section -->
      <div class="section feature-section"></div>

      
      <!-- Second text section -->
      <div class="text-section">
        <div class="container">
          <img src="http://s3.amazonaws.com/codecademy-content/projects/excursion/binoculars.png" width="87" height="87">
          <h3>Available for iPhone and Android.</h3>
          <a class="btn" href="#">Download Excursion</a>
        </div>
      </div>

      
      <!-- Footer -->
      <div class="footer">
        <div class="container">
            <p>© 2014 Excursion</p>
        </div>
      </div>    

    </body>
</html>

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

.container {
  width: 940px;
  margin: 0 auto;
  text-align:center;
}

/* Main section */

.main-section {
  position: relative;
}

.main-section video {
  width: 100%;
}

.main-section .section-content {
  position: absolute;
  top: 250px;
  width: 100%;
}

.main-section h1 {
    color:#fff;
  font-size: 50px;
  font-weight:200;
  text-shadow: 0 2px 3px rgba(0,0,0,.4);
}

/* Text section */

.text-section {
  margin-top: 100px;
  margin-bottom: 130px;
}

.text-section h2 {
  font-size: 48px;
  font-weight: 300;
  text-align:center;
}

.text-section p {
  color: #333;
  font-size: 21px;
  font-weight: 300;
}

a.btn {
    background:#3a81fd;
    color:#fff;
    display:block;
    margin:0 auto;
    padding:20px;
    text-decoration:none;
    width:160px;
}

/* Feature section */

.feature-section {
  background-image:url('http://s3.amazonaws.com/codecademy-content/projects/excursion/camp.png');
  background-size:cover;
  height: 500px;
}

/* Footer */
.footer {
    background:#e2e2e2;
    height:60px;
}

.footer p {
    line-height:60px;
}







Browse more Codebits