@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: #dad3f8;
}
/* Container Styling */
.container{
    max-width: 950px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    margin: 0 20px;
    padding: 45px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}
.container .main-title{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
}
.container .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.container .content .list{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 20%;
    margin-right: 50px;
}
.content .list label{
    height: 60px;
    /* background: red; */
    font-size: 22px;
    font-weight: 500;
    border-radius: 12px;
    line-height: 60px;
    cursor: pointer;
    padding-left: 25px;
    color: #333;
    z-index: 12;
    transition: all 0.4s ease;
}
.content .list label:hover{
    color: #00d4ff;
    background-color: rgba(0, 212, 255, 0.1);
}
#home:checked ~ .list .home,
#blog:checked ~ .list .blog,
#help:checked ~ .list .help,
#code:checked ~ .list .code,
#about:checked ~ .list .about{
    color: #fff;
    background-color: #00d4ff; /* Active tab background color */
    border-radius: 12px;
}
/* Indicator Styleing */
.content .indicator{
    position: absolute;
    height: 60px;
    width: 100%;
    left: 0;
    background: #00d4ff;
    border-radius: 8px;
    transition: all 0.4s ease;
}
#home:checked ~ .list .indicator{
    top: 0;
}
#blog:checked ~ .list .indicator{
    top: 60px;
}
#help:checked ~ .list .indicator{
    top: 120px;
}
#code:checked ~ .list .indicator{
    top: 180px;
}#about:checked ~ .list .indicator{
    top: 240px;
}
/* Radio Button Hide */
.container input[type="radio"]{
    display: none;
}
.container .content .text-content{
    width: 80%;
    height: 100%;
    overflow-y: auto; /* Add scroll if content overflows */
    max-height: 500px;
}
/* Text */
.content .text-content .text{
    display: none;
}
.content .text-content .home{
    display: block;
}
/* Click Event */
#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;
}
#blog:checked ~ .text-content .home,
#help:checked ~ .text-content .home,
#code:checked ~ .text-content .home,
#about:checked ~ .text-content .home{
    display: none;
}
.content .text-content .title{
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
}
.content .text-content p{
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .container .content {
        flex-direction: column;
        align-items: flex-start;
    }

    .container .content .list {
        width: 100%;
        margin-right: 0;
    }

    .container .content .text-content {
        width: 100%;
    }

    .container .content .list label {
        font-size: 18px;  /* Smaller font size for mobile */
    }

    .content .list {
        display: flex;
        justify-content: space-between; /* Align labels horizontally */
    }
}