* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
:root {
  scroll-behavior: smooth;
  --primary-color: #ffd15b;
  --secondary-color: black;
  --main-padding: 12px 24px;
  --main-duration: 0.2s;
}

body {
  margin: 0;
  font-family: "EXO", sans-serif;
}
::selection {
  background-color: var(--primary-color,);
  color: var(--secondary-color);
}
a {
  text-decoration: none;
  color: inherit;
}
li {
  list-style: none;
}
ul {
  padding: 0;
}
img {
  width: 100%;
}
button {
  cursor: pointer;
  border: unset;
  color: inherit;
  display: block;
  outline: none;
}
.container {
  width: 91%;
  margin: auto;
}
.shadow {
  border: 4px solid black;
  box-shadow: 4px 4px black;
  padding: 35px;
  margin-bottom: 40px;
}

/* title class */
.sectionTitle {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.sectionTitle::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 100px;
  height: 7px;
  background-color: var(--secondary-color);
  transform: translateX(-50%) rotate(1deg);
}
.sectionTitle h2 {
  font-size: 36px;
  line-height: 36px;
  font-weight: 900;
  margin-bottom: 15px;
}
.sectionTitle p {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

/* -------------------------------Home Section---------------------------------------- */

.home {
  position: relative;
  background-color: #fff085;
  border-bottom: 4px solid var(--secondary-color);
  padding-bottom: 40px;
}
.boxes {
  position: absolute;
  opacity: 0.1;
}
.box1 {
  width: calc(4 * 32px);
  height: calc(4 * 32px);
  left: 40px;
  top: 40px;
  transform: rotate(12deg);
  background-color: var(--secondary-color);
}

.box2 {
  width: calc(4 * 24px);
  height: calc(4 * 24px);
  right: 50px;
  top: 160px;
  transform: rotate(-45deg);
  background-color: #fb2c36;
}
.box3 {
  width: calc(4 * 28px);
  height: calc(4 * 28px);
  left: calc(100% / 3);
  bottom: 100px;
  transform: rotate(-45deg);
  background-color: #2b7fff;
}

/* ---------Navbar------------ */

.navbar {
  position: fixed;
  /* to make the nabar inherits the width form its parent (container)...> when element has position fixed or absolute deal with Viewport  */
  width: inherit;
  display: flex;
  z-index: 100;
  justify-content: space-between;
  background-color: white;
  padding: var(--main-padding);
  align-items: center;
  border-radius: 15px;
  border: 2px solid var(--secondary-color);
  top: 16px;
}
.navbar .logo a {
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
}
.logo a span {
  color: #f97200;
}
.navbar .links {
  display: none;
  column-gap: 40px;
}
.links li {
  position: relative;
}

/* the method to add icon by pesoudo element */
.links li:not(:last-of-type)::after {
  position: absolute;
  content: "\f005";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  color: #d1d5dc;
  transform: translate(60%, 25%);
}

.navbar .links a {
  line-height: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: color var(--main-duration) ease-in;
}
.navbar .links a:hover {
  color: #f97200;
}
.subscribe {
  display: none;
}
.navbar .subscribe button {
  display: none;
  border: 2px solid var(--secondary-color);
  background-color: var(--primary-color);
  border-radius: 3.40282e38px;
  padding: var(--main-padding);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  transition: transform var(--main-duration) ease-in;
}

/* in responsive */
.burgerMenu {
  cursor: pointer;
  display: flex;
  width: 42px;
  height: 42px;
  border: 2px solid var(--secondary-color);
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-shadow: 3px 3px var(--secondary-color);
}

.burgerMenu i {
  font-size: 24px;
  font-weight: 900;
}

.navbar .subscribe button:hover {
  transform: translate(4px, 4px);
}

.home-content {
  padding-top: 230px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  row-gap: 20px;
}
.content {
  max-width: 100%;
}
.title {
  position: relative;
}
.title h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 90px;
  text-shadow: 3px 3px var(--secondary-color);
  max-width: 512px;
  margin-bottom: 32px;
}
.red-word {
  color: #e7000b;
}
.blue-word {
  color: #155dfc;
}
.title div {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  top: -25%;
  position: absolute;
  padding: 12px 20px;
  background-color: var(--secondary-color);
  box-shadow: 3px 3px var(--secondary-color);
  color: white;
  transform: rotate(-2deg);
}
.about-home {
  padding: 15px;
  border: 2px solid var(--secondary-color);
  box-shadow: 3px 3px var(--secondary-color);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 32px;
  background-color: white;
  z-index: 2;
  position: relative;
}
.inner-image {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
}
.home-image {
  width: 100%;
  height: 400px;
  border: 4px solid var(--secondary-color);
  box-shadow: 6px 6px var(--secondary-color);
  transition: transform var(--main-duration) ease-in;
}

