header{
    height: var(--header-height);
    width: 100vw;
    border-bottom: 0.1rem solid black;
    box-sizing: border-box;
    padding: var(--header-padding);
    background-color: var(--header-bg);
    position: relative;
    /*z-index: 99999;*/
    z-index:9999999999;

    .header-container{
        display: flex;

        .header-content-mobile{
            display: none;
        }

        .header-content{
            display: flex;
        }

        a svg{
            width: 12.5rem;
            height: 4.291rem;
        }
        div.space{
            flex-grow: 1;
        }
        div.collaborators{
            a{
                display: block;
                text-decoration: none;
                color: var(--app-color-1);
                background-color: var(--app-color-2);
                border-radius: 0.25rem;
                padding: 0.8rem 0.6rem;
                margin: 0 0.3rem;
            }
            a:hover{
                filter: brightness(0.8);
            }
        }
        div.options{
            .languages{
                display: flex;

                a{
                    color: var(--app-color-3);
                    background-color: var(--app-color-1);
                    text-decoration: none;
                    margin: 0 0.2rem;
                }
                
                .language-option{
                    border-radius: 0.25rem;
                    padding: 0.8rem 0.6rem;
                    margin: 0 0.3rem;
                }

                .language-option.active{
                    color: var(--app-color-1);
                    background-color: var(--app-color-2);
                }
            }
        }
        div.user-info{
            margin-left: 2rem;

            .user-container{
                display: flex;
                flex-wrap: wrap;
                align-items: center;

                .basic-info{
                    margin: 0 0.6rem;
                    display: flex;
                    flex-direction: column;

                    span:nth-child(1){
                        color: #404344;
                        font-size: 0.813rem;
                        font-weight: 700;
                    }
                    span:nth-child(2){
                        color: #404344;
                        font-size: 0.813rem;
                        font-weight: 400;
                    }
                }
                .user-dropdown{
                    height: 1.2rem;
                    cursor: pointer;
                
                    svg{
                        pointer-events: none;
                    }
                }
                .user-options{
                    display: none;
                }
            }
            .user-container.show{
                position: relative;

                .user-dropdown{
                    transform: rotate(180deg);
                }
                .user-options{
                    display: inline;
                    position: absolute;
                    top: 3rem;
                    right: 0;
                    z-index: 99999;
                    background-color: white;
                    padding: 1rem;
                    border: 0.1rem solid black;
                    border-radius: 0.3rem;

                    > div{
                        color: #005660;
                        font-size: 1rem;
                        font-weight: 700;
                        border-bottom: 0.1rem solid #005660;
                        padding-bottom: 0.5rem;
                    }

                    ul{
                        list-style: none;
                        padding: 0;
                        margin: 0;
                        
                        li{
                            list-style: none;
                            padding: 0.5rem 0;

                            a{
                                color: #005660;
                                font-size: 1rem;
                                font-weight: 400;
                                text-decoration: unset;
                            }
                        }
                    }
                }
            }
        }
    }
}
body.mobile{
    header{
        padding-left: 1rem;
        padding-right: 1rem;

        .header-container{
            > a{
                svg{
                    width: 9rem;
                }
            }
            .header-content-mobile{
                display: flex;
                align-items: center;

                svg{
                    width: 3rem;
                    height: auto;
                    color: var(--app-color-3);
                }
            }
            .header-content{
                display: none;
            }
        }
        .header-container.show-content{
            .header-content{
                display: flex;
                flex-direction: column;
                bottom: -11rem;
                left: 0;
                position: absolute;
                background-color: white;
                padding: 1rem;
                width: 100vw;

                > div{
                    > a{
                        text-align: center;
                    }
                }
                .options{
                    .languages{
                        width: fit-content;
                        margin: 0.5rem auto;
                    }
                }
            }
            .user-info{
                margin: unset;

                .user-container{
                    width: fit-content;
                    margin: 0.5rem auto;
                }
            }
        }
    }
}