@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: local(''),
        url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'),
        url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff');
}

@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: local(''),
        url('../fonts/source-code-pro-v21-latin-regular.woff2') format('woff2'),
        url('../fonts/source-code-pro-v21-latin-regular.woff') format('woff');
}

body {
    padding: 0;
    margin: 0;
}

#wrapper {
    display: flex;
    flex-direction: column;
    width: 100vw;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#editor,
#output {
    font-family: 'Source Code Pro', monospace;
    font-size: 15px;
}

#editor {
    flex: 1;
}

#output {
    background-color: #1C1C1C;
    color: white;
    border: 1px solid black;
    outline: 1px solid black;
    resize: vertical;
    height: 35%;
}

.topnav {
    overflow: hidden;
    background-color: black;
}

.topnav a {
    float: left;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    cursor: pointer;
}

.topnav a:hover {
    background-color: white;
    color: black;
}

.topnav .icon {
    display: none;
}

#github {
    font-size: 15px;
    color: white;
    float: right;
}

#github:hover {
    background-color: white;
    color: black;
}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    #github {
        float: left;
    }
}

input[type="file"] {
    display: none;
}