:root {

    /**
     * colors
     */

     --chinese-violet_30: hsla(303, 95%, 93%, 0.3);
     --chinese-violet: hsl(222, 14%, 46%);
     --sonic-silver: hsl(208, 7%, 46%);
     --old-rose_30: hsla(357, 37%, 62%, 0.3);
     --ghost-white: hsl(233, 33%, 95%);
     --light-pink: hsl(357, 93%, 84%);
     --light-gray: hsl(0, 0%, 80%);
     --old-rose: hsl(357, 37%, 62%);
     --seashell: hsl(20, 43%, 93%);
     --charcoal: hsl(203, 30%, 26%);
     --white: hsl(0, 0%, 100%);
    /**
     * typography
     */

     --ff-philosopher: 'Philosopher', sans-serif;
     --ff-poppins: 'Poppins', sans-serif;

     --fs-1: 4rem;
     --fs-2: 3.2rem;
     --fs-3: 2.7rem;
     --fs-4: 2.4rem;
     --fs-5: 2.2rem;
     --fs-6: 2rem;
     --fs-7: 1.8rem;

     --fw-500: 500;
     --fw-700: 700;

    /**
     * spacing
     */

    --section-padding: 80px;

    /**
     * radius
     */

    --radius-16: 16px;
    --radius-pill: 200px;
    --radius-circle: 50%;

    /**
     * transition
     */

    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease;

  }


  button[type="submit"] {
    padding: 5px 20px;
    margin: 10px auto;
    float: right;
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
  }

  #login {
    background-color: var(--old-rose);
    border-radius: 10px; /* Adjust the value to control the roundness of the corners */
    padding: 10px 20px; /* Adjust padding as needed */
    border: none; /* Remove default button border */
    cursor: pointer; /* Change cursor to pointer on hover */
    color: white; /* Text color */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Font weight */
}

#login:hover {
    opacity: 0.8; /* Reduce opacity slightly on hover */
}


  /*-----------------------------------*\
    #RESET
  \*-----------------------------------*/

  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  li { list-style: none; }

  a,
  img,
  span,
  input,
  ion-icon { display: block; }

  a {
    color: inherit;
    text-decoration: none;
  }

  img { height: auto; }

  input {
    width: 100%;
    outline: none;
  }

  ion-icon { pointer-events: none; }

  html {
    font-family: var(--ff-inter);
    font-size: 10px;
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--white);
    color: var(--eerie-black);
    font-size: 1.6rem;
    line-height: 1.5;
  }

  body.active { overflow: hidden; }

  :focus-visible { outline-offset: 4px; }

  ::-webkit-scrollbar { width: 10px; }

  ::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }

  ::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

  ::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }


/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact .wrapper {
  display: grid;
  gap: 25px;
}

.contact-form {
  background-color: var(--seashell);
  padding: 20px;
}

.input-field {
  background-color: var(--white);
  padding: 10px;
  margin-block-end: 15px;
  outline: none;
  border-block-end: 2px solid transparent;
}

.input-field:focus { border-color: var(--old-rose); }

textarea.input-field {
  resize: vertical;
  min-height: 120px;
  height: 120px;
  max-height: 200px;
}

.contact-form .btn { margin-inline: auto; }

.contact-card {
  background-color: var(--seashell);
  padding: 30px;
}

.contact-card .card-title {
  font-family: var(--ff-philosopher);
  text-transform: uppercase;
  font-weight: var(--fw-700);
}

.contact-card > li:not(:last-child) { margin-block-end: 30px; }

.contact-card .card-link {
  color: var(--chinese-violet);
  transition: var(--transition-1);
}

.contact-card .card-link:is(:hover, :focus) { color: var(--old-rose); }

.social-list-title {
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  margin-block-end: 15px;
}

.social-list {
  display: flex;
  gap: 10px;
}

.social-link {
  background-color: var(--old-rose);
  color: var(--white);
  font-size: 20px;
  padding: 5px;
  box-shadow: var(--shadow-3);
  transition: var(--transition-1);
}

.social-link:is(:hover, :focus) {
  background-color: var(--chinese-violet);
  box-shadow: none;
}


/*-----------------------------------*\
  #AUTHOR
\*-----------------------------------*/

.author { background-color: var(--seashell); }

.author .container {
  display: grid;
  gap: 40px;
}

.author :is(.section-subtitle, .section-title) { text-align: left; }

