/* RESET - Start */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*RESET - stop*/
body {
  inline-size: 100vw;
  block-size: 100vh;
  background-color: rgb(13, 25, 44);
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 100%;
  block-size: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  inline-size: 21.875rem;
  block-size: 37.25rem;
  background-color: rgb(21, 38, 63);
  padding: 1.5rem;
  border-radius: 0.9375rem;
  font-family: "Outfit", sans-serif;
}
.card__hero-container {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}
.card__hero-container::after {
  content: "";
  position: absolute;
  background: url("../images/icon-view.svg") no-repeat center rgba(0, 255, 248, 0.5);
  top: 0;
  left: 0;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  transition: 0.5s;
}
.card__hero-container:hover::after {
  opacity: 1;
}
.card__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.card__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card__title {
  color: rgb(255, 255, 255);
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 600;
  text-decoration: none;
  transition: 0.5s;
}
.card__title:hover {
  color: rgb(0, 255, 248);
}
.card__desc {
  color: rgb(139, 172, 217);
  font-size: 1.125rem;
  font-weight: 300;
}
.card__price-time-container {
  display: flex;
  justify-content: space-between;
}
.card__price, .card__time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card__price-text {
  color: rgb(0, 255, 248);
  font-size: 1rem;
  font-weight: 600;
  text-wrap: nowrap;
}
.card__time-text {
  color: rgb(139, 172, 217);
  font-size: 1rem;
}
.card__divider {
  color: rgb(46, 64, 90);
  height: 1px;
}
.card__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.card__avatar-container {
  border: solid 1px rgb(255, 255, 255);
  border-radius: 50%;
}
.card__author {
  color: rgb(139, 172, 217);
  font-size: 1rem;
}
.card__name {
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: 0.5s;
}
.card__name:hover {
  color: rgb(0, 255, 248);
}
