main {
  overflow: hidden;
}
.article_menu {
  padding: 2rem;
  padding-right: 10px;
  display: flex;
  gap: 3rem;
}
.left-menu {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  padding: 1.5rem;
  width: 30%;
  height: 41rem;
  border-radius: 20px;
  margin-top: 2rem;
  margin-bottom: 3rem;
  background-color: #fff;
  position: relative;
}
#restart {
  position: absolute;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  font-family: "Varela Round", sans-serif;
  font-size: 1.2rem;
  top: -1.5rem;
  right: -1.5rem;
  height: 4.2rem;
  width: 4.2rem;
  border-radius: 50px;
  background-color: #52246a;
  color: #fff;
  border: none;
  z-index: 100;
  cursor: pointer;
  transition: all 0.2s;
}
#restart:hover {
  transform: scale(115%);
  background-color: #bb3925;
}
.filter-title {
  font-size: 1.626rem;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #52246a;
}
.levels {
  display: flex;
  gap: 4rem;
  justify-content: center;
  margin-bottom: 5rem;
}
.level {
  display: flex;
  position: relative;
}
.level button {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  cursor: pointer;
  font-family: "Varela Round", sans-serif;
  border: none;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.802rem;
  width: 3rem;
  height: 3rem;
  transition: all 0.2s;
}
.level button:hover {
  transform: scale(105%);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.level-b button {
  position: absolute;
  bottom: -2.2rem;
  left: -1rem;
  font-size: 1.125rem;
  width: 2.2rem;
  height: 2.2rem;
}
.level-b-2 button {
  position: absolute;
  bottom: -2.2rem;
  left: 2rem;
  font-size: 1.125rem;
  width: 2.2rem;
  height: 2.2rem;
}
.levela button {
  background-color: #51cb20;
}
.levelb button {
  background-color: #ffd500;
}
.levelc button {
  background-color: #d7263d;
}
#a1 {
  background-color: #62d036;
}
#a2 {
  background-color: #49b71d;
}
#b1 {
  background-color: #ffd91a;
}
#b2 {
  background-color: #e6c000;
}
#c1 {
  background-color: #db3c50;
}
#c2 {
  background-color: #c22237;
}

.topics {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}
.topic-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.topic-btn {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  cursor: pointer;
  font-family: "Varela Round", sans-serif;
  border: none;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  width: 4rem;
  height: 4rem;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.topic-btn:hover {
  transform: scale(105%);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.topic-svg {
  width: 3rem;
  color: #fff;
  pointer-events: none;
}
#education {
  background-color: rgb(22, 22, 138);
}
#education svg {
  width: 3.3rem;
  margin-top: -0.3rem;
}
#technology {
  background-color: rgb(242, 146, 12);
}
#technology svg {
  width: 2.5rem;
}
#economics {
  background-color: #0bb42a;
}
#economics svg {
  width: 2.5rem;
}
#science {
  background-color: rgb(194, 30, 194);
}
#culture {
  background-color: #ec0524;
}
#culture svg {
  width: 3.3rem;
  margin-top: -0.3rem;
}
#health {
  background-color: rgb(142, 19, 19);
}
#health svg {
  margin-top: 0.3rem;
}
#travel {
  background-color: rgb(4, 79, 255);
}
#travel svg {
  width: 2.5rem;
}
#environment {
  background-color: #27e349;
}
.reading-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
}
.reading-btn {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  cursor: pointer;
  font-family: "Varela Round", sans-serif;
  border: none;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.802rem;
  width: 4rem;
  height: 4rem;
  transition: all 0.2s;
}
.reading-btn:hover {
  transform: scale(105%);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
#read5 {
  background-color: #76ace5;
}
#read10 {
  background-color: #5497de;
}
#read30 {
  background-color: #2778ce;
}
/***********************************************************************************************/
.content {
  margin-top: 2rem;
  padding-top: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  width: 85%;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 1rem;
  overflow-y: scroll;
  height: 43rem;
  justify-content: flex-start; /* Ensure items start from the left */
  direction: ltr; /* Ensure left-to-right text direction */
 transition: opacity 0.4s ease-in-out, 
              max-width 0.4s ease-in-out, 
              margin 0.4s ease-in-out, 
              padding 0.4s ease-in-out;
}
.content-article {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  padding: 0;
  border-radius: 20px;
  background-color: #fff;
  width: 23rem;
  height: 19rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}