.author-content {
  background-color: var(--white);
  padding: 30px;
}

.author-name {
  font-size: var(--fs-6);
  margin-block-end: 30px;
}

.author .section-text { font-size: unset; }


/*-----------------------------------*\
  #CHAPTERS
\*-----------------------------------*/

.chapter-card {
  height: 100%;
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--radius-5);
  box-shadow: var(--shadow-2);
  transition: var(--transition-2);
}

.chapter-card:is(:hover, :focus-within) { transform: translateY(-10px); }

.chapter-card .card-title { margin-block-end: 15px; }





/*-----------------------------------*\
  #PREVIEW
\*-----------------------------------*/

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-card {
  position: relative;
  height: 60px;
  background-color: var(--seashell);
  border-radius: var(--radius-10);
  box-shadow: var(--shadow-3);
  display: grid;
  place-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-1);
}

.tab-card .w-100 {
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-2);
}

.tab-card.active .w-100 { opacity: 1; }

.tab-card.active {
  height: 40vh;
  box-shadow: none;
}

.tab-text {
  font-size: var(--fs-4);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tab-card.active .tab-text { display: none; }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/


.container { padding-right: 55px; border-radius: 25px; }

.section { padding-block: var(--section-padding); background-color: white }

.section:nth-child(odd) { background-color: var(--seashell); border-radius: 25px; padding: 25px; padding-bottom: 30px; }

.section:nth-child(even) { background-color: var(--white);  border-radius: 25px; padding: 25px; padding-bottom: 30px; }

.section-subtitle {
color: var(--old-rose);
text-transform: uppercase;
letter-spacing: 3px;
text-align: left;
padding-bottom: 20px;
}

.h1,
.h2,
.h3,
.tab-text {
color: var(--charcoal);
font-family: var(--ff-philosopher);
line-height: 1.2;
}

.h1 { font-size: var(--fs-2); }

.h2 { font-size: var(--fs-3); }

.h3 { font-size: var(--fs-5); }

.section-text { font-size: var(--fs-7); }

.w-100 { width: 100%; }

.has-before,
.has-after {
position: relative;
z-index: 1;
}

.has-before::before,
.has-after::after {
content: "";
position: absolute;
}

.section-title { text-align: center; }

.grid-list {
display: grid;
gap: 25px;
}

.btn-link {
color: var(--old-rose);
font-weight: var(--fw-500);
display: flex;
align-items: center;
gap: 5px;
transition: var(--transition-1);
}

.btn-link:is(:hover, :focus) { color: var(--chinese-violet); }

.has-underline {
position: relative;
margin-block-end: 60px;
}

.has-underline .span {
height: 2px;
background-color: var(--old-rose_30);
width: 200px;
margin-inline: auto;
margin-block-start: 30px;
}

.has-underline .has-before::before {
width: 18px;
height: 18px;
top: 2px;
left: 45%;
transform: translateY(-50%) rotate(45deg);
background-color: var(--old-rose_30);
box-shadow: 7px -7px var(--old-rose_30);
}

.btn {
padding: 12px 30px;
transition: var(--transition-1);
}

.btn-primary {
background-color: var(--old-rose);
color: var(--white);
}

.btn-primary:is(:hover, :focus) { background-color: var(--chinese-violet); }

.btn-secondary {
border: 1px solid var(--old-rose);
color: var(--old-rose);
}

.btn-secondary:is(:hover, :focus) {
background-color: var(--old-rose);
color: var(--white);
}

.img-holder {
aspect-ratio: var(--width) / var(--height);
background-color: var(--light-gray);
}

.img-cover {
width: 100%;
height: 100%;
object-fit: cover;
}


.hover\:underline { text-underline-offset: 3px; }

.hover\:underline:is(:hover, :focus) { text-decoration: underline; }



.btn {
background-color: var(--eerie-black);
color: var(--white);
font-size: var(--fs-6);
font-weight: var(--fw-500);
line-height: 1.3;
padding: 11px 25px;
border-radius: var(--radius-pill);
transition: var(--transition-1);
}

.btn:is(:hover, :focus) { background-color: var(--blue-ryb); }

.img-holder {
aspect-ratio: var(--width) / var(--height);
background-color: var(--light-gray-1);
overflow: hidden;
}

.img-cover {
width: 100%;
height: 100%;
object-fit: cover;
}

.has-scrollbar {
display: flex;
gap: 25px;
overflow-x: auto;
scroll-snap-type: inline mandatory;
padding-block-end: 20px;
margin-block-end: -20px;
margin-inline: -15px;
padding-inline: 15px;
}

.has-scrollbar::-webkit-scrollbar { height: 10px; }

.has-scrollbar::-webkit-scrollbar-track { background: transparent; }

.has-scrollbar::-webkit-scrollbar-thumb {
background-color: pink;
border-radius: var(--radius-pill);
}

.has-scrollbar::-webkit-scrollbar-button { width: 10px; }

.has-scrollbar:is(:hover, :focus-within)::-webkit-scrollbar-thumb { background-color: var(--light-gray-1); }

.scrollbar-item {
min-width: 5%;
scroll-snap-align: center;
}

.blog-card .card-banner {
position: relative;
border-radius: var(--radius-16);
margin-block-end: 10px;
}

.avatar-list {
display: flex;
flex-direction: row-reverse;
}

.avatar-list.absolute {
position: absolute;
bottom: 10px;
left: 10px;
}

.avatar-item:not(:first-child) { margin-inline-end: -15px; }

.avatar {
width: 40px;
border-radius: var(--radius-circle);
background: none;
border: 5px solid var(--white_20);
transition: var(--transition-1);
will-change: transform;
}

.avatar-list.absolute .avatar:is(:hover, :focus) {
transform: scale(0.9);
border-color: var(--white);
}

.card-meta-list {
display: flex;
gap: 10px;
}

.card-tag {
  background-color: var(--light-pink);
  font-size: calc(0.8vw + 0.8vh + 0.5vmin); /* Responsive font size */
  font-family: Arial, Helvetica, sans-serif;
  font-weight: var(--fw-500);
  padding: calc(0.2vw + 0.2vh); /* Responsive padding */
  border-radius: calc(0.5vw + 0.5vh); /* Responsive border radius */
  transition: var(--transition-1);
}

/* Optional: Media Queries for Fine-Tuning */
@media (max-width: 768px) {
  .card-tag {
      font-size: calc(1vw + 1vh + 0.5vmin); /* Slightly larger font on smaller screens */
      padding: calc(0.3vw + 0.3vh);
  }
}

@media (min-width: 1200px) {
  .card-tag {
      font-size: calc(0.7vw + 0.7vh + 0.5vmin); /* Slightly smaller font on large screens */
      padding: calc(0.15vw + 0.15vh);
  }
}


.card-tag:is(:hover, :focus) { background-color: var(--gainsboro); }

.blog-card .card-title {
font-family:var(--ff-poppins);
margin-block: 8px 12px;
text-decoration-thickness: 2px;
}

.blog-card .card-text {
  font-family: var(--ff-poppins);
  font-size: calc(1vw + 1vh + 0.5vmin); /* Responsive font size */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  padding-inline-end: calc(2vw + 2vh + 1vmin); /* Responsive padding */
  transition: font-size 0.3s ease-in-out, padding-inline-end 0.3s ease-in-out; /* Smooth transition */
}

/* Optional: Media Queries for Fine-Tuning */
@media (max-width: 768px) {
  .blog-card .card-text {
      font-size: calc(1.5vw + 1.5vh + 0.5vmin); /* Adjusted font size for smaller screens */
      padding-inline-end: calc(3vw + 3vh + 1vmin); /* Adjusted padding for smaller screens */
  }
}

@media (min-width: 1200px) {
  .blog-card .card-text {
      font-size: calc(0.8vw + 0.8vh + 0.5vmin); /* Smaller font size on very large screens */
      padding-inline-end: calc(1.5vw + 1.5vh + 0.5vmin); /* Adjusted padding for larger screens */
  }
}


.grid-list {
display: grid;
gap: 30px;
}




  /*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  padding-block-start: 5px;
  text-align: center;
}

.hero .container {
  display: grid;
  gap: 5px;
}

.hero .hero-title { margin-block: 10px; }

.hero-banner {
  padding-inline-start: 10px;
  max-width: 100px;
  margin-inline: auto;
  border-radius: var(--radius-pill);
}

.hero-banner { border-radius: 10px; }

.hero-banner::before {
  top: 10px;
  right: 10px;
  bottom: 0;
  left: 0;
  background-color: var(--light-pink);
  border-radius: var(--radius-10);
  z-index: -1;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  color: var(--chinese-violet);
  font-size: 22px;
  padding: 24px;
  border-radius: 50%;
  transition: var(--transition-1);
  animation: pulse 3s ease infinite;
}

.play-btn:is(:hover, :focus) { color: var(--old-rose); }

@keyframes pulse {
  0%,
  50% { box-shadow: 0 0 0 0 hsla(0, 0%, 100%, 0.5); }

  100% { box-shadow: 0 0 0 10px transparent; }
}



  /*-----------------------------------*\
    #SEARCH BAR
  \*-----------------------------------*/

  .search-container {
    float: right;
}
.search-container input[type=text] {
    padding: 6px;
    margin-top: 8px;
    font-size: 17px;
    border: none;
    width: 200px;
}
.search-container button {
    padding: 6px 10px;
    margin-top: 8px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}
.search-container button:hover {
    background: #ccc;
}

   /*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/


  .header {
    position: relative;
    padding-block: 25px;
  }

  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header .wrapper {
    display: flex;
    gap: 15px;
  }


  .nav-toggle-btn .span {
    background-color: var(--eerie-black);
    width: 30px;
    height: 3px;
    transition: var(--transition-1);
  }

  .nav-toggle-btn .span:not(:last-child) { margin-block-end: 7px; }

  .nav-toggle-btn.active .span.two { opacity: 0; }

  .nav-toggle-btn.active .span.one { transform: translateY(10px) rotate(45deg); }

  .nav-toggle-btn.active .span.three { transform: translateY(-10px) rotate(-45deg); }

  .navbar {
    background-color: var(--eerie-black);
    color: var(--white);
    position: absolute;
    top: calc(100% - 20px);
    right: 0;
    min-width: 180px;
    padding: 15px 10px;
    border-radius: var(--radius-16);
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-1);
    z-index: 2;
  }

  .navbar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-link {
    text-align: right;
    font-size: var(--fs-6);
    font-weight: var(--fw-500);
    padding: 5px;
  }




  /*-----------------------------------*\
    #RECENT POST
  \*-----------------------------------*/

  .top-author { display: none; }

  .recent { padding-block-start: 20px; border-radius: 25px; padding: 25px; background-color: lightblue;}

  .recent .section-title .strong { display: block; }

  .recent .section-title { margin-block-end: 20px; }

  .recent .btn {
    margin-inline: auto;
    margin-block: 50px 30px;
  }




  /*-----------------------------------*\
    #RECOMMENDED POST
  \*-----------------------------------*/

  .section.recommended { border-block-end: none; }

  .recommended .grid-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .recommended .blog-card { margin-block-end: 5px; }



  /*-----------------------------------*\
    #FOOTER
  \*-----------------------------------*/

  .footer {
    background-color: white;
    padding: 20px;
    color: black; /* Text color */
}

.container3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Allow items to wrap if necessary */
    max-width: 1200px; /* Adjust maximum width as needed */
    margin: 0 auto; /* Center align the container */
    background-color: white;
    color: var(--old-rose)
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex: 1;
    flex-wrap: wrap; /* Allow items to wrap if necessary */
}

