@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Set base line-height */
body {
  line-height: 1;
}

/* Remove list styles */
ol,
ul {
  list-style: none;
}

/* Remove quotes from blockquotes and q */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

/* Remove default table border and spacing */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Remove default button and input styles */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  appearance: none;
}

/* Remove anchor underline */
a {
  text-decoration: none;
  color: inherit;
}

.grid {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 28.125rem 15.375rem 14.125rem 25.875rem 31.4375rem;
  row-gap: 2rem;
  width: 19.0625rem;
  margin: 4.5625rem auto;
}
.grid__first {
  background: hsl(263, 55%, 52%);
}
.grid__first--decoration {
  display: none;
}
.grid__second {
  background: hsl(217, 19%, 35%);
}
.grid__third, .grid__fifth {
  background: hsl(0, 0%, 100%);
}
.grid__fourth {
  background: hsl(219, 29%, 14%);
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 19.21875rem 19.21875rem;
    grid-template-rows: 16.875rem 15.375rem 16.875rem 17.1875rem;
    grid-template-areas: "first first" "second third" "fourth fourth" "fifth fifth";
    column-gap: 2rem;
    width: 40.4375rem;
    margin: 5.1875rem auto 0;
  }
  .grid__first {
    position: relative;
    grid-area: first;
  }
  .grid__second {
    grid-area: second;
  }
  .grid__third {
    grid-area: third;
  }
  .grid__fourth {
    grid-area: fourth;
  }
  .grid__fifth {
    grid-area: fifth;
  }
  .grid__first--decoration {
    position: absolute;
    top: 0;
    right: 10.4375rem;
    display: inline-block;
    height: 6.5rem;
    width: 6.375rem;
    z-index: 2;
  }
}
@media (min-width: 1400px) {
  .grid {
    grid-template-columns: 15.9375rem 17.8125rem 15.9375rem 15.9375rem;
    grid-template-rows: 18rem 16.875rem;
    grid-template-areas: "first first second fifth" "third fourth fourth fifth";
    row-gap: 1.5rem;
    width: 69.625rem;
    margin: 14.3125rem auto 0;
  }
  .grid__first--decoration {
    right: 3.75rem;
  }
}
.article {
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 40px 60px 50px -47px rgba(72, 85, 106, 0.247);
}
.article__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.article__author {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
}
.article__author--image {
  display: inline-block;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 50%;
  border: 2px solid transparent;
}
.article__author--info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.article__author--name {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 110%;
}
.article__author--role {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 110%;
}
.article__title {
  position: relative;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 120%;
  z-index: 4;
}
.article__content {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 140%;
}

.grid__first .article__author--image {
  border-color: hsl(264, 82%, 80%);
}
.grid__first .article__author--name {
  color: hsl(0, 0%, 100%);
}
.grid__first .article__author--role {
  color: hsl(260, 100%, 95%);
}
.grid__first .article__title {
  color: hsl(0, 0%, 100%);
}
.grid__first .article__content {
  color: hsl(260, 100%, 95%);
}

.grid__second .article__author--image {
  border-color: transparent;
}
.grid__second .article__author--name {
  color: hsl(0, 0%, 100%);
}
.grid__second .article__author--role {
  color: hsl(0, 0%, 81%);
}
.grid__second .article__title {
  color: hsl(0, 0%, 100%);
}
.grid__second .article__content {
  color: hsl(214, 17%, 92%);
}

.grid__third .article__author--image {
  border-color: transparent;
}
.grid__third .article__author--name {
  color: hsl(217, 19%, 35%);
}
.grid__third .article__author--role {
  color: hsl(224, 10%, 45%);
}
.grid__third .article__title {
  color: hsl(217, 19%, 35%);
}
.grid__third .article__content {
  color: hsl(224, 10%, 45%);
}

.grid__fourth .article__author--image {
  border-color: hsl(264, 82%, 80%);
}
.grid__fourth .article__author--name {
  color: hsl(0, 0%, 100%);
}
.grid__fourth .article__author--role {
  color: hsl(0, 0%, 100%);
}
.grid__fourth .article__title {
  color: hsl(0, 0%, 81%);
}
.grid__fourth .article__content {
  color: hsl(214, 17%, 92%);
}

.grid__fifth .article__author--image {
  border-color: transparent;
}
.grid__fifth .article__author--name {
  color: hsl(217, 19%, 35%);
}
.grid__fifth .article__author--role {
  color: hsl(224, 10%, 45%);
}
.grid__fifth .article__title {
  color: hsl(217, 19%, 35%);
}
.grid__fifth .article__content {
  color: hsl(224, 10%, 45%);
}

@media (min-width: 768px) {
  .grid__second .article__author--role {
    color: hsl(214, 17%, 92%);
  }
}
.container {
  background: hsl(300, 5%, 96%);
  font-family: "Barlow Semi Condensed", sans-serif;
}

/*# sourceMappingURL=main.css.map */