.home-image:hover {
  /* i can't use 2 transform in 2 lines .. the answer */
  transform: translate(-4px, -4px);
}
.features {
  border: 3px solid var(--secondary-color);
  position: absolute;
  top: -12px;
  right: -12px;
  transform: rotate(12deg);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding: 12px 20px;
  background-color: #fb2c36;
  box-shadow: 3px 3px var(--secondary-color);
  color: white;
}
.home-image img {
  object-fit: cover;
  height: 100%;
}
.buttons {
  display: flex;
  column-gap: 20px;
}
.buttons button {
  padding: 16px 32px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  box-shadow: 6px 6px var(--secondary-color);
  border: 4px solid var(--secondary-color);
  transition: all var(--main-duration) ease-in;
  z-index: 2;
  position: relative;
  margin-bottom: 40px;
}
/* overriding on the buttons width and height in small mobiles */
@media (min-width: 0px) and (max-width: 400px) {
  .buttons button {
    padding: 8px 16px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
  }
}
.buttons button:hover {
  transform: translate(6px, 6px);
  box-shadow: 0 0;
}
.buttons i {
  margin-right: 4px;
}
.button-1 {
  background-color: var(--secondary-color);
  color: white;
}
.button-2 {
  background-color: white;
  color: var(--secondary-color);
}

/* -----------------------------------Latest Articles Section------------------------- */
.latestArticles {
  background-color: #f5f5f5;
  padding: 80px 0;
  border-bottom: 4px solid var(--secondary-color);
}
.latestArticles .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*------------left content of Latest Articles---------- */
.latestArticles .left-content {
  width: 100%;
  position: relative;
}
.left-content .freshContent {
  display: none;
  position: absolute;
  right: 0;
  top: 0px;
  background-color: black;
  color: white;
  padding: 12px 20px;
  line-height: 24px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 4px 4px black;
  transform: rotate(2deg);
}
.left-content h2 {
  line-height: 36px;
  font-weight: 900;
  font-size: 36px;
  margin-bottom: 50px;
}

.content-card {
  background-color: white;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  justify-content: space-between;
  transition: all var(--main-duration) ease-in;
}

.content-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px;
}
.content-card .articlesImage {
  width: calc(4 * 40px);
  height: calc(4 * 32px);
  border: 3px solid black;
  position: relative;
}

.content-card .articlesImage::after {
  color: white;
  line-height: 16px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  position: absolute;
  border: 2px solid black;
}
.card1 .articlesImage::after {
  content: "NEW";
  background-color: #fb2c36;
  right: -8px;
  transform: translateY(-50%) rotate(7deg);
}
.card2 .articlesImage::after {
  content: "HOT";
  background-color: #2b7fff;
  right: -8px;
  transform: translateY(-50%) rotate(-7deg);
}
.card3 .articlesImage::after {
  content: "VIRAL";
  background-color: #ad46ff;
  right: -10px;
  transform: translateY(-45%) rotate(45deg);
}
.articlesImage img {
  height: 100%;
  object-fit: cover;
}
.content-card .articleContent {
  width: 100%;
  position: relative;
}
.articleContent span.tech {
  position: absolute;
  line-height: 16px;
  font-size: 12px;
  font-weight: 700;
  background-color: #ffdf20;
  border: 2px solid;
  transform: rotate(-2deg);
  box-shadow: 3px 3px;
  padding: 4px 8px;
  top: -10px;
}
.articleContent span.design {
  position: absolute;
  line-height: 16px;
  font-size: 12px;
  font-weight: 700;
  background-color: #7bf1a8;
  border: 2px solid;
  transform: rotate(2deg);
  box-shadow: 3px 3px;
  padding: 4px 8px;
  top: -10px;
}
.articleContent span.culture {
  position: absolute;
  line-height: 16px;
  font-size: 12px;
  font-weight: 700;
  background-color: #fda5d5;
  border: 2px solid;
  transform: rotate(-3deg);
  box-shadow: 3px 3px;
  padding: 4px 8px;
  top: -10px;
}
.articleContent h3 {
  margin: 35px 0 15px;
  line-height: 32px;
  font-size: 18px;
  font-weight: 700;
  transition: color var(--main-duration) ease-in;
}
.card1:hover .articleContent h3 {
  color: #e7000b;
}
.card2:hover .articleContent h3 {
  color: #2b7fff;
}
.card3:hover .articleContent h3 {
  color: #ad46ff;
}
.articleContent p {
  line-height: 21px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
}
.aboutArticles {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  flex-wrap: wrap;
}
@media screen and (max-width: 650px) {
  .aboutArticles span {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    width: 100%;
  }
}
@media screen and (min-width: 651px) {
  .aboutArticles {
    flex-direction: row;
  }
  .aboutArticles span {
    width: 50%;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }
}
@media screen and (min-width: 1280px) {
  .aboutArticles span {
    width: 30%;
  }
  .aboutArticles span:last-child {
    color: #e7000b;
    width: 10%;
  }
}

