/* html {
  box-sizing: border-box;
  font-size: 62.5%;
} */

/* *,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
} */

#imgcrds {
  padding: 0 1.5rem;
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f1f1f1;
  color: #333;
}

/* img {
  width: 100%;
  height: auto;
} */

.wrapper {
  max-width: 90%;
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding-top: 4rem;
  /* margin-bottom: 10rem; */
}

.cards {
  /* display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 4rem; */
}

.pen-title {
  display: block;
  grid-column: 1/-1;
  font-size: 4rem;
}
/* .bottom {
  font-size: 20%;
} */

.card {
  /* max-width: 500px; */
  width: 100%;
  height: auto;
  position: relative;
  padding: 63% 3% 4%;
  color: white;
  justify-self: center;
  transition: all 0.3s cubic-bezier(0.25, 0.45, 0.45, 0.95);
  border-radius: 21px;
}
.card {
  transform: scale(1.02);
}
.card:hover {
  transform: scale(1.07);
}
.card .card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.card .card-content .bottom h2 {
  font-size: 2.6rem;
}
.card .top {
  display: flex;
  justify-content: space-between;
  font-size: 1.8rem;
}
.card .top .name {
  font-size: 1.8rem;
}
.card .top .date {
  font-weight: bold;
  opacity: 0.8;
}
.card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card .bottom .bookmark {
  margin-left: 5rem;
  border: 2px solid white;
  padding: 0.7rem;
  border-radius: 50%;
}
.card .bottom .bookmark .bookmark-icn {
  fill: white;
}
.card .bottom .bookmark:hover {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
}
.card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 20px;
  overflow: hidden;
  z-index: -1;
}
.card .card-bg .bg-img {
  /* height: 100%; */
  object-fit: cover;
  vertical-align: middle;
}

.bg-img {
  object-fit: cover;
    width: 100%;
    height: 100vh;
}

.card .shadow {
  position: absolute;
  width: 90%;
  height: 100%;
  overflow: hidden;
  display: flex;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: -15px;
  z-index: -2;
  border-radius: 20px;
  filter: blur(15px);
}
.card .shadow .shadow-img {
  margin-top: 3rem;
  object-fit: cover;
}

.bottom {
  background: linear-gradient(to bottom, #0000009c  50%, #0000009c  50%);
  padding: 11px;
  border-radius: 14px;

}

nav#navbar {
  margin-left: auto !important;
  margin-right: 15px !important;
}
