@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
  --lpcd-oxford-blue: hsl(217, 54%, 11%);
  --lpcd-light-oxford-blue: hsl(216, 50%, 16%);
  --lpcd-indigo-dye: hsl(215, 32%, 27%);
  --lpcd-blue-yonder: hsl(216, 30%, 55%);
  --lpcd-aqua: hsl(178, 100%, 50%);
  --lpcd-white: hsl(0, 0%, 100%);
}
a.lpcd-btn {
  background: var(--lpcd-oxford-blue);
  color: white;
  padding: 13px 25px;
  border-radius: 10px;
  font-size: 14px;
  width: fit-content;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Outfit", sans-serif;
}

a {
  text-decoration: none;
}

.lpcd-card {
  background: var(--lpcd-light-oxford-blue);
  max-width: 350px;
  padding: 24px;
  border-radius: 15px;
  box-shadow: 8px 20px 25px 15px rgba(0, 0, 0, 0.05),
    0px 40px 30px 15px rgba(0, 0, 0, 0.1);
}

.lpcd-card-product-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.lpcd-card-product-img::after {
  --lpcd-aqua: hsla(178, 100%, 50%, 0.5);

  content: url("../img/icon-view.png");
  background: var(--lpcd-aqua);
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.25s ease;
}

.lpcd-card-product-img:hover::after {
  opacity: 1;
}

.lpcd-card-product-img img {
  width: 100%;
  display: block;
  height: 100%;
}
.lpcd-card-product-img {
  max-height: 200px;
}
.lpcd-card-body {
  padding: 23px 0;
  border-bottom: 1px solid var(--lpcd-indigo-dye);
  margin-bottom: 15px;
}

.lpcd-card-title {
  color: var(--lpcd-white);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
  transition: 0.6s;
}

.lpcd-card-title:hover {
  color: var(--lpcd-aqua);
}

.lpcd-card-text {
  color: var(--lpcd-blue-yonder);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 23px;
}

.lpcd-card-body .lpcd-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lpcd-card-category,
.lpcd-card-countdown {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.lpcd-card-category,
.lpcd-card-category span a {
  color: var(--lpcd-aqua);
  font-size: 14px;
}
.lpcd-card-countdown {
  color: var(--lpcd-blue-yonder);
  font-size: 14px;
}

.lpcd-card-icon {
  margin-right: 6px;
}

.lpcd-card-footer {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.lpcd-card-author-img {
  width: 34px;
  height: 34px;
  border: 2px solid var(--lpcd-white);
  border-radius: 50px;
  margin-right: 15px;
}

.lpcd-card-author-name {
  color: var(--lpcd-blue-yonder);
  font-weight: 500;
}

.lpcd-card-author-name a {
  color: var(--lpcd-white);
  font-weight: 400;
  transition: 0.6s;
}

.lpcd-card-author-name a:hover {
  color: var(--lpcd-aqua);
}
.lpcd-loop-cards-wrapper {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/***************** Secondary Cards CSS ****************/

.lpcd-d-flex {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: white;
  max-width: 100%;
  padding: 30px 0px;
}
.lpcd-blog-post-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lpcd-list-cards-wrapper {
  max-width: 100%;
  width: 100%;
  padding-left: 3rem;
}

.lpcd-blog-post-img {
  max-width: 300px;
  height: 300px;
  transform: translateX(-3rem);
  position: relative;
}

.lpcd-blog-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.3rem;
}

.lpcd-blog-post-img::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0.5rem 0.5rem 3rem 1px rgba(0, 0, 0, 0.05);
  border-radius: 0.3rem;
  cursor: pointer;
}

.lpcd-blog-post-img:hover::before {
  background-color: rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 1068px) {
  .lpcd-blog-post-img {
    min-width: 30rem;
    max-width: 30rem;
  }
}

@media screen and (max-width: 768px) {
  .lpcd-blog-post {
    flex-direction: column;
  }
  .lpcd-list-cards-wrapper {
    padding-left: 0px;
  }
  .lpcd-blog-post-info {
    padding: 15px;
  }
  .lpcd-blog-post-img {
    min-width: 100%;
    max-width: 100%;
    transform: translate(0, -2rem);
  }
}
