#top_menu
{
    z-index: 100;
    position: fixed;
    width: 100%;
    top: 0;
}

.backblur
{
    position: absolute;
    left: 0px;
    width: 100%;
    z-index: 4;
}

#logo
{
    z-index: 50;
    padding-left: 10px;
}

#top_menu ul
{
    margin: 0;
    display: flex;
    z-index: 5;
    width: 100%;
}

#top_menu li
{
    list-style: none;
    text-align: center;
    margin: auto 0;
    width: calc(50% / 6);
}

#top_menu
{
    display: flex;
}

#top_menu ul
{
    position: absolute;
    right: 0px;
    justify-content: flex-end;
    height: 100%;
}

#logo
{
    text-shadow:
	20px 0px 0px rgba(255, 255, 255, 0.15),
	40px 0px 0px rgba(255, 255, 255, 0.10),
	60px 0px 0px rgba(255, 255, 255, 0.05)
    ;
}

#logo a
{
    color: white;
    font-family: Potra;
    font-size: 60px;
    transition: all .4s ease-in-out;
    cursor: pointer;
}

#logo a:hover
{
    color: rgba(255, 0, 0, 0.7);
    text-shadow: 0px 0px 50px darkred;
}

#blurback
{
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-mask-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	from(rgba(0, 0, 0, 1)),
	to(rgba(0, 0, 0, 0))
    );
}

#top_menu ul a
{
    border-top: 1px solid rgba(255, 0, 0, 0.0);
    border-bottom: 1px dashed rgba(255, 0, 0, 0.0);
    transition: all .4s ease-in-out;
    box-shadow: 0px 0px 50px black;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

#top_menu ul a:hover, .selected
{
    border-top: 5px solid rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0px 0px 5px black !important;
    color: red !important;
}

@media (orientation: landscape) and (min-width: 1280px)
{
    #top_menu
    {
	height: 70px;
    }
    #hamburger
    {
	display: none;
    }
    #blurback
    {
	background: linear-gradient(to bottom, black, black, transparent);
    }
}

@media (orientation: portrait), (max-width: 1280px)
{
    #top_menu
    {
	backdrop-filter: blur(10px);
	box-shadow: 0px 0px 50px black;
	height: 60px;
	transition: all 1s ease-in-out !important;
	overflow: hidden;
    }
    #top_menu > ul
    {
	display: block;
	margin-top: 10vh;
	width: 100%;
	height: 100%;
    }
    #top_menu > ul > li
    {
	width: 100%;
	height: 8vh;
	margin-top: 4vh;
	font-size: 2rem;
    }
    #top_menu.display
    {
	height: 100vh;
    }

    #hamburger
    {
	z-index: 999;
	position: fixed;
	right: 10px;
	top: 0px;
	height: 60px;
	width: 50px;
	cursor: pointer;
    }
    #hamburger > div
    {
	position: absolute;
	width: 100%;
	right: 0px;
	height: 4px;
	background-color: rgb(255, 255, 255);
	transition: 0.4s;
	border-radius: 2px;
    }
    #hamburger > div:nth-of-type(2)
    {
	top: calc((100% - 4px) / 2);
    }
    #hamburger > div:first-of-type
    {
	top: calc(25% - 2px) !important;
    }
    #hamburger > div:last-of-type
    {
	top: calc(75% - 2px) !important;
    }

    #hamburger.display > div
    {
	background-color: red;
	box-shadow: 0px 0px 5px red;
    }
    #hamburger.display > div:nth-of-type(2)
    {
	opacity: 0;
    }
    #hamburger.display > div:first-of-type
    {
	transform: translate(0px, 15px) rotate(-45deg) !important;
    }
    #hamburger.display > div:last-of-type
    {
	transform: translate(0px, -15px) rotate(+45deg) !important;
    }
}
