 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

        ::selection {
            color: black;
        }
        .bg-section
        {
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            background: #fcfcfc;



        }


        .hide-on-small-screen {
          }
          @media (max-width: 991px) {
            .hide-on-small-screen {
              display: none; /* Hide the section on smaller screens */
            }
          }

        .container1 {
            max-width: 100%;
            width: 100%;
            padding: 40px 50px 40px 40px;
            margin: 0 20px;
            border-radius: 12px;
            height: 100vh;
        }
        .container1 .topic {
            font-size: 30px;
            font-weight: 500;
            margin-bottom: 20px;
            text-align: center;
            color:  white;
        }
        .content {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .content .list {
            display: flex;
            flex-direction: column;
            height: 600px;
            margin-right: 30px;
            background-color: red;
            border-radius: 20px;
            padding: 0;
            margin: 0;
            
        }
        
        .content .list label {
            height: 60px;
            font-weight: 500;
            line-height: 60px;
            cursor: pointer;
            padding-left: 50px;
            transition: all 0.5s ease;
            color: #ffffff;
            width: 470px; /* Set a fixed width for the labels */
            white-space: nowrap; /* Prevent text from wrapping */
            overflow: hidden; /* Hide overflowing text */
            text-overflow: ellipsis; /* Display ellipsis (...) for overflowed text */
            margin-right: 100px; /* Adjust this value as needed */
            border-radius: 12px;
            background-color: rgb(255, 0, 0);
            
        }
    
        #home:checked ~ .list label.home,
        #blog:checked ~ .list label.blog,
        #help:checked ~ .list label.help,
        #code:checked ~ .list label.code,
        #about:checked ~ .list label.about {
            background-color:  rgb(0, 0, 0);
            color: white;
           
        }
        .content .list label:hover {
            width: 340px;
            background-color: rgb(0, 0, 0);
            color: white;
            width: 470px; /* Set a fixed width for the labels */

        }
        .content .slider {
            position: absolute;
            left: 0;
            top: 0;
            height: 60px;
            width: 100%;
            border-radius: 12px;
            transition: all 0.4s ease;
            
        }
        #home:checked ~ .list .slider {
            top: 0;
        }
        #blog:checked ~ .list .slider {
            top: 60px;
        }
        #help:checked ~ .list .slider {
            top: 120px;
        }
        #code:checked ~ .list .slider {
            top: 180px;
        }
        #about:checked ~ .list .slider {
            top: 240px;
        }
        
        .content .text {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-in-out;
            /* Add this line to allow scrolling for content */
            overflow-y: auto;
            
        }
    
        .content .text.active {
            display: block;
            max-height: 100%;
            margin-left: 100px;
            margin-right: 5px;
        }
        .content .text .title {
            font-size: 25px;
            margin-bottom: 10px;
            font-weight: 500;
        }
        .content .text p {
            text-align: justify;
            margin-right: 20px;
        }
        .content .text-content .home {
            display: block;
            margin-right: 100px;
        }
        #home:checked ~ .text-content .home,
        #blog:checked ~ .text-content .blog,
        #help:checked ~ .text-content .help,
        #code:checked ~ .text-content .code,
        #about:checked ~ .text-content .about {
            display: block;
            margin-right: 20px;
        }
        #blog:checked ~ .text-content .home,
        #help:checked ~ .text-content .home,
        #code:checked ~ .text-content .home,
        #about:checked ~ .text-content .home {
            display: none;
            margin-right: 100px;
        }
        .content input {
            display: none;
        }
       
    
        .content .text-content {
            width: 80%;
            height: 500px; /* Adjust the height as needed */
            overflow-y: auto;
            margin-left: 20px;
            margin-top: 100px;

        }
    
        /* Add this style to make the default content visible */
        .home.text.active {
            display: block;
        }
        /* Style the labels and content for the default tab (home) */
        label.home,
        .home.text.active {
            display: block;
            max-height: none;
        }


    .ttl2 {
        color:  red;
        font-size: 30px;
        font-weight: 500;
    }