body {
  margin: 4rem 2rem 0 2rem;
  font-size: 16px;
}

img {
  max-width: 100%;
}

p {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
}

.visible {
  visibility: visible !important;
}

.header__nav-toggle {
  cursor: pointer;
}

main {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  grid-gap: 80px 30px;
  margin-bottom: 2rem;
}

.cta {
  padding: 1rem 2rem;
  background: hsl(5, 85%, 63%);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(36, 100%, 99%);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.33rem;
  transition: background 0.2s ease-in;
}

.cta:active,
.cta:hover,
.cta:focus {
  background: hsl(240, 100%, 5%);
}

/** START header **/
.header {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 3rem;
}

.header__nav li {
  font-family: "Inter", Arial, sans-serif;
}

.header__nav a {
  font-weight: 300;
  color: hsl(240, 100%, 5%);
  text-decoration: none;
}

.header__nav a:active,
.header__nav a:hover,
.header__nav a:focus {
  color: hsl(5, 85%, 63%);
  transition: color 0.2s ease-in;
}

/** END header **/
/** START main headline **/
.news-headline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 25px 30px;
}

.news-headline__img {
  grid-column: span 2;
}

.news-headline__title {
  font-family: "Inter", Arial, sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 3.375rem;
}

.news-headline__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.news-headline__details__subtext {
  line-height: 1.5rem;
}

.news-headline__details .cta {
  align-self: flex-start;
}

/** END main headline **/
/** START new stories **/
.news-newstories {
  background-color: hsl(240, 100%, 5%);
  padding: 2rem;
}

.news-newstories__title,
.news-newstories__article__title,
.news-newstories__article__subtext {
  font-family: "Inter", Arial, sans-serif;
}

.news-newstories__title {
  font-size: 2.5rem;
  color: hsl(35, 77%, 62%);
}

.news-newstories__article {
  margin: 2rem 0;
  border-bottom: 1px solid hsl(236, 13%, 42%);
}

.news-newstories__article:first-child {
  margin-top: 2.5rem;
}

.news-newstories__article:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.news-newstories__article:last-child .news-newstories__article__subtext {
  margin-bottom: 0;
}

.news-newstories__article__title,
.news-newstories__article__subtext {
  color: hsl(36, 100%, 99%);
}

.news-newstories__article__title {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.news-newstories__article__title:active,
.news-newstories__article__title:hover,
.news-newstories__article__title:focus {
  color: hsl(35, 77%, 62%);
  transition: color 0.2s ease-in;
}

.news-newstories__article__subtext {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.875rem;
}

/** END new stories **/
/** START other stories **/
.news-otherstories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column: span 2;
  grid-gap: 1.5rem;
}

.news-otherstories__card {
  display: flex;
  gap: 1.5rem;
}

.news-otherstories__card__image {
  align-self: flex-start;
  max-width: 8rem;
  height: auto;
}

.news-otherstories__card__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-otherstories__number,
.news-otherstories__headline {
  font-family: "Inter", Arial, sans-serif;
}

.news-otherstories__number {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(233, 8%, 79%);
}

.news-otherstories__headline {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: hsl(236, 13%, 42%);
  text-decoration: none;
  transition: color 0.2s ease-in;
}

.news-otherstories__headline:hover {
  color: hsl(5, 85%, 63%);
}

.news-otherstories__intro {
  font-size: 1rem;
  color: hsl(236, 13%, 42%);
  line-height: 1.5rem;
}

/** END other stories **/
/** START media queries **/
@media (min-width: 992px) and (max-width: 1199px) {
  main {
    grid-template-columns: 0.75fr 0.5fr;
  }
  .news-headline {
    grid-gap: 0.9375rem 0;
    grid-template-rows: 0.5fr;
  }
  .news-headline__title {
    font-size: 3rem;
    line-height: 3.125rem;
  }
  .news-headline__details {
    justify-content: flex-start;
    gap: 2rem;
  }
}
@media (min-width: 992px) and (max-width: 1024px) {
  .news-headline__title,
  .news-headline__details {
    grid-column: span 2;
  }
}
@media (max-width: 991px) {
  /** START header **/
  .header {
    margin-bottom: 2rem;
  }
  /** END header **/
  /** START main headline **/
  main {
    grid-template-columns: 100%;
    grid-gap: 4.125rem 0;
  }
  .news-headline {
    grid-gap: 1.25rem 0;
  }
  .news-headline__details {
    grid-gap: 1.5rem 0;
  }
  .news-headline,
  .news-headline__title,
  .news-headline__details {
    grid-column: span 2;
  }
  .news-headline__title {
    font-size: 2.375rem;
    line-height: 2.5rem;
  }
  /** END main headline **/
  /** START other stories **/
  .news-otherstories {
    grid-template-columns: 100%;
    grid-gap: 2.25rem;
  }
  .news-otherstories__card__details {
    justify-content: flex-start;
  }
  /** END other stories **/
}
@media (max-width: 768px) {
  body {
    margin: 1.5rem 2rem 2rem 2rem;
  }
  .show-mobile {
    display: block;
  }
  .show-mobile-inlineblock {
    display: inline-block;
  }
  .show-desktop,
  .show-desktop-inlineblock {
    display: none;
  }
  /** START header **/
  .header {
    margin-bottom: 2rem;
  }
  .header__nav {
    z-index: 11;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 300px;
    right: -300px;
    padding: 0.5rem;
    transition: transform 0.3s ease-in-out;
    background-color: hsl(36, 100%, 99%);
    text-align: right;
  }
  .header__nav ul {
    margin-top: 1rem;
    text-align: left;
  }
  .header__nav li {
    display: block;
    margin: 0;
    margin-bottom: 1.5rem;
  }
  .header__nav li:last-child {
    margin-bottom: 0;
    border-bottom: 0;
  }
  .header__nav li a {
    display: block;
    margin: 0;
    padding: 0.5rem 0.75rem;
    border-bottom: 0;
  }
  .header__nav-toggle-container {
    display: flex;
    justify-content: flex-end;
  }
  .header__nav-toggle {
    width: 30px;
    height: 30px;
    background: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    border: 0;
  }
  .header__nav-toggle.close {
    display: inline-block;
    margin: 1rem 0.5rem 0 0rem;
    border-bottom: 0;
  }
  .header__nav-toggle.close {
    background-image: url("../images/icon-menu-close.svg");
  }
  .header__nav-toggle.open {
    background-image: url("../images/icon-menu.svg");
  }
  /** END header **/
  .overlay {
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 25, 25, 0.6);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
  }
}
@media (max-width: 550px) {
  body {
    margin: 1.5rem 1rem 2rem 1rem;
  }
}
@media (min-width: 769px) {
  .show-desktop {
    display: block;
  }
  .show-desktop-inlineblock {
    display: inline-block;
  }
  .show-mobile,
  .show-mobile-inlineblock {
    display: none;
  }
  .header__nav {
    transform: translate(0, 0);
  }
  .header__nav ul {
    display: flex;
    justify-content: flex-end;
    grid-gap: 2rem;
  }
  .header__nav-toggle {
    display: none;
  }
}
@media (min-width: 1024px) {
  body {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .news-headline__title {
    max-width: 8ch;
  }
  .news-headline__details__subtext {
    max-width: 36ch;
  }
}
@media (min-width: 1366px) {
  body {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
  .news-headline__title {
    font-size: 3.625rem;
    line-height: 3.75rem;
  }
}
/** END media queries **/
/** START keyframes and animations **/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fadeIn {
  animation: fadeIn 0.3s ease-in forwards;
}

/** END keyframes and animations **//*# sourceMappingURL=newshomepage.css.map */