.aboutArticles span {
  /* width: 30%; */
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.articlesButton button {
  padding: 16px 48px;
  background-color: var(--secondary-color);
  color: white;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  box-shadow: 4px 4px black;
  transition: all var(--main-duration) ease-in;
  margin: 60px auto 36px;
}
.articlesButton button:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0;
}
/* --------right content of Latest Articles---------- */
.latestArticles .right-content {
  width: 100%;
}
.trending {
  display: flex;
  flex-direction: column;
  background-color: white;
}
.trending h3 {
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
  margin-bottom: 20px;
  margin-bottom: 6px;
}
.trending > div {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.trending > div > span {
  font-size: 36px;
  font-weight: 900;
  line-height: 40px;
  margin-right: 18px;
}
.trend1 > span {
  color: #fb2c36;
}
.trend2 > span {
  color: #2b7fff;
}
.trend3 > span {
  color: #ad46ff;
}
.trending .trendName h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
  transition: all var(--main-duration) ease-in;
}
.trend1:hover h4 {
  color: #fb2c36;
}
.trend2:hover h4 {
  color: #2b7fff;
}
.trend3:hover h4 {
  color: #ad46ff;
}
.trending .trendName span {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #848484;
}
.categories {
  background-color: white;
}
.right-content .categories h3 {
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
  margin-bottom: 20px;
}
.right-content .categories > div {
  cursor: pointer;
  padding: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  border: 2px solid;
  margin-bottom: 10px;
  transition: all var(--main-duration) ease-in;
}
.right-content .categories > div:hover {
  box-shadow: 4px 4px;
  transform: translate(-4px, -4px);
}
.category1 {
  background-color: #fef9c2;
}
.category1:hover {
  background-color: #ffdf20;
}
.category2 {
  background-color: #dbfce7;
}
.category2:hover {
  background-color: #7bf1a8;
}
.category3 {
  background-color: #fce7f3;
}
.category3:hover {
  background-color: #fda5d5;
}
.category4 {
  background-color: #dbeafe;
}
.category4:hover {
  background-color: #8ec5ff;
}
.category5 {
  background-color: #f3e8ff;
  margin-bottom: 0px;
}
.category5:hover {
  background-color: #dab2ff;
}

/* ----------------------------authors section----------------------- */

.authors {
  background-color: #ffd230;
  padding: 80px 0;
  border-bottom: 4px solid var(--secondary-color);
  position: relative;
}
.authors::after {
  content: "";
  position: absolute;
  width: calc(4 * 40px);
  height: calc(4 * 40px);
  right: 40px;
  top: 40px;
  background-color: var(--secondary-color);
  transform: rotate(45deg);
  opacity: 0.1;
}
.authors::before {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: calc(4 * 32px);
  height: calc(4 * 32px);
  background-color: #e7000b;
  transform: rotate(-12deg);
  opacity: 0.1;
}

