html {
    height: 100%;
}

.container {
    height: 100%;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 100%;
}

#article {
    order: 1;
    width: 80%;
    height: 100%;
    text-align: left;
    padding-right: 10px;
}

article {
    margin-bottom: 0;
}

iframe {
    display: none;
}

#themaNav {
    text-align: left;
    order: 0;
    width: 100%;
    text-align: center;
}

#themaNav div {
    display: flex;
    flex-direction: column;
}

.themaButton {
    text-align: center;
    background-color: #E1143C;
    border: none;
    padding: 10px;
    margin: 5px;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: 5px;
    transition-duration: 100ms;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.themaButton:hover {
    color: black;
    background-color: #fff;
    outline: solid 3px #E1143C;
    outline-offset: -3px;
}

.downloadLink {
    text-decoration: none;
}

footer {
    position: fixed;
    width: 97%;
    bottom: 10px;
}

@media screen and (min-width: 768px) {
    #themaNav {
        justify-content: center;
        width: auto;
        order: 1;
    }

    article {
        height: 1000px;
        margin-bottom: 74px;
    }

    #article {
        order: 0;
        border-right: solid 2px rgba(0, 0, 0, 0.7);
    }

    iframe {
        display: inline;
    }

    footer {
        position: relative;
        width: auto;
    }

    main {
        flex-wrap: nowrap;
    }
}