@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&family=Mona+Sans:ital,wght@0,200..900;1,200..900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  border: 1px transparent red;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
}

.flex {
  display: flex;
  align-items: center;
  align-content: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 10px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;

}

.content {
  text-align: center;
  margin-top: 5vh;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding: 20px;
  /* Adjust the maximum width as needed */
}

.navbar {
  justify-content: space-between;
}

.nav-links {
  gap: 50px;
  list-style: none;
}

.navbar a {
  padding: 20px 0;
  display: inline-block;
  color: black;
  text-decoration: none;
  text-transform: capitalize;
  transition: .2s;
}

.navbar a:hover {
  color: #ff8856;
}

/*Homepage*/
.insights {
  position: relative;
  height: 50vh;
  width: 100%;
  background: url(Images/insightsPage.png);
  background-position: center;
  background-size: cover;
}

.insights::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
}

.insights .content {
  position: relative;
  height: 100%;
  margin-top: 10px;
  flex-direction: column;
  justify-content: center;
}

.insights .text {
  color: white;
  text-align: left;
  margin-bottom: 50px;

}

.insights .text h1 {
  font-size: 85px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;

}



/*Posts*/

/*
.section-title {
  text-align: center;
}

section h3 {
  font-size: 1rem;
}

section .points {
  margin-top: 50px;
  flex-wrap: wrap;
  justify-content: space-between;
}

section .post {
  width: 100%;
  text-align: center;
  list-style: none;
}


section .post p {
  margin-top: 5px;
  font-size: 1rem;
  margin-bottom: 30px;
}

*/

.posts .content{
  margin-top: 10px;
}

.posts .points {
  flex-wrap: wrap;
  justify-content: space-between;
}

.posts .post {
  width: 100%;
  display: flex;
  text-align: justify;
  list-style: none;
  background-color: #f0f0f0;
  padding: 10px 0 10px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.04);
  margin: 10px;
}

.posts .post img {
  height: 240px;
  max-width: 35rem;
  border-radius: 8px;
  margin: 20px;
}

.posts .post-info {
  padding: 20px;
  margin-bottom: 10px;
}

.posts .post-date{
  margin-bottom: 5px;
}

section span {
  font-size: 12px;
  margin-bottom: 10px;
}

section h1 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: left;
}

section p {
  font-size: 14px;
  line-height: 1.5;
}

.posts .post-cta {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  letter-spacing: 1px;
  font-size: 14px;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  background: #510048;
}

.posts .post-cta:hover {
  color: #fff;
  background: rgba(146, 25, 170, 0.726);
}

/*Post Articles*/
.articlesTittle {
  position: relative;
  height: 40vh;
  width: 100%;
  background-position: center;
  background-size: cover;
}

.articlesTittle .content {
  position: relative;
  height: 100%;
  margin-top: 10px;
  flex-direction: column;
  justify-content: center;
}

.articlesTittle .text {
  color: black;
  justify-content: center;
  margin-bottom: 10px;
}

.articlesTittle .text h1 {
  font-size: 40px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 10px;
  text-align: center;
}

.articlesTittle .text p{
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.articles .article {
  text-align: justify;
  line-height: 1.5;
  font-size: 14px;
}

.articles .article p{
  padding: 10px;
  line-height: 1.5rem;
  font-size: 14px;
  text-align: justify;
}

.articles .article h3{
  padding: 10px;
text-align: justify;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
  margin: 10px;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: rgb(250, 218, 250);
}

/*Card Slider*/
.cardSlider{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height:20vh;
}

.cardSlider .content{
  display: flex;
  position: relative;
  height: 100%;
  margin-top: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.card-wrapper{
  max-width: 1100px;
  margin: 0 60px 35px;
  padding: 20px 10px;
  overflow: hidden;
}

.card-list .card-item{
  list-style: none;
  justify-content: center;
  align-items: center;
}

.card-list .card-item .card-link{
  user-select: none;
  width: 300px;
  display: block;
  background:#dad9d9;
  padding: 18px;
  border-radius: 10px;
  margin: auto;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: 0.2 ease;
}

.card-list .card-item .card-link:hover{
  border-color: #510048;
}

.card-list .card-link .card-image{
  width: 200px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  justify-content: center;
}

.card-list .card-link span{
display: flex;
justify-content: center;
}

.card-list .card-link .card-title{
  font-size: 1rem;
  color: black;
}


/*Footer*/
.footer {
  background-color: #333;
  padding: 20px 0;
}

.footer .span {
  color: #fff;
  font-size: 10px;
}

#menu-toggle,
#bar-btn {
  display: none;
}



/*Responsive*/

@media (width < 1200px) {

.card-list .card-item{
  list-style: none;
}
.card-list .card-item .card-link{
  user-select: none;
  width: 250px;
  display: block;
  background:#dad9d9;
  padding: 18px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: 0.2 ease;
}

.card-list .card-item .card-link:hover{
  border-color: #510048;
}

.card-list .card-link .card-image{
  width: 200px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  justify-content: center;
}

.card-list .card-link span{
display: flex;
justify-content: center;
font-size: 10px;
}

.card-list .card-link .card-title{
  font-size: 12px;
  color: black;
}

}

@media (width < 860px) {
  .navbar .nav-links {
    position: fixed;
    left: 0;
    top: 100px;
    height: 100%;
    display: block;
    background: #fff;
    width: 300px;
    padding-left: 20px;
    padding-top: 40px;
    left: -100%
  }

  #menu-toggle:checked~.nav-links {
    left: 0;
  }

  .nav-links li {
    font-size: 18px;
  }

  #bar-btn {
    display: block;
    color: black;
    font-size: 22px;
    cursor: pointer;
  }

  .insights .text h1 {
    font-size: 50px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;

  }

  section .points .poin {
    width: calc(100% / 2 - 15px);
  }

  section span {
    font-size: 12px;
    margin-bottom: 10px;
  }

  section h1 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: left;
  }

  section p {
    font-size: 14px;
  }

  .posts .post-cta {
    display: inline-block;
    padding: 5px 10px;
    margin-top: 20px;
    letter-spacing: 1px;
    font-size: 12px;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    background: #510048;
  }

   .articlesTittle .text h1 {
    font-size: 30px;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 10px;

  }

  .articles .article {
    text-align: justify;
    line-height: 1.5;
    font-size: 12px;
  }

  .articles .article .post1{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    font-size: 12px;
  }

  .card-wrapper{
    max-width: 850px;
    margin: 0 40px 15px;
    padding: 20px 10px;
    overflow: hidden;
  }
  
  .card-list .card-item{
    list-style: none;
    justify-content: center;
    align-items: center;
  }

}

@media (width < 560px) {
  .insights .text h1 {
    font-size: 40px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  section .points .poin {
    width: 100%;
  }

  .posts .post {
    width: 100%;
    flex-direction: column;
    text-align: justify;
    list-style: none;
    background-color: #ccccccc4;
    padding: 10px 0 10px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.04);
    margin: 10px;
  }

  section span {
    font-size: 10px;
    margin-bottom: 10px;
  }

  section h1 {
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: left;
  }

  section p {
    font-size: 12px;
  }

  .posts .post-cta {
    display: inline-block;
    padding: 5px 10px;
    margin-top: 20px;
    letter-spacing: 1px;
    font-size: 10px;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    background: #510048;
  }

  .articles .article p{
    text-align: justify;
    line-height: 1.5;
    font-size: 12px;
  }

}