.authors .authorCards {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.authorCards > div {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
  transition: all calc(var(--main-duration) + 0.1s) ease-in;
}
.authorCards .authorImage {
  width: calc(32px * 4);
  height: calc(32px * 4);
  border: 4px solid var(--secondary-color);
  margin: auto;
}
.authorCards .authorImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.authorCards > div::after {
  position: absolute;
  top: 6%;
  right: 4%;
  border: 2px solid var(--secondary-color);
  padding: 4px 10px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}
.author1::after {
  content: "FOUNDER";
  transform: rotate(7deg);
  background-color: #fb2c36;
  color: white;
}

.author2::after {
  content: "LEAD";
  transform: rotate(-8deg);
  background-color: #2b7fff;
  color: white;
}
.author3::after {
  content: "VIRAL";
  transform: rotate(45deg);
  background-color: #ad46ff;
  color: white;
}

.authorCards .authorContent h3 {
  font-size: 23px;
  font-weight: 900;
  line-height: 27px;
  margin: 20px 0 10px;
  transition: all var(--main-duration) ease-in;
}
.authorCards .authorContent span {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  color: #525252;
}
.authorCards .authorContent p {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  margin: 20px 0;
}
.socialMedia {
  display: flex;
  column-gap: 15px;
  justify-content: center;
  align-items: center;
}

.socialMedia a {
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: white;
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color);
  transition: all var(--main-duration) ease-in;
}
.socialMedia a:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px var(--secondary-color);
}
.socialMedia .twitter:hover {
  background-color: #1da1f2;
}
.socialMedia .linkedin:hover {
  background-color: #155dfc;
}
.socialMedia .instagram:hover {
  background-color: #e60076;
}
.author1 {
  background-color: #fef9c2;
}
.author2 {
  background-color: #dbfce7;
}
.author3 {
  background-color: #fce7f3;
}
.author1:hover h3 {
  color: #fb2c36;
}
.author2:hover h3 {
  color: #2b7fff;
}
.author3:hover h3 {
  color: #ad46ff;
}
.authorCards > div:hover {
  transform: translate(-4px, -4px);
}

/* ----------------------community Section---------------------- */

.community {
  padding: 80px 0;
  background-color: #f5f5f5;
}
/* override on the title */
.community .sectionTitle::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 100px;
  height: 7px;
  background-color: var(--secondary-color);
  transform: translateX(-50%) rotate(-1deg);
}
.communityContent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  column-gap: 55px;
}
.communityContent .leftCommunity {
  width: 100%;
  margin-bottom: 30px;
}
.communityContent .leftCommunity h3 {
  font-size: 27px;
  font-weight: 900;
  line-height: 30px;
  margin: 25px 0 25px;
}
.communityContent .leftCommunity > p {
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  border: 2px solid var(--secondary-color);
  padding: 32px;
  box-shadow: 3px 3px var(--secondary-color);
  margin-bottom: 32px;
  background-color: white;
}

.leftCommunity .aboutCommunity > div {
  display: flex;
  align-items: center;
  column-gap: 20px;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.aboutCommunity > div span {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px;
  color: white;
  border: 2px solid var(--secondary-color);
}
.aboutCommunity > div p {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}
.aboutCommunity > div span.check {
  background-color: #fb2c36;
}
.aboutCommunity > div span.discord {
  background-color: #2b7fff;
}
.aboutCommunity > div span.star {
  background-color: #ad46ff;
}
.aboutCommunity > div span.pen {
  background-color: #00c950;
}
.aboutCommunity > div span i {
  color: white;
}
.aboutCommunity button {
  margin: 50px 0 40px;
  padding: 24px 48px;
  background-color: var(--secondary-color);
  color: white;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  box-shadow: 4px 4px black;
  transition: all var(--main-duration) ease-in;
}
.aboutCommunity button:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0;
}
.rightCommunity {
  width: 100%;
  background-color: white;
}
.rightCommunity h3 {
  font-size: 23px;
  font-weight: 900;
  line-height: 27px;
  margin-bottom: 32px;
}
.rightCommunity > div {
  border: 2px solid var(--secondary-color);
  padding: 16px 16px 16px 24px;
  margin-bottom: 32px;
}
.rightCommunity .writer1 {
  background-color: #fef2f2;
}

.rightCommunity .writer2 {
  background-color: #eff6ff;
}

