

.card{
    position: relative;
    width: 100%;
    height: 250px;
    letter-spacing: 5px;
    background-color: #000000;
    
}

.card .face {
    position:absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
    
}

.card .front {
    transform: perspective(600px) rotateY(0deg) ;
    box-shadow: 0 5px 10px #000000;
}
.card .front img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .front h2 {
    position:absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 20px;
    color: #fff;
    background: rgb(0, 0, 0, .4);
    text-align:center;
    font-size: clamp(1em, 0.3vw, 0.3em);
    
    
}

.card .back{
    transform: perspective(600px) rotateY(180deg);
    background: rgb(163, 8, 8);
    padding: 15px;
    color: #ea850afb;
    display: flex;
    flex-direction: column;
    justify-content: space-between ;
    text-align: center;
    box-shadow: 0 5px 10px #000000 ;
}

.card .back .link {
    border-top: solid 1px  #ea850afb;
    height: 50px;
    line-height: 50px;
}
.card .back .link a {
 color: #ea850afb;
}

.card .back h2 {
    font-size: clamp(1em, 1vw, 1em);
    margin-bottom:  .5em;
    margin-top: 20px;
    letter-spacing: 0.8px;
}

.card .back p {
    letter-spacing: 1px;
    font-size: calc(0.8vw + 0.5em);
}

.card:hover .front{
    transform: perspective(600px) rotateY(180deg) ;
}

.card:hover .back{
    transform: perspective(600px) rotateY(360deg) ;
}

.cuadriculacard {
    width: 100%;
  
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .seccionimagenes {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .centrocuadricula {
    width: 920px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .classection{
    font-size: 15px;
  }

  .imglogo{
    margin-top: 10px;
    margin-bottom: 30px;
    margin-right: 100px;
    margin-left: 20px;
    
 }
 footer{
    margin-top: 50px;
    margin-bottom: 30px;
    margin-right: 100px;
    margin-left: 50px;
  }

  .textuno{
    text-align: justify;
    color: #fff;
    
  }

  
