header {
    height: var(--header-size);
    background: linear-gradient(to right, var(--blue), var(--cyan));
    /* background-color: var(--dark-blue); */
    color: var(--white);
    position: relative;
    top: 0;
    width: calc(100%);
    /* width: calc(100% - var(--sidebar-size)); */
    /* margin-left: var(--sidebar-size); */
    display: flex;
    align-items: flex-start;
}

.header-nav {
    display: flex;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    align-items: center;
    justify-content: space-between; 
    height: 70px;
}

.header-nav a {
    color: var(--white);
}

.header-profile {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    height: calc(var(--header-size)-50px);
}
.header-profile:hover{
    height: calc(var(--header-size));
}

.header-profile-picture {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 3px;
    border: 2px solid white;
}

.header-profile-name, .header-profile-role {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.header-profile-name {
    margin: 0 18px;
}

.header-vertical-line {
    width: 1px;
    height: 30px;
    margin: 0 5px;
    margin-right: 12px;
    background-color: var(--light-gray);
}

.header-profile-role {
    margin: 0;
}

.header-profile-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: -3%;
    background-color: transparent;
    z-index: 5;
    border-radius: 20px;
    padding: 0;
    padding-top: 15px;
    margin-right: 5%;
    width: 20%;
    min-width: 300px;
}

.header-profile-dropdown::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 60%;
    transform: translateX(50%);
    border-width: 0 7px 10px 7px;
    border-style: solid;
    border-color: transparent transparent var(--blue) transparent;
}

.header-profile-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 20px 0px 20px 27px;
    /* background-color: var(--dark-blue); */
    background: linear-gradient(to right, var(--blue), var(--blue2));
    color: var(--white);
    border-radius: 20px 20px 0 0;
}

.header-profile-dropdown-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.header-profile-dropdown-info {
    display: flex;
    flex-direction: column;
    padding-left: 7px;
}

.header-profile-dropdown-role-container {
    display: flex;
    align-items: center;
}

.header-profile-dropdown-info h6 {
    margin: 0;
}

.header-profile-dropdown-info p {
    margin-top: 5px;
    font-size: 12px;
    color: var(--light-gray);
}

.header-profile-dropdown-content {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 20px 20px;
    background-color: var(--white);
}

.header-profile-dropdown-links {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.header-profile-dropdown-links a {
    display: flex;
    align-items: center;
    padding: 15px 0 15px 35px;
    text-decoration: none;
    color: var(--dark-blue);
}

.header-profile-dropdown-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.header-profile-dropdown-links a:hover, .header-profile-dropdown-bottom a:hover {
    background-color: var(--white3);
}

.header-profile-dropdown-separator {
    height: 1px;
    background-color: var(--gray);
    margin: 0 35px;
}

.header-profile-dropdown-bottom {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.header-profile-dropdown-bottom a {
    display: flex;
    align-items: center;
    padding: 15px 0 15px 35px;
    text-decoration: none;
    color: var(--dark-blue);
}

.header-profile-dropdown-bottom a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.crown-large {
    font-size: 24px;
    color: var(--yellow);
    margin-right: 16px;
    opacity: 1;
    text-shadow: 
    -1px -1px 0 var(--white),
    1px -1px 0 var(--white),
    -1px 1px 0 var(--white),
    1px 1px 0 var(--white);
}

.crown-small {
    font-size: 10px;
    color: var(--yellow);
    margin-right: 5px;
    margin-left: 0;
    transform: translateY(2px);
}

.header-logo-img {
    height: 40px;
    margin-right: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-transition-bar {
    height: var(--header-size);
    background-color: var(--dark-blue);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}


.pinnedlink{
    position:relative;
    width:20px;
    height:20px;
    margin-right:15px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.pinnedlink img{
    width:100%;
    height:100%;
    pointer-events:none;
    background:rgba(0,0,0,.15);
    border-radius:4px;
    padding:2px;
    padding-top: 0;
}

.pinnedlink-redirect,
.pinnedlink-copy,
.pinnedlink-placeholder{
    color:var(--yellow);
    text-shadow:0 0 2px rgba(2,2,0,1);
}

.pinnedlink-placeholder{
    display:none;
    font-size:20px;
    margin-bottom: 4px;
    color:var(--white);
}

.pinnedlink-redirect,
.pinnedlink-copy{
    position:absolute;
    font-size:10px;
    top: 22px;
    color:var(--white);
    cursor:pointer;
    transition:transform .1s;
}

.pinnedlink-redirect{bottom:-5px;left:-3px;}
.pinnedlink-copy   {bottom:-5px;right:-3px;}

.pinnedlink-redirect:hover,
.pinnedlink-copy:hover{transform:scale(1.25);}
.pinnedlink-redirect:active,
.pinnedlink-copy:active{transform:scale(.9);}


/* mobile */
@media (max-width: 599px) {

    .header-vertical-line, .header-profile-role {
        display: none;
    }

    .header-profile-name {
        font-size: 12px;
        white-space:unset;
    }

    .pinnedlink {
        display: none;
    }
}

/* tablette */
/* @media (min-width: 600px) and (max-width: 1023px) {
    header {
        width: calc(100% - var(--sidebar-size));
        margin-left: var(--sidebar-size);
        justify-content: space-between; 
    }

    .header-profile-dropdown::before {
        right: 14%;
    }
} */

/* tablette & mobile */
/* @media (max-width: 1023px) {
    .header-profile-name, .header-profile-role, .header-vertical-line {
        display: none;
    }

    .header-nav {
        justify-content: space-between;
    }
} */ 
