/*
  ========================================
  CSS Reset
  ========================================
*/

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

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*
  ========================================
  Main-side
  ========================================
*/
main {
  max-width: 1170px;
  margin: 0 auto;
}

/*
  ========================================
  Misc
  ========================================
*/

.gen-flex {
  display: flex;
}

.flex-center {
  align-items: center;
}

.gen-grid {
  display: grid;
}

.w-100 {
  width: 100%;
}

.fontw-500 {
  font-weight: 500;
}

.fontw-700 {
  font-weight: 700;
}

/*
  ========================================
  Navigation Bar
  ========================================
*/

.nav-bar {
  justify-content: space-between;
  background-color: white;
  padding: 1px 1%;
  border: solid 1px #e2e2e2;
  font-size: 14.25px;
  font-family: Arial, Helvetica, sans-serif;
  position: fixed;
  width: 98%;
  top: 0;
}

button {
  background-color: #326891;
  border: 0 solid #e2e2e2;
  color: white;
  border-radius: 3px;
  padding: 9px;
}

.space-cosmos {
  color: #000;
  text-decoration-line: none;
  font-weight: 900;
}

.space-cosmos :hover {
  text-decoration-line: underline;
}

/*
  ========================================
  Header
  ========================================
*/

h1 {
  width: 600px;
  margin: 6% auto 3%;
  font-family:
    'Domine',
    serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 46px;
  color: #121212;
  font-style: italic;
}

.top-section > * {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-header {
  width: 70%;
  color: #666;
  font-size: 15px;
  margin-bottom: 4px;
}

.image-credit {
  color: #888;
  font-size: 80%;
}

figcaption {
  width: 60%;
  margin: 0 32% 0 22%;
}

.byline {
  flex-direction: column;
  width: 43%;
  margin: 3% 28.5%;
}

.author {
  font-weight: bold;
  margin-bottom: 1%;
}

.share-line {
  align-items: baseline;
  justify-content: space-between;
}

/*
  ========================================
  Aside-Editors's Picks
  ========================================
*/

.grid-container {
  grid-template-columns: 40% 60%;
  width: 210px;
  grid-gap: 5%;
  place-items: center;
}

.aside-text a {
  color: #000;
  text-decoration-line: none;
  font-size: 0.95rem;
  font-weight: 500;
}

aside {
  float: right;
  clear: both;
  position: absolute;
  top: 250%;
  right: 5%;
  z-index: -1;
}

aside > p {
  margin-bottom: 15px;
  font-weight: 600;
}

/*
  ========================================
  Main
  ========================================
*/

article {
  flex-direction: column;
  font-size: 20px;
  line-height: 30px;
  font-family: 'Times New Roman', Times, serif;
  color: #333;
}

article > p {
  width: 43%;
  margin-bottom: 1%;
  align-self: center;
}

main h3 {
  align-self: flex-start;
  padding-left: 335px;
}

.article-pict1 {
  flex-direction: column;
}

.article-pict {
  width: 51%;
}

.article-fig {
  font-size: 15px;
  line-height: 20px;
  text-align: left;
  width: 51%;
  margin: 0.8%;
}

iframe {
  width: 70%;
  height: 320px;
}

.video {
  flex-direction: column;
  width: 61%;
  margin: 20px 0;
}

.video figcaption {
  font-size: 14px;
  color: #333;
  line-height: 12px;
  margin: 12px 10% 12px 0;
}

.third-article figcaption {
  width: 51%;
  margin: 1% 0 0;
  font-size: 15px;
  line-height: 20px;
  text-align: left;
}

/*
  ========================================
  Inflation Grid
  ========================================
*/
.inflation {
  margin: 3% 25%;
  zoom: 80%;
}

.inflation h3 {
  font-size: 1.25rem;
  padding-left: 0;
}

.subtitle-text {
  font-size: 0.8rem;
  color: #666;
}

.inflation-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1%;
}

