*  {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    font-family: "Atkinson", "Calibri", "Arial", "Verdana", "Tahoma", "Times New Roman";
    font-size: 1rem;

}

ul li {
    list-style-type: none;
}


/* mobile first */

h1, h2, h3, h4, h5, h6 {
    font-size: 1em;
}

body,
#core-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#core-content {
    flex-grow: 1;
}

a {
    text-decoration: none;
}

#page-header {
    margin-top: 2rem;
}

nav ul li a:link {
    display: inline-block;
    font-size: 1rem;
    background-color: #e0f2f1;
    padding: 1rem 2rem;
    border-radius: 1em;
    color: #000;
}

nav ul li a:visited {
    color: #000;
}

.content {
    max-width: 1000px;
    margin: 0 auto;
}

.code-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
    margin-bottom: 2rem;
    background-color: #e0f2f1;
    padding: 1rem 2rem;
    border-radius: 1em;
}

.code-header p {
    font-size: 1.1rem;
}

.code-header input[type=button] {
    width: 100%;
}

.code-block {
    background-color: #f8f9fd;
    padding: 1em;
    border-radius: 1em;
    border: 1px solid #ebeeed;
    margin: 0.5em;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

pre {
    white-space: pre-wrap;      /* wrap text */
    word-wrap: break-word;      /* break long words */
}

code {
    font-size: 0.9rem;
}

.material-button {
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    
}

#copy-button        { background-color: #009688; text-transform: uppercase; color: #fff; font-size: 1.1rem; } /* teal 500 */
#copy-button:hover  { background-color: #26a69a; color: #fff; }
#copy-button:active { background-color: #00796b; color: #fff; }



#page-footer {
    width: 100%;
    padding: 3rem;
}










/* large phones */
@media (min-width: 480px) {

}

/* small tablets / large phones */
@media (min-width: 600px) {

    pre {
        padding: 1em;
        margin: 1em;
    }

}

/* tablets */
@media (min-width: 768px) {

    pre {
        padding: 1.5em;
        margin: 1.5em;
    }

}

/* small laptops */
@media (min-width: 1024px) {

    #core-content {
        display: grid;
        grid-template-columns: 15% 1fr;
        
        gap: 1rem;
    }

    .code-header {
        flex-direction: row;
    }

    .code-header p {
        font-size: 1.2rem;
    }

    .code-header input[type=button] {
        width: auto;
    }

    pre {
        padding: 2em;
        margin: 2em;
    }


}

/* desktops */
@media (min-width: 1280px) {

}

/* large desktops / wide monitors */
@media (min-width: 1536px) {
    
}
