﻿.container-header {
    position: relative;
    z-index: 1;
    padding: 0;
}

.container-header-pages {
    position: relative;
    z-index: 1;
    padding: 0;
}

.header {
    max-height: 200px;
    height: 80px;
    background-color: var(--parametro4);
    min-width: 175px;
    width: 100vw;
    min-width: 190px;
}

.col-custom {
    flex: 0 0 60px;
    max-width: 60px;
    margin-bottom: 3px;
}

.navbar-toggler {
    font-size: 4.5rem;
    margin-right: 6px;
    border: 0;
}

.forma-logo {
    display: none;
    width: 480px;
    height: 549px;
    position: absolute;
    top: -115px;
    left: -171px;
}

.img-logo-header {
    position: absolute;
    height: 43%;
    top: 39%;
    left: 41%;
}

.img-logo-header-pages {
    width: 100px;
    position: relative;
    height: auto;
    width: 70px;
    align-self: center;
    /* height: 43%;
    top: 39%;
    left: 41%;*/
    z-index: 1000;
    display: none
}

.navbar-collapse {
    background-color: var(--parametro5);
    height: calc(100vh - 88.5px);
    z-index: 1000;
}

.position-absolute-custom {
    position: absolute;
}

/* Alterações */

.navbar-nav div {
    margin-top: 20px
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 900;
    color: var(--parametro1);
    padding: 0;
    font-size: 1.2em;
    text-align: center;
    text-decoration: none;
}

    .navbar-light .navbar-nav .nav-link:hover {
        text-decoration: underline;
        color: var(--parametro1);
    }

    .navbar-light .navbar-nav .nav-link:focus {
        color: var(--parametro1);
        border: none;
        outline: none;
    }

.logo-aacd {
    display: flex;
    justify-content: center;
    width: 100%;
}

.background-header {
    background-color: var(--parametro4);
}

@media (max-width: 1199px) {
    .img-logo-header {
        height: 210px;
        top: 41%;
        left: 41%;
        width: 180px;
    }
}

@media (max-width: 410px) {
    .altura-header {
        height: calc(100vh - 100px);
    }
}

@media (min-width: 410px) {
    .altura-header {
        height: calc(100vh - 80px);
    }
}

@media (max-height: 600px) and (max-width: 991px) {
    .navbar-nav div {
        margin-top: 5px;
    }

    /* .open {
        height: calc(100% - 88.5vh);
    }*/
}

@media (max-width: 991px) {
    .img-fluid {
        max-width: 100%;
        height: auto;
        width: 70px;
    }
}

@media (min-height: 1258px) and (max-width: 991px) {
    .navbar {
        height: 90vh !important
    }
}

@media (min-height: 650) and (max-width: 991px) {
    .navbar-nav div {
        margin-bottom: 90px;
        margin-top: 20px;
    }
}

