*, ::after, ::before {
    box-sizing: border-box;
}

html {
    margin: 0;

    padding: 0;
}

body {
    margin: 0;

    background-color: #fff;

    padding: 0;

    font-family: 'Signika', sans-serif;
    font-weight: 300;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

input, textarea, select, button {
    font-family: 'Signika', sans-serif;
}

a {
    color: #88a4aa;
}

a:hover {
    color: #526266;
}

.container {
    margin-right: auto;
    margin-left: auto;

    max-width: 970px;

    padding-right: 30px;
    padding-left: 30px;
}

.row {
    display: flex;

    flex-wrap: wrap;

    margin-right: -30px;
    margin-left: -30px;
}

.col-six {
    flex: 0 0 100%;

    width: 100%;
    max-width: 100%;

    padding-right: 30px;
    padding-left: 30px;
}

header.header {
    background-color: #e9f2f4;

    padding: 25px 0;

    text-align: right;
}

header.header h1 {
    margin-top: 0;

    text-transform: uppercase;

    font-weight: 600;
}

header.header p {
    margin-top: 0;
    margin-bottom: 1rem;
}

main {
    padding: 45px 0;
}

pre {
    position: relative;

    margin: 0 !important;

    background-color: #e9f2f4 !important;

    padding: 2rem !important;
}

body pre .toolbar {
    opacity: 1 !important;
}

body pre .toolbar .toolbar-item a {
    position: absolute;
    top: .75rem;
    right: .75rem;

    box-shadow: none;
    border-radius: 2px;

    background-color: #e9f2f4;

    padding: .125rem .5rem;

    text-decoration: none;
    text-shadow: none;

    color: #aaa;

    font-size: .875rem;

    transition: 0s;
}

body pre .toolbar .toolbar-item a:hover {
    background-color: #fff;

    transition: 0s;
}

#embed-button {
    border: 0;
    border-radius: 0;

    background-color: #88a4aa;
    cursor: pointer;

    padding: .5rem .75rem;

    color: white;

    font-size: 1rem;
}

.modal {
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    overflow: auto;

    z-index: 1;

    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);

    width: 100%;
    height: 100%;
}

.modal-block {
    position: relative;

    margin: 0 30px;

    background-color: #fff;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translateX(-50%) translateY(-50%);

    margin: 0 auto;

    width: 970px;
    max-width: 100%;
}

.modal-header {
    padding: 15px 30px;
}

.close {
    position: absolute;
    top: -2.5rem;
    right: 0;

    color: #ccc;

    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (min-width: 970px) {

    .col-six {
        flex: 0 0 50%;

        max-width: 50%;
    }
}
