
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: hsl(217, 54%, 11%);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background-color: hsl(216, 50%, 16%);
  border-radius: 25px;
  width: 375px;
  padding: 1px;
}

.container h1,
.container p,
.container hr,
.container .info,
.container figure,
.image-wrapper {
  width: 80%;
  margin: 0 auto;
}

.image-wrapper {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  margin-top: 30px;
  margin-bottom: 30px;
}

.equilibrium {
  width: 100%;
  display: block;
  border-radius: 5px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsla(178, 100%, 50%, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 5px;
}

.image-wrapper:hover .overlay {
  opacity: 1;
}

.eye-icon {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

h1 {
  color: white;
  font-size: 24px;
  font-weight: 400;
  cursor: pointer;
}

h1:hover {
  color: hsl(178, 100%, 50%);
}

p.description {
  color: hsl(215, 51%, 70%);
  font-size: 18px;
  font-weight: 300;
  padding-top: 20px;
}

.info {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

.value,
.time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  white-space: nowrap;
}

.valuelogo,
.timelogo {
  height: 1em;
  width: auto;
}

span.value {
  color: hsl(178, 100%, 50%);
}

span.time {
  color: hsl(215, 51%, 70%);
  font-weight: 300;
}

hr {
  background-color: hsl(215, 32%, 27%);
  border: none;
  height: 2px;
}

figure {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
}

.avatar {
  width: 10%;
  height: auto;
  border: 2px solid white;
  border-radius: 50%;
  flex-shrink: 0;
}

figcaption {
  color: hsl(215, 51%, 70%);
  font-size: 14px;
}

.name {
  color: white;
  font-weight: 300;
  cursor: pointer;
}

.name:hover {
  color: hsl(178, 100%, 50%);
}
