/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --bg: #0B1D26;
  --white: #ffffff;
  --yellow: #FBD784;
  --yellow-active: #f3c352;
  --title-font: "Chronicle", serif;
}

@font-face {
  font-family: "Chronicle";
  src: url("/fonts/chronicle/ChronicleDisplay-Semi.woff2") format("woff2"), url("/fonts/chronicle/ChronicleDisplay-Semi.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy/Gilroy-Medium.woff2") format("woff2"), url("/fonts/gilroy/Gilroy-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy/Gilroy-SemiBold.woff2") format("woff2"), url("/fonts/gilroy/Gilroy-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy/Gilroy-Bold.woff2") format("woff2"), url("/fonts/gilroy/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Gilroy", sans-serif;
  background-color: var(--bg);
  color: var(--white);
}
body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
}

.container {
  max-width: 1130px;
  padding: 0 15px;
  margin: 0 auto;
}

.title {
  font-family: var(--title-font);
  font-size: 4rem;
  font-weight: 600;
  text-transform: capitalize;
}

.subtitle {
  display: inline-block;
  color: var(--yellow);
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-left: 5.375rem;
  position: relative;
}
.subtitle::before {
  content: "";
  width: 4rem;
  height: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--yellow);
}

.more {
  display: flex;
  column-gap: 0.625rem;
  color: var(--white);
  text-decoration: none;
}
.more span {
  display: inline-block;
  font-weight: 700;
  margin-top: 2px;
}

.article-more {
  align-items: center;
  color: var(--yellow);
}
.article-more span {
  margin: 0;
}
.article-more svg {
  margin-top: 4px;
  font-size: 16px;
}
.article-more:hover {
  color: var(--yellow-active);
}
.article-more:active {
  color: var(--yellow);
}

@media screen and (min-width: 1920px) {
  .container {
    max-width: 1760px;
  }
}
@media screen and (max-width: 1024px) {
  .subtitle {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 910px) {
  .subtitle {
    margin-bottom: 0.475rem;
  }
}
@media screen and (max-width: 580px) {
  html {
    font-size: 14px;
  }
}
@media screen and (max-width: 375px) {
  html {
    font-size: 12px;
  }
}
.header {
  background-image: url("/images/header/bg.png");
  background-position: top center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 4rem 0 42rem;
  position: relative;
}
.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 15rem;
  width: 100%;
  background: linear-gradient(to top, var(--bg), transparent);
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12.375rem;
}

.header-nav--logo {
  transition: opacity 0.3s ease;
}
.header-nav--logo:hover {
  opacity: 0.8;
}
.header-nav--logo:active {
  opacity: 1;
}

.header-nav--logo img {
  display: block;
}

.header-nav--list {
  display: flex;
  column-gap: 2.5rem;
  list-style: none;
}

.header-nav--link {
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s ease;
}
.header-nav--link:hover {
  color: var(--yellow);
}
.header-nav--link:active {
  color: var(--yellow-active);
}

.header-account {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  transition: color 0.3s ease;
}
.header-account path {
  transition: fill 0.3s ease;
}
.header-account:hover {
  color: var(--yellow);
}
.header-account:hover path {
  fill: var(--yellow);
}
.header-account:active {
  color: var(--yellow-active);
}
.header-account:active path {
  fill: var(--yellow-active);
}

.header-nav--menu {
  display: none;
}

.header-sidebar {
  display: none;
}

.header-sidebar--shadow {
  display: none;
}

.header-content {
  max-width: 42rem;
  margin: 0 auto;
}

.header-content--title {
  padding-bottom: 1.5rem;
}

.header-content--link {
  display: inline-block;
}
.header-content--link:hover {
  color: var(--yellow);
  transition: color 0.3s ease;
}
.header-content--link:hover path {
  transition: fill 0.3s ease;
  fill: var(--yellow);
}
.header-content--link:active {
  color: var(--yellow-active);
}
.header-content--link:active path {
  fill: var(--yellow-active);
}

@media screen and (max-width: 1024px) {
  .header {
    padding-bottom: 32rem;
  }
  .header-content {
    max-width: 32rem;
  }
  .header-content--title {
    font-size: 3rem;
  }
}
@media screen and (max-width: 910px) {
  .header {
    padding: 3rem 0 22rem;
  }
  .header-content--title {
    padding-bottom: 1rem;
  }
}
@media screen and (max-width: 768px) {
  .header {
    padding: 3rem 0 18rem;
  }
  .header-nav--list {
    column-gap: 1.6rem;
  }
}
@media screen and (max-width: 580px) {
  .header-nav {
    justify-content: flex-start;
    margin-bottom: 10rem;
  }
  .header-nav--list {
    display: none;
  }
  .header-account {
    margin-left: auto;
  }
  .header-account span {
    display: none;
  }
  .header-nav--menu {
    display: flex;
    border: none;
    margin-left: 0.43rem;
    background-color: transparent;
  }
  .header-sidebar {
    display: block;
    position: fixed;
    top: 12px;
    left: 5%;
    width: 90%;
    height: 96vh;
    padding: 120px 100px;
    border-radius: 8px;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.3);
    background-color: var(--bg);
    transform: translateY(-110%);
    transition: all 1.5s ease;
    z-index: 2;
  }
  .header-sidebar.active {
    transform: translateY(0);
  }
  .header-sidebar--closebtn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 30px;
    background-color: transparent;
    border: none;
  }
  .header-sidebar--closebtn svg {
    display: block;
    width: 100% !important;
  }
  .header-sidebar--list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    list-style: none;
  }
  .header-sidebar--link {
    text-decoration: none;
    color: var(--white);
  }
  .header-sidebar--shadow {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-100%);
    transition: all 0.8s ease;
    z-index: 1;
  }
  .header-sidebar--shadow.active {
    transform: translateY(0);
  }
}
@media screen and (max-width: 430px) {
  .header {
    padding: 2rem 0 18rem;
  }
  .header-nav--logo img {
    width: 100px;
  }
  .header-nav {
    margin-bottom: 8rem;
  }
  .header-content {
    text-align: center;
    max-width: 25rem;
    margin: 0 auto;
  }
  .header-content--title {
    font-size: 2rem;
    padding-bottom: 0.75rem;
  }
  .header-content--link {
    justify-content: center;
    text-align: center;
  }
}
.article-list {
  max-width: 1120px;
  margin: 0 auto;
  transform: translateY(-140px);
}

