#main-header {
    background-color: white;
    position: fixed;
    top: 0;
    z-index: 11;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.10);
    width: 100vw;
}

#main-header .wide-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100vw;
    height: 3.5rem;
    padding-block: 0.6rem;
    margin-inline: auto;
}

#main-header #logo-container a {
    display: inline-block;
    margin-right: 2rem;
    height: 100%;
    width: 100%;
}

#logo-container #logo-btn {
    display: inline-block;
    width: 100%;
    min-width: 4.5rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: left 50%;
}

#header-nav {
    display: flex;
}

#header-items {
    position: relative;
    flex-grow: 1;
}

#header-controls {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

#header-controls #search-widget {
    margin-right: 1rem;
    background-color: white;
    box-shadow: 0px 0px 0.20rem rgba(0,0,0, 0.35);
    border-radius: 2rem;
    padding: 0.2em 0.8rem;
    display: flex block;
    flex-direction: row;
    align-items: center;
    color: rgba(0, 0, 0, 0.56);
    flex-grow: 1;
    flex-basis: 15rem;
    flex-shrink: 1;
}

#search-widget input[type="search"]{
    display: inline-block;
    flex-grow: 1;
    flex-shrink: 1;
    margin-right: 0.5rem;
}

input[type="search"]:focus-visible {
    outline: none;
}

#header-controls #header-hamb-menu img {
    height: 100%;
}

.btn a {
    text-decoration: none;
}

.pd-sides {
    padding-inline: 1.5em;
}    

#header-nav ul{
    list-style: none;
    border-radius: 0 0 0.8rem 0.8rem;
    padding-block: 0.8rem;
}

#header-nav a {
    display: inline-block;
    min-height: 2em;
    text-decoration: none;
    text-align: center;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.4em;
    font-weight: 500;
    font-family: sans-serif;
    color: white;
}

#header-nav ul{
    display: flex;
}

#header-nav ul{
    background-color: white;
}

#header-nav a {
    display: block;
    background-color: #b9b9b9;
}

#header-nav li {
    display: inline;
    margin-bottom: 0.6rem;
}

#logo-container #logo-btn {
    background-image: url("../resources/Logo-SENAI-SEM-TEXTO.svg");
}


#header-nav {
    display: none;
    position: absolute;
    top: 3.5rem;
    right: 0;
    width: 100vw;
}

#header-nav.visible {
    display: block;
}

#header-nav ul{
    flex-direction: column;
    align-items: stretch;
    border-radius: 0 0 0.8rem 0.8rem;
    box-shadow: 0 5px 0.5rem rgba(0, 0, 0, 0.10);
}

#header-nav li {
    display: inline;
    margin-bottom: 0.6rem;
}

#header-nav .active {
    background-color: #3b6cc6;
}

#account-button {
    aspect-ratio: 1/1;
    margin-inline: 0.7rem;
    border-radius: 0.4rem;
    box-shadow: 0px 0px 0.1rem 1px rgba(0,0,0, 0.30);
    overflow: hidden;
    min-width: fit-content;
}

#account-button img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#header-controls #search-widget {
    margin-inline: 0;
    max-width: fit-content;
}

#search-widget input[type="search"]{
    max-width: 5rem;
}


@media screen and (min-width: 25rem) {
    #search-widget input[type="search"]{
        max-width: 5rem;
    }
}

@media screen and (min-width: 30rem) {
    #header-controls #search-widget {
        margin-inline: auto;
        max-width: 25rem;
    }

    #search-widget input[type="search"]{
        max-width: initial;
    }
}

@media screen and (min-width: 60rem) {
    #header-nav ul{
        background-color: revert;
        box-shadow: none;
    }

    #header-nav li {
        display: inline;
        margin-bottom: 0;
    }

    #header-nav a {
        display: block;
        background-color: revert;
    }

    #main-header{
        backdrop-filter: blur(7px);
        background-color: hsla(219 100 37 / 90%);
    }

    #logo-container #logo-btn {
        background-image: url("../resources/Logo-SENAI-BRANCA-SEM-TEXTO.svg");
        min-width: 7rem;
    }

    #header-nav {
        position: static;
        display: inline-block;
        flex-grow: 1;
    }

    #header-nav ul {
        flex-direction: row;
        justify-content: center;
    }

    #header-nav ul > li {
        flex-basis: 9rem;
        margin-inline: 1rem;
        display: flex;
        align-items: center;
    }

    #header-nav ul > li a {
        position: relative;
        border-radius: 1rem;
        filter: drop-shadow(0 1px 2.4px hsla(0 0 0 / 44%));
    }

    #header-nav .active {
        background-color: hsla(0 0 0 / 6%);
        box-shadow: inset 0 2px 3px hsla(0 0 0 / 40%);
    }

    #header-items {
        flex-grow: 0;
    }

    #header-hamb-menu {
        display: none;
    }
}