/* 
* header.css
*/

header {
    /* position: sticky; */
    top: 0;
    z-index: 11;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    border-bottom: 1px #000000;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;
    padding: 5px 20px;
    border-bottom: solid 1px #e0e0e088;
  }
  
nav {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: min(calc(0.5rem + 1.2vw), 23px);
    text-transform: uppercase;
    font-weight: bold;
}

nav ul {
    width: 60%;
    display: flex;
    justify-content: flex-end;
    list-style: none;
}

nav li {
    padding: 0 20px;
}

#logobr {
    height: 100%;
}

#logobr img {
    width: 100%;
    height: 40px;
    object-fit: contain;
}

nav a {
    text-decoration: none;
    font-family: 'Lato', sans-serif;
}

nav a:hover {
    color: #BC1544;
}

nav ul a::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #BC1544;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul a:hover::after {
    transform: scaleX(1);
}

#icons_nav {
    cursor: pointer;
    display: none;
}

@media screen and (max-width: 1600px) {

}

@media screen and (max-width: 900px) {
    #icons_nav {
        display: block;
        font-size: 1.5rem;
    }
    #icons_nav:before {
        content: "\2630";
    }
    #icons_nav:before {
        content: "\2630";
    }
    .active #icons_nav:before {
        content: "\2715";
    }
    nav ul {
        width: 100%;
        z-index: 1000;
        position: fixed;
        left: -100%;
        top: 50px;
        background-color: #ffffff;
        flex-direction: column;
        text-align: center;
        transition: 0.25s;
        font-size: calc(1.2rem + 1.5vw);
    }
    nav li {
        padding: 8px 0;
    }
    nav.active ul {
        left: 0;
    }

    nav ul a::after {
        display: none;
    }
}