.inf-element {
  grid-template-rows: 50% 50%;
  grid-row-gap: 2%;
}

.inflation-text {
  font-size: 0.875rem;
}

.inflation-img img {
  max-height: 100%;
}

.inf-title {
  font-weight: bold;
  letter-spacing: 0.05em;
}

.small-line {
  height: 1px;
  width: 60px;
  background-color: black;
  margin: 10px 0;
}

.inflation-footer {
  margin-top: 40px;
  font-size: 14px;
}

/*
  ========================================
  Article end text
  ========================================
*/

.read-comment {
  justify-content: space-between;
  width: 98%;
}

.read-comment-btn {
  justify-content: space-between;
  padding: 0 60px;
}

.article-end {
  width: 43%;
  margin-bottom: 6%;
}

.article-end-text {
  font-size: 12px;
  line-height: 20px;
  margin: 10px 0 20px;
  color: #888;
}

.article-end-text a {
  color: #888;
}

/*
  ========================================
  More Articles
  ========================================
*/
.more-articles {
  max-width: 1300px;
  width: 98%;
  grid-template-columns: 70% 30%;
  grid-gap: 1%;
  margin: 0 auto;
}

h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  margin: 15px 0;
}

.popular,
.space {
  margin: 0 0 0 6%;
  border-top: 1px solid #000;
  padding: 0;
}

.img-head {
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5% 2%;
}

.img-head figure img {
  width: 100%;
}

.img-head figure figcaption {
  width: 100%;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.img-title {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  margin-top: 3%;
  margin-bottom: 1%;
}

.img-date {
  font-size: 12px;
  line-height: 20px;
  color: #999;
  font-weight: 500;
}

.popular li {
  font-size: 19px;
  line-height: 23px;
  font-weight: 500;
  border-top: 1px solid #e2e2e2;
  padding: 2% 0 4%;
}

.img-head,
.popular li {
  cursor: pointer;
}

.img-title:hover,
.popular li:hover {
  color: rgb(99, 97, 98);
}

.img-date:hover {
  cursor: default;
}

/* Subscribe Prompt */

.subscribe-prompt {
  text-align: center;
  font-weight: 600;
  line-height: 1.2rem;
  font-size: 12px;
}

/*
  ========================================
  Footer Menu
  ========================================
*/
.footer-menu {
  max-width: 1300px;
  margin: 12px auto 0;
  width: 98%;
  border-top: 1px solid #9a9a9a;
  padding-top: 10px;
}

.footer-line {
  justify-content: space-between;
}

.footer-times-icon {
  width: 67%;
}

.footer-links {
  grid-template-columns: repeat(6, 1fr);
  line-height: 25px;
}

.footer-menu a {
  text-decoration-line: none;
  color: #326891;
}

.language {
  font-size: 13px;
  margin-top: 20px;
}

.footer-vertical-line {
  border-left: 1px solid #9a9a99;
  padding-left: 12px;
}

/*
  ========================================
  Bottom Footer
  ========================================
*/
.bottom-footer {
  width: 80%;
  margin: 0 auto 5.5%;
  justify-content: space-around;
  font-size: 12.5px;
  line-height: 11px;
  font-weight: 400;
}

.bottom-footer a {
  color: gray;
  text-decoration: none;
}

.footer-icon li a {
  font-weight: 700;
  font-size: 17px;
}

.footer-links div a {
  text-decoration-line: none;
  color: #333;
}

.subscribe-prompt a:link {
  text-decoration: none;
}

.article-end a:hover {
  text-decoration: none;
}

.bottom-footer a:hover {
  color: gray;
  text-decoration: underline;
}

.footer-links div a:hover {
  text-decoration-line: underline;
}

.foot-navbar {
  cursor: pointer;
  justify-content: space-around;
  background-color: white;
  padding: 14px 1%;
  border-top: 1px solid black;
  font-size: 14.25px;
  font-family: Arial, Helvetica, sans-serif;
  position: fixed;
  bottom: 0;
}
