/* ------------------------------
menu
------------------------------ */
.overlaymenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    pointer-events: none;
    opacity: 0;
    z-index: 1000; /* ensure overlay is on top */
}

.overlaymenu.active {
    background-image: linear-gradient(to right, var(--grayverylight),var(--graydark));
    pointer-events: all;
    opacity: 0.96;
    z-index: 1000;
    border-top: 7px solid transparent; /* set the border to be transparent */
	border-bottom: 7px solid transparent; /* set the border to be transparent */
	border-right: 7px solid var(--black);
	border-left: 7px solid var(--orange);
	border-image: var(--gradient) 1;
}

/* menu */
.menu {
	position: fixed;
	top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: translateY(-100%);
    z-index: 1001;
    text-transform: uppercase;
}

a.menulien, a.menuliensmall {
	color: var(--orange);
	text-decoration: none;
	border: none;
	outline: none;
	font-weight: bold;
    font-family: 'Montserrat', sans-serif;
	padding-bottom: 50px;
}

a.menulien:is(:link, :active, :visited, :hover) {
	font-size: 4vw;
}
a.menuliensmall:is(:link, :active, :visited, :hover) {
	font-size: 2vw;
}

.menu.active {
	transform: translateY(0);
}
              
/* menu hamburger */
.hamburger {
    position: fixed;
    top: 17px;
    left: 12px;
    width: 40px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    z-index: 1002;
    border: 0pt transparent;
}

.hamburger div {
    width: 35px;
    height: 5px;
    background: var(--orange);
    border-radius: 5px;
    transition: all 0.3s ease;
}
        
.hamburger.active div {
    background: var(--orange);
}
        
.hamburger.active:hover div {
	background: var(--orange);
}
        
.hamburger.active div:nth-child(1) {
    transform: rotate(405deg) translate(7px, 7px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}
        
.hamburger.active div:nth-child(3) {
    transform: rotate(-405deg) translate(7px, -7px);
}

/* devices */
@media only screen and (max-width: 700px) {
	a.menulien:is(:link, :active, :visited, :hover) {
		font-size: 8vw;
	}
	a.menuliensmall:is(:link, :active, :visited, :hover) {
		font-size: 4vw;
	}
}
