/* variable font *******************************/
@font-face {
    font-family: 'Default-Font';
    src: url('./LibreFranklin-VariableFont_wght.ttf');
    font-weight: 300 900;
}

@font-face {
    font-family: 'Default-Font-Italic';
    src: url('./LibreFranklin-Italic-VariableFont_wght.ttf');
    font-weight: 300 900;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    font-size: 16px;
}

body {
    font-family: 'Default-Font', sans-serif;
    font-weight: 460;
    line-height: 1.7;
    background-color: #FFFFFF;
    color: #333333;
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 840px;
    margin: 20px auto 0 auto;
}

.rothenberg {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    margin-left: 15px;
}

.wrapper.readme svg.logo,
.wrapper.downloads svg.logo {
    inline-size: 30%;
    block-size: 30%;
}

.wrapper.documentation svg.logo {
    inline-size: 70%;
    block-size: 70%;
}

.independence {
    width: 35%;
    margin: 10px auto 100px auto;
    padding: 10px;
    border: 3px solid #333333;
    background-color: #FFA500;
    text-transform: uppercase;
    color: #333333;
    text-align: center;
    font-weight: 900;
    font-size: 1.2rem;
    rotate: -10deg;
}

.strategy {
    width: 85%;
    margin: 0 auto 40px auto;
    padding: 4px;
    background-color: #333333;
    text-transform: uppercase;
    color: #FFA500;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 1px;
    font-weight: 800;
    font-size: 1.1rem;
    rotate: 10deg;
}

i,
.ib {
    font-family: 'Default-Font-Italic', sans-serif;
}

b,
h1,
h2,
h3 {
    color: darkslategrey;
}

h1 {
    font-size: 1.5rem;
    margin: 0;
}

.main-title {
    font-size: 1.7rem;
}

h2 {
    font-size: 1.4rem;
    margin: 64px 0 0 0;
}

h3 {
    font-size: 1.1rem;
    margin: 42px 0 0 0;
}

h4 {
    margin: 64px 0 -42px 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
}

hr {
    margin: 0 0 24px 0;
    background-color: #FFA500;
    height: 3px;
    border: none;
}

p {
    margin: 12px 0;
}

div.space {
    padding-bottom: 12px;
}

div.doublespace {
    padding-bottom: 24px;
}

div.section {
    padding-bottom: 54px;
}

a,
a:active,
a:visited {
    color: #880000;
    font-weight: 520;
}

a:hover {
    color: darkslategrey;
}

pre {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: #333333;
}

pre>.desc {
    font-size: 14px;
    font-weight: 600;
    color: #880000;
}

pre.terminal {
    display: inline-block;
    border-top: 20px solid #333;
    border-left: 20px solid #333;
    border-right: 200px solid #333;
    text-align: left;
    line-height: 24px;
    background-color: #333;
    color: #FFF;
}

b.red {
    color: #880000;
}

li {
    margin-bottom: 2px;
}

.row {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* OR -webkit-flexbox; ?:: NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    /* NEW, Spec - Firefox 20+, Chrome, Opera 12.1 */
    /* - */
    -webkit-align-items: flex-start;
    align-items: flex-start;
    /* - */
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.ib {
    font-weight: 700;
    color: #243c3c;
    padding-right: 2px;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.wrapper.readme svg.folders {
    inline-size: 100%;
    block-size: 100%;
}

.wrapper.downloads pre {
    font-size: 18px;
    line-height: 32px;
}

.small {
    font-size: 0.95rem;
    font-weight: 500;
}

.ll {
    font-size: 0.7rem;
    font-weight: 500;
}

@media only screen and (max-device-width: 767px) {

    html,
    body {
        font-size: 12px;
    }

    body {
        font-weight: 460;
        line-height: 1.6;
    }

    .wrapper {
        width: 94%;
        margin: 3% auto 0 auto;
    }

    .rothenberg {
        font-size: 0.8rem;
        font-weight: 540;
    }

    .wrapper.readme svg.logo {
        inline-size: 50%;
        block-size: 50%;
    }

    .wrapper.downloads svg.logo {
        inline-size: 37%;
        block-size: 37%;
    }

    .wrapper.documentation>.row>div {
        flex-basis: 50%;
    }

    .wrapper.documentation>.row>div:first-child {
        white-space: nowrap;
    }

    .wrapper.documentation>.row>div:last-child {
        text-align: right;
    }

    .independence {
        width: 40%;
        margin: 15px auto 60px auto;
        padding: 10px;
        border-width: 2px;
        font-size: 1rem;
    }

    .strategy {
        width: 95%;
        margin: 0 auto 10px auto;
        font-size: 0.65rem;
    }

    pre,
    pre>.desc {
        font-size: 8px;
        font-weight: 700;
        line-height: 12px;

    }

    pre.terminal {
        font-size: 9px !important;
        font-weight: 700;
        line-height: 14px;
        border-top: 10px solid #333;
        border-left: 5px solid #333;
        border-right: 0 solid #333;
    }

    .wrapper.downloads pre {
        font-size: 14px;
        line-height: 24px;
    }

    div.space {
        padding-bottom: 8px;
    }

    div.doublespace {
        padding-bottom: 16px;
    }

    div.section {
        padding-bottom: 42px;
    }

    .small {
        font-size: 0.85rem;
    }
}