@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');
body{
  font-family: 'Roboto Condensed', sans-serif;
  margin: 0;
  background: #eee;
  height: auto;
}

h1{
  font-weight: 400;
  font-size: 2.5rem;
  text-transform: uppercase;   /*全部大寫的意思*/
  margin: 0;
}

h2{
  font-weight:400;
  font-size: 1.2rem;
  text-transform: capitalize;
  margin: 0;
}

img{
  display: block;
  width: 100%;
}

main{
  max-width: 980px;
  margin: auto;
  box-shadow: 30px 0px 40px rgba(0,0,0,0.1),-30px 0px 40px rgba(0, 0, 0, 0.1);
}

#landing{
  background: #fff;
}

#landing-text{
  display: flex;
  flex: 0 1 40vw;
  height: 50vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-right: 1rem;
  padding-left: 1rem;
}

#landing-text {
  color: #888;
}

#landing-text h2{
  color: #888;
}

#landing-image{
  background: url(https://source.unsplash.com/WLUHO9A_xik);
  background-position: center;
  background-repeat: no-repeat;
  height: 50vh;
  flex:0 1 60vw;
  margin: 0;
}

.btn{
  padding: 0.5rem 2rem;
  border: 1px #ccc solid;
  display: inline-block;
  margin:2rem 0 0;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
  transition: background 500msease;
}

.btn:hover{
  background: #f4f4f4;
}
#header{
  padding: 1.5rem;
  text-align: center;
  background: #333;
  color: #fff;
}
#header h2{
  border-left:dotted 1px #fff;
  border-right: dotted 1px #fff;
  display: inline-block;
  padding-right: 1rem;
  padding-left: 1rem;
}

.caption{
  padding: 0.8rem;
  text-align: center;
}

footer{
  text-align: center;
  padding: 2rem 1rem;
  margin: auto;
  color: #333;
}

footer h3{
  font-size: 3rem;
  margin-bottom: 0;
}

@media(min-width:500px) {
  #landing{
    display: flex;
    height: 100%;
  }
  #landing-text{
    height: 100vh;
  }
  #landing-image{
    height: 100vh;
  }
}
