@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300&display=swap');

/*INICIO*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-flow: column;
    height: 100vh;
    font-family: 'Roboto Slab';
}

p {
    text-align: justify;
    line-height: 1.5;
    font-size: large;
    margin-bottom: .5rem;
}

.titulo-apoio-patrocinio {
    text-align: center;
}

h3,
h4 {
    padding: 1rem 0rem 1rem;
}

.header-contato {
    padding: 0rem;
}


/*FIM*/


/*VARIÁVEIS*/

:root {
    --black: #130f0d;
    --primary: #fd951f;
    --white: #f0f0f9;
    --margin-principal: 64rem;
    --gap-apoio: 1rem;
    --margin-topo: 70px;
}


/*VARIÁVEIS*/


/* 
{ - FORMATAÇÃO DO CABEÇALHO
*/

#logo img {
    width: 100%;
    max-width: 18rem;
    /* margin-right: 2rem; */
}

.header,
#menu {
    display: flex;
}

#menu {
    list-style: none;
    gap: 1.2rem;
}

#menu a {
    display: block;
    padding: .5rem;
    border-radius: 5px 5px 5px 5px;
    text-decoration: none;
    color: black;
}

#destaque {
    background-color: rgb(2, 82, 81);
    color: white !important;
    box-shadow: 2px 2px 5px hsl(0deg 0% 0% / 30%);
}

.menu-item:hover {
    border-radius: 5px;
    background: #09a66d;
    box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.35);
}

.menu-item.active {
    border-radius: 5px;
    background: #49cb5c;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25) inset;
}

#btn-mobile {
    display: none;
}

.header-fix-top,
.footer,
.footer-fix-button {
    flex-grow: 0;
}

.header-img {
    background-image: url(../img/fundo.png);
    background-size: contain;
    background-repeat: round;
}

.header-img img,
.header-img-top img {
    max-width: var(--margin-principal);
    width: 100%;
    margin: 0 auto 70px;
}

.header-img-top img {
    margin: 0 auto;
}


.header-img-top {
    background-image: url(../img/header-img-top-fundo.png);
}

.header {
    flex-grow: 0;
    flex-basis: var(--margin-topo);
    padding: 0.2rem 0rem;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    max-width: var(--margin-principal);
    margin: auto;
}

.header-img,
.header-img-top {
    display: flex;
}


/*
    } - FORMATAÇÃO DO CABEÇALHO
*/


/*INICIO - FORMATAÇÃO DO CONTEÚDO*/

.content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-basis: auto;
    background-image: url(../img/textura.png);
    background-position: center;
    background-attachment: fixed;
    /* background-image: linear-gradient(to bottom, #c1e5fa, #eacbdb);*/
    /* background: linear-gradient(0deg, rgba(234,203,219,1) 0%, rgba(193,229,250,1) 100%);*/
    /*background-position: center;*/
}

.content-scroll {
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.box {
    width: 100%;
    max-width: var(--margin-principal);
    margin: 0 auto;
    padding: 11px 6px;
}

.footer {
    flex-grow: 0;
    flex-basis: 20px;
    padding: 5px;
    display: flex;
    justify-content: center;
    background-color: #047c7b;
    color: white;
}


/*INICIO - SECÇÃO - APOIO*/

.apoio-patrocinio {
    padding: 1rem .1rem;
    /*     display: flex; */
    justify-content: center;
    align-items: center;
    gap: var(--gap-apoio);
    margin: auto;
    max-width: var(--margin-principal);
    width: 100%;
}

.apoio,
.patrocinio {
    display: flex;
    align-items: center;
    flex-grow: 1;
    width: 100%;
    gap: var(--gap-apoio);
}

.apoio {
    justify-content: space-around;
}

.patrocinio {
    justify-content: center;
}

.logo_apoio img {
    padding: 10px;
    width: 100%;
    height: 6rem;
}

#separador-vertical {
    height: 5rem;
}

#separador-horizontal {
    display: none;
}

.image-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    /* Permite que as imagens quebrem para a próxima linha */
}

.image-row img {
    margin: 5px;
    margin-right: 20px;
    max-width: 55%;
}

.linha-horizontal-rodape {
    width: 100%;
    height: 0;
    color: gainsboro;
}

.apoio-realizacao {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: gainsboro;
}


/*FIM - SECÇÃO - APOIO*/


/*FIM - FORMATAÇÃO DO CONTEÚDO*/


/*INICIO - FORMATAÇÃO DA PÁGINA DE PROGRAMAÇÃO*/

.td-sessao{
    background-color: #49cb5c !important;
}

.tab-links {
    display: flex;
    justify-content: center;
    gap: 5px;
    background-color: #232027;
    padding-top: 5px;
    border-radius: 5px 5px 0px 0px;
}

.btn_tab {
    border: none;
    background: transparent;
    text-transform: uppercase;
    padding: 10px 20px;
    outline: none;
    position: relative;
    cursor: pointer;
    font-size: x-large;
    color: var(--white);
}

.btn_tab.active {
    border: none;
    background: transparent;
    text-transform: uppercase;
    padding: 10px 20px;
    outline: none;
    position: relative;
    cursor: pointer;
    background-color: #09a76d;
    font-size: x-large;
    color: var(--white);
    border-radius: 5px 5px 0px 0px;
    width: 26%;
    font-family: 'Roboto Slab';
    font-weight: 600;
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
    }
}

