/* Menu toggle button styles */
.menu-toggle {
position: fixed;
top: 20px;
right: 20px;
background: rgba(30, 30, 30, 0.8);
background: #ac001d;
border: none;
border-radius: 0px;
cursor: pointer;
z-index: 100;
padding: 12px 13px 12px 13px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.menu-toggle:hover {
background: rgba(50, 50, 50, 0.9);
background: rgba(172,0,29,0.75);
}
.hamburger {
display: block;
width: 25px;
height: 3px;
background: #f5f5f5;
margin: 3px 0;
transition: all 0.3s ease;
}
/* Off-canvas menu styles */
.offcanvas-menu {
position: fixed;
top: 0;
right: -300px;
width: 300px;
height: 100%;
background: #1e1e1e;
background: #200b0a;
box-shadow: -2px 0 15px rgba(0, 0, 0, 0.3);
transition: right 0.3s ease;
z-index: 99;
padding: 90px 0px 0px 0px;
}
.offcanvas-menu nav ul {
list-style: none;
}
.offcanvas-menu nav ul li {
margin-bottom: 0px;
}
.offcanvas-menu nav ul li a {
text-decoration: none;
color: #e0e0e0;
font-size: 20px;
transition: color 0.3s;
display: block;
padding: 16px 20px;
/*border-radius: 4px;*/
}
.offcanvas-menu nav ul li a:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.1);
background: rgba(153,204,255,0.1);
}




.on-link-color {
color: #000 !important;
background: #d3d3ff; /* lavender */
/*background: #1883ba; */
text-decoration: none;
font-size: 20px;
transition: color 0.3s;
display: block;
padding: 16px 20px;
}

/* on and off menu postions */
.on-link-color-two a {
border-left: 1px solid red;
}
.on-link-color-two a:hover {
color: #ffffff !important;
}




.close-menu {
position: absolute;
top: 20px;
right: 20px;
/*font-size: 28px;*/
background: none;
border: none;
cursor: pointer;
color: #e0e0e0;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
/*border-radius: 50%;*/
transition: background 0.3s;
}
.close-menu:hover {
background: rgba(255, 255, 255, 0.1);
}
/* When menu is active */
.menu-active .offcanvas-menu {
right: 0;
}
.menu-active .hamburger:nth-child(1) {
transform: translateY(9px) rotate(45deg);
}
.menu-active .hamburger:nth-child(2) {
opacity: 0;
}
.menu-active .hamburger:nth-child(3) {
transform: translateY(-9px) rotate(-45deg);
}
/* Overlay when menu is open */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 98;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
}
.menu-active .overlay {
opacity: 1;
visibility: visible;
}
/* Responsive adjustments */
@media (max-width: 400px) {
.offcanvas-menu {
width: 260px;
right: -260px;
}
}