.card {
  margin-top: var(--one-section-margin);
  min-height: 500px;
  height: 60svh;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
}

.card .banner {
  overflow: hidden;
  position: relative;
}

.card-logo {
  position: absolute;
  top: 30px;
  left: 30px;
}

.card .directory {
}

.card .button-container {
  height: 25px;
  position: relative;
  display: flex;
  justify-self: center;
  align-items: center;
}

.card .button-mask {
  position: absolute;
  width: 28vh;
  height: 28svh;
  z-index: 1;
  background-color: var(--dark-blue);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
}

.card .button {
  position: absolute;
  width: 22svh;
  height: 22svh;
  background-color: var(--white);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
}

.card .directory {
  display: flex;
  flex-direction: row;
  gap: 25px;
}

.comment {
  flex: 1;
  padding: 10px;
}

.dir {
  margin-top: auto;
  height: 58%;
  background: linear-gradient(to bottom, var(--white), #acacac);
  position: relative;
}

.paper {
  position: absolute;
  margin: 10px;
  width: calc(100% - 20px);
  height: 50%;
  background: var(--white);
  box-shadow: 0 -1px 8px rgba(32, 32, 32, 0.342);
  border-radius: 10px;
}

.paper:nth-child(2) {
  top: 5px;
  left: 0;
  z-index: 1;
}

.paper:nth-child(3) {
  top: 5px;
  left: 0;
  z-index: 2;
}

.paper:nth-child(4) {
  top: 25px;
  left: 0;
  z-index: 3;
}

.dir-face {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 65%;
  z-index: 4;
  border-radius: 10px;

  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  transform-origin: bottom center;
}

.dir-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.dir-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(2px 2px 8px rgba(32, 32, 32, 0.342));
}

.dir-button {
  width: 100%;
  height: 100%;
  position: absolute !important;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px 10px 10px;
}

.doc,
.review {
  height: 100%;
  width: 100%;
  display: flex;
  overflow: hidden;
  flex-direction: column;
}

.directory-button {
  width: 100%;
  font-size: 20px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-items: center;
}

.doc,
.review {
  flex: 1;
}
.doc {
  perspective: 1200px;
}

.doc.active .dir-face {
  transform: rotateX(-45deg);
}

.doc.active .dir-face img {
  transition-delay: 0.05s;
  filter: drop-shadow(2px 2px 13px rgba(32, 32, 32, 0.342));
}

.paper {
  transition: transform 0.3s ease;
}

.doc.active .paper:nth-child(3) {
  transform: translateY(16px);
  transition-delay: 0.05s;
}

.doc.active .paper:nth-child(4) {
  transform: translateY(22px);
  transition-delay: 0.1s;
}
