/*:root {
  --cor1: #00849a;
  --cor2: #466E8F;
  --cor3: #555;
  --corTexto: #666;
  --corpoTexto: 'Barlow', Arial, sans-serif;
  --cabecaTexto: "Barlow Semi Condensed", Arial, sans-serif;
  /*--cabecaTexto: "Podkova", Arial, sans-serif;* /
  --borda: 3px groove rgba(216, 216, 216, 0.1);

  --tec-font-family-sans-serif: "Roboto Condensed", Helvetica, Arial, sans-serif;
}


/ *** Reset *** /
html, body, div, span, applet, object, iframe,
h1, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
   margin: 0;
   padding: 0;
   border: 0;
   outline: 0;
   font-size: 100%;
   vertical-align: baseline;
   background: transparent;
}

body {
    margin: 0;
    padding: 0;
    color: var(--corTexto);
    font-family: var(--corpoTexto);
    font-weight: 300;
    font-size: 1.2em;
    line-height: 1.5em;
    background-color: #eee;
    background-image: url(images/grain.png);
    /** /background-blend-mode: multiply;
}*/

h1,
.h1.site-title {
	line-height: 1.5em;
	font-size: 2.5em;
	padding: 0;
    font-family: var(--cabecaTexto);
	/*font-weight: bolder;*/
}

h1, .h1.site-title {
    line-height: 1.5em;
    font-size: 1.5em;
    padding: 0;
    font-weight: 700;
    font-family: var(--cabecaTexto);
}

.page h1.entry-title {
    font-size: 4em;
    color: #2c333824;
    text-transform: lowercase;
    text-wrap: nowrap;
}

h2 {
	font-size: 2em;
	line-height: 1.25em;
	padding: 0;
	margin:0;
    font-family: var(--cabecaTexto);
	/*font-weight:bolder;*/
}

h3 {
	font-size:1.5em;
	font-weight: bold;
	padding: 0;
	margin: 0;
}

blockquote:before,
blockquote:after {
    content: '';
    display: block;
    background: var(--cor5);
    width: 120px;
    height: 10px;
    margin: 0 0 1em auto;
}

blockquote:before,
blockquote:after {
    margin: 20px auto 40px 0;
}


.well {
    padding: 5px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #888;
}

.box, .whitebox, .whitewell, .blackbox, .blackwell {
    padding: 40px;
    text-align: center;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 2em;
}

.whitebox, .whitewell {
    background-color: #FFF !important;
}

.blackbox, .blackwell {
    background-color: #000 !important;
}



/***  Structure  ***/

.pagegrid {
    margin: 0 auto;
    max-width: 90%;
}

@media (min-width: 500px) {
    .pagegrid {
        display: grid;
        grid-template-columns: 200px 1fr;
        grid-template-rows: 270px 1fr 80px;
        grid-template-areas:
            "head main"
            "aside main"
            "foot foot";
        max-width: 1000px;
        margin: 0 auto;
    }

    .single-project .pagegrid {
        display: grid;
        grid-template-columns: 200px 1fr;
        grid-template-rows: 100vh 1fr 80px;
        grid-template-areas:
        "head main"
        "aside main"
        "foot foot";
        max-width: 1000px;
        margin: 0 auto;
    }

    .metagrid {
        display: grid;
        grid-template-columns: 220px 1fr 200px;
        grid-template-rows: 1em 1fr 1em;
        grid-template-rows: 3.35em calc(100vh - 10em) 2em;
        grid-template-areas:
        "void project-published-on project-medium"
        "void metatitle project-medium"
        "void postmetadata postmetadata";
        max-width: 1000px;
        margin: 0 auto;
    }

    .void {
        grid-area: void;
        grid-row: span 3;
    }

    .project-published-on {
        grid-area: project-published-on;
        align-self: end;
    }

    .project-medium {
        grid-area: project-medium;
        grid-row: span 2;
    }

    .metatitle {
        grid-area: metatitle;
        font-size: 4em;
        align-self: end;
    }

    .postmetadata {
        grid-area: postmetadata;
        grid-column: span 2;
        grid-column-start: 2;
    }

    #masthead {
        /*grid-area: head;*/
        z-index: 900;
        height: min-content;
    }

    .site-branding {
        text-align: right;
    }

    .fullwidth {
        /*width: 100vw;*/
        width: calc(100vw - 0.85em + 1px);
        margin-left: calc(50% - 50vw - 107px);
    }

    .box, .whitebox, .blackbox {
        width: calc(100vw - 16px);
        margin-left: calc(50% - 50vw - 107px);
    }
}

