@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100wh;
  height: 100vh;
  position: relative;
  background-color: black;
  display: grid;
  /* -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; Standard */
}
a {
  text-decoration: none;
}

.navBar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  height: 8rem;
}
.navHeader > img {
  filter: invert(100%);
}

.navHeader {
  justify-self: center;
}

.navItems {
  display: inline-flex;
  flex-wrap: wrap;
  justify-self: center;
}
.navItems li {
  margin: 0 2em;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: 0.5s;
}

.navItems a {
  color: white;
  font-weight: bold;
}

.navItemsActive {
  background-color: #fff;
}
.navItemsActive a {
  color: black;
}
.navItems li:hover {
  background-color: #fff;
}
.navItems li:hover a {
  color: black;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  justify-self: center;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  position: relative;
}

.underline-animation::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: width 0.3s ease;
}

.underline-animation:hover::after {
  width: 100%;
}
.articles {
  display: inline-flex;
  flex-wrap: wrap;
  justify-self: center;
  justify-content: center;
  position: relative;
}

.article {
  margin: 2rem;
  background-color: rgb(19, 19, 19);
  padding: 2rem;
  border-radius: 10px;
  width: max-content;
  height: 550px;
  justify-content: center;
  display: grid;
  text-align: center;
  transition: 0.5s;
}

.articleImg img {
  border-radius: 10px;
  width: 30rem;
  justify-self: center;
}

.articleText > header > h1 > a {
  color: white;
  font-size: 1.5pc;
  margin: 0.4rem 0;
  font-weight: bolder;
  transition: 0.4s all;
}

.articleText > header > h2 {
  color: rgb(212, 212, 212);
  font-size: 1.1pc;
  font-weight: bold;
  margin: 0.4rem 0;
}

.articleText p {
  color: rgb(212, 212, 212);
  font-size: 1pc;
  font-weight: bold;
  margin: 0.4rem 0;
}

.article > button {
  width: 100%;
  justify-self: start;
  margin-bottom: 0;
}

.article:hover {
  scale: 1.01;
  box-shadow: 6px 6px 10px 0 rgb(255, 255, 255);
}
footer {
  background-color: rgb(19, 19, 19);
  width: 100%;
  height: 3rem;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
}

footer h1 {
  color: #fff;
  font-size: medium;
  margin-left: 1rem;
}

.socialMediaLinks {
  justify-self: end;
  margin-right: 1rem;
  margin-top: 0.4rem;
}
.socialMediaLinks img {
  width: 1.6rem;
  height: 1.6rem;
  margin: 0 0.3rem;
  filter: invert(100%);
}
.loadMoreBtn > span {
  display: none;
}

.loadMoreBtn:hover > span {
  display: inline-flex;
}
.loadMoreBtn {
  padding: 0.8rem 5rem;
  border-radius: 10px;
  margin: 0.5rem;
  cursor: pointer;
  background-color: #fff;
  border: none;
  color: black;
  font-size: 1.2pc;
  margin-bottom: 2rem;
  font-weight: bolder;
}

@media only screen and (max-width: 1238px) {
  .navBar {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    align-items: center;
    grid-template-columns: 1fr;
    height: 8rem;
    justify-self: center;
  }

  .navItems {
    grid-row-start: 2;
  }
  .navItems li {
    font-size: smaller;
  }
}
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}
