header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.header{   
    display: flex;
    justify-content: space-between;
    align-items: self-start;
    gap: 50vw;
}

.relative-menu{
    position: relative;  
}
.avatar {
    border-radius: 4.5rem;
    border: 0.25rem solid var(--sys-light-on-inverse-background, #FFF);
    background: lightgray 50% / cover no-repeat;
    /* overlay-light */
    box-shadow: 0px 4px 6px -2px rgba(62, 60, 62, 0.04), 0px 4px 28px 4px rgba(62, 60, 62, 0.12);
    width: 4.25rem;
    height: 4.25rem;

    flex-shrink: 0;
    cursor: pointer;
    margin-top: 2.5rem;
}

.menu-button {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 4.5rem;
    width: auto;
    height: 2.5rem;
    background: var(--sys-light-surface-variant, #FFF);
    z-index: 10;
    /* overlay-light */
    box-shadow: 0px 4px 6px -2px rgba(62, 60, 62, 0.04), 0px 4px 28px 4px rgba(62, 60, 62, 0.12);

    margin-top: 2.5rem;
    
    padding: 0.875rem;
    cursor: pointer;
    transition: 0.5s;
}






#normal {
    display: block;
    

}

#clicked {
    display: none;
    
}



.menu {
    display: none;
    width: 13.5rem;
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    z-index: 20;
    position: absolute;
    border-radius: 1rem;
    background: #FFF;
    right: 0.5rem;
    top: 7.5rem;
    /* overlay-light */
    box-shadow: 0px 4px 6px -2px rgba(62, 60, 62, 0.04), 0px 4px 28px 4px rgba(62, 60, 62, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
}


.menu-item {
    display: flex;
    padding: 0.75rem;
    align-items: center;
    gap: 0.5rem;
    align-self: stretch;
    border-radius: 0.5rem;
    cursor: pointer;
    width: 12rem;
}

.menu-item span {
    color: var(--sys-light-on-surface, #3E3C3E);
    text-align: center;

    /* Text md/semibold */
    font-family: Inter;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5rem;
    /* 150% */
}

.menu-item:hover {
    background-color: rgba(7, 98, 200, 0.16);
}

/*Header design 2*/

.previous {
    display:flex;
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 4.5rem;
    border: 0.25rem solid var(--sys-light-on-inverse-background, #FFF);
    background: var(--sys-light-surface-variant, #FFF);
    /* overlay-light */
    box-shadow: 0px 4px 28px 4px rgba(62, 60, 62, 0.12), 0px 4px 6px -2px rgba(62, 60, 62, 0.04);    
    flex-shrink: 0;
    cursor: pointer;
    margin-top: 2.5rem;

}

/* responsive design */
/* for large screens (desktops, laptops) */
@media screen and (min-width: 992px) and (max-width: 1024px) {

}

/* medium screens  tablets */
@media screen and (min-width: 768px) and (max-width: 991px) {

    .menu-button { 
        width: 20px;
        height: 20px;  
    }
    .menu-button svg{
        width: 40px;
        height: 20px;   
    }
    .menu {
        width: 8rem;
        padding: 0.5rem;
        right: 0.1rem;
        top: 6.5rem;
    }
    .menu-item {
        width: 6.5rem;
    }
    .menu-item svg{
        width: 15px;
        height:15px;
    }
    
    .menu-item span {
        font-size: 0.9rem;
        line-height: 0.5rem;
        /* 150% */
    }
    .avatar {
        border: 0.2rem solid var(--sys-light-on-inverse-background, #FFF);
        width: 2.825rem;
        height: 2.825rem;
        margin-top: 2.4rem;
     }
     .header{
        justify-content: space-between;
        gap: 67vw;
     }
    .previous {
        padding: 0.5rem;
        gap: 0.5rem;
        margin-top: 2.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }
    .previous svg{
        width: 2.5rem;
        height: 1.5rem;
        
    }
    
}

/* small screens phones */
@media screen and (min-width: 0px) and (max-width: 767px){
    
    .menu-button {
        padding: 0.4rem;
        gap: 0.5rem; 
        width: 1.6rem;
        height: 1.6rem; 
        margin-top: 1.3rem; 
    }
    .menu-button svg{
        width: 1.875rem;
        height:1.438rem;   
    }
    .menu {
        width: 5.5rem;
        padding: 0.3rem;
        right: 0.1rem;
        top: 4rem;
    }
    .menu-item {
        width: 4rem;
    }
    .menu-item svg{
        width: 0.75rem;
        height:0.75rem;
    }
    
    .menu-item span {
        font-size: 0.7rem;
        line-height: 0.3rem;
        /* 150% */
    }
    .avatar {
        border: 0.15rem solid var(--sys-light-on-inverse-background, #FFF);
        width: 35px;
        height: 35px;
        margin-top: 0.6rem;
     }
     header {
        display: flex;
        justify-content:center;
        align-items: center;
        position: fixed;
        /* width: 100%; */
        width: 100vw;
        padding: 0rem; 
      }
      .header{
        display: flex;
        justify-content:space-between;
        align-items: center;
        gap: 69vw;
      }
    
    .previous {
        padding: 0.4rem;
        gap: 0.5rem;
        margin-top: 1.3rem;
        margin-right: 0rem;
        width: 1rem;
        height: 1rem;
    }
    .previous svg{
        width: 1.875rem;
        height: 1rem;
        
    }
}
