@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600;700&display=swap");

:root {
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: rgb(255, 187, 0);
    --black-color: rgb(0,0,0);
    --white-color: hsl(0, 0%, 100%);
    --text-color: hsl(225, 8%, 65%);
    --body-color: hsl(225, 100%, 99%);
  
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Montserrat Alternates", sans-serif;
    --biggest-font-size: 2.5rem;
    --tiny-font-size: .625rem;
  
    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;
    --font-bold: 700;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }
  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
  }
.custom-nav {
    position: fixed;
    bottom: 0rem;
    left: 0;
    right: 0;
    background-color: var(--black-color);
    width: 100%;
    margin-inline: auto;
    box-shadow: 0 2px 16px hsla(228, 95%, 4%, .1);
    padding: .2rem 1.75rem;
    z-index: var(--z-fixed);
  }
  
  .nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav__link {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color .4s;
  }
  
  .nav__link:hover {
    color: var(--white-color);
  }
  
  /*=============== EXPAND LIST ===============*/
  .nav__expand {
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    background-color: var(--first-color);
    border-radius: 50%;
    cursor: pointer;
  }
  
  .nav__expand-icon {
    display: inline-block;
    color: var(--white-color);
    font-size: 1.5rem;
    transition: transform .4s;
  }
  
  .nav__expand-list {
    position: absolute;
    top: -4.5rem;
    left: 0;
    right: 0;
    background-color: var(--black-color);
    box-shadow: 0 2px 16px hsla(228, 95%, 4%, .1);
    width: max-content;
    margin-inline: auto;
    padding: .5rem 1.5rem;
    border-radius: 4rem;
    display: flex;
    column-gap: 2rem;
    z-index: -1;
    overflow: hidden;
    transform: translateY(5rem) scale(.1);
    transition: transform .5s cubic-bezier(.5, 1.8, .4, .8);
  }
  
  .nav__expand-list li {
    transform: translateY(-3rem);
    transition: transform .4s;
  }
  
  .nav__expand-list li:nth-child(1) {
    transition-delay: .2s;
  }
  
  .nav__expand-list li:nth-child(2) {
    transition-delay: .3s;
  }
  
  .nav__expand-list li:nth-child(3) {
    transition-delay: .4s;
  }
  
  .nav__expand-link {
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color .4s;
  }
  
  .nav__expand-link i {
    font-size: 1.2rem;
  }
  
  .nav__expand-link span {
    font-size: var(--tiny-font-size);
    font-weight: var(--font-semi-bold);
  }
  
  .nav__expand-link:hover {
    color: var(--white-color);
  }
  
  /* Show list */
  .show-list,
  .show-list li{
    transform: translateY(0);
  }
  
  /* Rotate icon */
  .rotate-icon {
    transform: rotate(135deg);
  }
  
  /* Active link */
  .active-link {
    color: var(--first-color);
  }
  
  /*=============== BREAKPOINTS ===============*/
  /* For medium devices */
    /* General styling for the content */
    .content-text {
      font-family: 'Georgia', serif; /* Serif fonts are good for books */
      font-size: 1.2rem; /* Slightly larger font for better readability */
      line-height: 1.6; /* Increased line height for better spacing */
      margin: 20px 0; /* Adding margin for spacing between paragraphs */
      padding: 15px 20px; /* Padding around the content */
      background-color: rgba(0, 0, 0, 0.7); /* Darker background to improve readability */
      border-radius: 8px; /* Rounded corners for better look */
      color: #fff; /* White text for contrast */
  }
  
  /* Paragraph styling */
  .content-text p {
      margin-bottom: 15px; /* Space between paragraphs */
  }
  
  /* Headings styling (if applicable) */
  .content-text h1, .content-text h2, .content-text h3 {
      font-family: 'Arial', sans-serif; /* Clean sans-serif fonts for headings */
      font-weight: bold;
      margin-top: 20px;
      margin-bottom: 10px;
      color: #f8c146; /* Gold color for headings */
  }
  
  /* Links styling (if you have links in the content) */
  .content-text a {
      color: #f8c146; /* Gold color for links */
      text-decoration: none; /* Remove underline */
  }
  
  .content-text a:hover {
      text-decoration: underline; /* Underline on hover */
  }
  
  /* Blockquotes for special content */
  .content-text blockquote {
      background-color: #333; /* Darker background for quotes */
      padding: 15px;
      margin: 20px 0;
      border-left: 5px solid #f8c146; /* Gold border */
      font-style: italic;
      color: #fff; /* White text for quotes */
  }
  
  /* Lists */
  .content-text ul, .content-text ol {
      margin-left: 20px;
      margin-bottom: 15px;
  }
  
  .content-text li {
      margin-bottom: 10px;
      color: #ddd; /* Slightly lighter color for list items */
  }
  
  /* For devices with smaller screens */
  @media (max-width: 768px) {
      .content-text {
          font-size: 1.1rem; /* Slightly smaller font on smaller devices */
      }
  }