/* Global */
@import "nord.css";

:root {
  --height-img: 10rem;
}

@font-face {
  font-family: Newsreader;
  src: url("../fonts/Newsreader-VariableFont_opsz,wght.woff2");
  font-display: swap;
}

body {
  margin: 0;
  padding: 0;
  font-family: Newsreader, serif;
  color: var(--nord4);
  background-color: var(--nord0);
  background-size: 100%;
}
img {
  object-fit: cover;
  object-position: center;
}
img,
video,
iframe {
  width: 100%;
}
a {
  color: var(--nord4);
  text-decoration: none;
}
pre {
  overflow-x: auto;
}
.container {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1rem;
}

.header {
  margin-bottom: 2rem;
}

.title {
  text-align: center;
  font-size: 4rem;
  font-weight: normal;
  margin-bottom: 0;
  margin-top: 1rem;
}
.subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -1rem;
  font-weight: normal;
  font-size: 1.5rem;
}
.subtitle__separator {
  font-size: 3rem;
  font-weight: bold;
}
.separator {
  border: 0;
  background: var(--nord4);
  height: 1px;
}
.footer__text {
  text-align: center;
  padding: 1rem 0;
}
.footer__link {
  font-weight: bold;
}
.footer__heard {
  display: inline-block;
  margin-left: 0.3rem;
}
.article__title,
.article__feed {
  font-weight: normal;
}

.article__header-img > a > img {
  height: var(--height-img);
  object-position: top;
  object-fit: cover;
}
.article__random-background {
  height: 100%;
  width: 100%;
}