.article-list__item {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 50px;
  margin-bottom: 12.5rem;
}
.article-list__item:nth-child(2) .article-item__picture {
  grid-column: 1/2;
  grid-row: 1/2;
}
.article-list__item:nth-child(2) .article-item__content {
  grid-column: 2/3;
}
.article-list__item:nth-child(2) .article-item__picture {
  margin: 0;
}
.article-list__item:last-child {
  margin-bottom: 4rem;
}

.article-item__content {
  margin-top: 7.2rem;
  padding-left: 110px;
  position: relative;
}
.article-item__content::before {
  display: block;
  content: attr(data-number);
  font-size: 14rem;
  font-weight: 700;
  position: absolute;
  top: -135px;
  left: 0;
  color: rgba(255, 255, 255, 0.1);
}

.article-content__title {
  font-size: 2.8rem;
  margin-bottom: 1.6875rem;
}

.article-content__desc {
  font-size: 1rem;
  margin-bottom: 1.6875rem;
  line-height: 25px;
}

.article-item__picture {
  margin-left: auto;
}
.article-item__picture img {
  object-fit: cover;
}

@media screen and (max-width: 1200px) {
  .article-item__content {
    max-width: 500px;
  }
}
@media screen and (max-width: 960px) {
  .article-list__item {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .article-list__item:nth-child(2) .article-item__picture {
    grid-column: 1/3;
    grid-row: 2/3;
  }
  .article-list__item:nth-child(2) .article-item__content {
    grid-column: 1/3;
  }
  .article-list__item:first-child img {
    object-position: bottom;
  }
  .article-item__content {
    max-width: 100%;
  }
  .article-item__picture {
    margin: 0 auto;
    width: 100% !important;
  }
  .article-item__picture img {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .article-list__item {
    margin-bottom: 4rem;
  }
  .article-item__content::before {
    font-size: 10rem;
    top: -110px;
  }
  .article-item__content {
    margin-top: 10rem;
    padding-left: 80px;
  }
}
@media screen and (max-width: 520px) {
  .article-list {
    transform: translateY(-98px);
  }
  .article-item__content {
    padding-left: 40px;
  }
  .article-item__content::before {
    top: -100px;
  }
  .article-item__picture img {
    height: 320px;
    width: 90%;
  }
}
@media screen and (max-width: 425px) {
  .article-list__item:last-child {
    margin-bottom: 0;
  }
  .article-item__content {
    padding-left: 0;
  }
  .article-item__picture img {
    width: 100%;
  }
}
@media screen and (max-width: 375px) {
  .article-content__desc {
    line-height: 20px;
  }
}
.footer {
  margin-bottom: 7.5rem;
}

.footer-row {
  display: grid;
  grid-template-columns: 30% 30% 40%;
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.footer-content__logo {
  margin-bottom: 1.5rem;
}

.footer-content__desc {
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  column-gap: 1.5rem;
  grid-column: 3/4;
}

.footer-list {
  list-style: none;
}

.footer-list__item:not(:last-child) {
  margin-bottom: 1rem;
}
.footer-list__item:first-child {
  margin-bottom: 1.5rem;
}

.footer-item__title {
  color: var(--yellow);
}

.footer-item__link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-item__link:hover {
  color: var(--yellow);
}
.footer-item__link:active {
  color: var(--yellow-active);
}

.footer-copyright {
  margin-top: auto;
  opacity: 50% !important;
}

@media screen and (max-width: 1024px) {
  .footer-row {
    grid-template-columns: 48% 4% 48%;
  }
  .footer-content__desc {
    max-width: 350px;
  }
}
@media screen and (max-width: 1024px) {
  .footer-row {
    grid-template-rows: 50% 50%;
    grid-template-columns: 100%;
    row-gap: 4rem;
    max-width: 80%;
    margin: 0 auto;
  }
  .footer-links {
    display: flex;
    justify-content: flex-start;
    column-gap: 6rem;
    grid-column: 1/2;
  }
  .footer-copyright {
    margin-top: 2.5rem;
  }
}
@media screen and (max-width: 520px) {
  .footer-row {
    grid-template-rows: auto auto;
    row-gap: 6rem;
    max-width: 90%;
  }
  .footer-content__desc {
    max-width: 300px;
  }
  .footer-links {
    flex-direction: column;
    row-gap: 3rem;
  }
}
@media screen and (max-width: 425px) {
  .footer-row {
    max-width: 95%;
  }
}