@media (min-width: 100px) {
    .navbar-light .navbar-nav .nav-link .first-nav-link {
        margin-top: 30px
    }

    @media (min-width: 410px) {
        .header {
            height: 100px;
        }

        .col-custom {
            flex: 0 0 80px;
            max-width: 80px;
        }

        .navbar-toggler {
            font-size: 5.5rem;
        }
    }

    @media (max-width: 330px) {
        @media (min-height: 600px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                justify-content: space-evenly;
                height: calc(100vh - 207.5px);
            }
        }

        @media (min-height: 381px) and (max-height: 515px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                justify-content: space-evenly;
                height: calc(100vh - 207.5px + 300px);
            }
        }

        @media (min-height: 516px) and (max-height: 650px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                justify-content: space-evenly;
                height: calc(100vh - 207.5px + 150px);
            }
        }

        @media (max-height: 380px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                justify-content: space-evenly;
                height: calc(100vh - 207.5px + 400px);
            }
        }
    }

    @media (min-width: 330px) and (max-width: 384px) {
        @media (min-height: 601px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 188px);
                justify-content: space-evenly;
            }
        }

        @media (min-height: 381px) and (max-height: 515px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 188px + 300px);
                justify-content: space-evenly;
            }
        }

        @media (min-height: 516px) and (max-height: 650px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 188px + 150px);
                justify-content: space-evenly;
            }
        }

        @media (max-height: 380px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 188px + 400px);
                justify-content: space-evenly;
            }
        }
    }

    @media (min-width: 385px) and (max-width: 410px) {
        .navbar-nav {
            display: flex;
            -ms-flex-direction: column;
            flex-direction: column;
            padding-left: 0;
            margin-bottom: 0;
            list-style: none;
            height: calc(100vh - 168px);
            justify-content: space-evenly;
        }

        @media (min-height: 381px) and (max-height: 515px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 168px + 300px);
                justify-content: space-evenly;
            }
        }

        @media (min-height: 516px) and (max-height: 650px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 168px + 150px);
                justify-content: space-evenly;
            }
        }

        @media (max-height: 380px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 168px + 400px);
                justify-content: space-evenly;
            }
        }
    }

    @media (min-width: 410px) and (max-width: 991px) {
        .navbar-nav {
            display: flex;
            -ms-flex-direction: column;
            flex-direction: column;
            padding-left: 0;
            margin-bottom: 0;
            list-style: none;
            height: calc(100vh - 188.5px);
            justify-content: space-evenly;
        }

        @media (min-height: 381px) and (max-height: 515px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 188px + 300px);
                justify-content: space-evenly;
            }
        }

        @media (min-height: 516px) and (max-height: 650px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 188px + 150px);
                justify-content: space-evenly;
            }
        }


        @media (max-height: 380px) {
            .navbar-nav {
                display: flex;
                -ms-flex-direction: column;
                flex-direction: column;
                padding-left: 0;
                margin-bottom: 0;
                list-style: none;
                height: calc(100vh - 188px + 400px);
                justify-content: space-evenly;
            }
        }
    }


    @media (min-width: 576px) {
        .col-custom {
            margin-bottom: 6px;
        }

        .navbar-toggler {
            margin-right: 8px;
            margin-top: 5px;
        }

        .navbar-light .navbar-nav .nav-link {
            font-size: 1.4em;
        }
    }

    @media (min-width: 992px) {

        .img-logo-header-pages {
            display: block;
        }

        .container-header {
            max-width: 960px;
            padding: 0;
            position: relative !important;
        }

        .container-header-pages {
            padding: 0;
            position: relative !important;
        }

        .forma-logo {
            display: block;
        }

        .header {
            display: none;
        }

        .col-custom {
            display: none;
        }

        .logo-aacd {
            display: none;
        }

        .navbar-collapse {
            background-color: transparent;
            height: 0px;
        }

        .navbar-nav {
            margin-left: 20%;
            margin-right: 25px;
        }

        .navbar-light .navbar-nav .nav-link {
            font-size: 0.9rem;
            margin-top: 2.5rem;
        }

        .navbar {
            margin-bottom: 4rem;
        }

        .position-absolute-custom {
            position: static;
        }

        .col-custom-xxxl {
            margin-bottom: 30px !important;
        }
    }

    @media (min-width: 1200px) {

        .container-header {
            max-width: 1140px;
        }

        .forma-logo {
            height: 570px;
            width: 495px;
            top: -115px;
            left: -162px;
        }

        .navbar {
            margin-bottom: 5rem;
        }

        .navbar-light .navbar-nav .nav-link {
            font-size: 1.1rem;
        }

        .navbar-nav {
            margin-left: 18%;
            margin-right: 12px;
        }

        .img-logo-header {
            left: 38%;
        }

        .col-custom-xxxl {
            margin-bottom: 36px !important;
        }

        @media (max-width: 1000px) {
            .img-logo-header {
                position: absolute;
                height: 40%;
                top: 41%;
                left: 38%;
            }
        }
    }

    @media (min-width: 1001px) {
        .img-logo-header {
            top: 38%;
            left: 55%;
        }
    }

    @media (min-width: 1350px) {

        .forma-logo {
            height: 650px;
            width: 570px;
            top: -115px;
            left: -162px;
        }

        .img-logo-header {
            position: absolute;
            height: 43%;
            top: 38%;
            left: 35%;
        }

        .navbar-nav {
            margin-left: 16%;
        }
    }

    @media (min-width: 1400px) {

        .col-custom-xxxl {
            margin-bottom: 50px !important;
        }

        .forma-logo {
            width: 570px;
            height: 680px;
        }

        .navbar-nav {
            margin-left: 14%;
            margin-right: 0px;
        }

        .navbar-light .navbar-nav .nav-link {
            font-size: 1.16rem;
        }
    }

    @media (min-width: 1200px) {
        .img-logo-header {
            left: 50%;
            height: 45%;
            top: 39%;
        }
    }

    @media (min-width: 1480px) {
        .forma-logo {
            width: 595px;
            height: 700px;
            left: -148px;
            top: -130px;
        }

        .img-logo-header {
            left: 45%;
            height: 45%;
            top: 39%;
        }
    }

    @media (min-width: 1700px) {
        .img-logo-header {
            left: 60%;
            height: 45%;
            top: 39%;
        }
    }

    @media (min-width: 1900px) {
        .img-logo-header {
            left: 50%;
            height: 50%;
            top: 39%;
        }
    }

    @media (min-width: 2300px) {
        .img-logo-header {
            height: 370px;
            top: 275px;
            left: 75%;
            width: 310px;
        }
    }

    @media (min-width: 2400px) {

        .forma-logo {
            width: 742px;
            height: 840px;
            top: -143px;
            left: -224px;
        }

        .container-header {
            max-width: 1190px;
        }

        .img-logo-header {
            height: 370px;
            top: 305px;
            left: 80%;
            width: 310px;
        }

        .navbar-light .navbar-nav .nav-link {
            font-size: 1.3rem;
        }

        .navbar-nav {
            margin-top: 20px;
            margin-left: 50px;
            margin-right: 0px;
        }

        .navbar {
            margin-bottom: 7.4rem;
        }

        .col-custom-xxxl {
            margin-bottom: 14px !important;
        }
    }

    @media (max-width: 991px) {
        .height-img {
            display: none
        }
    }

    @media (min-width: 992px) {
        .navbar-nav-pages {
            margin-left: 0px;
            max-width: 960px;
            justify-content: space-evenly;
            margin-right: 0px;
            height: 100px;
        }

        .height-header-pages {
            align-self: center;
        }

        .altura-header-container-pages {
            height: 100px
        }

        .height-img {
            display: block;
            align-self: center;
        }

        .center-header {
            justify-content: center;
        }

        .nav-link-pages {
            margin-top: 0px !important;
            /* line-height: 100px;
            overflow: hidden;*/
        }
    }

    @media (min-width: 1200px) {
        .navbar-nav-pages {
            margin-left: 0px;
            max-width: 1140px;
            justify-content: space-evenly;
            margin-right: 0px;
            height: 125px;
        }

        .altura-header-container-pages {
            height: 125px
        }

        .img-logo-header-pages {
            width: 85px;
            height: 78%;
        }
    }

    @media (min-width: 1800px) {
        .navbar-nav {
            margin-top: 0px;
            /*margin-left: 0px;
            margin-right: 0px;*/
        }

        .nav-link-pages {
            font-size: 1.1rem !important;
        }
    }

    .img-pages {
        display: none;
    }
}
