html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;

  background-color: #3a3a3a;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

footer {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c5c5c5;
  font-size: 10pt;
}

.section {
    min-height: 100vh;
    padding: 3rem 0;
}

.pageTitle {
    font-size: 20pt;
    text-align: center;
}

.textDetail {
    color: #296567;
}
.textAccent {
    color: #cb6ce6;
}
.textDetail2 {
    color: #e05a47;
}

.inicio {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.inicioTitle, .inicioSubtitle, .inicioLegend, .inicioDatas{
    max-width: 700px;
    color: #ffd684;
    text-align: center;
    margin-bottom: 20px;
}

.inicioTitle {
    font-size: 30pt;
    font-weight: 700;
}

.inicioSubtitle {
    font-size: 20pt;
    margin-bottom: 30px;
}

.inicioLegend {
    font-size: 16pt;
    color: #ffffff;
    font-weight: 300;
}

.inicioDatas {
    font-size: 25pt;
    color: #5ce1e6;
    font-weight: 600;
}

.objetivo {
    min-height: auto;
    color: #ffffff;
}

.noticias {
    min-height: auto;
    background-color: #fefefe;
}

.inscricoes {
    min-height: auto;
    background-color: #fefefe;
}

.inscricoesContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
}


.programacao {
    min-height: auto;
    background-color: #dfdfdf;
}

.programacaoContent, .programacaoContentBorder {
    padding: 15px 0 20px 0;
}

.programacaoContent p:last-child, .programacaoContentBorder p:last-child {
    margin-bottom: 0;
}

.programacaoContentBorder {
    border-top: 1px solid #9e9e9e;
    border-bottom: 1px solid #9e9e9e;
}

.programacaoTitle {
    text-decoration: none;
}

.programacaoDescription {
    margin-bottom: 2rem;
}

.programacaoAuthors {
    font-size: 10pt;
}

.programacaoAuthors:not(:first-child) {
    margin-top: 15px;
}

.contato {
    min-height: auto;
    color: #ffffff;
}

.buttonLink {
    padding: 20px;
    width: 20vw;

    background-color: #e05a47;
    color: #ffffff;

    text-decoration: none;

    transition: all 0.5s;
}

.buttonLink:hover {
    text-decoration: none;

    background-color: #b8493a;
    color: #ffffff;
    
}

.nav {
    color: #ffffff;
    background-color: #3a3a3a;
}

.nav li {
    color: #ffffff;
    padding: 0 20px;
}

.nav li a {
    cursor: pointer;
}

.card {
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s;
  }


  .card:hover {
    transform: scale(1.05);
  }

  .card img {
    width: 100%;
    display: block;
  }

    /* Modal */
    .modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8);
    justify-content: center; 
    align-items: center;
    }

    .modal-content {
    max-width: 90vw;  /* limite de largura */
    max-height: 90vh; /* limite de altura */
    width: auto;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }

    .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    }
    .central {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .conferencista-card {
        background: #fff;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);        
    }
    

    .conferencista-box {
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
    }

    /* Padroniza tamanho da foto
    .foto-conferencista-wrapper {
        width: 100%;
        max-height: 280px;
        overflow: hidden;
        border-radius: 6px;

        
    } */

    .foto-conferencista-wrapper {
        width: 100%;
        height: 260px;          /* padrão fixo */
        overflow: hidden;
        border-radius: 6px;
        background: #f2f2f2;    /* fundo cinza para as bordas */
        display: flex;
        align-items: center;
        justify-content: center;
    }    

    .foto-conferencista {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /*object-fit: cover;  ajusta fotos despadronizadas */
    }

    .nome-conferencista {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 6px;
    }


    .descricao-conferencista {
        font-size: 15px;
        color: #555;
        text-align: justify;
    }

    
/* GALEIRA */

.galeria{
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgb(65, 65, 65);
    padding: 50px;

    color: white;

    hr {
        border-color: white;
    }

    .galeria-container {
        max-width: 800px;

        .images {
            display: grid;
            gap: 20px;
            min-height: 600px;

            padding: 10px;

            grid-template-columns: repeat(3, minmax(225px, 1fr));

            img {
                width: 100%;
                height: 100%;
                max-height: 300px;
                object-fit: cover;
                
                border-radius: 6px;
                transition: transform 0.3s ease, filter 0.3s ease;
            }

            img:hover{
                filter: brightness(0.7);
                transform: scale(1.1);
            }
        }
    }
}

@media (max-width: 900px) {
    .galeria{
        .galeria-container {
            .images {
                grid-template-columns: repeat(2, minmax(225px, 1fr));
            }
        }
    }
}

@media (max-width: 600px) {
    .galeria{
        .galeria-container {
            .images {
                grid-template-columns: repeat(1, minmax(225px, 1fr));
            }
        }
    }
}


.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);

    display: none;
    justify-content: space-between;
    align-items: center;
    cursor: zoom-out;

    div{
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        cursor: zoom-out;
    }

    b{
        color: white;
        font-size: 18px;
    }

    img{
        max-height: 70%;
        border-radius: 10px;
        box-shadow: 0 0 25px rgba(0,0,0,0.8);
        cursor: zoom-out;
    }
}


@media (max-width: 600px) {
    .lightbox {
        img{
            max-width: 100%;
        }
    }
}