@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');

:root {
    --color-darkgreen: #5B8360;
    --color-green: #618d67;
    --color-dark: #222222;
    --color-text: #2c2c2c;
    --color-text-highlight: #474747;
    --color-highlight: #dfffdf;

    --text-base-size: 1rem;
    --text-ratio: 1.25; /* Escala "Major Third" */
  
}
/*
h6 { font-size: var(--base-size); }
h5 { font-size: calc(var(--text-base-size) * var(--text-ratio)); }
h4 { font-size: calc(var(--text-base-size) * pow(var(--text-ratio), 2)); }
h3 { font-size: calc(var(--text-base-size) * pow(var(--text-ratio), 3)); } 
h2 { font-size: calc(var(--text-base-size) * pow(var(--text-ratio), 4)); }
h1 { font-size: calc(var(--text-base-size) * pow(var(--text-ratio), 5)); }
*/


body {
    padding: 50px;  
    background-color: #fff;
    color: #2c2c2c;    
    font-size: 16px;
    line-height: 1.6;
    /* font-optical-sizing: auto; */
    font-family: "Google Sans Flex", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "ROND" 0;    
}

.parent-grid {
    display: grid;
    place-items: center; /* Centraliza nos dois eixos de uma vez */
}

.margin-tp{
    margin-top: 8px;
    margin-bottom: 8px;
}

.google-sans-flex-unique {
font-family: "Google Sans Flex", Helvetica, Arial, sans-serif;
font-optical-sizing: auto;
font-weight: 350;
font-style: normal;
font-variation-settings:
    "slnt" 0,
    "wdth" 100,
    "GRAD" 0,
    "ROND" 0;
}    
.flex-row { /* Esta regra força as colunas do W3.CSS a se comportarem como Flex */
    display: flex;
    flex-wrap: wrap; /* Garante que quebre linha no mobile */
}

.author-image{
    margin: auto auto 10px auto;
    background-color: var(--color-green);
    display: grid;
    place-items: end center; /* Alinha Bottom e Centraliza horizontalmente */
}


h1, h2, h3, h4, h5, h6 {
    font-family: "Google Sans Flex", Helvetica, Arial, sans-serif;
    /* color: var(--color-darkgreen); */
    margin: auto auto 12px;
    color: #474747;
}

p, ul, ol, table, pre, dl {
    margin: 0 0 10px;
}

h1, h2, h3 {
    line-height: 1.1
}

h1 {
    margin: 24px auto 12px;
    font-size: 28px;
    font-size: 2.027rem;    
}

h2 {
    margin: 24px auto 12px;
    color: #474747 !important;
    font-weight: 700 !important;
    font-size: 1.802rem;
}

h3{font-size: 1.600rem} h4{font-size: 1.420rem} h5{font-size: 1.156rem} h6{font-size: 1.120rem}
p{font-size: 1rem} small{font-size: 0.875rem}

a {
    /* color: #267CB9; */
    color: var(--color-text);
    text-decoration: none
}

a:hover, a:focus {
    /* font-weight: bold; */
    background-color: var(--color-highlight);
}

a small {
    font-size: 11px;
    color: #777;
    margin-top: -0.3em;
    display: block
}

a:hover small {
    color: #777
}

.wrapper {
    width: 1000px;
    margin: 0 auto;
}

blockquote {
    border-left: 1px solid #e5e5e5;
    margin: 0;
    padding: 0 0 0 20px;
    font-style: italic
}

code,
pre {
    font-family: "Google Sans Code", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
    color: #333
}

pre {
    padding: 8px 15px;
    background: #f8f8f8;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    overflow-x: auto
}

table {
    width: 100%;
    border-collapse: collapse
}

th,
td {
    text-align: left;
    padding: 5px 10px;
    border-bottom: 1px solid #e5e5e5
}

dt {
    color: #444;
    font-weight: 700
}

th {
    color: #444
}

img {
    max-width: 100%;
}
.img-shadow { 
    /* filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5)); */
    filter: 
        drop-shadow(2px 2px 2px rgba(0,0,0,0.2))
        drop-shadow(4px 3px 4px rgba(0,0,0,0.3))
        drop-shadow(10px 4px 8px rgba(0,0,0,0.3));
}

