/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
  font-family: "League Spartan", sans-serif;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
*::before,
*::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
button {
  border: none;
  background-color: transparent;
}

/* utilities */
/* screen reader hack */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* added line */
  border: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1111px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  color: #fff;
  padding: 0.6rem 2rem;
  background-color: hsl(5deg, 85%, 63%);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.875rem;
  transition: 0.3s;
  cursor: pointer;
}
.btn:hover {
  background-color: #000;
  color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.6rem 0;
}
.navbar .brand img {
  width: 37px;
}
.navbar .nav-toggle {
  width: 2.125rem;
}
@media (min-width: 768px) {
  .navbar {
    padding: 1.8rem 0;
  }
  .navbar .brand img {
    width: 45px;
  }
  .navbar .nav-toggle {
    display: none;
  }
}
.navbar .navlink-container .nav-links {
  list-style-type: none;
}
.navbar .navlink-container .nav-links .links a {
  display: inline-block;
  width: 100%;
  color: #000;
  font-size: 1.3rem;
  padding: 0.4rem 0;
  font-weight: 400;
  transition: 0.3s;
}
.navbar .navlink-container .nav-links .links a:hover {
  color: hsl(5deg, 85%, 63%);
}
@media (min-width: 768px) {
  .navbar .navlink-container .nav-links {
    display: flex;
  }
  .navbar .navlink-container .nav-links .links {
    margin-left: 2rem;
  }
  .navbar .navlink-container .nav-links .links a {
    font-size: 1.125rem;
    color: hsl(236deg, 13%, 42%);
  }
}
@media (max-width: 768px) {
  .navbar .back-opacity {
    position: fixed;
    inset: 0 -100% 0 auto;
    background-color: rgba(0, 0, 0, 0.445);
    transition: 0.3s;
  }
  .navbar .back-opacity.show {
    inset: 0;
  }
  .navbar .back-opacity .navlink-container {
    background-color: #fff;
    margin-left: auto;
    width: 100%;
    height: 100%;
    max-width: 250px;
    padding: 1rem 1.25rem;
  }
  .navbar .back-opacity .navlink-container .close-nav {
    display: block;
    margin-left: auto;
    margin-bottom: 5rem;
  }
}

.hero .hero-image {
  width: 100%;
  max-height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero .hero-image.desktop {
  display: none;
}
@media (min-width: 768px) {
  .hero .hero-image.desktop {
    display: block;
  }
  .hero .hero-image.mobile {
    display: none;
  }
}

.header {
  padding: 1.5rem 0 0;
  margin-bottom: 3rem;
}
.header h1 {
  font-size: 42px;
  padding-right: 20px;
}
.header h1, .header p {
  margin-bottom: 20px;
}

.new-articles {
  background-color: hsl(240deg, 100%, 5%);
  padding: 1.2rem;
  margin-bottom: 3rem;
}
.new-articles h2 {
  color: hsl(35deg, 77%, 62%);
  font-size: 28px;
}
.new-articles .new-news {
  padding-top: 25px;
}
.new-articles .new-news:not(:last-of-type) {
  padding-bottom: 25px;
  border-bottom: 1px solid hsl(236deg, 13%, 42%);
}
.new-articles .new-news a {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 7px;
  font-size: 17px;
}
.new-articles .new-news a:hover {
  color: hsl(35deg, 77%, 62%);
}
.new-articles .new-news p {
  color: hsl(233deg, 8%, 79%);
}

.articles-container {
  padding: 0 0 2rem;
}
.articles-container .articles {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 20px;
}
.articles-container .articles img {
  width: 85px;
  -o-object-fit: cover;
     object-fit: cover;
}
.articles-container .articles h3, .articles-container .articles span {
  margin-bottom: 7px;
}
.articles-container .articles span {
  font-size: 25px;
  font-weight: 700;
  color: hsl(233deg, 8%, 79%);
}
.articles-container .articles h3 {
  font-size: 1.0625rem;
}

@media (min-width: 768px) {
  .grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 1.3rem;
  }
  .hero {
    grid-row: 1;
    grid-column: 1/span 2;
  }
  .header {
    grid-row: 2;
    grid-column: 1/span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-bottom: 0;
  }
  .header .btn {
    margin-bottom: 0;
  }
  .new-articles {
    grid-column: 3;
    grid-row: 1/span 2;
  }
  .articles-container {
    grid-row: 3;
    grid-column: 1/span 3;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
}/*# sourceMappingURL=styles.css.map */