/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
*::before,
*::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  background: hsl(217deg, 54%, 11%);
}

.attribution {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: hsl(216deg, 50%, 16%);
  font-family: "Outfit", sans-serif;
  width: 328px;
  height: 540px;
  border-radius: 10px;
}
.card__image {
  overflow: hidden;
  width: 278px;
  height: 278px;
  border-radius: 8px;
  margin: 25px;
}
.card__details {
  color: white;
  margin: 0 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid hsl(215deg, 32%, 27%);
}
.card__details__header a {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  color: hsl(0deg, 0%, 100%);
}
.card__details__header a:hover {
  color: hsl(178deg, 100%, 50%);
}
.card__details__copy {
  font-size: 16px;
  font-weight: 300;
  line-height: 150%;
  color: hsl(215deg, 51%, 70%);
  margin-top: 10px;
}
.card__details__container {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.card__details__container__price {
  display: flex;
}
.card__details__container__price p {
  margin: 0 5px;
  color: hsl(178deg, 100%, 50%);
}
.card__details__container__time {
  display: flex;
}
.card__details__container__time img {
  width: 16px;
  height: 16px;
  align-self: center;
}
.card__details__container__time p {
  margin: 0 5px;
}
.card__creator {
  margin: 25px;
  display: flex;
  align-items: center;
}
.card__creator img {
  width: 32px;
  border-radius: 50%;
  border: 1px solid hsl(0deg, 0%, 100%);
}
.card__creator p {
  color: hsl(215deg, 51%, 70%);
  margin: 0 10px;
}
.card__creator p a {
  text-decoration: none;
  color: white;
}
.card__creator p a:hover {
  color: hsl(178deg, 100%, 50%);
}

@media (min-width: 400px) {
  .card {
    width: 350px;
    height: 600px;
  }
  .card__image {
    width: 300px;
    height: 300px;
  }
  .card__image__overlay {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(0, 255, 247, 0.25);
    padding: 126px;
    border-radius: 8px;
    opacity: 0;
  }
  .card__image__overlay:hover {
    opacity: 1;
  }
  .card__details__copy {
    font-size: 18px;
  }
}/*# sourceMappingURL=styles.css.map */