@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700&display=swap");

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #4A00E0, #8E2DE2);
}

.navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px -5px rgba(0, 0, 0, 0.6);
    transition: 0.5s;
    overflow: hidden;
}

.navigation.active {
    width: 400px;
}

.navigation .menu_toggle {
    display: flex;
    align-items: center;
    position: relative;
    width: 80px;
    height: 70px;
    cursor: pointer;
    padding: 0 20px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navigation .menu_toggle::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 2px;
    background: #6415FF;
    transform: translateY(-10px);
    transition: 0.5s;
}

.navigation .menu_toggle::after {
    content: "";
    position: absolute;
    width: 35px;
    height: 2px;
    background: #6415FF;
    transform: translateY(10px);
    transition: 0.5s;
    box-shadow: 0 -10px #6415FF;
}

.navigation.active .menu_toggle::before {
    transform: translateY(0px) rotate(45deg);
}

.navigation.active .menu_toggle::after {
    transform: translateY(0px) rotate(-45deg);
    box-shadow: 0 0 #6415FF;
}

.navigation .profile {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    padding: 0 10px;
    width: 100%;
}

.navigation .profile .img {
    position: relative;
    width: 60px;
    height: 60px;
    overflow: hidden;
    transition: 0.5s;
    border-radius: 50%;
}

.navigation.active .profile .img {
    width: 200px;
    height: 200px;
}

.navigation .profile .img img {
    position: absolute;
    top : 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navigation .menu {
    position: relative;
    width: 100%;
    padding: 10px;
    transition: 0.5s;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.navigation.active .menu {
    padding: 10px 20px;
}

.navigation .menu li {
    list-style: none;
}

.navigation .menu li a {
    position: relative;
    display: flex;
    text-decoration: none;
    color: #111;
    border-radius: 10px;
}

.navigation .menu li a:hover {
    background: #6415FF;
    color: #fff;
}

.navigation .menu li a .icon {
    position: relative;
    min-width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.navigation .menu li a .text {
    position: relative;
    height: 60px;
    margin-left: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}