/*#region VARIAVEIS*/

/*#endregion*/

/*#region IMPORT*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
/*#endregion*/

/*#region GERAL*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins" , sans-serif;
}

body{
    position:relative;
    min-height: 100vh;
    width: 100%;
    background-color: #eee9e9;
}

/*#endregion*/

/*#region SIDEBAR*/
.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 78px;
    background-color: #1b2839;
    padding: 6px 14px;
    transition: all 0.5s ease;
    z-index: 9999;
}

.sidebar.active{
    width: 240px;
}

/*#endregion*/

/*#region LOGO + BTN*/

.sidebar .logo_content .logo{
    color: #66c0d6;
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.sidebar.active .logo_content .logo{
    opacity: 1;
    pointer-events: none;
}

.logo_content .logo i{
    font-size: 28px;
    margin-right: 5px;
}

.logo_content .logo .logo_name{
    font-size: 20px;
    font-weight: 400;
}

.sidebar #btn{
    position: absolute;
    color: #66c0d6;
    left: 50%;
    top: 6px;
    font-size: 25px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    transform: translateX(-50%);
    cursor: pointer;
}

.sidebar.active #btn{
    left: 90%;
}
/*#endregion*/

/*#region LISTA DE LINKS*/
.sidebar ul{
    margin-top: 20px;
    font-size: 18px;
}

.sidebar ul li{
    position:relative;
    height: 50px;
    width: 100%;
    margin: 0 5px;
    list-style: none;
    line-height: 50px;
    border-radius: 12px;
}

.sidebar ul li .tooltip{
    position: absolute;
    left: 122px;
    top: 0;
    transform: translate(-50% , -50%);
    border-radius: 6px;
    height: 35px;
    width: 122px;
    background-color: #fff;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0s;
    opacity: 0;
    pointer-events: none;
    display: block;
}

.sidebar.active ul li .tooltip{
    display: none;
}

.sidebar ul li:hover .tooltip{
    transition: all 0.5s ease;
    opacity: 1;
    top: 50px;
}

.sidebar ul li a{
    color: #66c0d6;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
    border-radius: 12px;
    white-space: nowrap;
}

.sidebar ul li a:hover{
    color: #11101d;
    background-color: #fff;;
}

.sidebar ul li i{
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    line-height: 50px;
    text-align: center;
}

.sidebar .links_name{
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.sidebar.active .links_name{
    opacity: 1;
    pointer-events: auto;
}
/*#endregion*/

/*#region SEPARADOR*/
.sidebar .profile_content .profile #separador{
    opacity: 0;
}

.sidebar.active .profile_content .profile #separador{
    border-top: 1px solid #66c0d6;;
    height: 1px;
    margin-bottom: 4px;
    opacity: 1;
    transition: all 0.5s ease;
}
/*#endregion*/

/*#region PROFILE + REDES SOCIAIS*/
.sidebar .profile_content{
    position: absolute;
    /* color: #fff; */
    color: #66c0d6;
    bottom: 0;
    left: 0;
    width: 100%;
}

.sidebar .profile_content .redes_sociais{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-around;
    opacity: 0;
    font-size: 20px;
    transition: all 0.4s ease;

}
.sidebar .profile_content .redes_sociais a{
    color: #66c0d6;
    text-decoration: none;
    pointer-events: none;
}

.sidebar.active .profile_content .redes_sociais a{
    pointer-events:all;
}

.sidebar .profile_content .redes_sociais a:hover{
    color: #ffffff;
}

.sidebar.active .profile_content .redes_sociais{
    opacity: 1;
    transition: all 0.5s ease;
}

.sidebar .profile_content .profile{
    position: relative;
    padding: 10px 6px;
    height: 95px;
    background: none;
    transition: all 0.4s ease;
}

.sidebar.active .profile_content .profile{
    background-color: #15202c;
}

.profile_content .profile .profile_details{
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.sidebar.active .profile .profile_details{
    opacity: 1;
    pointer-events: auto;
}

.profile .profile_details img{
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 45px;
}

.profile .profile_details .name_job{
    margin-left: 10px;
}

.profile .profile_details .name{
    font-size: 15px;
    font-weight: 400;
}

.profile .profile_details .job{
    font-size: 12px;
}
/*#endregion*/

/*#region HOME CONTAINER*/
.home_content{
    position:absolute;
    height: 100%;
    width: calc(100% - 78px);
    left: 78px;
    opacity: 1;
    transition: all 0.5s ease;
}

.sidebar.active ~ .home_content{
    width: calc(100% - 240px);
    left: 240px;
}

.home_content .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   
}

.home_content .container header{
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    background-color: #1b2839;
    color:#66c0d6;
    margin-bottom: 70px;
    box-shadow: 0 4px 8px 0 rgba(0 0 0 / 20%), 0 6px 20px 0 rgba(0 0 0 / 20%);
}

.home_content .container header p{
    font-family: 'Lobster', cursive; 
}

.home_content .container header img{
    max-width: 110px;
    margin-top: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px 0 rgba(0 0 0 / 20%), 0 6px 20px 0 rgba(0 0 0 / 20%);
}
/*#endregion*/

/*#region MEDIA QUERY*/
@media (max-width: 320px){
    .sidebar.active ~ .home_content{
        opacity: 0;
        pointer-events: none;
    }
    .home_content .container header p{
        display: none;
    }
}

@media (min-width: 321px) and (max-width: 375px){
    .sidebar.active ~ .home_content{
        opacity: 0;
        pointer-events: none;
    }
    .home_content .container header p{
        display: none;
    }
}

@media (min-width: 376px) and (max-width: 425px){
    .sidebar.active ~ .home_content{
        opacity: 0;
        pointer-events: none;
    }
    .home_content .container header p{
        display: none;
    }
}

@media (min-width: 426px) and (max-width: 600px){
    
    .sidebar.active ~ .home_content{
        opacity: 0;
        pointer-events: none;
    }
    .home_content .container header p{
        display: none;
    }
    
}

/*#endregion*/