.rightCommunity .writer3 {
  background-color: #faf5ff;
}

.rightCommunity > div:last-child {
  margin-bottom: 0px;
}
.rightCommunity > div p {
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  margin-bottom: 15px;
}
.rightCommunity > div .abotWriter {
  display: flex;
  align-items: center;
  column-gap: 20px;
}
.rightCommunity .abotWriter .writerImage {
  width: 40px;
  height: 40px;
  border: 2px solid var(--secondary-color);
}
.rightCommunity .abotWriter .writerImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rightCommunity .writerInfo h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}
.rightCommunity .writerInfo span {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #525252;
}

/* ---------------------------------Footer Section----------------------- */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 80px 0;
}
.footer .footerContnet {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 48px;
}

.footerContnet .leftFooter {
  /* new method to make the layout,  the width of flex2 is the double of flex1 */
  flex-grow: 2;
  margin-bottom: 40px;
}
.logoImage {
  background-color: white;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logoImage img {
  width: 25px;
  object-fit: cover;
}
.leftFooter .footerLogo {
  display: flex;
  column-gap: 12px;
  align-items: center;
  margin-bottom: 30px;
}
.footerContnet .leftFooter h2 {
  font-size: 23px;
  font-weight: 900;
  line-height: 27px;
}
.footerContnet .leftFooter p {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.middleFooter {
  flex-grow: 1;
}

.middleFooter h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 18px;
  margin-bottom: 28px;
}
.middleFooter ul li {
  margin-bottom: 16px;
}
.middleFooter ul a {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  transition: color var(--main-duration) ease-in;
}
.middleFooter ul a:hover {
  color: #ffdf20;
}
.footerContnet .rightFooter {
  flex-grow: 2;
}
.footerContnet .rightFooter h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 18px;
  margin-bottom: 28px;
}
.footerContnet .rightFooter p {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 16px;
}
.rightFooter form input {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  border: 1px solid white;
  margin-bottom: 24px;
  background-color: black;
}
.rightFooter form input::placeholder {
  color: #a1a1a1;
}
.rightFooter form input:focus {
  outline: none;
  border-color: #ffdf20;
}
.rightFooter form button {
  width: 100%;
  padding: 16px 0;
  background-color: #ffdf20;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  box-shadow: 2px 2px 4px var(--secondary-color) inset;
  box-shadow: -4px -4px 0 0 rgba(0, 0, 0, 0.2) inset;
  transition: all var(--main-duration) ease-in;
}
.rightFooter form button:hover {
  transform: translate(4px, 4px);
  background-color: #fdc700;
}
.privacyPolicy {
  padding-top: 32px;
  border-top: 4px solid white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.privacyPolicy .copyRights {
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  /*  */
  margin-bottom: 14px;
  text-align: center;
}
.privacyPolicy .policyLinks {
  display: flex;
  column-gap: 20px;
}
.privacyPolicy .policyLinks a {
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
  transition: color var(--main-duration) ease-in;
}
.privacyPolicy .policyLinks a:hover {
  color: #ffdf20;
}

/* ----------------Responsive Web Design----------- */
@media only screen and (min-width: 600px) {
  .container {
    width: 92%;
  }
  .sectionTitle h2 {
    font-size: 42px;
    font-weight: 900;
    line-height: 40px;
    margin-bottom: 15px;
  }
  .title h1 {
    font-size: 72px;
    font-weight: 900;
  }
}
@media only screen and (min-width: 768px) {
  .container {
    width: 90%;
  }
  .sectionTitle h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 40px;
    margin-bottom: 15px;
  }
  .left-content .freshContent {
    display: block;
  }
  .left-content h2 {
    line-height: 48px;
    font-weight: 900;
    font-size: 48px;
    margin-bottom: 50px;
  }
  .articleContent h3 {
    font-size: 24px;
  }
  .articleContent p {
    font-size: 18px;
    line-height: 29px;
  }
  .authorCards .authorContent h3 {
    font-size: 30px;
    font-weight: 900;
    line-height: 32px;
  }
  .authorCards .authorContent span {
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
  }
  .authorCards .authorContent p {
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
  }
  .leftCommunity h3 {
    font-size: 36px;
    line-height: 40px;
    margin: 50px 0 25px;
  }
  .communityContent .leftCommunity > p {
    font-size: 20px;
    font-weight: 600;
    line-height: 33px;
  }
  .aboutCommunity > div p {
    font-size: 17px;
    font-weight: 600;
    line-height: 25px;
  }
  .rightCommunity h3 {
    font-size: 26px;
    font-weight: 900;
    line-height: 32px;
    margin-bottom: 32px;
  }
  .rightCommunity > div p {
    font-size: 18px;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 15px;
  }
  .rightCommunity .writerInfo h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
  }
  .footer .footerContnet {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footerContnet .leftFooter {
    width: 100%;
    margin-bottom: 30px;
  }
  .footerContnet .middleFooter {
    /* flex: 1; 
    كدا كدا هيا فليكس 1
    nothing
    */
  }
  .footerContnet .rightFooter {
    width: 70%;
    /* flex: 2; */
  }
  .footerContnet .leftFooter h2 {
    font-size: 30px;
    font-weight: 900;
    line-height: 36px;
  }
  .footerContnet .leftFooter p {
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
  }

  .middleFooter h3 {
    font-size: 24px;
    font-weight: 900;
    line-height: 32px;
    margin-bottom: 28px;
  }
  .middleFooter ul a {
    font-size: 19px;
    font-weight: 600;
    line-height: 30px;
  }

  .rightFooter h3 {
    font-size: 24px;
    font-weight: 900;
    line-height: 32px;
    margin-bottom: 28px;
  }
  .footerContnet .rightFooter p {
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
  }
  .rightFooter form input,
  .rightFooter form button {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
  }

  .about-home {
    padding: 16px;
    font-size: 24px;
    line-height: 32px;
  }
}

