/* Google Fonts - Poppins */

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

/* Main container */
.main_box {
    position: relative;
    background: url('bg.jpg') right no-repeat, #333;
    background-size: cover;
    height: 100vh;
    width: 100%;
}

/* Sidebar menu */
.main_box .sidebar_menu {
    position: fixed;
    height: 100vh;
    width: 280px;
    left: -280px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: all 0.3s linear;
}



/* Logo section */
.sidebar_menu .logo {
    position: absolute;
    width: 100%;
    height: 60px;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.sidebar_menu .logo a{
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    position: absolute;
    left: 50px;
    line-height: 60px;
    text-decoration: none;
}


/* Menu items */
.sidebar_menu .menu{
    position: absolute;
    top: 80px;
    width: 100%;
}
.sidebar_menu .menu li{
    margin-top: 6px;
    padding: 14px 20px;
}
.sidebar_menu .menu i{
    color: #fff;
    font-size: 20px;
    padding-right: 8px;
}
.sidebar_menu .menu a{
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}
/* Hover Efect */
.sidebar_menu .menu li:hover{
    border-left: 1px solid #fff;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}
/* social midea button */
.sidebar_menu .social_media{
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    list-style: none;
    cursor: pointer;
}
.sidebar_menu .social_media i{
    text-decoration: none;
    padding: 0 5px;
    color: #000000;
    opacity: 0.6;
    font-size: 20px;
}

.sidebar_menu .social_media i:hover{
    opacity: 1;
    color: #fff;
    transition: all 0.2s linear;
    transform: scale(1.01);
}
#check{
    display: none;
}
.main_box .btn_one i{
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    position: absolute;
    left: 16px;
    line-height: 60px;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s linear;
}
.sidebar_menu .btn_two i{
    font-size: 25px;
    line-height: 60px;
    position: absolute;
    left: 240Px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s linear;
}
.btn_one i:hover{
    font-size: 29px;

}
.btn_two i:hover{
    font-size: 24px;
}
#check:checked ~.sidebar_menu{
    left: 0px;
}
#check:checked ~.btn_one i{
    opacity: 0;
}
#check:checked ~.sidebar_menu .btn_two i{
    opacity: 0.7;
}