:root {
    --marg: 32px;
    --rgb: 60, 219, 192;
    --rgb2: 168, 239, 227;
    --off: black;
    --on: white;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes kenburns {
    0% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0;
        background-position: left;
    }

    10% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    90% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
        opacity: 0;
        background-position: right;
    }
}

@-webkit-keyframes kenburns {
    0% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0;
        background-position: left;
    }

    10% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }


    90% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
        opacity: 0;
        background-position: right;
    }
}

@-webkit-keyframes slide-left-alt {
    0% {
        /* -webkit-transform: translateX(1920px);*/
        width: 0;
        opacity: 0;
        /*right: 0;*/
    }

    2% {
        opacity: 0;
    }

    5% {
        /*-webkit-transform: translateX(0);*/
        opacity: 1;
        width: 50%;
    }

    95% {
        /* -webkit-transform: translateX(0);*/
        opacity: 1;
        width: 50%;
    }

    98% {
        opacity: 0;
    }

    100% {
        /*-webkit-transform: translateX(1920px);*/
        width: 0;
        opacity: 0;
        /* right: 0;*/
    }
}


@keyframes slide-left-alt {
    0% {
        /* transform: translateX(1920px);*/
        width: 0;
        opacity: 0;
        /* right: 0;*/
    }

    2% {
        opacity: 0;
    }

    5% {
        /* transform: translateX(0);*/
        opacity: 1;
        width: 50%;
    }

    95% {
        /*        transform: translateX(0);*/
        opacity: 1;
        width: 50%;
    }

    98% {
        opacity: 0;
    }

    100% {
        /*  transform: translateX(1920px);*/
        width: 0;
        opacity: 0;
        /*   right: 0;*/
    }
}

@-webkit-keyframes unslide-left-alt {
    0% {
        opacity: 0;
        width: 100%;
    }

    2% {
        opacity: 0;
    }

    4% {
        opacity: 1;
        width: 100%;
    }

    96% {
        opacity: 1;
        width: 100%;
    }

    98% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        width: 100%;
    }
}

@keyframes unslide-left-alt {
    0% {
        opacity: 0;
        width: 100%;
    }

    2% {
        opacity: 0;
    }

    4% {
        opacity: 1;
        width: 100%;
    }

    96% {
        opacity: 1;
        width: 100%;
    }

    98% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        width: 100%;
    }
}



@-webkit-keyframes slide-left {
    0% {
        -webkit-transform: translateX(1920px);
        transform: translateX(1920px);
        /*         opacity: 0;*/
        width: 0;
        right: 0;
    }

    10% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
        width: calc(100% - calc(2* var(--marg)));
    }

    90% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
        width: calc(100% - calc(2* var(--marg)));
    }

    100% {
        -webkit-transform: translateX(1920px);
        transform: translateX(1920px);
        /*         opacity: 0;*/
        width: 0;
        right: 0;
    }
}

@-webkit-keyframes unslide-left {
    0% {
        -webkit-transform: translateX(-1920px);
        transform: translateX(-1920px);
        /*         opacity: 0;*/
        width: 100%;
    }

    10% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    90% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-1920px);
        transform: translateX(-1920px);
        /*         opacity: 0;*/
        width: 100%;
    }
}

@keyframes unslide-left {
    0% {
        -webkit-transform: translateX(-1920px);
        transform: translateX(-1920px);
        /*         opacity: 0;*/
        width: 100%;
    }

    10% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    90% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-1920px);
        transform: translateX(-1920px);
        /*         opacity: 0;*/
        width: 100%;
    }
}

@keyframes slide-left {
    0% {
        -webkit-transform: translateX(1920px);
        transform: translateX(1920px);
        /*         opacity: 0;*/
        width: 0;
        right: 0;
    }

    10% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
        width: calc(100% - calc(2* var(--marg)));
    }

    90% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
        width: calc(100% - calc(2* var(--marg)));
    }

    100% {
        -webkit-transform: translateX(1920px);
        transform: translateX(1920px);
        /*         opacity: 0;*/
        width: 0;
        right: 0;
    }
}

@-webkit-keyframes slide-up {
    0% {
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
        opacity: 0;
    }

    3% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }

    97% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes slide-up {
    0% {
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
        opacity: 0;
    }

    3% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }

    97% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
        opacity: 0;
    }
}

article {
    transition: all 300ms ease-out;
    -webkit-animation: fadein 300ms ease-in forwards;
    animation: fadein 300ms ease-in forwards;
}

html {
    font-family: 'Heebo', sans-serif;
    scroll-behavior: smooth;
}

nav {
    display: flex;
    flex-flow: row;
    width: 100%;
    z-index: 996;
}

nav ul {
    list-style-type: none;
}

#seletore {
    display: none;
}

.menu_filtros {
    width: 100%;
    flex-flow: column;
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: calc(3 * var(--marg));
    margin: auto;
    z-index: 995;
    box-shadow: 0 0 0.3em 0 rgb(0 0 0 / 25%);
    background-color: white;
}

.menu_filtros form {
    display: flex;
    flex-flow: column;
}

.menu_opcoes {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    margin-block: 0;
    background-color: var(--cor);
    padding-inline: 0;
    transition: all 1s ease-out;
    align-items: center;
}

.menu_opcoes>li {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: flex-start;
}

.menu_opcoes>li:first-child {
    padding-left: var(--marg);
}

.menu_opcoes>li:last-child {
    padding-right: var(--marg);
}