.content-article.hidden {
opacity: 0;
  max-width: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  pointer-events: none;
}
.content-article:hover {
  transform: translateY(-10px);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.article-img {
  align-self: center;
  width: 23rem; /*Igual que content-article width*/
  height: 11rem;
  margin-bottom: 1rem;
}
.article-title {
  font-size: 1rem;
  text-align: center;
  margin: 0 auto;
  height: 2rem;
  margin-bottom: 1rem;
}
.article-link {
  text-decoration: none;
  color: #52246a;
}
.article-categ {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.article-categ-mini {
  width: 2.3rem;
  height: 2.3rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  font-family: "Varela Round", sans-serif;
  border: none;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.article-categ-mini svg {
  pointer-events: none;
  width: 1.8rem !important;
}

/******************ARTICLE LEVELS BUTTONS MINI**********************************/
.article-level-a {
  font-size: 1rem;
  background-color: #51cb20;
}
.article-level-a1 {
  font-size: 1rem;
  background-color: #62d036;
}
.article-level-a2 {
  font-size: 1rem;
  background-color: #49b71d;
}
.article-level-b {
  font-size: 1rem;
  background-color: #ffd500;
}
.article-level-b1 {
  font-size: 1rem;
  background-color: #ffd91a;
}
.article-level-b2 {
  font-size: 1rem;
  background-color: #e6c000;
}
.article-level-c {
  font-size: 1rem;
  background-color: #d7263d;
}
.article-level-c1 {
  font-size: 1rem;
  background-color: #db3c50;
}
.article-level-c2 {
  font-size: 1rem;
  background-color: #c22237;
}
/*******************************************************************************************/
.content::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
}
/* For Firefox */
.content {
  scrollbar-width: thin; /* Width of the scrollbar */
}

/*****************************************************************************************/
.blog_core {
  background-color: #f5bd45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='100' y1='33' x2='100' y2='-3'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='100' y1='135' x2='100' y2='97'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23ca9b00' fill-opacity='0.6'%3E%3Crect x='100' width='100' height='100'/%3E%3Crect y='100' width='100' height='100'/%3E%3C/g%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='url(%23a)' points='100 30 0 0 200 0'/%3E%3Cpolygon fill='url(%23b)' points='100 100 0 130 0 100 200 100 200 130'/%3E%3C/g%3E%3C/svg%3E");
  padding-bottom: 0.5rem;
  overflow: hidden;
}
.bloq2 {
  height: 13rem;
  width: 30rem;
  background-color: #fff;
  border-top-left-radius: 37px 140px;
  border-top-right-radius: 23px 130px;
  border-bottom-left-radius: 110px 19px;
  border-bottom-right-radius: 120px 24px;
  display: block;
  position: relative;
  border: solid 3px #52246a;
  padding: 1rem 2rem;
  font-size: 0.889rem;
  text-align: center;
  line-height: 2;
  transform: rotate(-1deg);
  box-shadow: 3px 15px 8px -10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease-in;
}
.bloq2:hover {
  transition: all 0.2s ease-in;
  transform: translateY(1px) rotate(1deg);
  box-shadow: 3px 15px 8px -10px rgba(0, 0, 0, 0.3);
}
.head-bloq2 {
  transition: all 0.2s;
  font-weight: 600;
  font-size: 1.626rem;
  color: #52246a;
  background-image: linear-gradient(120deg, #f4b52d 0%, #f5bd45 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 100%;
  transition: background-size 0.25s ease-in;
}

.cta_button_blog {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  text-decoration: none;
  font-family: "Varela Round", sans-serif;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  padding: 1rem;
  color: #fff;
  font-size: 1.626rem;
  background-color: #52246a;
  margin-top: 1.5rem;
  transition: all 0.3s;
}
.cta_button_blog:hover {
  transform: scale(1.05);
  background-color: #bb3925;
}
.blog_box {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 2rem;
  padding-bottom: 0;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 20px;
  width: 75%;
  margin-bottom: 7rem;
  border: 2px solid #52246a;
}
.categ_ele {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 1.424rem;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 1rem;
  gap: 15%;
}
.categ_link {
  color: #52246a;
  text-decoration: none;
  transition: all 0.2s;
}
.categ_link:hover {
  color: #bb3925;
}
.categ_link_2 {
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}

.main_blog {
  display: flex;
  justify-content: center;
  gap: 5rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
  margin-left: -3rem; /*valor opuesto al padding-left de blog-core*/
}
.button_blog {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  padding: 1.5rem;
  width: 22%;
  font-size: 1.424rem;
  text-align: left;
  background-color: #52246a;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.button_blog:hover {
  transform: scale(1.03);
  background-color: #bb3925;
}
.button_blog:hover .btn-icon {
  transform: scale(115%);
}
.btn-icon {
  position: absolute;
  fill: #fff;
  top: -23rem;
  left: 10rem;
  width: 35px;
  pointer-events: none;
  transition: all 0.3s;
}
.icon-bull {
  left: 9rem;
  width: 43px;
}
.title-section {
  font-size: 1.802rem;
  margin-bottom: 1rem;
  padding-bottom: 20px;
  border-bottom: 1px solid #52246a;
}
.section-list {
  position: relative;
  color: #52246a;
}
.section-icon {
  width: 27px;
  position: absolute;
  top: -24.5rem;
  right: -2.5rem;
  pointer-events: none;
  transition: all 0.3s;
}
.cta_book:hover .section-icon {
  transform: scale(120%);
}
.underline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.underline-list {
  margin-right: 20px;
  position: relative; /* Required for the pseudo-element */
}

.underline-list::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: #bb3925;
  left: 0;
  bottom: -3px;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.underline-list:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.trial_section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  padding-top: 2rem;
  padding-bottom: 0;
  gap: 3rem;
  height: auto;
  background-color: #f5bd45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='100' y1='33' x2='100' y2='-3'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='100' y1='135' x2='100' y2='97'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23ca9b00' fill-opacity='0.6'%3E%3Crect x='100' width='100' height='100'/%3E%3Crect y='100' width='100' height='100'/%3E%3C/g%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='url(%23a)' points='100 30 0 0 200 0'/%3E%3Cpolygon fill='url(%23b)' points='100 100 0 130 0 100 200 100 200 130'/%3E%3C/g%3E%3C/svg%3E");
  overflow: hidden;
}
.student_blog {
  margin-left: -5rem;
  margin-bottom:-3rem;
  width: 25rem;
  height: auto;
  transition: all 0.3s;
}
.student_blog:hover {
  transform: scale(103%);
}

.filter-button.active {
  background-color: #52246a !important; /* Change to the desired color */
  color: #f3ad16; /* Change to the desired text color */
  /* Add any other styles to indicate the active state */
}