.seemore {
    padding: 5px 40px;
    text-align: center;
    font-weight: bold;
    background-color: var(--cor5);
    border-radius: 5px;
    font-size: 1em;
    line-height: 2em;
    margin: 20px 0 40px;
}

.seemore a {
    color: #fff;
}

/*.wrap {
    max-width: 90%;
    min-width: 90%;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}*/

#masthead {
    grid-area: head;
    padding: 0;
    margin: 0 auto 0;
    text-align: center;
    justify-content: space-between;
    background: #00000075;
    border-radius: 0 0 0 30px;
}

#masthead a {
    color: #fff;
}

.site-branding {
    padding: 1em 10px 0;
}

.site-description {
    padding: 0 0 1em 0;
    margin: 0;
    color: #505050;
}

.home .site-main .main-width.grid {
    margin-top: 1em;
}



.site-title {
    margin-bottom: 0;
}

.main-navigation li {
    line-height: 1.75em;
    font-weight: 500;
    font-size: 0.8em;
    margin-bottom: 0.5em;
    background: #0000001f;
    border-radius: 5px 5px 5px 2em;
    flex-grow: 1;
    text-align: right;
    padding: 0 10px 0 0;
    opacity: 0.9;
}

.post {
    margin: 0 0 2em 0;
}

.navigation {
	list-style: none;	
    /*padding: 20px 0 0 40px;
    height: 40px;
    clear: both;*/
}

.navigation li {
    line-height: 1.75em;
    padding: 0 15px;
    /*border-right: 5px rgba(186, 186, 186, 0.5) solid;*/
    margin: 0 auto 10px;
    display: inline-block;
}

.key {
    padding: 5px;
    margin-bottom: 15px;
    border-radius: 5px;
    /*color: #888;*/
}

#sidebar .key {
    margin-right: 15px;
    padding: 5px 15px 5px 5px;
    line-height: 1.5em;
    /* font-family: "Podkova"; */
    font-size: 0.75em;
    font-weight: bold;
}

#sidebar .navigation li {
    line-height: 1.75em;
    float: right;
    padding-right: 10px;
    border-right: 5px rgba(186, 186, 186, 0.5) solid;
    margin: 0 auto 10px;
    width: 100%;
}

/*.entry {
  column-count: 1;
  column-width: 250px; / * if there there is not enough space to fit columns with this width, the columns will dissolve. * /
  column-gap: 3em;
  column-rule: 3px dotted #ddd;
}

.entry p {
  column-count: 2;
  column-width: 120px;
  column-gap: 2em;
}*/

.page-navigation {
    clear: both;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

.page-navigation a.prev-post, .page-navigation a.next-post {
    padding: 0 1em;
    flex-basis: calc(50% - 1em);
    background: #0000001a;
    font-size: 0.8em;
    line-height: 1.75em;
}

.page-navigation a.next-post {
    text-align: right;
}

.page-navigation a.next-post:first-child {
    margin-left: auto;
}

.site-footer {
    grid-area: foot;
    grid-column: span 2;
    padding: 1em 0;
    text-align: center;
    font-size: 0.75em;
    border-top: 3px groove rgba(216, 216, 216, 0.1);
}



ul.sub-menu {
    list-style: none;
}

ul.sub-menu li {
    font-size: 0.65em;
    line-height: 20px;
    height: 20px;
    margin-top: 5px;
}

.archive .main-width.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1em;
    margin-bottom: 1.5em;
}

.metatitle {
    line-height: 1.15em;
    color: #fff;
}

.tile-meta h2 {
    font-size: 1.25em;
}

p.the-time {
    font-size: 0.75em;
}



/***  Sidebar  ***/
.sidebar {
    /*text-align: right;
    padding: 40px 0;*/
    grid-area: aside;
}

.sidebar ul, .sidebar ul li {
    list-style: none;
    /*clear: both;*/
}

.sidebar ul li {
    line-height: 25px;
    height: 25px;
    margin-bottom: 5px;
}

.sidebar ul li a {
    font-size: 16px;
    display: inline-block;
}

