@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dad3f8;
}
.container{
  max-width: 950px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 40px 50px 40px 40px;
  margin: 0 20px;
  box-shadow: 0 5px 10px 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;
  margin: 5px 0;
  padding-left: 25px;
  color: #333;
  z-index: 12;
  transition: all 0.4s ease;
}
.content .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 input[type="radio"]{
  display: none;
}
.content .indicator{
  position: absolute;
  height: 60px;
  width: 100%;
  top: 0;
  left: 0;
  background: #6d50e2;
  border-radius: 12px;
  transition: all 0.4s ease ;

}
#home:checked ~ .indicator{
  top: 0;
}
#blog:checked ~ .list .indicator{
  top: 75px;
}
#help:checked ~ .list .indicator{
  top: 145px;
}
#code:checked ~ .list .indicator{
  top: 215px;
}
#about:checked ~ .list .indicator{
  top: 285px;
}
.container .content .text-content{
  width: 80%;
  height: 100%;
}
.content .text-content .text {
  display: none;
}
.content .text-content .home {
  display: block;
}
#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;
}
