@font-face {
    font-family: 'Pixeboy-z8XGD';
    src: url('css/pixeboy-font/Pixeboy-z8XGD.ttf');
}

header.toranja-header,
header.toranja-header * {
    margin: auto;
    font-family: 'Pixeboy-z8XGD';
    margin: 0;
    padding: 0;
    transition: all 1s;
}

header.toranja-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    border-bottom: 5px solid rgba(128, 128, 128, 0.507);
    background-color: rgba(0, 0, 0, 0.267);
    transition: all 1s;
    z-index: 1000;
}

header.toranja-header:hover {
    border-bottom: 1px solid rgba(128, 128, 128, 0.507);
    transition: all 1s;
}

header.toranja-header nav:hover {
    border-width: 1;
    background-color: rgba(0, 0, 0, 0.445);
    transition: all 1s;
}

header.toranja-header ul {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    height: 80px;
    list-style: none;
    width: 100%;
}

header.toranja-header ul li a img {
    height: 70px;
    margin: 5px;
    transition: 1s;
}

header.toranja-header ul li a img:hover {
    transform: scale(1.1);
    transition: 1s;
    filter: drop-shadow(0px 0px 10px rgb(0, 0, 0));
}

.profile-container-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.logout-btn-nav {
    font-size: 14px !important;
    padding: 6px 12px !important;
    color: #ff4a4a !important;
    border: 2px solid #ff4a4a !important;
    border-radius: 4px;
    box-shadow: -2px 0 0 0 #000, 2px 0 0 0 #000, 0 -2px 0 0 #000, 0 2px 0 0 #000 !important;
    text-transform: uppercase;
    line-height: 1;
    background: transparent;
    transition: all 0.3s;
}

.logout-btn-nav:hover {
    background-color: #ff4a4a !important;
    color: #000 !important;
    border-color: #ff4a4a !important;
}

.Profile-Perfil {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 5px;
    filter: grayscale(100%);
    transition: 1s all;
}

.Profile-Perfil:hover {
    filter: grayscale(0);
    transition: 1s all;
}

.Profile-Perfil img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: 1s all;
}

header.toranja-header ul a {
    text-decoration: none;
    color: #fff;
    font-size: 25px;
}

.btn-5 {
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline-color: purple;
    outline-offset: 0px;
    text-shadow: none;
    outline: 1px solid rgba(255, 255, 255, 0.212);
    padding: 5px;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    transform: scale(0);
}

.btn-5:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px purple, 0 0 20px rgba(255, 255, 255, .2);
    outline-color: rgba(174, 0, 255, 0);
    outline-offset: 15px;
    transform: scale(1.1);
    text-shadow: 1px 1px 2px #427388;
}

header.toranja-header.header-reduced {
    height: 60px;
    background: url('https://i.pinimg.com/originals/65/ff/25/65ff25ffbe3786b2de094f7051bbd873.gif');
    transition: all 1s;
}

header.toranja-header.header-reduced ul {
    height: 60px;
}

header.toranja-header.header-reduced:hover {
    transition: all 1s;
    background: url('https://i.pinimg.com/originals/65/ff/25/65ff25ffbe3786b2de094f7051bbd873.gif');
    box-shadow: 0px 0px 10px 10px rgba(255, 68, 0, 0.411);
    text-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.521);
}

header.toranja-header.header-reduced .Logo-Nav {
    margin-top: 0;
    height: 50px;
}

header.toranja-header.header-reduced .Profile-Perfil .Profile-Perfil img {
    height: 60px;
    font-size: small;
}

header.toranja-header.header-reduced .Profile-Perfil img {
    width: 55px;
    height: 55px;
    border: red 2px dotted;
    transition: 1s all;
}

header.toranja-header.header-reduced .Profile-Perfil {
    font-size: small;
    flex-direction: row;
    transition: 1s all;
}

.toranja-mobile-header {
    display: none;
}

.body {
    padding-top: 90px;
}

@media (max-width: 991px) {
    header.toranja-header {
        position: fixed;
        top: 0 !important;
        bottom: auto !important;
        left: 0;
        width: 100%;
        height: 60px !important;
        border-bottom: 3px solid rgba(128, 128, 128, 0.507) !important;
        border-top: none !important;
        background-color: rgba(10, 10, 10, 0.98) !important;
        background-image: none !important;
        z-index: 9999;
        transition: none !important;
        overflow: visible !important;
    }
    
    header.toranja-header:hover {
        border-bottom: 3px solid rgba(128, 128, 128, 0.507) !important;
        border-top: none !important;
        box-shadow: none !important;
    }

    .toranja-mobile-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 60px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .Logo-Mobile-Wrapper {
        display: flex !important;
        align-items: center;
        height: 100%;
    }

    .Logo-Nav-Mobile {
        height: 45px !important;
        width: auto !important;
    }

    /* Retro Pixel Art Hamburger */
    .toranja-hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10000;
    }

    .hamburger-bar {
        width: 100%;
        height: 4px;
        background-color: #ffffff;
        border-radius: 0px;
        transition: all 0.3s steps(4);
        box-shadow: -1px 0 0 0 #000, 1px 0 0 0 #000, 0 -1px 0 0 #000, 0 1px 0 0 #000;
    }

    .toranja-hamburger-btn.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: orangered;
    }

    .toranja-hamburger-btn.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .toranja-hamburger-btn.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: orangered;
    }

    header.toranja-header nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98) !important;
        border-bottom: 4px solid orangered !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8) !important;
        z-index: 9998;
        box-sizing: border-box;
        border: none;
    }

    header.toranja-header nav.active {
        display: block !important;
        animation: pixelSlideDown 0.3s steps(4) forwards;
    }

    @keyframes pixelSlideDown {
        from {
            transform: translateY(-10px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    header.toranja-header ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        height: auto !important;
        padding: 20px 0 !important;
        gap: 15px !important;
        width: 100% !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    header.toranja-header ul li {
        width: 80% !important;
        text-align: center !important;
        margin: 0 auto !important;
        flex-shrink: 0;
    }

    header.toranja-header ul a {
        font-size: 16px !important;
        padding: 8px 12px !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .Logo-Desktop-Item {
        display: none !important;
    }

    .btn-5 {
        transform: none !important;
        box-shadow: none !important;
        outline: none !important;
        border: 2px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 4px !important;
        box-shadow: -2px 0 0 0 #000, 2px 0 0 0 #000, 0 -2px 0 0 #000, 0 2px 0 0 #000 !important;
    }

    .btn-5:hover {
        transform: scale(1.05) !important;
        border-color: orangered !important;
        background-color: orangered !important;
        color: #000 !important;
    }

    .profile-container-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .Profile-Perfil {
        flex-direction: row !important;
        font-size: 14px !important;
        padding: 6px !important;
        justify-content: center !important;
        width: 100% !important;
        box-sizing: border-box;
        filter: none !important;
    }

    .Profile-Perfil img {
        width: 30px !important;
        height: 30px !important;
        margin-right: 8px !important;
    }

    .logout-btn-nav {
        color: #ff4a4a !important;
        border-color: #ff4a4a !important;
    }

    body, #wrapper {
        padding-top: 75px !important;
        padding-bottom: 20px !important;
    }

    .body {
        padding-top: 0 !important;
    }
}