.sidebar ul.sidebar-nav li {
    line-height: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.sidebar ul.sidebar-nav li:before {
    content: " ";
    border-bottom: none;
    height: 37px;
    width: 20px;
    margin: 0;
    border-top: 3px groove rgba(216, 216, 216, 0.1);
    position: relative;
    top: 10px;
}

.sidebar ul.sidebar-nav li a {
    line-height: 40px;
    height: 40px;
    font-weight: bold;
}

.sidebar ul.sidebar-nav li a:hover {
    border-right: 15px var(--cor4) solid;
}

.sidebar h1 {
    text-align: center;
}

.sidebar h2 {
	font-size: 1em;
    padding: 25px 40px 0px 0px;
	font-weight: bold;
}

.sidebar h3 {
    font-size: 0.55em;
    padding: 25px 40px 0px 0px;
}

.sidepostmeta {
    font-size: 0.75em;
    text-align: right;
    /* padding-right: 40px; */
    /* margin-bottom: 40px; */
}

.sidepostmeta[name=description] {
    margin-right: 25px;
    margin-top: 3em;
}

form#searchform {
    margin: 0 40px;
    height: 40px;
    width: 140px;
    float: left;
}

label.screen-reader-text {
    font-size: 0;
    line-height: 0;
}

input#searchsubmit {
    width: 26px;
    height: 26px;
    text-indent: -99999px;
    border: none;
    border-radius: 5px;
    padding: 10px 0;
    float: right;
    position: relative;
    top: -32px;
    right: 5px;
    margin-bottom: -40px;
    background-color: rgba(104, 142, 173, 0.5);
    background-image: url(images/search.png);
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
    background-blend-mode: overlay;
    cursor: pointer;
    opacity: 0.75;
}

input#s {
    background: rgba(255,255,255,0.35);
    border: none;
    border-width: 0;
    border-radius: 5px;
    padding: 0 10px;
    width: 120px;
    color: #828282;
    height: 38px;
    line-height: 40px;
    text-align: left;
	font-family: var(--corpoTexto);
	font-size: 1em;
    float: left;
    opacity: 0.75;
}

input#s:placeholder {
    opacity: 0.5;
}

input#s:placeholder-shown {
    opacity: 0.75;
}

input#searchsubmit:hover {
	opacity: 1;
}

p.searchresults {
    margin: 0 40px 40px 0;
}

ul#shortcuts {
    position: absolute;
    list-style: none;
}


#splash,
#portfolio,
#contact {
    min-height: 100vh;
}

#shy {
    position: absolute ;
    bottom: 0;
    right: 0;
}

main#primary {
    display: grid;
    grid-area: main;
    grid-row: span 2;
}

.home main#primary {
    display: block;
}


.tile {
    /*padding: 1em;*/
}

.imgheader {
    height: calc(100vh - 1em);
    /*width: 100%;
    border-radius: 5px;*/
    background-size: cover;
    background-position: center center;
    background-blend-mode: screen;
    overflow: hidden;
}

.archive .imgheader {
    height: calc(50vh - 2em);
}

.single-project .imgheader {
    margin-bottom: 40px;
}

.metabox {
    height: calc(100vh - 1em);
    width: 100%;
    position: relative;
    padding: 1em;
}

.archive .metabox {
    height: 100%;
}

.home .metabox {
    height: 100%;
}

.project-published-on {
    line-height: 1em;
    font-size: 0.6em;
    color: #eaeaea;
}

.imgheader h2 {
    margin: 0;
    font-size: 1.5em;
    max-height: 3em;
    overflow: hidden;
    position: absolute;
    bottom: 2em;
    text-wrap: balance;
}

.project-medium {
    margin: 0 0.15em 0 0;
    max-width: 65%;
    float: right;
    text-align: right;
    max-height: 4.5em;
    height: auto;
    overflow: hidden;
    line-height: 0.75em;
}

.tile-meta .project-medium {
    float: left;
    text-align: left;
    margin-top: 10px;
}

.tile-meta .project-medium a {
    background: rgba(0,0,0,0.15);
    margin: 0;
}

.tile-meta .imgheader {
    width: 200px;
    height: 200px;
    float: left;
    margin-bottom: 10px;
    clear: both;
}

/*.single-project .site-title {
    line-height: 1.5em;
    font-size: 1.5em;
    position: absolute;
    bottom: 0;
     font-weight: bolder; 
}*/

.projectile {
    padding: 2em;
    box-sizing: content-box;
}

.imgheader a {
	color: #fff;
}

.imgheader a:hover {
    color: rgba(232, 243, 253, 0.9);
}