.table-content {
    left: 0;
    border-radius: 0px 0px 5px 5px;
    border-top: 5px solid #09a76d;
    background: #09a76d;
    padding: 5px;
    border-collapse: separate;
    border-spacing: 5px;
    min-width: -webkit-fill-available;
}

.table-row-head {
    color: var(--white);
}

.table-content td {
    padding: 8px;
    text-align: center;
    background-color: #8de39a;
    text-align: center;
    box-shadow: 0px -1px 2px #000;
    border-radius: 2px;
    color: #27370a;
    /*     font-weight: 600; */
}

.table-content th {
    text-align: center;
    background-color: #261f29;
    text-align: center;
    box-shadow: 0px -1px 2px #000;
    border-radius: 2px;
    /*     font-weight: 600; */
    color: var(--white);
}


/* .table-content td {
    background-color: #A2CE4F;
} */


/*FIM - FORMATAÇÃO DA PÁGINA DE PROGRAMAÇÃO*/


/*INICIO - FORMATAÇÃO DA PÁGINA DE PALESTRANTES*/

.img-palestrantes {
    padding: .3rem;
    background-color: white;
    border-radius: .5rem;
}

.flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex img {
    max-width: 100px;
}


/*FIM - FORMATAÇÃO DA PÁGINA DE PALESTRANTES*/


/* INICIO - FORMATAÇÃO DA PÁGINA DE GALERIA */
/* Estilos para a galeria */
.gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnails img {
    width: 82px;
    height: 100px;
    cursor: pointer;
}

.full-image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro semi-transparente */
}

.full-image img {
    max-width: 90%; /* Tamanho máximo da imagem */
    max-height: 90vh; /* Altura máxima da imagem para caber na janela */
    object-fit: contain; /* Mantém a proporção da imagem */
}

/* FIM - FORMATAÇÃO DA PÁGINA DE GALERIA */

/*ESTILIZAÇÃO PARA FAZER AJUSTE DOS BOTOES DO CABECALHO PARA FORMATO DE MENU QUANDO CHEGAR NA RESOLUÇÃO CONFIGURADA*/

@media screen and (max-width: 1024px){
    #menu {
        display: block;
        position: absolute;
        width: 100%;
        top: var(--margin-topo);
        right: 0px;
        background: #ffffff;
        height: 0px;
        transition: .6s;
        z-index: 1000;
        visibility: hidden;
        overflow-y: hidden;
    }
    /* Quando o elemento de navegação nav tiver com a classe active */
    #nav.active #menu {
        height: 91vh;
        visibility: visible;
    }
    #menu a {
        text-align: center;
        padding: 1rem 0;
        margin: 0px 1rem;
        border-bottom: 2px solid rgba(0, 0, 0, .05);
    }
    /* Criação do botão de menu */
    #btn-mobile {
        display: flex;
        padding: .5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        gap: .5rem;
    }
    #hamburguer {
        display: block;
        border-top: 2px solid;
        width: 20px;
    }
    #hamburguer::after,
    #hamburguer::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        margin-top: 5px;
        transition: .3s;
        position: relative;
    }
    /*Transição do menu lista para o icone x*/
    #nav.active #hamburguer {
        border-top-color: transparent;
    }
    #nav.active #hamburguer::before {
        transform: rotate(135deg);
    }
    #nav.active #hamburguer::after {
        transform: rotate(-135deg);
        top: -7px;
    }
}

/*Exibição para resolução entre 500px a 768px*/

@media screen and (min-width: 500px) and (max-width: 768px) {

    .apoio-realizacao{
        justify-content: center;
    }
    

    .linha-horizontal-rodape {
        display: none;
    }

    .image-row {
        flex-direction: column;
    }

    
    .hifen {
        display: block;
    }
    .apoio,
    .patrocinio {
        gap: 1rem;
        justify-content: center;
        flex-direction: column;
    }
    .box-patrocinio {
        margin-top: 1rem;
    }
    #separador-vertical {
        display: none;
    }
    #separador-horizontal {
        display: block;
        width: 6rem;
    }
    .apoio-patrocinio {
        flex-direction: column;
        gap: unset;
    }
    .box {
        padding: 20px;
    }
    .image-row {
        flex-wrap: wrap;
    }
    .image-row img {
        max-width: 95%;
    }
    #img-ufba {
        max-width: 70%;
    }
    .table-content td,
    .table-content th {
        padding: 0px;
        /* Reduz o espaçamento interno */
        font-size: 12px;
        /* Tamanho de fonte menor */
    }

    .table-content {
        left: 0;
        border-radius: 0px 0px 5px 5px;
        border-top: 5px solid #71AF5F;
        background: #71AF5F;
        padding: 2px;
        border-collapse: separate;
        border-spacing: 3px;
        min-width: -webkit-fill-available;
    }
}

/*ESTILIZAÇÃO PARA RESOLUÇÕES ABAIXO DE 480PX - SMARTPHONE DE BAIXA RESOLUÇÃO*/

@media screen and (max-width: 499px) {

    .apoio-realizacao{
        justify-content: center;
    }
    
    .linha-horizontal-rodape {
        display: none;
    }

    .image-row {
        flex-direction: column;
    }

    .table-content {
        left: 0;
        border-radius: 0px 0px 5px 5px;
        border-top: 5px solid #71AF5F;
        background: #71AF5F;
        padding: 2px;
        border-collapse: separate;
        border-spacing: 3px;
        min-width: -webkit-fill-available;
    }

    .table-content td,
    .table-content th {
        padding: 1px;
        /* Reduz o espaçamento interno */
        font-size: 9px;
        /* Tamanho de fonte menor */
    }
}
