header {
    background-color: transparent;
    color: white;
    position: fixed;
    width: 100%;
    height: auto;
    z-index: 99999;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.2);
    transition: 0.5s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header nav .logo {
    height: 46px;
}

header .logo-white {
    display: block;
}

header .logo-default {
    display: none;
}

header .navbar-collapse ul {
    margin: 0 !important;
}

header nav,
header .header-btn-inscription,
header .header-btn-participant-area {
    font-weight: 600;
    font-size: 18px;
}

header .nav-item {
    padding: 0 16px;
}

header .nav-link {
    padding: 0 !important;
    position: relative;
    z-index: 1;
}

header .op-white {
    color: white;
}

header .op-white:hover {
    color: white;
}

header .op-white::before {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.5s ease-in-out;
}

header .op-white:hover::before {
    width: 100%;
}

header .op-black {
    color: black;
}

header .op-black:hover {
    color: black;
}

header .op-black::before {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.5s ease-in-out;
}

header .op-black:hover::before {
    width: 100%;
}



.header-btn-inscription {
    background-color: var(--color-cian);
}

header .header-btn-participant-area {
    background-color: var(--color-blue);
}

.header-btn-inscription,
header .header-btn-participant-area {
    padding: 14px 23px;
    color: white;
    border-radius: 0;
    border: 1px solid white;
}

.header-btn-inscription:hover,
header .header-btn-participant-area:hover {
    color: white;
    opacity: 0.9;
    transition: 0.3s;
    box-shadow: none;
}

header .dropdown .header-btn-participant-area {
    font-size: 14px;
    padding: 10px 20px;
}

header .dropdown .header-btn-participant-area:hover {
    background-color: var(--color-blue) !important;
}

header .btn:hover .fas {
    color: var(--color-gray-3) !important;
}



header .offcanvas {
    position: fixed;
    top: 56px;
    left: 0;
    width: 250px;
    height: calc(100% - 56px);
    transition: 0.35s all cubic-bezier(0.65, 0.05, 0.36, 1);
    z-index: 9;
    font-size: 16px;
    line-height: 34px;
    background: #ffffff;
    border: 1px solid #f8f7f4;
    box-shadow: none;
}

header .offcanvas-closed {
    transform: translateX(-101%);
}

header .offcanvas-opened {
    transform: translateX(0);
}

header .offcanvas ul {
    display: inline;
}

header .offcanvas .nav-item {
    padding: 0;
}

header .offcanvas .nav-link {
    color: var(--color-gray-3) !important;
    display: block;
    padding: 9px 56px 9px 18px !important;
    text-transform: uppercase;
    font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: lighter;
}

header .offcanvas-btn {
    width: 48px;
    height: 48px;
    line-height: 48px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .offcanvas-btn:hover span {
    color: var(--color-gray-3) !important;
}



header .op-left-menu {
    color: var(--color-gray-3);
}

header .op-left-menu:hover {
    color: var(--color-gray-3);
}

header .op-left-menu::before {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gray-3);
    transition: width 0.5s ease-in-out;
}

header .op-left-menu:hover::before {
    width: 100%;
}



@media screen and (min-width: 992px) {
    /* lg */

    header {
        padding: 10px 50px;
    }

    header nav div {
        gap: 30px;
    }

    header nav .logo {
        height: 78px;
    }
}

@media screen and (min-width: 1200px) {
    /* xl */

    header nav div {
        gap: 60px;
    }
}

@media screen and (min-width: 1400px) {
    header nav div {
        gap: 120px;
    }
}



@media screen and (max-width: 992px) {
    /* lg */

    header {
        height: 56px;
    }

    .flex-1 {
        flex: 1;
    }
}

@media screen and (max-width: 1400px) {
    /* xxl */
}



/* Controle de exibição dos botões do header em diferentes resoluções */

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

    header .dropdown,
    header .dropdown .header-btn-participant-area {
        display: block !important;
    }

    header .header-btn-participant-area {
        display: none;
    }

    header .header-btn-inscription {
        display: none;
    }
}

@media screen and (min-width: 1617px) {
    header .dropdown {
        display: none;
    }

    header .header-btn-participant-area {
        display: block;
    }

    header .header-btn-inscription {
        display: block;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    header nav div {
        gap: 10px;
    }
}