        body {
            margin: 0;
            padding: 0;
            background-color: #fff;
            font-family: 'Poppins', sans-serif;
        }

        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #fffcfd;
            padding: 15px 40px;
            font-family: 'Poppins', sans-serif;
        } 
        
        header .logo img {
            width: 120px;
            height: auto;
        }
        
        nav ul {
            list-style-type: none;
            display: flex;
        }
        
        nav ul li {
            margin-left: 20px;
        }
        
        nav ul li a {
            color: black;
            text-decoration: none;
            font-size: 16px;
            padding: 10px;
            border-radius: 5px;
        }
        
        nav ul li a:hover {
            background-color: #f2d6ce;
            color: #333;
        }
        

       .main-btn {
            font-family: 'Poppins', sans-serif;
            padding: 12px 20px;
            background-color: #71557A;
            color: white;
            font-size: 18px;
            border-radius: 5px;
            text-decoration: none; 
       }

       section {
           color: rgb(0, 0, 0);
           text-align: center;
           padding: 20px;
           height: 400px;
           background-color: #fff;
           font-family: 'Poppins', sans-serif;
       }

      .test-intro {
          text-align: center;
          padding: 30px;
          background-color: #77647d;
          height: 50px;
          font-size: 20px;
          color: white;
          font-family: 'Poppins', sans-serif;
      }

     .start-test {
         font-size: 20px;
         padding: 15px 30px;
         background-color: #d5006c;
         color: white;
         border: none;
         border-radius: 8px;
     }

     .start-test:hover {
         background-color: #a70056;
     }

    .test-container {
        color: black;
        padding: 20px;
        max-width: 950px;
        margin: 0 auto;
        background: white;
        font-family: 'Poppins', sans-serif;
        box-shadow: 0 2px 20px #a290ac;
        /*#ecdbe9*/
        border-radius: 10px;
        height: 770px;
     }

     .question {
        text-align: center;
        margin-bottom: 20px;
        font-family: 'Poppins', sans-serif;
        font-size: 18px;
      }

     .btn {
        padding: 9px 15px;
        font-family: 'Poppins', sans-serif;
        background-color: #4b1535;
        color: white;
        font-size: 20px;
        align-self: center;
        transition: 0.3s;
        margin-top: 22px;
        border-radius: 999px;
        border-right: 3px solid #4b1535;
        border-left: 3px solid #4b1535;
        border-top: 3px solid #4b1535;
        border-bottom: 3px solid #4b1535;
     }

     .next-btn {
        padding: 9px 15px;
        background-color: #4b1535;
        color: #ffffff;
        font-size: 20px;
        transition: 0.3s;
        font-family: 'Poppins', sans-serif;
        margin-top: 22px;
        border-radius: 999px;
        align-self: center;
        border-right: 3px solid #4b1535;
        border-left: 3px solid #4b1535;
        border-top: 3px solid #4b1535;
        border-bottom: 3px solid #4b1535;
     }

     .chapter {
        padding: 30px;
        margin-bottom: 40px;
        margin: 0 auto;
        /*background-color: #d9b99f;
        background-color: #f2e7dd;*/
        background-color: #fbeaf2;
        font-family: 'Poppins', sans-serif;
        border-radius: 15px;
        height: 560px;
     }

     .chapter h2 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #000000;
        font-family: 'Poppins', sans-serif;
     }

     .chapter-slide {
        display: none;
        transition: opacity 0.5s ease;
     }

     .chapter-slide.active {
        display: block;
     }

     .overall-progress-container {
        width: 100%;
        background-color: #eee;
        border-radius: 20px;
        height: 20px;
        margin: 20px 0;
     }

     .overall-progress-bar {
        height: 100%;
        font-family: 'Poppins', sans-serif;
        width: 0%;
        background: linear-gradient(to right, #de96b9, #d3b2d6);
        border-radius: 20px;
        transition: width 0.4s ease;
     }

     .arrow-left {
        left: 0;
        width: 0;
        height: 0;
        margin-top: 22px;
        background: none;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 15px solid #333;
        cursor: pointer;
        margin-left: 10px;
        box-shadow: none;
        outline: none;
     }

     .arrow-left:hover svg {
       stroke: #555;
     }

     .navigation-bar {
       position: relative;
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 1rem; 
     }

     .pill-group {
       display: flex;
       justify-content: center;
       align-items: center;
       gap: 0.5rem;
       margin-top: 0.5rem;
       font-family: 'Poppins', sans-serif;
     }

     .pill {
       font-family: 'Poppins', sans-serif;
       display: flex;
       align-items: center;
       padding: 0.4rem 0.8rem;
       border-radius: 999px;
       font-size: 1rem;
       font-weight: 500;
       cursor: pointer;
       transition: all 0.2s ease;
       border: 2px solid transparent;
       user-select: none;
     }

     .pill input {
       display: none;
     } 

     .pill span {
       pointer-events: none;
     }

     .pill.yes {
       background-color: #e1d0d8;
       color: #000000;
     }
     
     .pill.yes:hover {
       background-color: #d183a9;
       box-shadow: 0 0 4px #a6a2a2;
     }

     .pill.unsure {
       background-color: #e1d0d8;
       color: #000000;
     }

     .pill.unsure:hover {
       background-color: #d183a9;
       box-shadow: 0 0 4px #a6a2a2;
     }

     .pill.no {
       background-color: #e1d0d8;
       color: #000000;
     }

     .pill.no:hover {
       background-color: #d183a9;
       box-shadow: 0 0 4px #a6a2a2;
     }

     .pill:has(input[type="radio"]:checked) {
       background-color: #d183a9;
       color: rgb(0, 0, 0);
       border-radius: 999px;
     }

  /*@media only screen and (min-device-width: 768px) and (max-device-width: 1366px) {
      .test-container {
       height: 820px;
    }
    
    .chapter {
        height: 600px;
    }
    
    .btn {
        font-weight: 350;
        font-size: 15px;
    }
  
  }*/
  
  @media only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: landscape) {
    .btn {
        font-weight: 350;
        font-size: 15px;
    }
  }
  
  /*@media only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: portrait) {
      .chapter {
        height: 770px;
    }
  }*/
  
  
  @media screen and (max-width: 768px) {
    
    header {
        display: flex;
        padding: 12px 20px;
    }  
        
    .logo img {
        width: 100px;
    }  
    
    .test-intro{
        height: 60px;
        font-size: 16px;
    }
     
    .question {
        font-size: 14px;
    }
    
    .test-container {
       height: 900px;
       align-items: center;
       text-align: center;
    }

    .pill {
       padding: 0.2rem 0.4rem;
       border-radius: 999px;
       font-size: 0.75rem;
       font-weight: 300;
    }

    .chapter {
        max-width: 320px;
        width: fit-content;
        margin: 0 auto 40px 0;
        height: 770px;
    }

    .chapter h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .btn {
        margin-top: 30px;
        border-radius: 999px;
        border-right: 2px solid #4b1535;
        border-left: 2px solid #4b1535;
        border-top: 2px solid #4b1535;
        border-bottom: 2px solid #4b1535;
        font-weight: 350;
        font-size: 15px;
    }

    .next-btn {
        padding: 9px 15px;
        font-size: 15px;
        margin-top: 22px;
        border-right: 2px solid #4b1535;
        border-left: 2px solid #4b1535;
        border-top: 2px solid #4b1535;
        border-bottom: 2px solid #4b1535;
    }

  }