.menu_opcoes li select,
.menu_opcoes>li {
    width: 100%;
    flex: 1;
    padding: 0;
    border: none;
    color: white;
    font-size: 100%;
    font-weight: 500;
    background-color: transparent;
}

.menu_opcoes>li>div:has(a) {
    padding: 0;
}

.menu_opcoes>li>div>a {
    display: block;
    color: white;
    text-decoration: none;
}

.menu_opcoes>li>div,
.menu_opcoes>li>div>a {
    padding: calc(var(--marg) / 2.5) calc(var(--marg) / 2);
}

.menu_dias>li>a>div {
    padding: calc(var(--marg) / 6) calc(var(--marg) / 2);
}

.menu_dias>li>a {
    color: var(--off);
    text-decoration: none;
}

.menu_dias>li>a>.festival {
    border: solid thin var(--cor);
}

.menu_opcoes>li div,
.menu_dias>li>a>div {
    margin: calc(var(--marg) / 6);
    border-radius: calc(var(--marg) / 6);
}

.menu_opcoes>li div:hover,
.menu_opcoes>li div:active,
.menu_opcoes>li div:focus,
.menu_dias>li>a:hover>div,
.menu_dias>li>a:active>div,
.menu_dias>li>a:focus>div,
.menu_dias>li>a.ativo>div {
    background-color: var(--cor2);
    cursor: pointer;
}

.menu_opcoes li select option,
.menu_opcoes>li>ul {
    color: var(--cor);
}

.menu_opcoes>li>ul {
    display: none;
    top: 100%;
    background-color: var(--cor2);
    padding-inline: 0;
}

.menu_dias {
    display: flex;
    margin-block: 0;
    padding-inline: 0;
    padding: 0 var(--marg);
    background-color: white;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dia_semana {
    text-transform: uppercase;
    font-size: 75%;
    text-align: center;
    color: var(--cor);
}

.dia {
    font-size: 120%;
    text-align: center;
}

.escolher {
    visibility: hidden;
    opacity: 0;
    display: grid;
    margin-top: calc(- 3 * var(--marg));
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    padding: 0 var(--marg);
    background-color: var(--cor2);
    margin: 0;
    color: var(--cor);
    overflow-x: auto;
    overflow-y: hidden;
    grid-column: span 2;
    -ms-overflow-style: none;
    transition: visibility 0s, opacity 0.5s linear;
}

.escolher>li>a {
    margin: calc(var(--marg) / 6);
    border-radius: calc(var(--marg) / 6);
    padding: calc(var(--marg) / 2.5) calc(var(--marg) / 2);
    display: none;
    transition: display 0.3s linear;
}

.escolher>li>a:hover {
    background-color: var(--on);
    color: var(--cor);
    cursor: pointer;
}

.mostra {
    visibility: visible;
    opacity: 1;
    transition: visibility 0.3s, opacity 0.5s linear;
}

.escolher.mostra>li>a {
    display: block;
}

.escolher>li a {
    text-decoration: none;
    color: var(--cor);
}

.local {
    margin: calc(var(--marg) / 6);
    border-radius: calc(var(--marg) / 6);
    padding: calc(var(--marg) / 2.5) calc(var(--marg) / 2);
    transition: display 0.3s linear;
    align-items: center;
}

img {
    width: 100%;
    height: auto;
}

.destaque {
    background-color: var(--cor);
}

.destaque.capa {
    background-color: var(--on);
}

.destaque>ul {
    list-style-type: none;
    margin-block: 0;
    padding-inline: 0;
    align-content: flex-start;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow: hidden;
}

.destaque>ul>li {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    opacity: 0;
    align-content: flex-end;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    /*    -webkit-animation: slide-left 8s both;*/
    -webkit-animation: 14s ease-in-out slide-up;
    animation: 14s ease-in-out slide-up;
    overflow: hidden;
}

.destaque>ul>li.ativo {
    display: flex;
}

.destaque>ul>li.ativo.parado {
    animation-play-state: paused;
}

/* old destaque
/* .destaque>ul>li>div.contentor {
    display: block;
    padding: calc(var(--marg) / 2);
        border-radius: calc(var(--marg) / 6);
        background-color: var(--on);
    opacity: 0;
    -webkit-animation: slide-up 6s both;
    animation: slide-up 6s both;
    animation-delay: 1s;
    color: var(--off);
    margin: calc(var(--marg) / 2);
} */

.show {
    font-size: 140%;
    font-weight: 800;
    line-height: 120%;
}

.pevento .show {
    font-size: 160%;
    font-weight: 800;
    line-height: 120%;
    padding: .3em 0;
}

.nav-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 100%;
    box-shadow: 0 0 0.3em 0 rgb(0 0 0 / 25%);
    background-color: var(--on);
    /*            background-image: linear-gradient(to right top, rgba(var(--rgb), 1), rgba(var(--rgb), 1), rgba(var(--rgb2), 1));
 */
    position: fixed;
}

.menu {
    padding: 0;
    margin: 0;
    position: fixed;
}

.menu li {
    margin: 0;
    padding: var(--marg);
    transition: all .1s ease-in;
    opacity: 0;
    height: var(--marg);
    display: flex;
    align-items: center;
}

.menu li a {
    text-decoration: none;
    font-weight: 400;
    color: var(--off)
}

.menu li a:hover,
.active {
    color: var(--cor);
}

.nav-bar.ativo .menu li {
    transition: all .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    ;
    opacity: 1;
}

