/* CSS Reset */
/* Resetting margins, paddings, and borders */
html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
em, small, strong,
sub, sup,
mark, del, ins, strike,
abbr, dfn,
blockquote, q, cite,
code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,
tbody, tfoot, thead,
tr, th, td {
  border: 0;
  margin: 0;
  padding: 0;
}

/* Box sizing */
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Sizing - Height */
body {
  min-height: 100vh;
}

/* Typography */
body {
  font-size: 1rem;
  line-height: 1.5;
}

* {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

a,
a:visited {
  color: inherit;
}

/* Resetting specific element styles */
ol,
ul {
  list-style: none;
}

img,
video {
  max-width: 100%;
}

img {
  border-style: none;
}

a {
  text-decoration: none;
}

/* Basic rules */
body {
  background-color: hsl(217, 54%, 11%);
  font-family: 'Outfit', sans-serif;
}

.container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 30px;
}

.card {
  background-color: hsl(216, 50%, 16%);
  border-radius: 15px;
  flex-basis: 340px;
  padding: 20px;
}

.card__aside {
  cursor: pointer;
  display: flex;
  position: relative;
}

.card__image {
  border-radius: 7.5px;
}

.card__image--mask {
  align-items: center;
  background-color: rgba(0, 255, 247, 0.438);
  border-radius: 7.5px;
  display: flex;
  height: 0;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: all .3s;
  width: 100%;
}

.card__aside:hover .card__image--mask {
  height: 100%;
  opacity: 1;
  transition: all .5s;
}

.card__header {
  margin-top: 20px;
}

.card__title {
  color: hsl(0, 0%, 100%);
  cursor: pointer;
  display: inline-block;
  font-size: 1.3rem;
  transition: all .3s;
}

.card__title:hover {
  color: hsl(178, 100%, 50%);
  transition: all .3s;
}

.card__body {
  border-bottom: 2px solid hsl(215, 32%, 27%);
  margin-top: 15px;
  padding-bottom: 10px;
}

.card__copy {
  color: hsl(218.8,14.8%,54.9%);
  font-size: 1.125rem;
}

.card__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 15px;
}

.card__info-item {
  align-items: center;
  display: flex;
}

.card__info-item:first-child {
  color: hsl(178, 100%, 50%);
}

.card__info-item:last-child {
  color: hsl(218.8,14.8%,54.9%);
}

.card__icon {
  margin-right: 7px;
}

.card__footer {
  align-items: center;
  display: flex;
  margin-top: 15px;
}

.card__avatar {
  border: 1px solid hsl(0, 0%, 100%);
  border-radius: 50%;
  margin-right: 15px;
  width: 33px;
}

.card__author {
  color: hsl(215, 51%, 70%)
}

.card__link {
  color: hsl(0, 0%, 100%);
  cursor: pointer;
  transition: all .3s;
}

.card__link:visited {
  color: hsl(0, 0%, 100%);
}

.card__link:hover {
  color: hsl(178, 100%, 50%);
  transition: all .3s;
}