html,
body {
    width: 100%;
    height: 100%;
}

html {
    font-size: 15px;
}

body {
    padding: 0;
    margin: 0;
    overflow: auto;
    background-color: #111;
    color: #999;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 300;
    line-height: 1.5;
}

h1 {
    font-size: 1.25rem;
    margin: 2.5rem 0 1.75rem;
    font-weight: 500;
    color: #888;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

article>* {
    padding: 0 1rem;
}

.iframe-wrapper {
    position: relative;
    padding-bottom: 75%;
    margin: 0 0 1.25rem;
}

#jsdos {
    width: 100%;
    height: 56.25%;
    border: none;
    overflow: hidden;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content {
    position: relative;
    margin-top: 0;
    margin-bottom: 4rem;
    display: flex;
}

.content>div {
    position: absolute;
    width: calc(100% - 2rem);
    padding-bottom: 2rem;
}

.key {
    color: #f66;
}

/* TABS */

input {
    display: none;
}

label {
    display: inline-block;
    padding: 1rem 1rem 0;
    padding: 0.5rem 0;

    margin: 0.75rem 0 0.25rem;
    margin: 0 0.75rem 0 0;
    user-select: none;
    color: #555;
    font-weight: 500;
}

label:hover {
    cursor: pointer;
    text-decoration: underline;
}

article>label:first-of-type {
    margin-left: 1rem;
}

input:checked+label {
    color: #999;
}

.content>div {
    visibility: hidden;
}

#tab1:checked~.content #content1,
#tab2:checked~.content #content2,
#tab3:checked~.content #content3,
#tab4:checked~.content #content4 {
    visibility: visible;
}

@media only screen and (min-width: 768px) {
    .two-column {
        display: flex;
        column-gap: 2rem;
    }
    .two-column>div {
        flex: 1;
    }
}

@media only screen and (min-width: 1024px) {
    html {
        font-size: 16px;
    }
    h1 {
        font-size: 1.5rem;
    }
}

@media only screen and (min-width: 1366px) {
    article>* {
        padding: 0;
    }
    article>label {
        margin: 0 0.5rem;
    }
    article>label:first-of-type {
        margin-left: 0rem;
    }
}