.nav-bar.ativo .menu>li:first-child,
.nav-bar .menu>li:last-child {
    transition-delay: .01s;
}

.nav-bar.ativo .menu>li:nth-child(2),
.nav-bar .menu>li:nth-child(7) {
    transition-delay: .08s;
}

.nav-bar.ativo .menu>li:nth-child(3),
.nav-bar .menu>li:nth-child(6) {
    transition-delay: .16s;
}

.nav-bar.ativo .menu>li:nth-child(4),
.nav-bar .menu>li:nth-child(5) {
    transition-delay: .24s;
}

.nav-bar.ativo .menu>li:nth-child(5),
.nav-bar .menu>li:nth-child(4) {
    transition-delay: .32s;
}

.nav-bar.ativo .menu>li:nth-child(6),
.nav-bar .menu>li:nth-child(3) {
    transition-delay: .40s;
}

.nav-bar.ativo .menu>li:nth-child(7),
.nav-bar .menu>li:nth-child(2) {
    transition-delay: .48s;
}

.nav-bar.ativo .menu>li:nth-child(8),
.nav-bar .menu>li:nth-child(1) {
    transition-delay: .56s;
}

.logo {
    max-width: calc(5 * var(--marg));
    padding: calc(var(--marg) / 2) var(--marg);
    z-index: 999;
    width: 100%;
}

