* {
    /* border: 1px red solid; */
}

:root {
    --black: #000000;
    --darker-gray: #121212;
    --dark-gray: #363636;
    /*above is body text color*/
    --gray: #727272;
    --light-gray: #dfdfdf;
    --lightest-gray: #f2f2f2;
    --underline: #78c9fe;

    --sheets: #0ebc5f;
    --sheets-dark-gray: #c4c7c5;
    --sheets-light-gray: #e1e1e1;
    --sheets-gray: #f8f9fa;
}

@font-face {
    font-family: 'Google Sans Mono';
    font-style: normal;
    font-weight: 400;
    src: url(Google-Sans-Mono-Regular.ttf);
}

html,
body {
    margin: 0;
}

#gradient {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -3;
    background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 360px;
    overflow-x: hidden;
    background-repeat: no-repeat;
}

#table-header {
    opacity: 0.45;
    z-index: -5;
    position: absolute;
    top: -2px;
    left: -2px;
    font-family: 'Google Sans', sans-serif;
    font-size: 16px;
    display: grid;
    grid-template-rows: 38px repeat(10, 32px);

    .cell {
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid var(--sheets-light-gray);
        border-top: none;
        border-left: none;
    }

    .header {
        border: 2px solid var(--sheets-dark-gray);
        border-top: none;
    }

    #row-1 {
        .cell {
            border: 2px solid var(--sheets-dark-gray);
            border-left: none;
        }

        #select-all {
            background-color: var(--sheets-gray);
            border-left: 2px solid var(--sheets-dark-gray);
            border-right: 7px solid var(--sheets-dark-gray);
            border-bottom: 7px solid var(--sheets-dark-gray);
        }
    }

    .row {
        overflow: hidden;
        display: grid;
        grid-template-columns: 71px repeat(15, 152px);
    }
}

/* centers header image in case of very large screen */
@media screen and (min-width: 2200px) {
    #table-header {
        left: 50%;
        transform: translateX(-50%);
    }

}

.article-header {
    display: flex;
    margin: auto;
    flex-direction: column;
    max-width: 92vw;
    width: 600px;
    text-align: left;
    margin-bottom: 30px;

    h2 {
        font-family: "benton-modern-display";
        font-weight: 400;
        font-style: italic;
        font-size: 80px;
        color: var(--darker-gray);
        text-align: center;
        margin: 35px 0 20px;
        text-decoration: underline var(--sheets) 7px;
    }

    h3 {
        font-family: "franklin-gothic-std", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 15px;
        color: var(--dark-gray);
        margin: 0px 0px 10px;
    }

    h4 {
        font-family: "nimbus-roman", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 22px;
        color: var(--dark-gray);
        margin: 0px;
    }

    p {
        font-family: "franklin-gothic-std", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 12px;
        margin: 1px 0;
        color: var(--gray);
    }
}

.essay {
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 92vw;
    width: 600px;

    h3 {
        font-family: "roboto-slab", serif;
        font-weight: 700;
        font-style: normal;
        font-size: 26px;
        color: var(--darker-gray);
        margin: 35px 0px 20px 0px;
    }

    p {
        font-family: "nimbus-roman", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 22px;
        margin: 0px 0px 15px 0px;
        color: var(--dark-gray);
        line-height: 30px;
    }

    .python-block,
    .sheets-block {
        font-size: 22px;
        margin: 10px 0px 25px 0px;
        border-left: 2px solid var(--light-gray);
        padding-left: 25px;
    }

    .end-paragraph {
        margin: 0px;
    }
}

.image-container {
    margin: 15px 0;

    p {
        font-family: "franklin-gothic-std", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 15px;
        color: var(--gray);
        line-height: 18px;
    }

    img {
        width: 100%;
    }

    .iframe-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        border: 2px solid var(--light-gray);
    }
}

.big-image-container {
    margin: 15px 0px 30px;

    p {
        font-family: "franklin-gothic-std", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 15px;
        text-align: left;
        width: 1000px;
        max-width: 90vw;
        margin: auto;
        color: var(--gray);
    }

    img {
        margin: auto;
        width: 1000px;
        max-width: 90vw;
    }

    .iframe-container {
        margin: auto;
        width: 1000px;
        max-width: 90vw;
        border: 2px solid var(--light-gray);
    }
}

a {
    color: inherit;
    text-decoration: underline var(--underline) 2.5px;
}

hr {
    border: 1px solid var(--light-gray);
    width: 100%;
    margin: 25px auto 25px;
}

.footer {
    color: var(--gray);
    display: flex;
    flex-direction: column;
    margin: auto;
    align-items: center;
    max-width: 92vw;
    width: 600px;

    font-family: "franklin-gothic-std", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    text-align: center;

    img {
        width: 30px;
        margin-bottom: 8px;
    }

    p {
        margin: 2px 0;
    }
}

.table {
    display: flex;
    margin: 0 auto;
    overflow-x: auto;
    color: var(--darker-gray);

    table {
        font-family: "franklin-gothic-std", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 15px;
        text-align: center;
        border-collapse: collapse;
        margin: 15px auto;

        td {
            border: 1px solid black;
            padding: 5px;
            padding-left: 10px;
            padding-right: 10px;
        }

        th {
            padding: 5px;
        }

        caption-side: bottom;

        caption {
            text-align: left;
            color: var(--gray);
            line-height: 18px;
            margin: 8px 0 15px 0;
            font-size: 15px;
        }
    }
}

.python {
    font-family: consolas, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #24292e;

    .blue {
        color: #005cc5;
    }
}

.sheets {
    font-family: "Google Sans Mono", sans-serif;
    color: #000000;
    word-break:break-all;

    .blue {
        color: #1157ce;
    }

    .green {
        color: #128937;
    }

    .orange {
        color: #f7981d;
    }

    .light-blue {
        color: #4285f4;
    }

    .purple {
        color: #7e3794;
    }

    .turquoise {
        color: #11a9cc;
    }
}

.inline {
    word-break: normal;
}