@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
  /* ### Primary */
  font-family: "Outfit", sans-serif;
  --Blue-500: hsl(215, 51%, 70%);
  --Cyan-400: hsl(178, 100%, 50%);

  /* ### Neutral */
  --Blue-950: hsl(217, 54%, 11%);
  --Blue-900: hsl(216, 50%, 16%);
  --Blue-800: hsl(215, 32%, 27%);
  --White: hsl(0, 0%, 100%);
}

p {
  color: var(--Blue-500);
  font-size: 18px;
}

body {
  background-color: var(--Blue-950);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

.container {
  background-color: var(--Blue-950);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
}

.card {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  min-width: 500px;
}

.top {
  display: flex;
  justify-content: center; /* center horizontally */
  position: relative;
  height: auto;
}

.bottom {
  display: flex;
  flex-direction: column;
  padding: 0px 40px 40px 40px;
  height: 50%;
  color: white;
}

.main_img {
  width: 450px;
  border-radius: 20px;
  display: block;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0%;
  width: 88%;
  height: 100%;
  border-radius: 20px;
  transition: opacity 0.3s ease;
}

.overlay img {
  width: 150px;
  height: auto;
}

.overlay:hover {
  opacity: 100%;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

ul {
  padding-bottom: 10px;
  border-bottom: 0.1px solid var(--Blue-800);
  list-style: none;
  display: flex;
  padding-left: 0;
}

.cost {
  margin-right: auto;
  color: var(--Cyan-400);
  font-size: 20px;
}

.time {
  margin-left: auto;
  color: var(--Blue-500);
  font-size: 20px;
}

.author img {
  width: 30px;
  margin-right: 10px;
  border: 2px solid white;
  border-radius: 50%;
}

.author {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
}

.creation {
  color: var(--Blue-500);
  margin-right: 5px;
}

.name {
  color: white;
  transition: color 0.5s ease;
}

.name:hover {
  color: var(--Cyan-400);
  cursor: pointer;
  transition: color 0.5s ease;
}

h1 {
  color: white;
  transition: color 0.5s ease;
}

h1:hover {
  color: var(--Cyan-400);
  cursor: pointer;
  transition: color 0.5s ease;
}
