/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Custom page header */
.header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

.marketing {
  text-align: center;
}

a.intent {
  color: #697882;
}
a.intent:hover {
  text-decoration: none;
}
a.like:hover {
  color: #E81C4F;
}
a.retweet:hover {
  color: #19CF86;
}

nav .nav > li > a {
  font-size: 16px;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 15px;
  margin-right: 15px;
}
nav .nav > li > a.active {
  border-bottom: 2px solid #337ab7;
}

nav .nav > li > a.brand {
  font-size: 26px;
}
nav .nav > li > a:hover {
  background-color: transparent;
}

/* Show navbar on small screens too */
nav .nav > li{
  float: left;
}

/* Custom page footer */
.footer {
  text-align: center;
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    max-width: 730px;
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}

/* PLAYGROUND PAGE */

#playground .content {
  margin: 0 auto;
  padding-bottom: 50px;
}

#playground h1 {
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 50px;
}

#playground textarea {
  white-space: normal;
  margin-top: 50px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  max-width: 100%;
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
}

#playground #run-code {
  margin-top: -1px;
}

#playground .btn {
  margin-bottom: 30px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#playground #alert {
  white-space: pre;
}

.iframe-wrapper {
  background: #d1d1d1;
  position: relative;
  height: 0;
  width: 100%;
  margin-top: 30px;
  padding-bottom: 100%;
}

.iframe-wrapper>iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-wrapper>iframe svg {
  width: 100%;
}

pre {
  white-space: normal;
}