#content h3.sd-title:before {
    margin: 0 10px 0 0;
    margin-top: 0;
}

a.more-link {
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.75em;
    font-weight: bolder;
    padding: 5px 15px;
}

.tile-meta h6 {
    font-size: 0.65em;
}

#content h3.sd-title::before {
    margin: 0 10px -2px 0;
}

.imgheader .well .box-label {
    color: #000;
}

.project-medium a {
    font-size: 0.75em;
    line-height: 1em;
    background: rgba(0,0,0,0.75);
    border-radius: 15px;
    padding: 3px 8px;
    display: inline-block;
    margin: 0 0 0 0.35em;
}

.postmetadata {
    font-size: 0.6em;
    /*line-height: 1em;
    margin: 0;
    height: 1em;
    clear: both;
    padding: 0;
    position: absolute;
    bottom: 2em;
    color: #b1b1b1;*/
}

.home .postmetadata {
    display: none;
}

.page-navigation .well a {
    padding: 5px 60px;
}



/***  Content Widgets  ***/

.entry ul {
    margin: 10px 2em 1.5em;
}

.entry sub {
    font-size: 0.65em;
    font-weight: bold;
    color: cadetblue;
}

.post img {
    max-width: 100%;
    height: auto;
    margin: 25px auto;
}

.wp-caption {
    margin: 0 auto;
}

.wp-caption .wp-caption-text {
    font-size: 0.8em;
    margin: 0 auto 1.5em;
    padding: 0;
}

.single-project .project-published-on {
    width: 45%;
}

#content ul {
    padding: 0 0 20px 40px;
}

#content .small {
    font-size: 0.8em;
}

#content h2, #content h3 {
    margin-bottom: 20px;
}

#content h4 {
    margin-bottom: 10px;
}



p.wp-caption-text {
    text-align: center;
    border-top: 3px var(--cor5) groove;
    margin: 25px 25% 50px;
    font-size: 0.75em;
    line-height: 1.5em;
    padding: 10px 50px;
}

p.attachment {
    text-align: center;
}

p.attachment img {
    margin: 40px auto;
}




@media screen and (max-width: 1200px) {
    #header {
        border-bottom: 3px groove rgba(216, 216, 216, 0.1);
    }
}


