﻿/* Basic Styling */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
}

.tab-bar .container {
    width: 100%;
    padding: 25px;
    background: #f0faff;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

    .tab-bar .container .topic {
        font-size: 50px;
        font-weight: 500;
        margin-bottom: 30px;
    }

.tab-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .tab-content .list {
        display: flex;
        flex-direction: column;
        width: 20%;
        margin-left: 25px;
        margin-right: 25px;
        position: relative;
    }

        .tab-content .list .tab-button {
            height: 60px;
            font-size: 22px;
            font-weight: 500;
            line-height: 60px;
            cursor: pointer;
            padding-left: 25px;
            
            transition: all 0.5s ease;
            color: #333;
            background: none;
            border: none;
            text-align: left;
            z-index: 12;
        }

            .tab-content .list .tab-button.active {
                color: #fff;
                /*background-color: #6d50e2;*/
            }

            /*.tab-content .list .tab-button:hover {
                color: #fff;*/
                /*color: #6d50e2;*/
            /*}*/

    .tab-content .slider {
        position: absolute;
        left: 0;
        top: 0;
        height: 60px;
        width: 100%;
        border-radius: 12px;
        background: #6d50e2;
        transition: top 0.4s ease;
    }

    .tab-content .text-content {
        width: 80%;
        height: 100%;
    }

    .tab-content .text {
        display: none;
    }

        .tab-content .text .title {
            font-size: 25px;
            margin-bottom: 10px;
            font-weight: 500;
        }

        .tab-content .text p {
            text-align: justify;
        }

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .tab-bar .container {
        /*padding: 20px;*/

    }

    .tab-content {
        flex-direction: column;
    }

        .tab-content .list {
            width: 100%;
            margin-bottom: 30px;
        }

            .tab-content .list .tab-button {
                font-size: 18px;
                line-height: 50px;
            }

        .tab-content .slider {
            height: 50px;
        }

        .tab-content .text-content {
            width: 100%;
        }

        .tab-content .text .title {
            font-size: 20px;
        }

        .tab-content .text p {
            font-size: 14px;
        }
}

@media (max-width: 480px) {
    .tab-content .list .tab-button {
        font-size: 16px;
        /*padding-left: 10px;*/
    }

    .tab-content .slider {
        height: 50px;
    }

}


