@import url("https://fonts.googleapis.com/css2?family=Foldit:wght@700&family=Gasoek+One&display=swap");

body {
  padding: 0px;
  margin: 0px;
  background-color: rgb(25, 25, 25);
}

.center {
  display: flex;
  padding: 5rem 0;
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
  place-items: center;
  gap: 1rem;
  grid-template-columns: auto auto auto;
  width: max-content;
}

.article-card {
  width: 350px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(255, 255, 255, 0.1);
  transition: all 300ms;
}

.article-card:hover {
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 255, 255, 0.25),
    0 10px 10px rgba(255, 255, 255, 0.22);
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .content {
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  padding: 30px 20px 20px 20px;
  height: auto;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.article-card .date,
.article-card .title {
  margin: 0;
}

.article-card .date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.article-card .title {
  font-size: 17px;
  color: #fff;
}

.title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.title > p {
  margin: 0;
  padding: 0%;
}

h1 {
  font-size: 5rem;
  color: #fff;
  font-family: "Foldit", sans-serif;
  margin: 0;
  padding-top: 4rem;
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}