.footer-brand {
    width: 25%; /* Each brand takes 25% of the container width */
    margin-bottom: 20px; /* Spacing between brands */
}

.footer-brand img {
    max-width: 100%; /* Ensure images do not exceed their container width */
    height: auto; /* Maintain aspect ratio */
}

.footer-text {
    margin-top: 25px;
    float: center;/* Space between logo and text */
}

.footer-list {
    width: 25%; /* Each list takes 25% of the container width */
    margin-top: 15px;
}

.footer-list-item {
    display: flex;
    align-items: center; /* Align icon and text vertically */
    margin-top: 5px;
}

.footer-list-item ion-icon {
    margin-right: 5px; /* Space between icon and text */
  }

.footer-bottom {
    width: 93%;
    text-align: center;
    margin-top: auto; /* Pushes footer to the bottom of the container */
    background-color: white; /* adjust background color as needed */
    color: var(--old-rose)
}


  .copyright {
    font-size: var(--fs-8);
    font-weight: var(--fw-500);
    margin-block-start: 8px;

  }

  .copyright-link { display: inline-block; }





  /*-----------------------------------*\
    #MEDIA QUERIES
  \*-----------------------------------*/

  /**
   * responsive for large than 575px screen
   */

  @media (min-width: 575px) {

    /**
     * CUSTOM PROPERTY
     */

    :root {

      /**
       * typography
       */

      --fs-1: 6rem;
      --fs-2: 4.8rem;

    }



    /**
     * REUSED STYLE
     */

    .section { margin-inline: 30px; }

    .newsletter-form,
    .btn { --fs-6: 2.2rem; }

    .newsletter-form .email-field {
      font-size: var(--fs-6);
      padding-inline-end: 170px;
    }

    .btn { padding: 14px 30px; }

    .section-subtitle { font-size: var(--fs-4); }

    .has-scrollbar {
      margin-inline: -30px;
      padding-inline: 30px;
    }

    .has-scrollbar::-webkit-scrollbar-button { width: 15px; }

    .scrollbar-item { min-width: 40%; }

    .grid-list {
      grid-template-columns: 1fr 1fr;
      column-gap: 10px;
    }






  /**
   * responsive for large than 768px screen
   */

  @media (min-width: 768px) {

    /**
     * CUSTOM PROPERTY
     */

    :root {

      /**
       * typography
       */

      --fs-1: 7.2rem;
      --fs-2: 5.5rem;

      /**
       * radius
       */

      --radius-16: 26px;

    }



    /**
     * REUSED STYLE
     */

    .section { margin-inline: 50px; }

    .has-scrollbar {
      margin-inline: -50px;
      padding-inline: 50px;
      gap: 15px;
    }

    .has-scrollbar::-webkit-scrollbar-button { width: 25px; }

    .scrollbar-item { min-width: 20%; }

    .grid-list { gap: 40px 15px; }



    /**
     * SEARCH BAR
     */

    .search-bar { padding: 25px; }

    .search-bar .input-field { --fs-1: 4.6rem; }



    /**
     * RECENT POST
     */

    .top-author {
      display: block;
      text-align: right;
    }

    .recent .title-wrapper {
      display: flex;
      justify-content: space-between;
      margin-block-end: 10px;
    }

    .top-author .avatar-item:not(:first-child) { margin-inline-end: -25px; }

    .top-author .span {
      color: var(--eerie-black_80);
      font-size: var(--fs-8);
      margin-block-start: 10px;
    }

    .avatar.large {
      border: 6px solid var(--white);
      width: 70px;
    }

    .avatar.large:is(:hover, :focus) { transform: translateY(-3px); }



    /**
     * RECOMMENDED POST
     */

    .recommended .grid-list {
      grid-template-columns: repeat(4, 1fr);
      column-gap: 15px;
    }



  /**
   * responsive for large than 992px screen
   */

  @media (min-width: 992px) {

    /**
     * CUSTOM PROPERTY
     */

    :root {

      /**
       * typography
       */

      --fs-1: 8.8rem;

      /**
       * spacing
       */

      --section-padding: 60px;

    }



    /**
     * REUSED STYLE
     */

    .section { margin-inline: 60px; }

    .has-scrollbar {
      margin-inline: -60px;
      padding-inline: 60px;
    }

    .has-scrollbar::-webkit-scrollbar-button { width: 30px; }

    .btn {
      --fs-6: 2.4rem;
      padding: 18px 36px;
    }

    .newsletter-form { max-width: 450px; }

    .newsletter-form .email-field {
      padding-block: 18px;
      padding-inline-start: 30px;
    }

    .blog-card .card-title { padding-inline-end: 15px; }

    .blog-card .card-text { font-size: unset; }

    .grid-list { grid-template-columns: repeat(3, 1fr); }



    /**
     * HEADER
     */

    .nav-toggle-btn { display: none; }

    .search-btn .span,
    .header .btn { display: block; }

    .header .wrapper { gap: 10px; }

    .search-btn,
    .header .btn {
      --fs-6: 1.8rem;
      padding: 6px 20px;
    }

    .search-btn {
      display: flex;
      align-items: center;
      gap: 5px;
      background-color: var(--cultured);
      font-size: var(--fs-6);
      font-weight: var(--fw-500);
      border-radius: var(--radius-pill);
      transition: var(--transition-1);
    }

    .search-btn:is(:hover, :focus) { background-color: var(--gainsboro); }

    .navbar,
    .navbar.active {
      all: unset;
      margin-inline: auto 12px;
    }

    .navbar-list {
      display: flex;
      gap: 8px;
    }



    /**
     * HERO
     */

    .hero { padding-block-start: 10px; }

    .hero-title { margin-block-end: 10px; }

    .hero .newsletter-text {
      display: block;
      max-width: 400px;
      color: var(--eerie-black_80);
      line-height: 1.3;
    }

    .hero .wrapper {
      display: flex;
      align-items: center;
      gap: 15px;
    }


        /* Basic styles for search bar */
        .search-bar {
          position: relative;
          z-index: 100;
          background-color: #fff;
          border: 1px solid #ccc;
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
          padding: 10px;
          max-width: 300px;
          margin: 20px auto;
          display: none; /* Initially hidden */
      }
      .input-wrapper {
          display: flex;
          align-items: center;
      }
      .input-field {
          flex: 1;
          padding: 8px;
          font-size: 16px;
          border: 1px solid #ccc;
          border-radius: 4px 0 0 4px;
      }
      .search-close-btn {
          background: none;
          border: none;
          cursor: pointer;
          padding: 8px;
          border-radius: 0 4px 4px 0;
          transition: background-color 0.3s;
      }
      .search-close-btn:hover {
          background-color: #f1f1f1;
      }
      .search-bar-text {
          font-size: 14px;
          color: #666;
          margin-top: 5px;
      }
      .overlay {
          display: none;
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, 0.5);
          z-index: 99;
      }
      .overlay.active {
          display: block;
      }

    }

  /**
   * responsive for large than 1200px screen
   */

  @media (min-width: 1200px) {

    /**
     * CUSTOM PROPERTY
     */

    :root {

      /**
       * typography
       */

      --fs-1: 9.2rem;
      --fs-2: 6rem;
      --fs-3: 2.6rem;
      --fs-4: 2.4rem;

    }

          /* Global CSS styles */

        .book-item {
            margin-bottom: 20px;
            border: 1px solid #ccc;
            padding: 10px;
            display: flex;
            align-items: center;
        }

        .book-info {
            margin-left: 20px;
        }

        .book-title {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .book-author {
            color: #666;
        }

        .book-img {
            max-width: 100px;
            height: auto;
        }

        /* Specific styles for reading list container */
        #readingList {
            margin-top: 20px;
            background-color: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        }


    /**
     * REUSED STYLE
     */

    .section { margin-inline: 70px; }

    .has-scrollbar {
      margin-inline: -70px;
      padding-inline: 70px;
    }

    .has-scrollbar::-webkit-scrollbar-button { width: 35px; }

    .card-tag {
      --fs-9: 1.4rem;
      padding: 4px 10px;
    }

    .grid-list { row-gap: 50px; }



    /**
     * HERO
     */

    .section.hero { padding-block: 10px; border-radius: 25px; }

    .hero-title { margin-block-end: 20px; }


    /**
     * RECENT POST
     */

    .top-author .avatar { width: 100px; }

    .recent .btn { margin-block-start: 70px; }

  }
}
/* Container for the whole content */
.container12 {
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff; /* White background for the container */
  border-radius: 8px; /* Rounded corners for a modern look */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Button styles */
.button12 {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1em;
  color: #fff;
  background-color: #3498db; /* Blue color for buttons */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

/* Button hover effect */
.button12:hover {
  background-color: #2980b9; /* Darker blue on hover */
  transform: scale(1.05); /* Slightly enlarge the button */
}

/* Status message styles */
#status {
  font-size: 1.1em;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9; /* Light background for the status */
  margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 600px) {
  body {
      font-size: 16px; /* Adjust font size for smaller screens */
  }

  button {
      font-size: 0.9em;
      padding: 8px 16px;
  }
}
  }


h4 {
    font-size: calc(1.5vw + 1.5vh + 0.5vmin); /* Responsive font size */
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2; /* Adjust line height if needed */
    margin: calc(1vw + 1vh) 0; /* Responsive margins */
    transition: font-size 0.3s ease-in-out; /* Smooth transition on resize */
}

/* Optional: Media Queries for Fine-Tuning */
@media (max-width: 768px) {
    h4 {
        font-size: calc(2vw + 2vh + 0.5vmin); /* Larger font size on smaller screens */
        margin: calc(2vw + 2vh) 0;
    }
}

@media (min-width: 1200px) {
    h4 {
        font-size: calc(1.2vw + 1.2vh + 0.5vmin); /* Smaller font size on very large screens */
        margin: calc(0.5vw + 0.5vh) 0;
    }
}
