header {
    background-color: #E65100;
    height: 70px;
}

    header .navbar {
        padding: 0px;
        z-index: 999;
    }

    header h1 {
        float: left;
        background: #fff;
        box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
        -webkit-border-radius: 0 0 5px 5px;
        -moz-border-radius: 0 0 5px 5px;
        -ms-border-radius: 0 0 5px 5px;
        -o-border-radius: 0 0 5px 5px;
        border-radius: 0 0 5px 5px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

        header h1 a {
            width: 280px;
            height: 130px;
            float: left;
            text-indent: -9999px;
            background: url(/logo/logo-IUP.png) no-repeat center;
            background-size: contain; /* Faz a imagem caber no espaço */
            background-position: center; /* Garante o alinhamento */
            background-repeat: no-repeat; /* Evita repetições */
            padding: 1em;
        }

@media (min-width: 1200px) {
    header h1 {
        width: 280px;
    }
}

@media (max-width: 1199px) {
    header nav h1 {
        width: 205px !important;
    }

    header h1 a {
        width: 205px !important;
        height: 80px !important;
        background-size: 120px !important; /* Ajusta o tamanho da logo */
    }
}

/* --- Para tablets e celulares em modo retrato --- */
@media (max-width: 768px) {
    header h1 a {
        width: 200px !important;
        height: 90px !important;
        background-size: contain !important;
    }
}

/* --- Para celulares pequenos --- */
@media (max-width: 480px) {
    header h1 a {
        width: 150px !important;
        height: 70px !important;
        background-size: contain !important;
    }
}

.navbar-toggler {
    margin-top: 15px;
}

.navbar-toggler-icon {

    height: 2.5em;
    width: 3em;
}

.trigger {
    width: 70px;
    height: 50px;
    float: right;
    background: url(/logo/abremenu.png) no-repeat right center;
    margin: 0 0 0 0;
    display: none;
    cursor: pointer;
}

header .navbar-nav {
    margin-top: 15px;
}

    header .navbar-nav .nav-link {
        font-size: 16px;
        text-transform: uppercase;
        color: #FFFFFF;
        font-family: "titillium_webbold";
        font-weight: lighter;
        margin-left: 35px;
        margin-bottom: 10px;
    }

@font-face {
    font-family: 'titillium_webbold';
    src: url('/fonts/TitilliumWeb-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