@media screen and (min-width: 1200px) {

    .right {
        float:right;
    }

    .left {
        float:left;
    }

    .clear {
        clear: both;
    }

    .text-right {
        text-align: right;
    }

    .text-left {
        text-align: left;
    }

    .text-center {
        text-align: center;
    }

    .main-width {
        /*float: right;
        width:calc(100% - 203px);*/
        border-left: 3px groove rgba(216, 216, 216, 0.1);
        padding: 0 0 0 25px;
    }

    .archive .main-width {
        padding: 1em 0 0 25px;
    }

    .wrap {
        max-width: 90%;
        min-width: 90%;
        margin-left: auto;
        margin-right: auto;
        clear: both;
    }

    #content {
        text-align: left;
        margin: -1px 0 0px 0;
        padding: 40px 0;
    }

    #header {
        margin-top: 0;
    }

    #content.main-width {
        width: calc(100% - 243px);
        padding: 0 0 0 40px;
        height: 100%;
        min-height: 600px;
        float: right;
        margin-top: 40px;
    }

    .main-navigation {
        margin: 10px 0 0 0;
    }

    /*#content.full-width {
        width: 100%;
    }

    .side-width {
        float: left;
        width: 200px;
    }

    .side-width.closed {
        width: 60px;
    }*/

    .headers-height {
        height: 200px;
    }

    .wrap {
        max-width: 96%;
        min-width: 96%;
    }

    .navigation li {
        line-height: 1.75em;
        float: right;
        padding-right: 27px;
        border-right: 5px rgba(186, 186, 186, 0.5) solid;
        margin: 0 auto 10px;
        width: 100%;
        text-align: right;
        font-size: 0.75em;
        font-weight: bold;
    }

    .sidebar {
        text-align: right;
    }

    .sidebar h1 {
        text-align: right;
        font-size: 2em;
        color: #2c33380f;
        margin-top: 3em;
        margin-right: 25px;
        z-index: 50;
        text-transform: lowercase;
        text-wrap: nowrap;
    }

    .sidebar ul li a {
        border-right: 5px rgba(186, 186, 186, 0.5) solid;
        padding-right: 15px;
    }

    .sidebar ul li a:hover {
        border-right: 10px var(--cor4) solid;
    }

    .sidebar ul li:before {
        content: " ";
        height: 22px;
        width: 20px;
        margin: 0;
        display: inline-block;
        float: right;
        border-bottom: 3px groove rgba(216, 216, 216, 0.1);
        pointer-events: none;
        position: relative;
        top: -5px;
    }

    blockquote {
        margin: 2em 3em;
    }

    #footer {
        padding: 0;
        height: 160px;
        margin: 0 0 40px 0;
        display: block;
        font-size: 0.75em;
        border-top: 3px groove rgba(216, 216, 216, 0.1);
    }

    #footer-nav.navigation {
        display: flex;
        line-height: 40px;
        margin-bottom: 1em;
    }

    .footerbox.main-width p {
        padding: 0px 0 40px 45px;
        clear: both;
        font-size: 0.75em;
    }

    #footer #sidebar-footer {
        text-align: left;
        padding: 40px 0;
        height: 40px;
        width: auto;
        clear: none;
        float: left;
    }

    .footerbox.main-width {
        height: 60px;
    }

    .tile.old {
        float: left;
        margin: 0 25px 25px 0;
        width: calc(33% - 13px);
        height: 125px;
    }

    /*.archive .tile{
        width: calc(34% - 2em);
    }*/

    .tile.old:first-child {
       width: calc(34% - 25px);
    }

    .tile.old:first-child, .tile.old:nth-child(6), .tile.old:nth-child(7), .tile.old:nth-child(10) {
        height: 275px;
    }

    .tile.old:nth-child(2), .tile.old:nth-child(5) {
        width: 16.5%;
    }

    .tile.old:nth-child(3), .tile.old:nth-child(4) {
        width: calc(49.5% - 25px);
    }

    .tile.old:nth-child(6), .tile.old:nth-child(7) {
        width: calc(17% - 25px);
    }

    .tile.old:nth-child(3), .tile.old:nth-child(5), .tile.old:nth-child(10) {
        margin-right: 0;
    }

    .tile.old:nth-child(8), .tile.old:nth-child(9) {
        width: 33%;
    }
    .tile.old:nth-child(9) {
        margin-right: 33%;
        clear: right;
    }

    .tile.old:nth-child(10) {
        margin-top: -300px;
        margin-left: calc(67% + 25px);
        width: calc(33% - 25px);
    }

    .tile.old:nth-child(2) div.project-medium, .tile.old:nth-child(5) div.project-medium, .tile.old:nth-child(6) div.project-medium, .tile.old:nth-child(7) div.project-medium {
        display: none;
    }

    .grid {
        /*clear: both;
        margin-bottom: 50px;*/
    }


    .metabox {
        background-color: rgba(0,0,0,0.75);
    }

    .metabox:hover {
        background-color: rgba(0,0,0,0.5);
        opacity: 1;
    }

    /*.project-published-on {
        float: left;
        position: absolute;
    }*/

    .imgheader .metabox h2 {
        width: calc(100% - 2em);
        font-size: .9em;
        line-height: 1em;
        opacity: 1;
        position: absolute;
    }

    .archive .imgheader .metabox h2 {
        font-size: 1em;
        position: absolute;
        bottom: 46px;
    }

    .project-medium a {
        font-size: 0.6em;
    }

    .tile-meta {
        width: 200px;
        padding-left: 22px;
        text-align: left;
        float: right;
        border-left: 3px groove rgba(216, 216, 216, 0.1);
    }

    .projectile:nth-child(odd) .tile-meta {
        padding-left: 0;
        padding-right: 22px;
        text-align: right;
        float: left;
        border-right: 3px groove rgba(216, 216, 216, 0.1);
        border-left: none;
    }

    .projectile:nth-child(odd) .tile-content {
        text-align: left;
        margin-left: 0;
    }

    .projectile:nth-child(odd) .tile-meta .project-medium {
        float: right;
        text-align: right;
    }

    .tile-content {
        width: calc(100% - 325px);
        padding: 50px 25px;
        margin: 50px 0 0 50px;
        float: left;
        text-align: right;
        border-top: 3px groove rgba(216, 216, 216, 0.1);
    }

    .wp-video {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

}


