/* Google Font CDN Link */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.container_tab {
    width: 100%;
    padding: 40px 50px 40px 40px;
    background: #fff;
    margin: 0 20px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.container_tab .topic_tab {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 30px;
}

.content_tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content_tab .list {
    display: flex;
    flex-direction: column;
    width: 20%;
    margin-right: 50px;
    position: relative;
}

.content_tab .list label {
    height: 60px;
    font-size: 22px;
    font-weight: 500;
    line-height: 60px;
    cursor: pointer;
    padding-left: 25px;
    transition: all 0.5s ease;
    color: #333;
    z-index: 12;
}

#home_tab:checked~.list label.home_tab,
#blog_tab:checked~.list label.blog_tab,
#help_tab:checked~.list label.help_tab,
#code_tab:checked~.list label.code_tab,
#about_tab:checked~.list label.about_tab {
    color: #fff;
}

.content_tab .list label:hover {
    color: #3498db;
}

.content_tab .slider {
    position: absolute;
    left: 0;
    top: 0;
    height: 60px;
    width: 100%;
    border-radius: 12px;
    background: #3498db;
    transition: all 0.4s ease;
}

#home_tab:checked~.list .slider {
    top: 0;
}

#blog_tab:checked~.list .slider {
    top: 60px;
}

#help_tab:checked~.list .slider {
    top: 120px;
}

#code_tab:checked~.list .slider {
    top: 180px;
}

#about_tab:checked~.list .slider {
    top: 240px;
}

.content_tab .text-content_tab {
    width: 80%;
    height: 100%;
}

.content_tab .text {
    display: none;
}

.content_tab .text .title {
    font-size: 25px;
    margin-bottom: 10px;
    font-weight: 500;
}

.content_tab .text p {
    text-align: justify;
}

.content_tab .text-content_tab .home_tab {
    display: block;
}

#home_tab:checked~.text-content_tab .home_tab,
#blog_tab:checked~.text-content_tab .blog_tab,
#help_tab:checked~.text-content_tab .help_tab,
#code_tab:checked~.text-content_tab .code_tab,
#about_tab:checked~.text-content_tab .about_tab {
    display: block;
}

#blog_tab:checked~.text-content_tab .home_tab,
#help_tab:checked~.text-content_tab .home_tab,
#code_tab:checked~.text-content_tab .home_tab,
#about_tab:checked~.text-content_tab .home_tab {
    display: none;
}

.content_tab input {
    display: none;
}