kbd {
    background-color: #fafbfc;
    border: 1px solid #c6cbd1;
    border-bottom-color: #959da5;
    border-radius: 3px;
    box-shadow: inset 0 -1px 0 #959da5;
    color: #444d56;
    display: inline-block;
    font-size: 11px;
    line-height: 10px;
    padding: 3px 5px;
    vertical-align: middle
}

header {
    width: 340px;
    float: left;
    position: fixed;
    -webkit-font-smoothing: subpixel-antialiased
}
/* ---------------------------------------------------------------- */
ul.downloads {
    list-style: none;
    height: 40px;
    padding: 0;
    background: #f4f4f4;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    width: 270px
}

.downloads li {
    width: 89px;
    float: left;
    border-right: 1px solid #e0e0e0;
    height: 40px
}

.downloads li:first-child a {
    border-radius: 5px 0 0 5px
}

.downloads li:last-child a {
    border-radius: 0 5px 5px 0
}

.downloads a {
    line-height: 1;
    font-size: 11px;
    color: #676767;
    display: block;
    text-align: center;
    padding-top: 6px;
    height: 34px
}

.downloads a:hover,
.downloads a:focus {
    color: #675C5C;
    font-weight: bold
}

.downloads ul a:active {
    background-color: #f0f0f0
}

strong {
    color: #222;
    font-weight: 700
}

.downloads li+li+li {
    border-right: none;
    width: 89px
}

.downloads a strong {
    font-size: 14px;
    display: block;
    color: #222
}

/* ---------------------------------------------------------------- */
ul.tablex {
    list-style: none;
    height: 40px;
    height: auto;
    padding: 0;
    background-color: #f4f4f4;
    border-radius: 5px;
    border: 1px solid #d1d1d1;
    width: 270px
}

.tablex li {
    /* width: 89px; */
    /* float: left; */
    border: 1px solid #e0e0e0;
    /* height: 40px */
}

.tablex li:first-child a {
    border-radius: 5px 5px 0 0;
}

.tablex li:last-child a {
    border-radius: 0 0 5px 5px;
}
.tablex a {
    line-height: 1.8;
    font-size: 13px;    
    color: #676767;
    display: block;
    text-align: center;
    padding-top: 6px;
    height: auto;
}

.tablex a:hover,
.tablex a:focus {
    font-weight: 500;
    color: #252525;
    background-color: #d1d1d1;
}



/* .tablex ul a:active {
    background-color: #bebebe;
} */
/* ---------------------------------------------------------------- */
section {
    width: 640px;
    float: right;
    padding-bottom: 30px
}

hr {
    border: 0;
    background: #e5e5e5;
    height: 1px;
    margin: 0 0 20px
}

footer {
    width: 340px;
    float: left;
    position: fixed;
    bottom: 30px;
    -webkit-font-smoothing: subpixel-antialiased
}

@media print, screen and (max-width: 960px) {
    div.wrapper {
        width: auto;
        margin: 0
    }

    header,
    section,
    footer {
        float: none;
        position: static;
        width: auto
    }

    header {
        padding-right: 320px
    }

    section {
        border: 1px solid #e5e5e5;
        border-width: 1px 0;
        padding: 20px 0;
        margin: 0 0 20px
    }

    header a small {
        display: inline
    }

    header ul {
        position: absolute;
        right: 50px;
        top: 52px
    }
}

@media print, screen and (max-width: 720px) {
    body {
        word-wrap: break-word
    }

    header {
        padding: 0
    }

    header ul,
    header p.view {
        position: static
    }

    pre,
    code {
        word-wrap: normal
    }
}

@media print, screen and (max-width: 480px) {
    body {
        padding: 15px
    }

    .author-image{
        width: 98%;
        height: 160px;
        margin: auto auto 10px auto;
    }
    .img-shadow {
        filter: none;
        height: 160px;

    }

    .downloads {
        width: 99%
    }

    .downloads li,
    .downloads li+li+li {
        width: 33%
    }
}

@media print {
    body {
        padding: 0.4in;
        font-size: 12pt;
        color: #444
    }
}

.color-darkgreen {color: var(--color-darkgreen);}
.color-green {color: var(--color-green);}
.color-dark {color: var(--color-dark);}
