/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
  }
  
  body {
    font-family: 'IBM Plex Serif', serif;
    /* background: #f5f5f5; */
    background:white;
    color: #333;
    padding: 0 0rem;
    font-size: 10pt;
  }
  
  header {
    width: 100%;
    background:white;
    color: black;
    padding: 1rem;
    /* border-bottom: 1px solid #ccc; */
  }
  
  nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 50px;
  }
  
  nav a {
    padding: 10px;
    color: black;
    font-weight: bold;
    margin-right: 1rem;
    text-decoration: none;
  }
  
  nav a.active {
    color: #b3b1a1;
    font-weight: bold;
  }

  nav a:visited {
      color: black;
    font-weight: bold;
  }

.playGame:link{
    color: #b3b1a1;
    font-weight: bold;
  }

  .playGame:visited {
    color: #b3b1a1;
    font-weight: bold;
  }

  .playGame.active{
     color: #b3b1a1;
    font-weight: bold;
  }


  main {
    padding: 0rem 2rem;
  }
  
  h1, h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  section {
    margin-bottom: 4rem;
  }

  button {
    font-family: inherit;
  }

  .title{
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #b3b1a1;
  }

  .subtitle{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #b3b1a1;
    text-transform: capitalize;
  }

  .header{
    display: flex;
  }
  

  #site-footer {
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #333;
    border-top: 1px solid #ccc;
  }

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

    padding: 1rem;
    color: #333;
  }
  /* HERO*/

  .hero {
    margin-bottom: 1rem;
    padding: 2rem;
      }
  

  
  .hero p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

.heroLink{
    text-decoration: none;
    color: #000;
  }

  /* MODAL */

  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    position: relative;
    max-width: 80%;
  }
  
  .modal video {
    width: 100%;
    border-radius: 6px;
  }
  
  .modal .close {
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  /* Filtros e pesquisa */
  .filters,
  .search {
    margin-bottom: 1rem;
  }
  
  .filters button {
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    background:white;
    cursor: pointer;
  }
  
  .filters button.active {
    background: #b3b1a1;
    color:black;
  }
  
  .search input {
    padding: 0.5rem;
    width: 100%;
    min-height: 50px;
    /* max-width: 400px; */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
  }
  
  /* Cards gerais (jogos, projetos, docentes) */
  .flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .card {
    background: white;
    border-radius: 4px;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    overflow: hidden;
    transition: transform 0.2s;
    width: calc(25% - 1.125rem);
    min-width: 100px;
    text-align: left;
  }
  
  .card:hover {
    transform: scale(1.02);
  }
  
  .card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  
  .card-content {
    
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content:right
  }
  
  
  .card-content h3 {
    margin-bottom: 1rem;
  }

  
  .card-content a {
    color: #b3b1a1;
    text-decoration: none;
    font-weight: bold;
  }


  
  /* Publicações */
  ul {
    margin-top: 2rem;
    padding-left: 1.5rem;
  }
  
  li {
    margin-bottom: 1rem;
  }
  
  /* Tags e links adicionais */
  .tag {
    display: inline-block;
    background: #eee;
    color: #333;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }
  
  .more-link {
    width: 100%;
    text-align: right;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }
  
  
  
  .more-link a {
    text-decoration: none;
    font-weight: bold;
    color: #0066cc;
  }

  /* autores e orientadores */




.titulo{
  font-size: 0.8rem;
 
}

  .autor {
    
    font-size: 0.6rem;
    font-weight: normal;
    /* margin-top: 1rem; */
    margin-bottom: 0.25rem;
  }

  .orientadores {
    font-size: 0.6rem;
    font-weight: normal;
    margin-top: 0;
    
  }

  .publications li{
    
    list-style: none;
    margin-bottom: 2rem;
  }


  /* TABELAS */
  .curriculum{
  padding: 1rem;
  }

  .curriculum-table {
    width: 80%;
    border-collapse: collapse;
    margin: 0 auto;
    margin-top: 2rem;

  }
  
  .curriculum-table th,
  .curriculum-table td {
    border: 1px solid #ccc;
    padding: 0.5rem;

  }
  
  .curriculum-table th {
    background-color: #deddd9;
  }
  
  .curriculum-table .year {
    background-color: white;
    font-weight: bold;
    text-align: center;
  }

  .semestre, .ac, .ects{
    text-align: center;
  }

  /* MEDIA QUERIES */
  @media (max-width: 768px) {
    .flex-container {
      flex-direction: column;
      gap: 2rem;
    }
  
    .card {
      width: 100%;
      min-width: unset;
    }
  }