html {
    scroll-behavior: smooth;
}

.nav_fullbackground {
    position: absolute;
    width: 100%;
    height: 82px;
    z-index: 9;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

@media screen and (max-width: 1250px) { 
    .nav_fullbackground {
        height: 140px;
    }
}

@media screen and (max-width: 1100px) { 
    .nav_fullbackground {
        height: 82px;
        background-color: #0c0838;
    }
}

.nav_background {
    position: absolute;
    width: 0px;
    height: 0px;
}

@media screen and (max-width: 1100px) {
    .nav_background {
        width: 100%;
        height: 52px;
        background-color: #0c0838;
        z-index: 10;
    }    

}

.nav {
    width: 100%;
    height: auto;
    display: flex;
    margin-bottom: 8px;
}

@media screen and (max-width: 1100px) {
    .nav {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 1250px) {
    .nav :nth-child(1) { order: 1; }
    .nav :nth-child(2) { order: 2; }
    .nav :nth-child(3) { order: 3; }
    .nav :nth-child(4) { order: 4; }
}
    /* LEFT */

    .nav_left {
        height: inherit;
        width: 25%;
        padding: 0;
        margin-top: 24px;
        padding-left: 60px;
        display: flex;
        flex-direction: row;
        align-content: flex-start;
    }

    @media screen and (max-width: 1250px) {
        .nav_left :nth-child(2) { order: 1; }
        .nav_left :nth-child(1) { order: 2; }
    }

    @media screen and (max-width: 1100px) { 
        .nav_left {
            width: calc(60% - 20px);
        }
    }

    @media screen and (max-width: 565px) { 
        .nav_left {
            margin-left: -28px;
        }
    }

        .nav_animation_trigger {
            width: 32px;
            height: 32px;
            background-image: url(/_assets/images/logo.png);    
            background-repeat: no-repeat;
            background-size: cover;
            cursor: pointer;
            z-index: 11;
        }

        @media screen and (max-width: 1100px) { 
            .nav_animation_trigger {
                background-image: url(/_assets/images/mobile_nav.png);    
            }
        }

        .nav_back_animation {
            height: 191px;
            margin-left: -5px;
            margin-top: -260px;
            position: absolute;
            transition: all 1s ease;
            z-index: 9;
            padding-left: 20px;
            padding-bottom: 20px;
            visibility: hidden;
        }

        @media screen and (max-width: 1100px) { 
            .nav_back_animation {
                visibility: visible;
            }
        }

        /* 1 animation of navigation background image */
        #nav_animation_trigger:checked ~ .nav_back_animation  {
            margin-top: 37px;
        }

        .nav_heading_link {
            z-index: 12;
            text-decoration: none;
        }

            .nav_heading {
                margin: 0;
                padding: 0;
                font-size: 18px;
                padding-top: 4.5px;
                letter-spacing: -0.5px;
                font-weight: 500;
                color: white;
                margin-left: 8px;
                margin-top: -1px;
            }

            @media screen and (max-width: 1100px) {
                .nav_heading {
                    margin-left: 8px;
                    font-size: 20px;
                    margin-top: -2px;
                }
            }

    /* MIDDLE */

    .nav_mid {
        height: inherit;
        width: 50%;
        display: flex;
        justify-content: center;
        margin-top: 29px;
        margin-left: -65px;
        z-index: 9;
    }

    @media screen and (max-width: 1100px) { 
        .nav_mid {
            margin-left: 0;
        }
    }

    @media screen and (max-width: 1100px) { 
        .nav_mid {
            width: calc(100vw - 60px - 60px);
            align-items: stretch;
            flex-direction: row;
            margin-left: 70px;
        }
    }

    @media screen and (max-width: 1100px) { 
        .nav_mid {
            flex-direction: column;
            margin-left: 32px;
            margin-top: 25px;
            height: auto;
            width: 500px;
            max-width: calc(100vw - 200px);
            margin-top: 97px;
        
            position: absolute;
            opacity: 0;
            margin-top: -200px;

            transition: all 1s ease;        
        }

        /* 2 animation of navigation items */
        #nav_animation:checked ~ .nav_mid  {
            opacity: 1;
            margin-top: 95px;
        }
    }


        .nav_link {
            color: white;
            font-size: 18px;
            font-weight: 500;
            text-decoration: none;
            margin-left: 20px;
            margin-right: 20px;
            width: auto;
            text-align: left;
        }

        @media screen and (max-width: 1250px) { 
            .nav_link {
                margin-left: 15px;
                margin-right: 15px;
                margin-top: 0.5px;
            }
        }

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

            .nav_mid :nth-child(1) { order: 10; }
            .nav_mid :nth-child(2) { order: 20; }
            .nav_mid :nth-child(3) { order: 30; }
            .nav_mid :nth-child(4) { order: 40; }
            .nav_mid :nth-child(5) { order: 50; }
        }

        @media screen and (max-width: 1100px) { 
            .nav_link {
                padding-bottom: 10px;
                padding-left: 52px;
                margin-left: 10px;
                min-width: 300px;
            }
        }

        .nav_link:hover {
            text-decoration: underline;
        }

        .nav_horiz {
            display: none;
        }

    /* RIGHT */

    .nav_right {
        height: inherit;
        width: 25%;
        display: flex;
        flex-direction: row-reverse;
        z-index: 11;
    }

    @media screen and (max-width: 1100px) { 
        .nav_right {
            width: 40%;
            margin-right: 30px;
        }
    }

    @media screen and (max-width: 565px) { 
        .nav_right {
            margin-right: 8px;
        }
    }

        .nav_button {
            height: 35px;
            width: 150px;
            border-radius: 30px;
            border: white 2px solid;
            margin-right: 75px;
            margin-top: 22px;
            text-align: center;
            color: white;
            padding-top: 0px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        @media screen and (max-width: 1250px) {
            .nav_button {
                margin-right: 20px;
            }
        }

        @media screen and (max-width: 565px) { 
            .nav_button {
                height: 30px;
                width: 114px;
                margin-top: 23px;
            }
        }

        .nav_button:hover {
            cursor: pointer;
        }

            .nav_button_text {
                color: white;
                text-decoration: none;
            }

            @media screen and (max-width: 565px) { 
                .nav_button_text {
                    font-size: 15px;
                }
            }

            .nav_button_text:hover {
                cursor: pointer;
                -webkit-touch-callout: none; /* iOS Safari */
                -webkit-user-select: none; /* Safari */
                -khtml-user-select: none; /* Konqueror HTML */
                -moz-user-select: none; /* Firefox */
                -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
            }

@media screen and (max-width: 1100px) { 
    .body_opc {
        height: calc(100vh + 100px);
        width: 100vw;
        position: fixed;
        z-index: 0;
        opacity: 0;
        margin-top: -95px;
        background-color: #00040a;
        transition: all 1s ease;  
    }

    /* 2 animation of navigation items */
    #nav_animation_2:checked ~ .body_opc  {
        opacity: 0.75;
    }
}

.allpagebar_outer {
    position: fixed;  /* Keeps the div fixed in the viewport */
    bottom: 16px;     /* Position 10px from the bottom */
    right: 16px; 
    width: calc(100vw - 32px);
    height: 32px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-left: 4px;
    padding-right: 4px;
    z-index: 100;
    
}

    .allpagebar {
        width: fit-content;
        vertical-align: middle;
        background-color: #36177f;
        border-radius: 10px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        height: 32px;
    }

    .allpagebar2 {
        margin-right: 10px;
    }

    .textmessage {
        height: 32px;
        width: fit-content;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .allpagebar_ico {
        height: 32px;
        width: 32px;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.85;
        margin-left: 2px;
        margin-right: 2px;
    }

    .allpagebar_ico:hover {
        cursor: pointer;
        opacity: 1;
        
    }

    .nav_copy {
        background-image: url(/_assets/icos/link.svg);
        background-size: 65%;
    }

    .nav_copy:active {
        background-image: url(/_assets/icos/tick.svg);
    }

    .nav_top {
        background-image: url(/_assets/icos/up.svg);
        background-size: 60%;
    }




