.palco-tt {
    text-align: center;
    margin-top: 3%;
    margin-bottom: 0%;
    display: flex;
    align-items: anchor-center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

h3.palco1 {
    font-weight: 800;
    font-size: 4rem;
    color: #3e4d68;
}

h3.palco2 {
    font-weight: 800;
    font-size: 4rem;
    color: #ff8054;
    display: inline;
}
.palco-subt p {
    font-size: 1.9rem;
    color: #9e9d9d;
    width: 39%;
    margin:0px auto 0% auto;
}
.palco-subt {
    text-align: center;
}
.palco-itens-pai {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1%;
    margin-top: 6%;
}

.palco-card {
    width: 19%;
}

.efeito-palco {
    background: white;
    text-align: -webkit-center;
    padding: 11% 0;
    border-radius: 14px;
    border: 1px solid #dfdbdb;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
  transform-style: preserve-3d;
}
.efeito-palco:hover {
  transform: perspective(800px) rotateX(0deg); /* inclina pra trás */
}
.efeito-palco::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 9px;
  width: 100%;
 transition: transform 0.5s ease, opacity 0.5s ease;
}
.efeito-palco::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  display: block;
  height: 9px;
  width: 100%;
   transform: translateY(100%);
 transition: transform 0.5s ease, opacity 0.5s ease;
}
.cardefx1::before ,.cardefx1::after {
  background: #df3a3a;
}
.cardefx2::before, .cardefx2::after {
  background: #f48434;
}
.cardefx3::before, .cardefx3::after  {
  background: #1a80e6;
}
.cardefx4::before, .cardefx4::after {
  background: #8c53c6;
}
.cardefx5::before, .cardefx5::after {
  background: #28bdb1;
}
.efeito-palco:hover::before {
  transform: translateY(-100%);
  opacity: 0;
}
.efeito-palco:hover::after {
  transform: translateY(0);
  opacity: 1;
}
.palco-img img {
    width: 100%;
    height: auto;
    transition: 1s;
}
.efeito-palco a {
    color: inherit;
}
.efeito-palco:hover img {
    scale: 1.1;
    transition: 1s;
}
.palco-img {
    padding: 3% 12%;
}

.texto-palco h4 {
    font-size: 1.5rem;
    width: 80%;
    font-weight: 700;
}

p.cargo {
    font-size: 1.3rem;
    font-weight: 400;
    color: #ee875d;
    margin-top: 7%;
    margin-bottom: 0%;
}

p.localt {
    font-size: 1.4rem;
    font-weight: 500;
}
a:focus, a:hover {
    /* color: initial !important; */
    text-decoration: none !important;
}

.vejatodas-palco a {
    background: #212a3b;
    color: white;
    padding: 7px 20px;
    border-radius: 15px;
    display: block;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vejatodas-palco {
    justify-self: center;
    margin-top: 4%;
}
.vejatodas-palco a:hover {
transform: translateY(-8px);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
color: white !important;
}
.efeito-palco:hover a{
    color: black !important;
}
@media screen and (max-width:1100px) {
    .palco-itens-pai {
    justify-content: center;
    }
    .palco-card {
    width: 40%;
    margin-bottom: 3%;
    }
}

@media screen and (max-width:700px) {
    .palco-card {
    width: 48%;
    }
}

@media screen and (max-width:600px) {
    .palco-card {
    width: 60%;
    }
}