:root{
    --background-color: #314453;
    --darker-background-color: #243848;
    --accent-color: #CC0000;
    --navbar-height: 40px;

}

*{

    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

html{

    height: 100%;

}

body{

    height: 100%;

}

nav{
    height: var(--navbar-height);
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
	z-index:9999;
    --text-color: #FFFFFF;
}

a.submenulink {
color: #FFFFFF;	
}

nav .logo{

    margin-left: 30px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-variant: small-caps;

    text-decoration: none;

}

nav ul {

    height: 100%;

    display: flex;

    flex-direction: row;

    justify-content: flex-end;

    align-items: center;
	
	list-style: none;
	z-index:9999;

}

nav li{

    height: 100%;

    width: 150px;

    text-align: center;

    position: relative;
	z-index:9999;

}

nav li .single{

    height: 30px;

    width: 150px;

    text-align: center;

    position: relative;
	z-index:9999;

}

nav li:hover{

    background: var(--accent-color);

}

nav ul a{

    height: 100%;

    width: 100%;
	
    display: flex;

    justify-content: center;

    align-items: center;

    text-decoration: none;
	z-index:9999;

}

.dropdown{

    height: min-content;

    width: 235px;

    background: var(--background-color);

    display: none;

    flex-direction: column;

    position: absolute;

    left: 0;

    top: var(--navbar-height); 
	z-index:9999;	

}

.dropdown li{

    height: 40px;

    width: 100%;

}

.dropdown li a{

    justify-content: flex-start;

    padding-left: 10px;

    width: calc(100% - 10px);

}

nav li:hover .dropdown{

    display: flex;

}

nav input[type="checkbox"]{

    display: none;

}

.expandable_li{

    display: flex;

    justify-content: center;

    align-items: center;

}

.toggle_button{

    width: 30px;

    height: 23px;

	

    position: static;

    top: 8px;

    right: 25px;



    display: none;

    flex-direction: column;

    justify-content: space-between;

}

.bar{

    height: 4px;

    width: 100%;

    background: var(--text-color);

    border-radius: 100px;

}

@media(max-width: 850px){

    .toggle_button{

        display: flex;

    }

    nav ul{

        height: min-content;

        width: 100%;

        background-color: var(--background-color);
		z-index:9999;



        display: none;

        position: absolute;

        top: var(--navbar-height);

    }

    nav li{

        height: min-content;

        width: 100%;
		z-index:9999;

    }

    nav ul a{

        padding: 10px 0;

    }

    .expandable_li{

        display: block;

    }

    .expandable_li label{

        padding: 10px 0;

        cursor: pointer;

        display: block;

    }

    .expandable_li:hover .dropdown{

        display: none;

    }

    .expandable_li input[type="checkbox"]:checked ~ .dropdown{

        display: block;

    }

    .dropdown{

        position: static;

        width: 100%;

    }

    .dropdown li{

        padding: 0;

        display: block;

        position: static;

        background: var(--darker-background-color);



    }

    .dropdown li a{

        width: 100%;

        padding: 0;

        justify-content: center;

    }

    #toggle_button:checked ~ ul{

        display: block;

    }

}