.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  justify-content: center;
  padding: 20px;
}        

.teamuca {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Media Queries para responsividade */
@media (max-width: 768px) {
  .gallery-container {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
        
  /* Estiliza elementos com classe 'fundoverdeUCA' */
  .fundoverdeUCA {
    background-color: #0DE4B8;
    color: black;
    padding: 80px;
  }

  /* Estiliza elementos com classe 'titulopretoUCA' dentro de uma 'span' */
  .titulopretoUCA span {
    background-color: #000 !important;
    padding: 16px 10px 5px 10px;
    font-weight: bold;
    color: white;
    font-size: 34px;
    text-transform: uppercase;
    line-height: 50px;
  }

  /* Estiliza elementos com classe 'tituloamareloUCA' dentro de uma 'span' */
  .tituloamareloUCA span {
    background-color: #ffbf00 !important;
    padding: 13px 10px 2px 10px;
    font-weight: bold;
    color: #000;
    font-size: 24px;
    text-transform: uppercase;
  }

   /* Rodapé da página */
  .footer {
  position: flex;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #DF2866;
  color: white;
  text-align: center;
}

  /* Estiliza elementos com classe 'alturaUCA' */
  .alturaUCA {
    padding: 60px 60px 10px 60px;
  }

  /* Estiliza elementos com classe 'menuUCA' */
  .menuUCA {
    padding: 13px 10px 5px 0px;
    font-weight: bold;
    color: white;
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
  }

  /* Estiliza links dentro de elementos 'li' dentro de elementos com classe 'menuUCA' */
  .menuUCA li a {
    color: white;
    text-decoration: none;
    font-size: 24px;
  }

  /* Estiliza elementos 'span' quando hover dentro de elementos 'li' dentro de elementos com classe 'menuUCA' */
  .menuUCA li span:hover {
    padding: 0px 0px -30px 0px;
    cursor: pointer;
    border-bottom: 3px solid #00e7ff;
    -webkit-transition: all 300ms;
    transition: all 300ms;
  }

  /* Estiliza links e âncoras quando hover */
  .uk-link:hover,
  a:hover {
    color: #059;
    text-decoration: underline;
  }

  /* Estiliza links e âncoras quando ativos ou em hover */
  a:active,
  a:hover {
    outline: 0;
  }

  /* Estiliza links e âncoras com classes 'uk-link' e 'a' */
  .uk-link,
  a {
    color: #07D;
    text-decoration: none;
    cursor: pointer;
  }

  /* Estiliza elementos com classe 'definetexto' */
  .definetexto {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 20px;
    text-transform: none;
  }

  /* Estiliza elementos com classe 'close' */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  /* Estiliza elementos com classe 'close' quando hover ou foco */
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  /* Estiliza elementos com classe 'teamuca' */
  .teamuca {
    height: 190px;
    width: 190px;
    overflow: hidden;
    position: relative;
    padding: 0.723px;
  }

  /* Estiliza imagens dentro de elementos com classe 'teamuca' */
  .teamuca img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .textoteamuca {
    font-size: 12px;
    line-height: 13px !important;
    font-weight: normal;
  }

  /* Media query para telas menores que 820px (Tablet) */
  @media only screen and (max-width: 820px) {

    .titulopretoUCA span {
      font-size: 30px;
    }
  }

  /* Media query para telas menores que 768px (celulares) */
  @media only screen and (max-width: 768px) {


    .alturaUCA {
      padding: 30px 30px 5px 30px;
    }

    .titulopretoUCA span {
      padding: 10px 6px 3px 6px;
      font-size: 16px;
      height: 50%;
    }

    /* Estiliza elementos com classe 'tituloamareloUCA' dentro de uma 'span' */
    .tituloamareloUCA span {
      font-size: 15px;
    }

    /* A partir daqui, adicione os estilos específicos para telas menores */
    .fundoverdeUCA {
      padding: 40px;
      /* Outros ajustes necessários */
    }

    .alturaUCA {
      padding: 30px;
      /* Outros ajustes necessários */
    }

    .menuUCA {
      font-size: 20px;
      line-height: 25px;
      /* Outros ajustes necessários */
    }

    .menuUCA li a {
      font-size: 20px;
      /* Outros ajustes necessários */
    }

    .definetexto {
      font-size: 16px;
      /* Outros ajustes necessários */
    }

    /* Estiliza elementos com classe 'teamuca' */
    .teamuca {
      height: 120px;
      width: 120px;
    }

    /* Estiliza imagens dentro de elementos com classe 'teamuca' */
    .teamuca img {
      width: 80%;
      height: 80%;
      object-fit: cover;
    }

    .textoteamuca {
      font-size: 6px;
      line-height: 7px !important;
    }

    .h2,
    h2 {
      font-size: 1rem;
    }
  }