/* Dropdown Button */

.top-menu {
    max-width: 100%;
    max-height: 20%;
    background-color: green;
    color: #ffffff;
    padding: 1rem;
    font-size: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.head-user {
    border: 2px solid #e1e1e1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-user span {
    color: #e1e1e1;
    font-weight: bold;
}

.dropbtn {
    background-color: green;
    /*#8A0808*/
    color: white;
    padding: .8rem;
    font-size: 1.3rem;
    border: none;
    border-radius: 5px;
    width: 120px;
    opacity: 0.7;
    transition: 0.3s;
}


/* The container <div> - needed to position the dropdown content */

.dropdown {
    position: relative;
    display: inline-block;
}


/* Dropdown Content (Hidden by Default) */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: green;
    min-width: 12rem;
    box-shadow: 0rem 1rem 2rem 0rem rgba(0, 0, 0, 0.2);
    z-index: 1;
}


/* JM personal*/

.dropbtn img {
    width: 3rem;
}

.dropdown span {
    color: #ffffff;
    /* font-size: 5rem; */
    margin: 1.2rem;
    align-content: center;
}


/* Links inside the dropdown */

.dropdown-content a {
    color: #ffffff;
    padding: 1.2rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 1.3rem;
}


/* Change color of dropdown links on hover */

.dropdown-content a:hover {
    background-color: #ddd;
    color: #442E2D;
}


/* Show the dropdown menu on hover */

.dropdown:hover .dropdown-content {
    display: block;
}


/* Change the background color of the dropdown button when the dropdown content is shown */

.dropdown:hover .dropbtn {
    background-color: green;
    opacity: 1;
    color: #000;
}