.c {
    align-items: center;
    justify-content: space-between;
    perspective: 100rem;
    height: 60vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.c-cards {
    position: relative;
    width: 20rem;
    height: 20rem;
    transform-style: preserve-3d;
    transform: translateZ(-25rem);
    transition: transform 0.3s ease-in;
}

.c-card {
    width: 100%;
    height: 100%;
    position: absolute;
    border: 2px solid white;
    border-radius: 0.2rem;
    font-size: 3em;
    font-weight: 700;
}

.c-img {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.c-card:nth-child(2) {
    transform: rotateY(72deg) translateZ(25rem);
}

.c-card:nth-child(3) {
    transform: rotateY(144deg) translateZ(25rem);
}

.c-card:nth-child(4) {
    transform: rotateY(216deg) translateZ(25rem);
}

.c-card:nth-child(5) {
    transform: rotateY(288deg) translateZ(25rem);
}

.c-card:nth-child(1) {
    transform: rotateY(0deg) translateZ(25rem);
}

.c__btn {
    outline: none;
    border: none;
    border-radius: 0.2rem;
    background: #00599c;
    padding: 0.5em 1em;
    font-size: 1.2em;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    margin: 0 2rem;
    margin-top: 20px;
}

.c__btn:hover {
    transform: scale(1.04);
    background: #000000;
}


.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }