

.header {
    top: 0;
    /* border-width: 1px; */
    flex: 1%;
    /* border-color: black; */
    width: auto;
    /* height: 150px; */
    /* border-style: solid; */
    border-radius: 5px;
    padding: 15px;
    display: flex; /* Add flexbox to align items */
    justify-content: space-between; /* Distribute space between items */
    align-items: center; /* Center items vertically */
    background-color: var(--primary);
    flex-direction: row;
    /*margin-top: 15px; */
}
.header > .inner-padding > .title > h2 {
    padding: 15px; 
    text-align: center; 
    font-size: 30px; 
    font-family: Outfit;
    color: var(--text-bright);
    
}
@media screen and (max-width: 768px){
    .header > .inner-padding > h2 {
        font-size: 20px;
    }
    .profile-card {
        position: relative !important;
    }
}
.header > .inner-padding {
    height: 90%;
    width: 100%;
    /* background-color: #015524; */
    border-radius: 5px;
    display:flex;
    justify-content: center;
    flex-direction: row;
}

.profile-card {
    display: flex;
    background-color: #015524;
    flex-basis: 30%; /* Control width */
    height: 50%;
    max-width: 250px;
    align-self: center; /* Align profile card vertically */
    margin-left: auto; /* Push profile card to the right */
    border-radius: 5px;

    /* Force profile card to be to the right. and absolute*/
    position: absolute;
    max-height: 65px;
    right: 15px;
    min-width: 250px;

}

.profile-card > .inner-padding {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Vertically center both the image and text */
    justify-content: space-between; /* Separate image and text */
    width: 100%;
    height: 100%;
    background-color: #ca9e17;
    padding: 10px; /* Add padding to inner content */
    border-radius: 5px;
}

.image-holder {
    display: flex;
    justify-content: flex-start; /* Align image to the left */
    flex-shrink: 0; /* Prevent shrinking */
    padding: 5px; /* Add padding to image holder to create space around the image */
}

.image-holder > img {
    border-radius: 50%;
    width: 45px; /* Set width to 45px */
    height: 45px; /* Set height to 45px */
}

.username-holder {
    display: flex;
    justify-content: center; /* Center the text */
    flex-grow: 1; /* Allow the text to take up available space */
    padding: 5px; /* Add padding to the username holder */
}

.username-holder p {
    color: white;
    font-family: "Outfit";
    margin: 0;
    text-align: left;
}

.profile-dropdown {
    padding: 10px;
    height: 400px;
    width: 250px;
    background-color: var(--primary);
    border-radius: 15px;
    margin-left: auto;
    position: fixed;
    right: 15px;
    display: none;
    color: white;
    flex-direction: column;
    z-index: 100;
    /* since profile card is fixed, the profile card needs to be down*/
    top: 100px;
}
.profile-dropdown-padding-bottom {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    height: 100%;
    padding: 1px;
}
.profile-dropdown-padding {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
}
.profile-dropdown > .profile-dropdown-padding a {
    background-color: var(--primary);
    width: 100%;
    color: var(--text-bright);
    text-align: left;
    padding: 15px;
    border-radius: 15px;
    
}