header{
    position: fixed;

    top: 0;
    z-index: 5;


    width: 100%;
    background: var(--background);


    height: 96px;

    padding: 0 40px;

    -webkit-box-shadow: 0px 10px 29px -8px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 10px 29px -8px rgba(0,0,0,0.35);
    box-shadow: 0px 10px 29px -8px rgba(0,0,0,0.35);
}

header #form-header{
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

header #form-header > img{
    height: 82px;

    cursor: pointer;

    display: block;
}

header #form-header > img.not-visible{
    display: none;
}

.logo-responsive{
    display: none;
}

header button {
    border: 0;
    background: none;
}

header .mid{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: fit-content;


    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

header .responsive-mid{
    display: none;
}

header .clickable-icons{
    display: flex;
    align-items: center;
    gap: 8px;
}

header .clickable-icons label{
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .clickable-icons label ion-icon{
    transition: 0.25s;

}

header .clickable-icons label:hover ion-icon{
    color: var(--green);

    transition: 0.5s;
}

header .clickable-icons label.selected ion-icon{
    color: var(--green);
}

header .clickable-icons ion-icon{
    font-size: 40px;
}

header .clickable-icons label:nth-child(2) ion-icon{
    font-size: 32px;
}

header .search-wrapper{
    min-width: 280px;

    display: flex;
    flex-direction: row;
    padding: 12px 16px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    border-radius: 6px;
    border: 1px solid var(--stroke-gray);

    background: var(--light-gray);
}

header .search-wrapper:focus-within{
    border: 1px solid var(--green);
}

header .search-wrapper input{
    width: 100%;
    height: fit-content;

    border: 0;
    outline: 0;
    background: none;

    font-size: 14px;
    font-weight: 600;

    padding: 0;

}

header .search-wrapper button{
    font-size: 20px;

}

header .search-wrapper button ion-icon{
    color: var(--green);

}

header .right-buttons{
    /* position: relative; */

    display: flex;
    align-items: center;
    gap: 24px;
}


header .right-buttons button{
    font-size: 40px;
    padding: 4px;
}

header .right-buttons button:nth-child(3){
    position: relative;
}


header button:hover ion-icon{
    color: var(--green);
    transition: color 0.7s;

    cursor: pointer;
}

header button ion-icon{
    transition: color 0.7s;
}

header .right-buttons button:nth-child(3).not-visible{
    display: none;
}


.div-for-padding{

    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;

    background: var(--background);

    padding: 20px 8px;

    display: none;
}

.div-for-padding.open{
    display: flex;
   
}

.div-for-padding .search-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;

    padding: 0 12px;

}

.div-for-padding .search-wrapper input{
    height: 100%;
}

.div-for-padding .search-wrapper ion-icon{
    font-size: 32px;
}

header .right-buttons > button:nth-child(2){
    position: relative;
}

.search-header-icon{
    display: none;
}


.ellipsis-menu{
    width: 324px;

    position: absolute;

    right: 0;
    top: 100%;

    display: none;
}

.ellipsis-menu.open{
    display: block;
}

.ellipsis-menu .menu-item{
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--stroke-gray);

    background: var(--white);

}

.ellipsis-menu .menu-item:hover{
    background: var(--green);
}

.ellipsis-menu .menu-item *{
    color: var(--black);
}

.ellipsis-menu .menu-item:hover *{
    color: var(--white);
}

.ellipsis-menu .menu-item ion-icon{
    font-size: 24px;
}

.ellipsis-menu .menu-item p {
    font-size: 16px;
    font-weight: 600;
}


/* Responsive hidden */
.ellipsis-menu .responsive-menu-item {
    display: none;
}

@media (max-width: 870px){
    header{
        height: 96px;
        padding: 4px 8px;
        align-items: center;
    }

    .logo{
        display: none;
    }

    .logo-responsive{
        display: block;
        height: 64px;
    }

    .ellipsis-menu .responsive-menu-item{
        display: flex;
    }
    
    header .right-buttons button:first-child{
        display: none;
    }

    header .mid{
        display: none;
    
    }

    header .clickable-icons button:nth-child(2) ion-icon{
        font-size: 28px;
    }

    header .search-wrapper{
        min-width: fit-content;
    
    }

    .search-header-icon{
        display: flex;
    }
}