/***** Acabamento *****/
.embossed {
    box-shadow: 1px 1px 3px rgba(0,0,0,0.15), -1px -1px 3px rgba(255,255,255,0.25);
    text-shadow: 1px 1px 3px rgba(255,255,255,0.3), -1px -1px 3px rgba(0,0,0,0.2);
}

.engraved,
.main-navigation li {
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.15), inset -1px -1px 3px rgba(255,255,255,0.15);
    text-shadow: -1px -1px 3px rgba(255,255,255,0.3), 1px 1px 3px rgba(0,0,0,0.2);
}

.key,
.well,
.seemore .embossed,
.seemore .engraved,
.main-navigation li {
    background-color: rgba(0,0,0,0.05);  
}

.key,
.round {
    border-radius: 1em;
}

.h1.site-title, h1#you, .footerbox h1, .imgheader h2 {
    text-shadow: -1px -1px 3px rgba(255,255,255,0.3), 1px 1px 3px rgba(0,0,0,0.2);
}

/*.project-published-on {
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5), -1px -1px 1px rgba(255,255,255,0.75);
}*/

.entry h2:before, .entry h3:before, .entry h4:before,
#content h3:before, #content h4:before {
    content: " ";
    height: 15px;
    width: 15px;
    margin: 0 8px -2px 0;
    border-radius: 4px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.15), -1px -1px 3px rgba(255,255,255,0.15);
    display: inline-block;
    background: var(--cor4);
}

.postmetadata:before {
    content: " ";
    height: 15px;
    width: 15px;
    margin: 10px 10px -2px 0;
    border-radius: 4px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.15), -1px -1px 3px rgba(255,255,255,0.15);
    display: inline-block;
    background: var(--cor4);
}



/***  Animation  ***/
h1#you a, #avatar, .navigation li, .footerbox h1, .imgheader a, #sidebar li a, .main-navigation li, form#searchform, input#searchsubmit, input#s, #social li, .page-navigation .well a  {
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
}

#avatar {
    opacity: 1;
}

#avatar:hover {
    opacity: 0.75;
}

.sidebar .navigation li:hover, .sidebar .navigation li.current-menu-item {
    /*margin-right: 20px;*/
    border-right: 15px rgba(70, 110, 143, 0.5) solid;
}

.main-navigation li:hover {
    opacity: 1;
}

.imgheader {
    /* opacity: 0.75; */
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

.metabox,
.main-navigation,
.main-navigation ul {
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
}

.metabox:hover {
    opacity: 1;
}



/* Modo escuro por invert() removido: as cores escuras próprias estão em
   usability.css (#6). O filtro deixava os acentos vermelhos rosados e
   precisava "desinverter" cada imagem. */

html {
    transition: color 300ms, background-color 300ms;
}

/* O corpo já usa 1.2em; o modo "grande" repetia 1.2em e não mudava nada (#5).
   O modo "pequeno" ia a 0.8em (12,8 px), abaixo do legível; agora 1em (16 px). */
html.big-text body {
  font-size: 1.45em;
}

html.small-text body {
  font-size: 1em;
}

/* Os controles (idioma, texto, modo escuro) agora aparecem para todos os
   visitantes. Para voltar a mostrá-los só logado, descomente:
#controls { display: none; }
body.logged-in #controls { display: flex; }
*/



@media screen and (min-width: 1200px) {
    .flex {
        display: flex;
    }

    .half {
        width: 45%;
    }

    .home .metabox * {
        opacity: 0;
    }

    .home .metabox:hover * {
        opacity: 1;
    }
}


/*.entry-content p {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 2;
    margin-left: auto;
    margin-right: auto;
    max-width: 85%;
    -webkit-column-gap: 4em;
    -moz-column-gap: 4em;
    column-gap: 5em;
    column-rule: var(--borda);
}



@media only screen and (max-width: 599px) {
  .entry-content p {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
  .entry-content p {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .entry-content p {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
  }
}*/

/* Alternative Styles */


.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1em;
}

.gallery img {
    margin: 0;
}

.gallery a {
    margin: 0;
    padding: 0;
    vertical-align: bottom;
    line-height: 0;
}

.gallery figure div {
    vertical-align: bottom;
}

figure {
    /* margin: 1em 0; */
    margin: 0;
}

:where(figure) {
    /*margin: 0 0 1em;*/
    margin: 0;
}

.gallery figure img {
    object-fit: scale-down;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(75px, auto);
    grid-gap: 1em;
    
    display: grid;
    /*max-width: 960px;*/
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 1.5em;
}

