.navbar {
    transition: all 0.4s;
    background-color: #08060b;
}

.navbar .nav-link {
    color: #bdbdbd;
}

.navbar .nav-link:hover{
    color: #828282;
    text-decoration: none;
}

.navbar .navbar-brand {
    color: #bdbdbd;
    padding-left: 35px;
    position: relative;
}

.navbar .navbar-brand:before {
    background-color: #ffc527;
    content: "";
    height: 12px;
    position: absolute;
    left: 27.5px;
    top: 15px;
    width: 2px;
}

.navbar .navbar-brand > img{
    color: #bdbdbd;
    position: absolute;
    height: 40px;
    left: 0;
    top: 0;
    padding: 8px 0;
}

.navbar.active {
    background-color: #fff;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-item{
    position: relative;
}

.nav-item > a:before {
    content: "";
    position: absolute;
    height: 3px;
    background-color: transparent;
    width: 0;
    bottom: -16px;
    left: 8px;
    transition: all 300ms linear 0ms;
}

.nav-item.active > a:before, .nav-item:hover a:before {
    background-color: #ffc527;
    width: calc(100% - 16px);
}

.navbar.active .nav-link {
    color: #555;
}

.navbar.active a.nav-link:hover {
    color: #000;
}

.navbar.active .nav-link:hover,
.navbar.active .nav-link:focus {
    color: #555;
    text-decoration: none;
}

.navbar.active .navbar-brand {
    color: #555;
}

.header-img{
    margin-top: 72px;
    width: 100%;
    height: fit-content;
}

.header-img-bis {
    object-fit: cover;
    max-height: 35%;
}

.header-back{
    position: absolute;
    top: 0;
    margin-top: 80px;
    background-color: #ffc527;
    color: white;
    width: 35px;
    height: 35px;
    text-align: center;
    font-size: 20px;
    left: 5px;
    -webkit-transition: 0.3s ease-in-out 0s;
    -moz-transition: 0.3s ease-in-out 0s;
    -ms-transition: 0.3s ease-in-out 0s;
    transition: 0.3s ease-in-out 0s;
}

.header-back > i{
    margin-top: 7.5px;
}

.header-back:hover{
    background-color: rgba(51, 51, 51, 0.9);
    color: #fff;
}

.header-link{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #3b5998;
    margin-left: 10px;
    color: white;
    text-decoration: none;
}

.header-link.secondary{
    background-color: #ffc527;
    font-size: 20px;
}

.header-link:hover{
    text-decoration: none;
    background-color: #20447d;
    color: #fff;
}

.header-link.secondary:hover{
    background-color: #ffc527;
    color: #555;
}

.navbar.active .header-link{
    color: #fff;
}

.navbar.active .header-link.secondary{
    color: #2b2b2b;
}

.navbar.active .header-link:hover{
    background-color: #20447d;
    color: #fff;
}

.navbar.active .header-link.secondary:hover{
    background-color: #2f2f2f;
    color: #fff;
}

.header-links{
    display: none;
}

@media only screen and (max-width: 1040px) {
    .header-back{
        left: 3px;
    }
}

@media only screen and (max-width: 1025px){
    .header-back{
        width: 28px;
        height: 28px;
        font-size: 18px;
        left: 2px;
    }

    .header-back > i{
        margin-top: 5px;
    }
}

@media (max-width: 992px) {
    .navbar {
        background: #fff;
    }

    .navbar .navbar-brand, .navbar .nav-link {
        color: #555;
    }

    .header-back{
        text-decoration: none;
        color: #000;
        top: 24px;
        margin-top: 0;
        background-color: transparent;
    }

    .header-back:hover{
        color: #ffc527;
        background-color: transparent;
    }

    .nav-item > a {
        position: relative;
        display: inline-block;
    }

    .nav-item > a:before {
        content: "";
        position: absolute;
        height: 3px;
        background-color: transparent;
        width: 0;
        bottom: calc(50% - 1.5px);
        left: calc(100% + 7px);
        transition: all 300ms linear 0ms;
    }

    .nav-item.active > a:before, .nav-item:hover a:before {
        width: 15px;
    }
}

@media only screen and (max-width: 991px){
    .header-button{
        display: none;
    }

    .header-links{
        display: flex;
    }

    .header-link.secondary{
        margin-right: 5px;
    }

    .navbar.active .header-link.secondary{
        color: #fff;
        margin-right: 5px;
    }
}

@media only screen and (max-width: 800px){
    .navbar-brand{
        margin-left: 20px;
    }
}