.active{
    background-color: #B2C9D2;
    font-size: xx-large;
    font-weight: bolder;
    border: 1px solid black;
}
.docker{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
}

.card {
    width: 260px;
    height: 254px;
    position: relative;
    border-radius: 40px;
    transition: all 0.8s;
    perspective: 600px;
    perspective-origin: center bottom;
  }
  
  .upper-part {
    width: 260px;
    height: 65%;
    border-radius: 40px 40px 0 0;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.9s;
  }
  
  .upper-part-face,
  .upper-part-back {
    text-align: center;
    background-color: lightgray;
    color: purple;
    border: 3px solid purple;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 260px;
    height: 100%;
    padding: 15px;
    border-radius: 40px 40px 0 0;
    font-weight: bold;
    z-index: 2;
    backface-visibility: hidden;
    transition: all 0.6s;
  }
  
  .upper-part-back {
    font-size: small;
    background-color: purple;
    color: lightgray;
    transform: rotatex(180deg);
  }
  
  .lower-part {
    width: 260px;
    height: 35%;
    border-radius: 0 0 40px 40px;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: center top;
    transition: all 0.9s;
  }
  
  .lower-part-face,
  .lower-part-back {
    background-color: purple;
    width: 294px;
    height: 100%;
    color: lightgray;
    font-weight: bold;
    position: absolute;
    border-radius: 0 0 40px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(0, -0.8px);
    backface-visibility: hidden;
    z-index: 2;
  }
  
  .lower-part-back {
    backface-visibility: visible;
    border-radius: 40px;
    color: purple;
    background-color: lightgray;
    transform: rotateX(180deg);
    z-index: 1;
    transition: border-radius 0.6s;
  }
  
  .card:hover > .upper-part {
    transform: rotatex(-0.5turn);
  }
  
  .card:hover > .lower-part {
    transform: translateY(88.3px) rotateX(0.5turn);
  }
  
  .card:hover > .lower-part > .lower-part-back {
    border: 3px solid purple;
    border-radius: 0 0 40px 40px;
  }