<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10vmin;
  overflow: hidden;
  transform: skew(5deg);
}

.card {
  flex: 1;
  transition: all 1s ease-in-out;
  height: 75vmin;
  width: 40vw;
  position: relative;
}

.card__head {
  color: black;
  background: #4CAF50;
  padding: 0.5em;
  transform: rotate(-90deg);
  transform-origin: 0% 0%;
  transition: all 0.5s ease-in-out;
  min-width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 1em;
  white-space: nowrap;
}
/* ===================================================== */
.card:hover {
  flex-grow: 10;

  /* img {
    filter: grayscale(0);
  } */

  .card__head {
    text-align: center;
    top: calc(100% - 2em);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    font-size: 2em;
    transform: rotate(0deg) skew(-5deg);
  }
}
/* .card .card__head:hover {
  text-align: center;
  top: calc(100% - 2em);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  font-size: 2em;
  transform: rotate(0deg) skew(-5deg);
} */
.card img:hover{
  filter: grayscale(0);

}
/* ===================================================== */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s ease-in-out;
  filter: grayscale(100%);
}

.card:not(:nth-child(5)) {
  margin-right: 1em;
}

.comp-info{
  display: none;
  overflow: scroll;
}


/* ======================================= */
.card--active {
    flex-grow: 10;
    border: solid 1px #4CAF50;
    overflow-y: scroll;
    
   
}
.card--active img {
  filter: grayscale(0);
  display: none;
}

.card--active .card__head {
  text-align: center;
  top: calc(100% - 2em);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  font-size: 2em;
  transform: rotate(0deg) skew(-5deg);
  display: none;
}
.card--active .comp-info{
  display:flex;
  height: 100%;
  flex-direction: column;
  padding: 20px;
  overflow:visible ;
}
.card--active .btn{
  background-color: #4CAF50;
  color: white;
  border: none;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 20px;
  margin: 8px 0;
  border-radius: 10px;
  opacity: 0.8;
  width: max-content;
  align-self: center;
  
}
.card--active .btn:hover{
  opacity: 1;
}</pre></body></html>