/*******************/
/* COLORS */
/*******************/
:root {
  /* Primary Colors */
  --soft-blue: hsl(215, 51%, 70%);
  --cyan: hsl(178, 100%, 50%);

  /* Neutral Colors */
  --main-BG: hsl(217, 54%, 11%);
  --card-BG: hsl(216, 50%, 16%);
  --line: hsl(215, 32%, 27%);
  --white: hsl(0, 0%, 100%);
}
/*******************/
/* GENERAL STYLES */
/*******************/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
html {
  font-size: 62.5%;
}
body {
  font-family: "Outfit", sans-serif;
  box-sizing: border-box;
  background-color: var(--main-BG);
  line-height: 1;
}
/*******************/
/* CARD STYLES */
/*******************/
.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.content {
  background-color: var(--card-BG);
  width: 37rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 7px 29px 0 var(--main-BG);
  border-radius: 1.6rem;
}
.content__ImgBox {
  position: relative;
}
.content__img {
  width: 100%;
  border-radius: 1.1rem;
}
.content__img:hover {
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.5;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  background-color: var(--cyan);
  border-radius: 1.1rem;
  cursor: pointer;
  transition: all 0.5s linear;
  opacity: 0;
}
.content__ImgBox:hover .overlay {
  opacity: 0.5;
}
.eye-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 0.5s linear;
  opacity: 0;
}
.content__ImgBox:hover .eye-icon {
  opacity: 1;
}

.content__heading {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 600;
}
.content__heading:hover {
  color: var(--cyan);
  cursor: pointer;
  transition: all 0.3s;
}
.content__text {
  color: var(--soft-blue);
  font-size: 1.8rem;
  line-height: 1.5;
  font-weight: 300;
}
.content__secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content__price {
  color: var(--cyan);
  font-weight: 400;
  font-size: 1.6rem;
}
.icon {
  display: inline-flex;
  align-self: center;
  column-gap: 0.6rem;
}
.content__time__left {
  color: var(--soft-blue);
  font-size: 1.6rem;
}
.author__top__line {
  border-top: 2px solid var(--line);
}
.author__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.author__img {
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--white);
  border-radius: 10rem;
}
.author__text {
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
}
.author__text:hover {
  color: var(--cyan);
  cursor: pointer;
  transition: all 0.3s;
}
.author__text span {
  color: var(--soft-blue);
}
