body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

html {
  font-size: 62.5%;
}

/* Global Classes  */

.Flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Wrapper {
  width: 100%;
  max-width: 85%;
  margin: 0 auto;
  padding: 1.5rem;
}

.secHeading {
  font-size: 3rem;
  color: #2d8ad9;
  text-align: center;
  text-transform: uppercase;
}
/* Global Classes  */

/* the slides */
.slick-slide {
  margin: 0 10px;
}

/* Blogs Trending Post Styling   */

.blogWrapper {
  gap: 30px;
  display: grid;
  margin-bottom: 50px;
  grid-template-columns: repeat(4, 1fr);
}

.blogPost {
  flex-direction: column;
}

.bpImage {
  height: 220px;
  border-radius: 25px;
}
.bpImage img {
  width: 100%;
  height: 100%;
  border-radius: 25px;
}

.bpText {
  flex: 1;
  /* width: 100%; */
  padding: 20px;
  margin-top: -60px;
  border-radius: 25px;
  display: inline-block;
  background-color: white;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.author,
.date {
  font-size: 1.2rem;
  color: #8a8a8a;
}

.bpText a {
  text-decoration: none;
}

.bpHeading {
  margin: 5px 0;
  color: #2d8ad9;
  font-size: 1.4rem;
}

/* Blogs Trending Post Styling   */

/* Blogs Section Starts Here */

.sectionWrapper {
  display: flex;
  margin: 30px 0;
}

.primarySec {
  width: 70%;
  padding: 0 20px;
}

.primarySec .secHeading {
  margin-top: 0;
  text-align: left;
}

.blog {
  padding: 20px;
  display: flex;
  border-radius: 5px;
  align-items: center;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.blog + .blog {
  margin-top: 30px;
}

.blogImage {
  width: 250px;
  height: 200px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.blogImage img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.blogContent {
  flex: 1;
  display: flex;
  padding: 0 15px;
  flex-direction: column;
  justify-content: space-between;
}

.sbWrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author,
.date {
  font-size: 1.3rem;
  color: #8a8a8a;
}

.blogHeading {
  color: #2d8ad9;
  text-decoration: none;
}

.blogHeading h3 {
  margin: 0;
  font-size: 2rem;
  margin-bottom: 10px;
}

.blogContent p {
  margin: 10px 0;
  font-size: 1.4rem;
}

.blogButton {
  width: 120px;
  padding: 10px;
  color: white;
  font-size: 1.6rem;
  text-align: center;
  text-decoration: none;
  background: rgb(140, 56, 181);
  background: linear-gradient(
    90deg,
    rgba(140, 56, 181, 1) 0%,
    rgba(45, 138, 217, 1) 100%
  );
  transition: all linear 0.2s;
}

.blogButton:hover {
  border-radius: 6px;
}

/* Secondary Stores and Widgets */
.secondarySec {
  width: 30%;
  padding: 5px;
}

.secondarySec .secHeading:first-child {
  margin-top: 0;
}

.secondarySec .secHeading {
  font-weight: 700;
  margin: 30px 0;
}
.widgets {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  border-radius: 5px;
  align-items: center;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  background-color: white;
}

.widgets a {
  margin: 5px;
  color: white;
  color: #2d8ad9;
  font-weight: 700;
  padding: 5px 12px;
  font-size: 1.4rem;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  background-color: white;
  transition: all linear 0.2s;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}
.widgets a:hover {
  color: white;
  transform: scale(1.08);
  background: rgb(140, 56, 181);
  background: linear-gradient(
    90deg,
    rgba(140, 56, 181, 1) 0%,
    rgba(45, 138, 217, 1) 100%
  );
}
/* Secondary Stores and Widgets Ends */

@media (max-width: 1024px) {
  .secondarySec {
    display: none;
  }
  .primarySec {
    width: 100%;
  }
}

/* For screens less than or equal to 880px */
@media (max-width: 880px) {
  /* Styles for 880px */
}

/* For screens less than or equal to 768 */
@media (max-width: 768px) {
  .blog {
    flex-direction: column;
  }
  .blogContent {
    justify-content: center;
  }
  .blogContent h3 {
    margin: 15px 0;
  }
  .blogContent p,
  .blogContent h3 {
    text-align: center;
  }
  .blogButton {
    margin: 0 auto;
  }
}

/* For screens less than or equal to 640px */
@media (max-width: 640px) {
  /* Styles for 640px */
}

/* For screens less than or equal to 560px */
@media (max-width: 560px) {
  /* Styles for 560px */
}

/* For screens less than or equal to 480px */
@media (max-width: 480px) {
  /* Styles for 480px */
}

/* For screens less than or equal to 320px */
@media (max-width: 320px) {
  /* Styles for 320px */
}