@media only screen and (min-width: 1023px) {
  .container {
    width: 85%;
  }
  .home-content {
    flex-direction: row;
  }
  .home-content .content {
    width: 50%;
    margin-bottom: 0px;
  }
  .home-content .inner-image {
    width: 44%;
    margin-bottom: 0px;
  }
  .home-image {
    width: 100%;
    height: 400px;
    border: 4px solid var(--secondary-color);
    box-shadow: 6px 6px var(--secondary-color);
    transform: rotate(2deg);
    transition: transform var(--main-duration) ease-in;
  }
  .home-image:hover {
    transform: translate(-4px, -4px) rotate(2deg);
  }
  .sectionTitle h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 48px;
    margin-bottom: 15px;
  }
  .authors .authorCards {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .authorCards > div {
    width: calc(97% / 2);
    margin-bottom: 30px;
  }
  .communityContent {
    flex-direction: row;
  }
  .communityContent .leftCommunity {
    flex: 1;
  }
  .leftCommunity button {
    margin: 50px 0;
  }
  .communityContent .rightCommunity {
    flex: 1;
  }
  .rightCommunity h3 {
    font-size: 36px;
    font-weight: 900;
    line-height: 40px;
  }
  .footerContnet .leftFooter {
    flex: 2;
  }
  .footerContnet .middleFooter {
    flex: 1;
  }
  .footerContnet .rightFooter {
    flex: 2;
  }
}
@media only screen and (min-width: 1100px) {
  .navbar .links {
    display: flex;
  }
  .subscribe {
    display: block;
  }
  .navbar .subscribe button {
    display: block;
  }
  .burgerMenu {
    display: none;
  }
  .latestArticles .container {
    flex-direction: row;
    justify-content: space-between;
  }
  .latestArticles .left-content {
    width: 67%;
  }
  .latestArticles .left-content .content-card {
    flex-direction: row;
  }
  .content-card .articlesImage {
    width: 25%;
    height: 128px;
  }
  .latestArticles .left-content .articleContent {
    width: 70%;
  }

  .latestArticles .right-content {
    width: 30%;
    position: sticky;
    top: 100px;
    /* becuase the container has flex, and by default the child has align-items: stretch; to solve this problem .. */
    align-self: flex-start;
  }
  .authorCards > div {
    width: calc(95% / 3);
    margin-bottom: 0px;
  }
}
@media screen and (min-width: 1285px) {
  .privacyPolicy {
    flex-direction: row;
  }
  .privacyPolicy .copyRights {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
  }
  .privacyPolicy .policyLinks a {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }
}
