.btn_one i{
    position: absolute;
    color:white;
    font-size: 30px;
    font-weight: bold;
    left: 16px;
    line-height: 60px;
    cursor: pointer;
    transition: all 0.2s linear;
}

.sidebar_menu2 {
    position: fixed;
    left: -325px;
    height: 100vh;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5) ;
    transition: all 0.4s linear;
}

.sidebar_menu2 .logo2 {
    position: absolute;
    height: 80px;
    width: 100%;
    line-height: 80px;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.5) ;  
}

.sidebar_menu2 .logo a {
    position: absolute;
    left: 40px;
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
}

.btn_two i{
    position: absolute;
    color: gray;
    font-size: 25px;
    left: 270px;
    line-height: 60px;
    opacity: 0;
    cursor: pointer;
    transition: all 0.2s linear;
}

.sidebar_menu2 .menu2 {
    position: absolute;
    width: 100%;
    top: 80px;   
}

.sidebar_menu2 .menu2 li {
    margin-top: 6px;
    padding: 15px 20px;
}

.sidebar_menu2 .menu2 li i,a {
    color: white;
    text-decoration: none ;
    font-size: 20px;
}

.sidebar_menu2 .menu2 i {
    padding-right: 8px;
}

.sidebar_menu2 .social_media {
    position: absolute;
    left: 25%;
    bottom: 50px;
}

.sidebar_menu2 .social_media i {
    color:white;
    opacity: 0.5;
    padding: 0 5px;
}

#check {
    display: none;
}

.sidebar_menu2 .menu2 li:hover {
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5) ;
}

.btn_one i:hover {
    font-size:34px;
}
.btn_two i:hover {
    font-size:28px;
}

.sidebar_menu2 .social_media i:hover{
    opacity: 1;
    transform: scale(1.2);
}

#check:checked ~ .sidebar_menu2 {
    left: 0;
}

#check:checked ~ .btn_one {
    opacity:0;
}

#check:checked ~ .sidebar_menu2 .btn_two i{
    opacity: 1;
}