@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body {
    display: flex;
    height: 100vh;
    background: url('../img/bg.jpeg') no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    background-image: url(../img/bg.jpeg);
    backdrop-filter: blur(4px);
    
}

.main {
    width: 100%;
    flex-direction: column;
    margin: 23px;
    z-index: 1;   
    align-items: flex-start;
    display: flex;
    justify-content: center;
}

#sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
    height: 100vh;
    border-radius: 0px 18px 18px 0px;
    position: relative;
    transition: all .7s;
    min-width: 82px;
    z-index: 2;
}

#sidebar_content {
    padding: 12px;
}

span > hr {
    background-color: #938A8A;
    color: #938A8A;
    margin-top: 30px;
    margin-bottom: 30px;
}

#user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

#user_avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50px;
}

#user_infos {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

#user_infos span:last-child {
    color: #6b6b6b;
    font-size: 12px;
}

#side_items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

.side-item {
    border-radius: 20px;
    padding: 14px;
    cursor: pointer;
}

.side-item.active {
    background-color: #59A5D8;
}

.side-item:hover:not(.active),
#logout_btn:hover {
    background-color: #e3e9f7;
}

.side-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
}

.side-item.active a {
    color: #e3e9f7;
}

.side-item a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

#logout {
    border-top: 1px solid #e3e9f7;
    padding: 12px;
}

#logout_btn {
    border: none;
    padding: 12px;
    font-size: 14px;
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 8px;
    text-align: start;
    cursor: pointer;
    background-color: transparent;
}

#open_btn {
    position: absolute;
    top: 30px;
    right: -10px;
    background-color: #59A5D8;
    color: #e3e9f7;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
}

#open_btn_icon {
    transition: transform .3s ease;
}

.open-sidebar #open_btn_icon {
    transform: rotate(180deg);
}

.item-description {
    width: 0px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    transition: width .6s;
    height: 0px;
}

#sidebar.open-sidebar {
    min-width: 15%;
}

#sidebar.open-sidebar .item-description {
    width: 150px;
    height: auto;
}

#sidebar.open-sidebar .side-item a {
    justify-content: flex-start;
    gap: 14px;
}

main {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
   
    & .search {
        
       width: 690px;
       background: #ffffff;
       display: flex;
       justify-content: space-between;
       border-radius: 20px;
       padding: 10px 40px;
       margin-bottom: 40px;



        & input {
            background: transparent;
            border: none;
            outline: none;
        } 
    }

        & section {
            
            
             & aside {
                 height: 829px;
                 width: 363px;
                 align-items: center;
                 display: flex; 
                 flex-direction: column; 


                 & h3 {
                    color: #fff;
                }
                }
                
                & .mentores{
                    background-color: #fff;
                    border-radius: 20px;
                    padding: 30px;
                    width: 100%;
                    height: 200px;
                    overflow-y: scroll;

                    
                      & h3{
                        color: black;
                      }
                }
                   
                
                & .mentor {
                  
                    padding: 5px 10px;
                    display: flex;
                    gap: 10px;
                    
                    & img {
                        width: 49px;
                        height: 47px;
                        border-radius: 100%;
                        
                    }
                }
                

                & h4 {
                    font-size: 15px;
                }
        }
}

/* Estilizando a barra de rolagem */
::-webkit-scrollbar {
    width: 12px;               
    height: 12px;             
}

/* Estilizando o fundo da barra de rolagem */
::-webkit-scrollbar-track {
background: #f1f1f1;    
border-radius: 10px; 
}

/* Estilizando a "thumb" da barra de rolagem (parte rolável) */
::-webkit-scrollbar-thumb {
background-color: #888;   
border-radius: 10px;      
border: 3px solid #f1f1f1; 
}

/* Mudança de cor ao passar o mouse sobre a barra de rolagem */
::-webkit-scrollbar-thumb:hover {
background-color: #555;    
}