
/* === base === */

body {
    font: 16px/1.4 'Open Sans', sans-serif;
    color: #444;
    background-image: linear-gradient(#518888 0, #518888 30px, #FFF 30px, #FFF 100%);
    padding-top: 30px;
    background-attachment: fixed;
}

h1,
h2,
h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: bold;
    color: #333;
}

h1 {
    font-size: 2.8em;
}

a {
    color: #518888;
}

/* === modules === */

.thin-header {
    font-weight: 400;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border: 0;
    border-radius: 4px;
    background-color: #518888;
    color: #FFF;
    padding: .6em 1.8em;
    cursor: pointer;
}
/* big ol' button */
.btn-primary {
    margin-top: .3em;
    font-size: 1.3em;
}

/* === theme === */

.container {
    padding: 2em;
    margin: -15px auto 0;
    max-width: 700px;
    background-color: #FFF;
    box-shadow: 1px 3px 3px 3px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-top: 2em;
}
.header h1 {
    margin: 0;
}

.api-endpoints {
    border-top: 1px solid #CCC;
    margin: 3em 0;
}

/* each endpoint */
.api-endpoints header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}
.api-endpoints h2 {
    flex: 1;
}
.api-method {
    position: absolute;
    left: -6em;
    font-size: 60%;
    font-weight: bold;
    padding: .5em;
    background-color: #518888;
    color: #FFF;
    border-radius: 4px 4px 0 0;
    transform: rotate(-90deg);
    box-shadow: -1px -1px 1px 1px rgba(0, 0, 0, 0.1);
}

/* main details about the endpoint */
.api-endpoints .detail p:first-child {
    margin-top: 0;
}
.api-endpoints .example {
    margin-top: 0;
}

.footer {
    margin: 2em 0;
    text-align: center;
}
