.MainNavSite {
position: absolute;
transition: 0.3s ease-in-out;
right: 0;
left: 0;
}
.MainNavSite > .over-menu {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
background: rgba(30, 28, 37,0.6);
opacity: 0;
visibility: hidden;
transition: 0.3s ease-in-out;
z-index: 9;
}
.MainNavSite.open-menu > .over-menu {
opacity: 1;
visibility: visible;
} .header {
width: 100%;
position: relative;
z-index: 10;
transition: 0.3s ease;
background: transparent;
} .header .hamburger-menu {
position: absolute;
left: 2rem;
top: 52px;
bottom: 0;
margin: auto;
width: 40px;
height: 40px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 11;
}
.hamburger-menu .bar,
.hamburger-menu .bar::before,
.hamburger-menu .bar::after {
width: 35px;
height: 3px;
background: #f5f0ed;
border-radius: 3px;
display: block;
position: absolute;
transition: 0.3s ease;
}
.hamburger-menu .bar::before {
content: "";
top: -10px;
}
.hamburger-menu .bar::after {
content: "";
top: 10px;
} .hamburger-menu .bar.animate {
background: transparent;
}
.hamburger-menu .bar.animate::before {
top: 0;
transform: rotate(45deg);
background:#212121;
}
.hamburger-menu .bar.animate::after {
top: 0;
transform: rotate(-45deg);
background:#212121;
} .header .desk-menu .menu-container {
position: fixed;
left: -25vw;
top: 0;
width: 25vw;
height: 100%;
background: #F4F0ED;
transition: 0.3s ease-in-out;
overflow-y: auto;
z-index: 10;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: column;
gap: 2rem;
background-image:url(//invisiblebordersmovie.com/wp-content/themes/invisibleBorders/images/footer.png);
background-repeat:no-repeat;
background-position:center bottom;
background-size: 100% 10px;
}
.MainNavSite.open-menu .menu-container {
left: 0;
} .menu-container ul.menu {
list-style: none;
margin: 0;
padding: 0;
}
.menu li {
width: 100%;
}
.menu li a {
display: block;
padding: .5rem 0;
font-size: 1.5rem;
color:#B22436;
font-family:"Besley", serif;
font-weight:600;
}
.menu li a:hover{
opacity:1;
}
.menu li a.active{
} .menu li.menu-item-has-children > a {
position: relative;
padding-right: 40px;
}
.menu li.menu-item-has-children > a::after,
.menu li.menu-item-has-children > a::before {
content: "";
position: absolute;
right: 16px;
width: 8px;
height: 2px;
background: #4e4e4e;
transition: 0.3s;
}
.menu li.menu-item-has-children > a::before {
top: 22px;
transform: rotate(45deg);
}
.menu li.menu-item-has-children > a::after {
top: 26px;
transform: rotate(-45deg);
} .menu li.menu-item-has-children .sub-menu {
position: absolute;
top: 0;
left: 100%;
width: 100%;
height: 100%;
background: #fff;
padding: 0;
display: block;
transition: 0.3s;
}
.menu li.menu-item-has-children .sub-menu.open-sub {
left: 0;
} .menu li.back a {
padding: 16px 16px 16px 40px;
position: relative;
}
.menu li.back a::before,
.menu li.back a::after {
content: "";
position: absolute;
left: 16px;
width: 8px;
height: 2px;
background: #4e4e4e;
}
.menu li.back a::before {
top: 22px;
transform: rotate(-45deg);
}
.menu li.back a::after {
top: 26px;
transform: rotate(45deg);
} .menu-foot { margin-bottom: 2rem;
}
.menu-foot .social{
display:flex;
gap:.5rem
}
.menu-foot .social a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
border-radius: 50%;
background: transparent;
border:2px solid;
color: #212121;
transition: 0.3s;
font-size: 1.25em;
}
.menu-foot .social a:hover {
background: #212121;
color:#1E1C25;
opacity:1;
}
.menu-header-container {
width: 100%;
max-width: 300px;
box-sizing: border-box;
}
.menu-head img{
max-width:300px;
}
.menu-footer {
color: var(--basecolor-red);
background: #fff;
width: 100%;
position: relative;
bottom: 7px;
font-size: 1.1rem;
}
@media(max-width:767px){
.MainNavSite.open-menu .header .desk-menu .menu-container {
left: 0;
}
.header .desk-menu .menu-container {
left: -100vw;
width: 100vw;