.gallery-columns-2 .gallery-item:nth-child(1),
.gallery-columns-2 .gallery-item:nth-child(3),
.gallery-columns-2 .gallery-item:nth-child(5),
.gallery-columns-2 .gallery-item:nth-child(7),
.gallery-columns-2 .gallery-item:nth-child(9),
.gallery-columns-2 .gallery-item:nth-child(11),
.gallery-columns-2 .gallery-item:nth-child(13),
.gallery-columns-2 .gallery-item:nth-child(15) {
  text-align: right;
}

.gallery-columns-2 .gallery-item:nth-child(2),
.gallery-columns-2 .gallery-item:nth-child(4),
.gallery-columns-2 .gallery-item:nth-child(6),
.gallery-columns-2 .gallery-item:nth-child(8),
.gallery-columns-2 .gallery-item:nth-child(10),
.gallery-columns-2 .gallery-item:nth-child(12),
.gallery-columns-2 .gallery-item:nth-child(14),
.gallery-columns-2 .gallery-item:nth-child(16) {
  text-align: left;
}

/*.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}*/

.gallery-columns-3 .gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
    background: #2c33382e;
}

.gallery-columns-3 .gallery-item:nth-child(1) {
  grid-column: 1/3;
  grid-row: 1/5;
}

.gallery-columns-3 .gallery-item:nth-child(2) {
  grid-column: 3/7;
  grid-row: 1/3;
}

.gallery-columns-3 .gallery-item:nth-child(3) {
  grid-column: 3/5;
  grid-row: 3/5; 
}

.gallery-columns-3 .gallery-item:nth-child(4) {
  grid-column: 5/7;
  grid-row: 3/7;
}

.gallery-columns-3 .gallery-item:nth-child(5) {
  grid-column: 1/5;
  grid-row: 5/7;
}

.gallery-columns-3 .gallery-item:nth-child(6) {
  grid-column: 1/3;
  grid-row: 7/11;
}

.gallery-columns-3 .gallery-item:nth-child(7){
  grid-column: 3/7;
  grid-row: 7/9;
}

.gallery-columns-3 .gallery-item:nth-child(8){
  grid-column: 3/5;
  grid-row: 9/11;
}

.gallery-columns-3 .gallery-item:nth-child(9){
  grid-column: 5/7;
  grid-row: 9/13;
}

.gallery-columns-3 .gallery-item:nth-child(10){
  grid-column: 1/5;
  grid-row: 11/13;
}

.gallery-columns-3 .gallery-item:nth-child(11) {
  grid-column: 1/3;
  grid-row: 13/17;
}

.gallery-columns-3 .gallery-item:nth-child(12) {
  grid-column: 3/7;
  grid-row: 13/15;
}

.gallery-columns-3 .gallery-item:nth-child(13) {
  grid-column: 3/5;
  grid-row: 15/17;
}

.gallery-columns-3 .gallery-item:nth-child(14) {
  grid-column: 5/7;
  grid-row: 15/19;
}

.gallery-columns-3 .gallery-item:nth-child(15) {
  grid-column: 1/5;
  grid-row: 17/19;
}

.gallery-columns-3 .gallery-item:nth-child(16) {
  grid-column: 1/3;
  grid-row: 19/23;
}

.gallery-columns-3 .gallery-item:nth-child(17) {
  grid-column: 3/7;
  grid-row: 19/21;
}

.gallery-columns-3 .gallery-item:nth-child(18) {
  grid-column: 3/5;
  grid-row: 21/23;
}

.gallery-columns-3 .gallery-item:nth-child(19) {
  grid-column: 5/7;
  grid-row: 21/25;
}

.gallery-columns-3 .gallery-item:nth-child(20) {
  grid-column: 1/5;
  grid-row: 23/25;
}

.gallery-columns-3 .gallery-item:nth-child(21) {
  grid-column: 1/3;
  grid-row: 25/29;
}

.gallery-columns-3 .gallery-item:nth-child(22) {
  grid-column: 3/7;
  grid-row: 25/27;
}

.gallery-columns-3 .gallery-item:nth-child(23) {
  grid-column: 3/5;
  grid-row: 27/29;
}

.gallery-columns-3 .gallery-item:nth-child(24) {
  grid-column: 5/7;
  grid-row: 27/31;
}

.gallery-columns-3 .gallery-item:nth-child(25) {
  grid-column: 1/5;
  grid-row: 29/31;
}


