* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  /* Prevents horizontal scrollbars */
}

@font-face {
  font-family: "Grifter";
  src: url("/assets/fonts/GRIFTERBold.woff2") format("woff2"),
    url("/assets/fonts/GRIFTERBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins Medium";
  src: url("/assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: normal;
  /* This defines the Black weight */
  font-style: normal;
}

* {
  font-family: "Grifter", sans-serif;
}

p {
  font-family: "Poppins Medium", sans-serif;
  color: #07084c;
}

.blog-page {
  height: 100%;
  min-height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding-bottom: 30%;
  padding-top: 87px;
  color: #07084c;
  background-color: #f0f3fa;
}

.article-image {
  width: 100%;
  height: 325px;
  background-size: cover ;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article{
  width: 100%;
}


.article-title {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white; /* or dark based on image */
  padding: 1rem;
  font-size: 2rem;
}


.article-title {
  color: #f0f3fa; 
  font-size: 40px;
  line-height: 41px;
  font-weight: 700;
  text-align: center;
  width: 80%;
  text-shadow: -1px -1px 0 #07084c, 1px -1px 0 #07084c, -1px 1px 0 #07084c,
    1px 1px 0 #07084c; 
}

.article-tagline {
  width: 100%;
  text-align: center;
  margin-top: 3%;
  margin-bottom: 3%;
  color: #5042a6;
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
}

.article-content {
  width: 100%;
  margin-top: 3%;
  margin-bottom: 3%;
  color: #5042a6;
  font-size: 20px;
  line-height: 20px;
  padding-left: 10%;
  padding-right: 10%;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 24px;
    line-height: 24px;
  }
  .article-tagline {
    font-size: 20px;
    line-height: 20px;
    margin-top: 4%;
    margin-bottom: 4%;
  }

  .article-content {
    font-size: 14px;
    line-height: 16px;
    padding-left: 10%;
    padding-right: 10%;
  }
}