.line {
    height: 4px;
    width: 32px;
    background: var(--cor);
    margin: 5px auto;
    border-radius: 2px;
    -webkit-transition: all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-button {
    padding: calc(var(--marg)/2);
    border-radius: 50%;
    box-shadow: 0 0 0.2em 0 rgba(255 255 255 / 50%);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: calc(var(--marg) / 2);
    z-index: 999;
    background-color: var(--on);
    -webkit-transform: scale(.7);
    transform: scale(.7);
}

.menu-button>.hamburger {
    width: 32px;
    height: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nav-bar.ativo .menu-button>div {
    outline: none;
}

.nav-bar.ativo .menu-button>.hamburger>.line:nth-child(1),
.nav-bar.ativo .menu-button>.hamburger>.line:nth-child(1) {
    -webkit-transform: rotate(45deg) translate(5px, 6px);
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-bar.ativo .menu-button>.hamburger>.line:nth-child(2),
.nav-bar.ativo .menu-button>.hamburger>.line:nth-child(2) {
    -webkit-transform: rotate(-45deg) translate(5px, -6px);
    transform: rotate(-45deg) translate(5px, -6px);
}

.eventos {
    padding: var(--marg);
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: space-between;
    align-items: stretch;
    background-color: rgba(0 0 0 / 5%);
}

.eventos article {
    border-radius: calc(var(--marg) / 3);
    border: solid thin lightgray;
    line-height: 150%;
    background-color: white;
}

article a {
    text-decoration: none;
    color: var(--off);
}

.eventos article:hover {
    box-shadow: 0 0 0.3em 0 rgb(0 0 0 / 30%);
    background-color: var(--cor2);
}

.evento {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    line-height: 140%;
}

.evento>.artist>a {
    text-decoration: underline;
}

.eventos article .imagem {
    aspect-ratio: 16/9;
    background-size: cover;
    margin-bottom: calc(var(--marg)/2);
}

.tag {
    color: var(--cor);
}

.pais {
    color: var(--cor);
    font-size: 80%;
}

article.tag {
    align-self: start;
}

footer .tagapoios {
    font-size: 80%;
}

.botaocompra {
    padding: calc(var(--marg) / 4) calc(var(--marg) / 2) calc(var(--marg) / 6);
    border-radius: calc(var(--marg) / 6);
    background-color: var(--cor);
    display: inline-block;
    margin-top: calc(var(--marg) / 3);
    font-weight: 500;
}

.texto {
    line-height: 150%;
    font-size: 110%;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    margin-top: var(--marg);
}

.cargo {
    font-size: 80%;
    line-height: 200%;
    color: lightgray;
}

.video {
    margin-bottom: var(--marg);
}

.ficha {
    font-size: 90%;
}

.ficha p {
    margin: .5em 0;
}

.localinfo {
    line-height: 140%;
}

.localinfo>article {
    aspect-ratio: 16/9;
}

.mupi {
    box-shadow: 0 0 0.3em 0 rgb(0 0 0 / 25%);
    margin: var(--marg);
    max-width: calc(100% - calc(2*var(--marg)));
}

.lingua {
    display: grid;
    align-items: end;
    justify-content: center;
    height: 100vh;
    background-color: whitesmoke;
    background-image: url('data:image/svg+xml,<svg width="100%" height="100%" viewBox="0 0 819 502" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g transform="matrix(1,0,0,1,-102.557,-133.485)"><path d="M123.062,154.855L123.062,175.237L161.727,175.237L161.727,190.431L123.062,190.431L123.062,225.39L106.757,225.39L106.757,139.661L168.027,139.661L168.027,154.855L123.062,154.855ZM239.55,199.943L191.497,199.943C193.597,207.725 199.773,212.543 207.432,212.543C212.867,212.543 218.179,210.196 220.897,205.131L238.314,205.131C234.608,218.102 223.367,226.872 207.556,226.872C189.644,226.872 174.944,212.049 174.944,193.643C174.944,175.237 189.644,160.167 207.556,160.167C226.332,160.167 241.897,174.743 239.55,199.943ZM191.744,186.602L223.367,186.602C221.391,179.19 215.214,174.496 207.432,174.496C200.02,174.496 194.091,179.19 191.744,186.602ZM304.649,205.378C304.649,217.978 293.037,226.872 276.732,226.872C260.549,226.872 248.567,218.349 246.591,204.637L263.143,204.637C265.367,210.072 271.914,212.049 276.732,212.049C283.279,212.049 288.22,210.072 288.22,206.366C288.22,202.784 285.996,201.302 274.879,199.572C263.514,197.843 248.32,194.755 248.32,180.549C248.32,170.543 257.091,160.167 275.496,160.167C290.073,160.167 300.943,168.073 303.043,180.055L286.12,180.055C285.131,177.09 281.549,174.743 275.496,174.743C267.961,174.743 264.873,177.461 264.873,179.808C264.873,183.143 269.567,184.255 277.473,185.49C293.284,188.084 304.649,191.543 304.649,205.378ZM345.66,210.443L345.66,225.266C327.008,227.243 317.125,216.002 317.125,198.584L317.125,176.225L309.467,176.225L309.467,161.773L317.125,161.773L317.125,145.59L333.431,145.59L333.431,161.773L344.919,161.773L344.919,176.225L333.431,176.225L333.431,198.708C333.431,207.602 337.507,210.937 345.66,210.443ZM371.601,139.661L371.601,154.855L355.295,154.855L355.295,139.661L371.601,139.661ZM371.601,161.773L371.601,225.39L355.295,225.39L355.295,161.773L371.601,161.773ZM445.101,161.773L421.136,225.39L403.595,225.39L379.507,161.773L396.554,161.773L412.366,209.208L428.301,161.773L445.101,161.773ZM495.994,225.39C495.253,223.784 494.759,221.807 494.388,219.46C490.188,223.907 483.765,226.625 474.871,226.625C461.406,226.625 449.053,219.831 449.053,205.996C449.053,191.666 461.036,187.961 475.118,186.725C485.741,185.737 493.277,184.502 493.277,179.314C493.277,175.978 488.953,173.261 481.665,173.261C475.859,173.261 469.189,175.855 467.706,181.29L451.4,181.29C453.006,169.184 464.618,160.167 481.294,160.167C507.112,160.167 509.088,176.843 509.088,181.908L509.088,215.013C509.088,218.102 510.076,222.919 510.941,225.39L495.994,225.39ZM493.894,200.684L493.894,194.755C490.435,196.978 485.124,198.09 478.453,198.831C470.424,199.696 465.483,201.425 465.483,206.119C465.483,209.702 469.683,212.172 476.23,212.172C485.988,212.172 493.894,208.837 493.894,200.684ZM541.206,133.485L541.206,225.39L524.9,225.39L524.9,133.485L541.206,133.485ZM123.433,275.542L123.433,361.271L107.127,361.271L107.127,275.542L123.433,275.542ZM195.821,324.089L195.821,361.271L179.515,361.271L179.515,324.089C179.515,320.383 178.403,311.489 167.656,311.489C160.368,311.489 155.303,316.924 155.303,324.089L155.303,361.271L138.998,361.271L138.998,297.654L154.562,297.654L154.562,303.83C158.639,299.013 164.197,296.048 170.991,296.048C185.938,296.048 195.821,307.289 195.821,324.089ZM240.044,346.324L240.044,361.147C221.391,363.124 211.509,351.883 211.509,334.465L211.509,312.107L203.85,312.107L203.85,297.654L211.509,297.654L211.509,281.472L227.814,281.472L227.814,297.654L239.302,297.654L239.302,312.107L227.814,312.107L227.814,334.589C227.814,343.483 231.891,346.818 240.044,346.324ZM310.208,335.824L262.155,335.824C264.255,343.606 270.432,348.424 278.09,348.424C283.526,348.424 288.837,346.077 291.555,341.012L308.972,341.012C305.267,353.983 294.025,362.753 278.214,362.753C260.302,362.753 245.602,347.93 245.602,329.524C245.602,311.118 260.302,296.048 278.214,296.048C296.99,296.048 312.555,310.624 310.208,335.824ZM262.402,322.483L294.025,322.483C292.049,315.071 285.873,310.377 278.09,310.377C270.679,310.377 264.749,315.071 262.402,322.483ZM357.643,296.418L357.643,312.23C351.096,311.489 345.66,312.23 341.954,316.183C338.496,319.765 337.878,324.953 337.878,330.018L337.878,361.271L321.572,361.271L321.572,297.654L337.137,297.654L337.137,303.954C342.325,297.53 349.984,295.183 357.643,296.418ZM423.36,324.089L423.36,361.271L407.054,361.271L407.054,324.089C407.054,320.383 405.942,311.489 395.195,311.489C387.907,311.489 382.842,316.924 382.842,324.089L382.842,361.271L366.537,361.271L366.537,297.654L382.101,297.654L382.101,303.83C386.178,299.013 391.736,296.048 398.53,296.048C413.477,296.048 423.36,307.289 423.36,324.089ZM481.171,361.271C480.43,359.665 479.936,357.688 479.565,355.341C475.365,359.788 468.941,362.506 460.047,362.506C446.583,362.506 434.23,355.712 434.23,341.877C434.23,327.548 446.212,323.842 460.295,322.606C470.918,321.618 478.453,320.383 478.453,315.195C478.453,311.859 474.13,309.142 466.842,309.142C461.036,309.142 454.365,311.736 452.883,317.171L436.577,317.171C438.183,305.065 449.795,296.048 466.471,296.048C492.288,296.048 494.265,312.724 494.265,317.789L494.265,350.894C494.265,353.983 495.253,358.8 496.118,361.271L481.171,361.271ZM479.071,336.565L479.071,330.636C475.612,332.859 470.3,333.971 463.63,334.712C455.6,335.577 450.659,337.306 450.659,342C450.659,345.583 454.859,348.053 461.406,348.053C471.165,348.053 479.071,344.718 479.071,336.565ZM569.617,339.777C565.911,354.23 554.3,362.753 538.858,362.753C519.712,362.753 506,347.93 506,329.524C506,311.118 519.712,296.048 538.858,296.048C554.176,296.048 565.788,304.695 569.494,319.024L552.076,319.024C549.853,314.701 544.788,310.995 538.858,310.995C529.841,310.995 522.553,319.395 522.553,329.648C522.553,339.653 529.841,347.93 538.858,347.93C544.911,347.93 550.1,344.224 552.2,339.777L569.617,339.777ZM596.917,275.542L596.917,290.736L580.611,290.736L580.611,275.542L596.917,275.542ZM596.917,297.654L596.917,361.271L580.611,361.271L580.611,297.654L596.917,297.654ZM640.399,296.048C658.063,296.048 672.516,310.501 672.516,329.524C672.516,348.547 658.063,362.753 640.399,362.753C622.734,362.753 608.405,348.547 608.405,329.524C608.405,310.501 622.734,296.048 640.399,296.048ZM640.399,347.806C649.046,347.806 656.087,340.395 656.087,329.648C656.087,318.654 649.046,310.995 640.399,310.995C631.752,310.995 624.711,318.654 624.711,329.648C624.711,340.395 631.752,347.806 640.399,347.806ZM740.457,324.089L740.457,361.271L724.151,361.271L724.151,324.089C724.151,320.383 723.039,311.489 712.292,311.489C705.004,311.489 699.939,316.924 699.939,324.089L699.939,361.271L683.634,361.271L683.634,297.654L699.198,297.654L699.198,303.83C703.275,299.013 708.833,296.048 715.627,296.048C730.574,296.048 740.457,307.289 740.457,324.089ZM798.268,361.271C797.527,359.665 797.033,357.688 796.662,355.341C792.462,359.788 786.039,362.506 777.145,362.506C763.68,362.506 751.327,355.712 751.327,341.877C751.327,327.548 763.309,323.842 777.392,322.606C788.015,321.618 795.55,320.383 795.55,315.195C795.55,311.859 791.227,309.142 783.939,309.142C778.133,309.142 771.462,311.736 769.98,317.171L753.674,317.171C755.28,305.065 766.892,296.048 783.568,296.048C809.385,296.048 811.362,312.724 811.362,317.789L811.362,350.894C811.362,353.983 812.35,358.8 813.215,361.271L798.268,361.271ZM796.168,336.565L796.168,330.636C792.709,332.859 787.397,333.971 780.727,334.712C772.697,335.577 767.756,337.306 767.756,342C767.756,345.583 771.956,348.053 778.503,348.053C788.262,348.053 796.168,344.718 796.168,336.565ZM843.479,269.366L843.479,361.271L827.173,361.271L827.173,269.366L843.479,269.366ZM167.903,405.247L167.903,497.152L152.339,497.152L152.339,490.358C147.274,495.546 140.603,498.511 132.821,498.511C116.268,498.511 102.557,484.181 102.557,465.405C102.557,446.505 116.268,432.176 132.821,432.176C140.233,432.176 146.656,434.894 151.597,439.588L151.597,405.247L167.903,405.247ZM151.597,465.529C151.597,455.399 144.309,447.246 135.292,447.246C126.274,447.246 118.986,455.152 118.986,465.529C118.986,475.658 126.274,483.44 135.292,483.44C144.309,483.44 151.597,475.411 151.597,465.529ZM243.997,471.705L195.944,471.705C198.044,479.487 204.22,484.305 211.879,484.305C217.314,484.305 222.626,481.958 225.344,476.893L242.761,476.893C239.055,489.864 227.814,498.634 212.003,498.634C194.091,498.634 179.391,483.811 179.391,465.405C179.391,446.999 194.091,431.929 212.003,431.929C230.779,431.929 246.344,446.505 243.997,471.705ZM196.191,458.364L227.814,458.364C225.838,450.952 219.661,446.258 211.879,446.258C204.467,446.258 198.538,450.952 196.191,458.364ZM377.672,411.423L377.672,497.152L361.613,497.152L361.613,434.276L344.196,497.152L326.778,497.152L309.361,434.276L309.361,497.152L293.302,497.152L293.302,411.423L317.514,411.423L335.425,475.658L353.337,411.423L377.672,411.423ZM436.348,497.152C435.607,495.546 435.113,493.57 434.742,491.223C430.542,495.67 424.119,498.387 415.225,498.387C401.76,498.387 389.407,491.593 389.407,477.758C389.407,463.429 401.389,459.723 415.472,458.488C426.095,457.499 433.63,456.264 433.63,451.076C433.63,447.741 429.307,445.023 422.019,445.023C416.213,445.023 409.542,447.617 408.06,453.052L391.754,453.052C393.36,440.947 404.972,431.929 421.648,431.929C447.465,431.929 449.442,448.605 449.442,453.67L449.442,486.776C449.442,489.864 450.43,494.681 451.295,497.152L436.348,497.152ZM434.248,472.446L434.248,466.517C430.789,468.74 425.477,469.852 418.807,470.593C410.777,471.458 405.836,473.187 405.836,477.881C405.836,481.464 410.036,483.934 416.583,483.934C426.342,483.934 434.248,480.599 434.248,472.446ZM500.953,432.3L500.953,448.111C494.406,447.37 488.971,448.111 485.265,452.064C481.806,455.646 481.189,460.835 481.189,465.899L481.189,497.152L464.883,497.152L464.883,433.535L480.447,433.535L480.447,439.835C485.636,433.411 493.294,431.064 500.953,432.3ZM526.523,411.423L526.523,426.617L510.218,426.617L510.218,411.423L526.523,411.423ZM526.523,433.535L526.523,497.152L510.218,497.152L510.218,433.535L526.523,433.535ZM570.005,431.929C587.67,431.929 602.123,446.382 602.123,465.405C602.123,484.428 587.67,498.634 570.005,498.634C552.341,498.634 538.012,484.428 538.012,465.405C538.012,446.382 552.341,431.929 570.005,431.929ZM570.005,483.687C578.652,483.687 585.694,476.276 585.694,465.529C585.694,454.535 578.652,446.876 570.005,446.876C561.358,446.876 554.317,454.535 554.317,465.529C554.317,476.276 561.358,483.687 570.005,483.687ZM670.063,459.97L670.063,497.152L653.758,497.152L653.758,459.97C653.758,456.264 652.646,447.37 641.899,447.37C634.611,447.37 629.546,452.805 629.546,459.97L629.546,497.152L613.24,497.152L613.24,433.535L628.805,433.535L628.805,439.711C632.881,434.894 638.44,431.929 645.234,431.929C660.181,431.929 670.063,443.17 670.063,459.97ZM745.416,471.705L697.363,471.705C699.463,479.487 705.639,484.305 713.298,484.305C718.733,484.305 724.045,481.958 726.763,476.893L744.18,476.893C740.474,489.864 729.233,498.634 713.422,498.634C695.51,498.634 680.81,483.811 680.81,465.405C680.81,446.999 695.51,431.929 713.422,431.929C732.198,431.929 747.763,446.505 745.416,471.705ZM697.61,458.364L729.233,458.364C727.257,450.952 721.08,446.258 713.298,446.258C705.887,446.258 699.957,450.952 697.61,458.364ZM786.55,482.205L786.55,497.028C767.898,499.005 758.015,487.764 758.015,470.346L758.015,447.988L750.357,447.988L750.357,433.535L758.015,433.535L758.015,417.353L774.321,417.353L774.321,433.535L785.809,433.535L785.809,447.988L774.321,447.988L774.321,470.47C774.321,479.364 778.398,482.699 786.55,482.205ZM839.174,497.152C838.432,495.546 837.938,493.57 837.568,491.223C833.368,495.67 826.944,498.387 818.05,498.387C804.586,498.387 792.233,491.593 792.233,477.758C792.233,463.429 804.215,459.723 818.297,458.488C828.921,457.499 836.456,456.264 836.456,451.076C836.456,447.741 832.132,445.023 824.844,445.023C819.038,445.023 812.368,447.617 810.886,453.052L794.58,453.052C796.186,440.947 807.797,431.929 824.474,431.929C850.291,431.929 852.267,448.605 852.267,453.67L852.267,486.776C852.267,489.864 853.256,494.681 854.12,497.152L839.174,497.152ZM837.074,472.446L837.074,466.517C833.615,468.74 828.303,469.852 821.632,470.593C813.603,471.458 808.662,473.187 808.662,477.881C808.662,481.464 812.862,483.934 819.409,483.934C829.168,483.934 837.074,480.599 837.074,472.446ZM921.443,477.14C921.443,489.74 909.832,498.634 893.526,498.634C877.344,498.634 865.361,490.111 863.385,476.399L879.938,476.399C882.161,481.834 888.708,483.811 893.526,483.811C900.073,483.811 905.014,481.834 905.014,478.129C905.014,474.546 902.791,473.064 891.673,471.334C880.308,469.605 865.114,466.517 865.114,452.311C865.114,442.305 873.885,431.929 892.291,431.929C906.867,431.929 917.737,439.835 919.837,451.817L902.914,451.817C901.926,448.852 898.344,446.505 892.291,446.505C884.755,446.505 881.667,449.223 881.667,451.57C881.667,454.905 886.361,456.017 894.267,457.252C910.079,459.846 921.443,463.305 921.443,477.14ZM167.903,541.128L167.903,633.033L152.339,633.033L152.339,626.239C147.274,631.427 140.603,634.392 132.821,634.392C116.268,634.392 102.557,620.063 102.557,601.286C102.557,582.386 116.268,568.057 132.821,568.057C140.233,568.057 146.656,570.775 151.597,575.469L151.597,541.128L167.903,541.128ZM151.597,601.41C151.597,591.28 144.309,583.128 135.292,583.128C126.274,583.128 118.986,591.033 118.986,601.41C118.986,611.539 126.274,619.321 135.292,619.321C144.309,619.321 151.597,611.292 151.597,601.41ZM211.385,567.81C229.05,567.81 243.502,582.263 243.502,601.286C243.502,620.31 229.05,634.515 211.385,634.515C193.721,634.515 179.391,620.31 179.391,601.286C179.391,582.263 193.721,567.81 211.385,567.81ZM211.385,619.568C220.032,619.568 227.073,612.157 227.073,601.41C227.073,590.416 220.032,582.757 211.385,582.757C202.738,582.757 195.697,590.416 195.697,601.41C195.697,612.157 202.738,619.568 211.385,619.568ZM357.519,574.975C357.519,590.91 346.525,602.398 329.602,602.398L309.467,602.398L309.467,633.033L293.161,633.033L293.161,547.304L329.231,547.304C347.143,547.304 357.519,558.175 357.519,574.975ZM329.108,562.498L309.467,562.498L309.467,587.451L329.108,587.451C336.643,587.451 341.213,583.622 341.213,574.975C341.213,566.328 336.643,562.498 329.108,562.498ZM392.601,567.81C410.266,567.81 424.718,582.263 424.718,601.286C424.718,620.31 410.266,634.515 392.601,634.515C374.936,634.515 360.607,620.31 360.607,601.286C360.607,582.263 374.936,567.81 392.601,567.81ZM392.601,619.568C401.248,619.568 408.289,612.157 408.289,601.41C408.289,590.416 401.248,582.757 392.601,582.757C383.954,582.757 376.913,590.416 376.913,601.41C376.913,612.157 383.954,619.568 392.601,619.568ZM468.2,568.181L468.2,583.992C461.653,583.251 456.218,583.992 452.512,587.945C449.053,591.527 448.436,596.716 448.436,601.78L448.436,633.033L432.13,633.033L432.13,569.416L447.695,569.416L447.695,575.716C452.883,569.292 460.542,566.945 468.2,568.181ZM509.335,618.086L509.335,632.909C490.682,634.886 480.8,623.645 480.8,606.227L480.8,583.869L473.141,583.869L473.141,569.416L480.8,569.416L480.8,553.234L497.106,553.234L497.106,569.416L508.594,569.416L508.594,583.869L497.106,583.869L497.106,606.351C497.106,615.245 501.182,618.58 509.335,618.086ZM546.888,567.81C564.552,567.81 579.005,582.263 579.005,601.286C579.005,620.31 564.552,634.515 546.888,634.515C529.223,634.515 514.894,620.31 514.894,601.286C514.894,582.263 529.223,567.81 546.888,567.81ZM546.888,619.568C555.535,619.568 562.576,612.157 562.576,601.41C562.576,590.416 555.535,582.757 546.888,582.757C538.241,582.757 531.2,590.416 531.2,601.41C531.2,612.157 538.241,619.568 546.888,619.568Z" style="fill:white;"/></g></svg>');
    background-size: 70%;
    background-position: center 20%;
    background-repeat: no-repeat;
    -webkit-animation: 2s ease-out 0s both fadein;
    animation: 2s ease-out 0s both fadein;
}

.lingua>form>button {
    margin: calc(var(--marg)/2) calc(var(--marg)/2) calc(2 * var(--marg));
    padding: calc(var(--marg)/2) calc(var(--marg)/2.5);
    background-color: whitesmoke;
    border-radius: 5%;
    border: solid thin #ccc;
    cursor: pointer;
    color: #999;
}

.lingua>form>button:hover {
    box-shadow: 0 0 0.3em 0 rgb(0 0 0 / 25%);
    background-color: white;
    border-color: gray;
    color: black;
}

/* social media buttons */

.fundosocial {
    background-color: var(--cor);
    display: grid;
    place-items: center;
}

.social-media-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 0;
}

.social-media-buttons li {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    background-color: var(--cor2);
    place-items: center;
    transition: all 0.3s;
    border: 1px solid var(--cor2);
}

.social-media-buttons li a {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--cor);
}

.social-media-buttons li:hover {
    background-color: var(--cor);
    border: 1px solid var(--cor2);
    border-radius: 8px;
}

.social-media-buttons li a svg {
    height: 24px;
    width: 24px;
    stroke: var(--cor);
    stroke-width: 1.75;
    transition: 0.8s;
}

.social-media-buttons li:hover svg {
    stroke: var(--cor2);
    transform: rotateY(360deg);
    stroke-width: 1.75;
}


@media screen and (orientation:portrait) {
    .menu {
        left: -100vw;
        top: 0;
        z-index: 998;
    }

    .menu li {
        transform: translateX(200vw);
        width: 100vw;
        background-color: var(--on);
        box-shadow: 0 0 0.2em 0 rgb(0 0 0 / 50%);
    }

    .menu li:first-child {
        padding-top: calc(3 * var(--marg));
    }

    .nav-bar.ativo .menu li {
        transform: translateX(100vw);
    }

    article img {
        max-width: 100%;
        height: auto;
    }

    .destaque,
    .pevento {
        width: 100%;
        /* background-image: linear-gradient(to right top, rgba(var(--rgb), 1), rgba(var(--rgb2), 1)); */
        padding: calc(3 * var(--marg)) 0 0;
    }

    main>.destaque,
    .destaque+.pevento,
    main>.pevento {
        padding: 0;
    }

    header+nav+main {
        padding: calc(3 * var(--marg)) 0 0;
    }

    .destaque>ul>li>a {
        display: block;
        padding: var(--marg);
        background-color: var(--cor);
        opacity: 1;
        -webkit-animation: 8s both slide-left;
        animation: 8s both slide-left;
        animation-delay: 4s;
        color: var(--on);
        margin: 0;
        width: 100%;
        overflow: hidden;
        line-height: 150%;
        text-decoration: none;
    }

    .destaque>ul>li {
        aspect-ratio: 1/1;
    }

    .contentor>div {
        -webkit-animation: 8s both unslide-left;
        animation: 8s both unslide-left;
        animation-delay: 4s;
    }

    .eventos {
        padding: calc(var(--marg) / 2) calc(var(--marg) / 3);
    }

    .eventos article {
        padding: calc(var(--marg) / 2);
        margin-bottom: calc(var(--marg) / 2);
    }

    .pevento article {
        padding: var(--marg);
        margin-bottom: calc(var(--marg) / 2);
    }

    .evento {
        width: 100%;
    }

    .mostra {
        order: 2;
    }

    .menu_opcoes {
        order: 1;
    }

    .menu_dias {
        order: 3;
        -webkit-box-shadow: inset -3px 0 6px 0 rgba(0, 0, 0, 0.3),
            inset 0 4px 6px -3px rgb(255, 255, 255),
            inset 0 -4px 6px 3px rgb(255, 255, 255),
            inset 2px 0 6px 0 rgba(0, 0, 0, 0.3);
        -moz-box-shadow:inset -3px 0 6px 0 rgba(0, 0, 0, 0.3),
            inset 0 4px 6px -3px rgb(255, 255, 255),
            inset 0 -4px 6px 3px rgb(255, 255, 255),
            inset 2px 0 6px 0 rgba(0, 0, 0, 0.3);
        box-shadow:inset -3px 0 6px 0 rgba(0, 0, 0, 0.3),
            inset 0 4px 6px -3px rgb(255, 255, 255),
            inset 0 -4px 6px 3px rgb(255, 255, 255),
            inset 2px 0 6px 0 rgba(0, 0, 0, 0.3);
    }

    footer {
        padding: calc(var(--marg) / 2);
    }

    footer .bloco_apoios {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    footer .tagapoios,
    footer .apoios {
        padding: calc(var(--marg) / 4);
    }

    footer .apoio_tipo {
        margin-bottom: var(--marg);
    }

    .localinfo article:first-child {
        padding: var(--marg);
    }
}

@media screen and (orientation:landscape) {

    .menu {
        left: calc(3 * var(--marg));
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }

    section,
    footer {
        margin: auto;
    }

    .conteudos {
        padding-top: calc(2 * var(--marg));
    }

    .menu_filtros {
        /* flex-flow: row nowrap; */
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: 1fr;
    }

    .menu_opcoes li:last-child {
        flex-grow: 5;
    }

    .destaque {
        width: 100%;
        /* background-image: linear-gradient(to right top, rgba(var(--rgb), 1), rgba(var(--rgb2), 1)); */
        padding: calc(3 * var(--marg)) 0 0 0;
    }

    .destaque>ul>li>a {
        display: block;
        padding: var(--marg);
        background-color: var(--cor);
        opacity: 1;
        -webkit-animation: 8s both slide-left-alt;
        animation: 8s both slide-left-alt;
        animation-delay: 4s;
        color: var(--on);
        margin: auto;
        width: 45%;
        min-height: 35%;
        overflow: hidden;
        font-size: 120%;
        line-height: 140%;
        text-decoration: none;
        border-radius: calc(var(--marg)/4);
    }

    .destaque>ul>li {
        aspect-ratio: 16/8;
    }

    .contentor>div {
        -webkit-animation: 8s both unslide-left-alt;
        animation: 8s both unslide-left-alt;
        animation-delay: 4s;
    }

    .capa>ul>li {
        background-size: contain;
    }

    /* old destaque
/*     .destaque>ul>li>div.contentor {
        margin: calc(2 * var(--marg));
    } */

    .eventos {
        column-gap: 1.1%;
        row-gap: var(--marg);
        display: grid;
        grid-template-columns: 32.6% 32.6% 32.6%;
        margin-top: calc(3 * var(--marg));
    }

    .pevento,
    .localinfo {
        margin-top: calc(3 * var(--marg));
        padding: var(--marg);
        font-size: 110%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .destaque+.pevento,
    .localinfo {
        margin-top: 0;
    }

    .pevento article,
    .localinfo article {
        width: 46%;
    }

    .destaque+.menu_filtros+main>.eventos,
    .pevento+.eventos {
        margin-top: 0;
    }

    .eventos article,
    footer .apoios,
    footer .tagapoios,
    .pevento article,
    .localinfo article {
        padding: calc(var(--marg) / 2);
    }

    footer .apoios {
        max-width: 44%;
    }

    footer {
        padding: var(--marg);
    }

    footer .bloco_apoios,
    footer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    footer .bloco_apoios {
        align-items: center;
    }
}

@media screen and (orientation:landscape) and (max-width: 800px) {
    .eventos {
        column-gap: 2%;
        grid-template-columns: 49% 49%;
    }
}

@media screen and (orientation:landscape) and (min-width: 1281px) {
    .eventos {
        column-gap: 1%;
        grid-template-columns: 24.25% 24.25% 24.25% 24.25%;
    }
}

/* butoes menu */

.scroll-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    /* Ensure the container takes up full width */
    overflow: hidden;
    /* Prevents the container from expanding beyond its parent */
}

.scroll-wrapper {
    overflow-x: auto;
    flex-grow: 1;
    /* Ensure it's positioned relative to the container */
    display: flex;
    -webkit-overflow-scrolling: touch;
    /* For smooth scrolling on mobile devices */
}

.scroll-wrapper ul {
    display: flex;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-shrink: 0;
    /* Prevents shrinking */
}

.scroll-left,
.scroll-right {
    background: rgba(255, 255, 255, 0.8);
    /* Semi-transparent background */
    color: var(--cor);
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: none;
    /* Initially hidden */
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}