/*
Importar fonte do google fonts
*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

:root {
    --header-bg-1: #101010;
    --header-bg-2: #202020;
    --logo-bg: #101010;
    --text-hover: #fa0f15;
    --text-underline: #004ace;
}

header {
    height: 8rem;
    max-height: 10rem;
    max-width: 100vw;
}

.logo {
    position: absolute;
    width: 18rem;
    height: inherit;
    background-color: var(--logo-bg);
    z-index: 1000;

    /* Corte diagonal */
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%)
}

.logo img {
    position: absolute;
    width: 8rem;
    left: 3.5rem;
    top: -.75rem;
}

.head1 {
    background-color: var(--header-bg-1);
    height: 3rem;
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 0.5rem;
    padding-right: 4rem;
    gap: 1.5rem;
}

.head2 {
    background-color: var(--header-bg-2);
    height: 5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    padding-right: 6rem;
    gap: 2rem;
    font-size: xx-large;
}

header a {
    color: white;
    text-decoration: none;
    transition: color .5s ease-in-out;

}

.head1 a:hover {
    color: var(--text-hover);

}

.head2 a:hover {
    scale: 1.1;
    color: var(--text-hover);
}

.head2>a {
    position: relative;
}

.head2>a::after {
    content: " ";
    width: 0%;
    height: .2rem;
    background-color: var(--text-underline);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 10%;
    transition: .2s ease-in-out;
}

.head2>a:hover::after {
    width: 100%;
}
.head2 i{
    color: #fff;
    cursor: pointer;
}

.fixed {
    position: fixed;
    top: 0;
    z-index: 1001;
    animation: slideDown .5s forwards ease;
}

/* animação do "descendo" */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#paginas {
    display: none;
    padding: 15px;
}
.barra{
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
}

@media (max-width:1100px) {
    .logo{
        width: 15rem;
    }
    #paginas {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
    }
    .head1{
        display: none;
    }
    .head2{
        height: 100%;
        padding-right: 20px;
        font-size: 30px;
    }

    .head2>a {
        display: none;
        
    }
    .offcanvas{
        width: 100% !important;
    }
    .offcanvas-header {
        background-color: var(--header-bg-1);
        color: white;
    }

    .offcanvas-body {
        background-color: var(--header-bg-2);
        padding-left: 10px;
    }

    .offcanvas-body div {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .btn-close{
        background-color: red;
    }
    .head2 a:hover {
        scale: 1;
    }

}
