@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dad3f8;
}

.container{
    max-width: 950px;
    width: 100%;
    background: #fff;
    padding: 40px 50px 40px 40px;
    border-radius: 12px;
    margin: 0 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2)
}

.container .content {
    display: flex;
    justify-content: center;
}

.container .main-title {
    font-size: 30px;
    font-weight: 500;
    padding-bottom: 20px;
}

.container .content .list {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 20%;
    margin-right: 25px;
}

.content .list label {
    height: 60px;
    font-size: 22px;
    color: #333;
    font-weight: 500;
    border-radius: 12px;
    line-height: 60px;
    padding-left: 25px;
    cursor: pointer;
    z-index: 12;
}

.content .list .indicator {
    position: absolute;
    background: #6d50e2;
    height: 60px;
    width: 100%;
    border-radius: 12px;
    top: 0;
    left: 0;
    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;
}

.container input[type="radio"] {
    display: none;
}

.list label:hover {
    color: #6d50e2;
}

#home:checked ~ .list .home,
#blog:checked ~ .list .blog,
#help:checked ~ .list .help,
#code:checked ~ .list .code,
#about:checked ~ .list .about {
    color: #fff;
}

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

.content .text-content .title {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
}

.content .text-content p {
    text-align: justify;
}

.text-content .text {
    display: none;
}

.text-content .home {
    display: block;
}


#blog:checked ~ .text-content .home,
#help:checked ~ .text-content .home,
#code:checked ~ .text-content .home,
#about:checked ~ .text-content .home {
    display: none;
}

#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;
}