* {
    margin: 0;
    box-sizing: border-box;
}

#infolabel{
    width: 100%;
    min-height: min-content;
    background-color: var(--darkgrey);
    color: floralwhite;
    display: flex;
    align-items: center;
}



header{
    border-top: 5px solid #D8AD8A;
    background-color: #EBEBEB;
    width: 100%;
    height: 4.5em;
    min-height: 3em;
    

    display: flex;
    justify-content: center;
    
    border-bottom: 0.1em solid var(--grey);
    position: sticky;
    top: 0;
    z-index: 100;
}

#hchild {
    width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    width: 100%;
    height: 100%;
    background-color: var(--board);
    display: flex;
    justify-content: center;
    align-items: center;
    
}

h1{
    
    font-size: 1.5em;
    font-weight: lighter;
}

#tbsearch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    min-width: 14em;
    height: 2.5em;
    
}

#search-input {
    width: 100%;
    min-width: 10em;
    height: 100%;
    padding-left: .6em;
    font-family: "Inter";
    background-color: #FFFFFF;
    
    border: solid 1px var(--lightgrey);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;

    z-index: 100;

}
#search-input:focus {
    outline-color: var(--red);
}

#search-input-submit {
    display: none;
}

#search-input-label {
    display: block;
    height: 100%;
}

#tb-search-button {
    background-color: #f1f1f1;
    height: 2.5em;
    width: 2.5em;
    display: flex;
    justify-content: center;
    align-items: center;

    border: solid 1px var(--lightgrey);
    border-left: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
#tb-search-button:hover {
    cursor: pointer;
    background-color: #e2e2e2;
}




#lupa{
    height: 1.2em;
}

#cadeado{
    height: 1em;
    float: right;
    margin-bottom: 1em;
    margin-right:1em;
}

.link:hover {
    
    background-color: #a7866c;
    border-radius: 5px;
}

.imglink {
    display: none;
    justify-content: center;
    align-items: center;
}
.imglink img {
    height: 3em;
}

#logo{
    top: 0%;
    left: 5%;
    height: 7em;
    
}

#umb { /* user menu button */
    display: flex;
    flex-direction: column;
    width: w-max;
    /* padding: .5em; */
    border-radius: .3em;

    /* align-items: center;
    justify-content: center; */
}#umb:hover {
    background-color: var(--hover);
    cursor: pointer;
}

#umb-content {
    display: flex;
    padding: .5em;
}

.umb-img-container {
    border-radius: 100%;
    background-color: var(--moreover);
    width: 3.8em;
    height: 3em;
    margin-right: .8em;
    border: 1px solid var(--cream);
}

#umb-drop {
    position: relative;
    display: inline-block;
    border-bottom-left-radius: .3em;
    border-bottom-right-radius: .3em;
    /* width: 15em; */
    width: inherit;
}
/* #umb:hover #umb-drop-content {display: block;} */
#umb-drop-content {
    /* display: none; */
    position: absolute;
    background-color: #f1f1f1;
    /* width: 15em; */
    width: inherit;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;

    border-bottom-left-radius: .3em;
    border-bottom-right-radius: .3em;
}
#umb-drop-content .opt {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    transition: var(--globaltrans);
    border-radius: inherit;
}
#umb-drop-content .opt:hover {
    background-color: var(--hover);
}

#umb-drop-content .opt img {
    margin-right: .5em;
}

#help-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3em;
    height: 3em;
    border-radius: .2em;

    transition: .3s;
}

#help-button:hover {
    background-color: var(--hover);
}

@media screen and (max-width:640px) and (max-height:1080px){
    header {
        display: flex;
    }

    #help-button {
        display: none;
    }
    
}

@media screen and  (orientation:portrait) {
    .link {
        display: none;
    }
    .imglink {
        display: inline;
    }
    #umb {
        width: 4em;
        margin: 0;
    }
    .umb-img-container {
        margin-right: 0;
    }
    #umb-drop {
        right: 5em;
        width: 12em;
    }

    .umb-text {
        display: none;
    }

    #logo{
        /* top: 0%;
        left: 0%; */
        display: block;
        height: 100%;
        height: 6em;
        position: static;
    }
    #cadeado{
        display: none;
    }
}

@media (max-width:500px) {
    #logo {
        height: 100%;
        width: 4.5em;
    }

    
}