.main-navigation .main-nav ul li a{
    color: black !important;
}
.mobile-menu-control-wrapper{
    display:none !important;
}
header{
    top: 0 !important;
    position:sticky !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important; /* Optional shadow */
    background-image: url('../images/breadas-1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* Includes functionality  of opacity lowering when scrolling*/
    filter: opacity(1);
    transition: filter 0.8s ease-in-out; /* Smooth transition */
}
/* Lower opacity when scrolled */
header.scrolled {
    filter: opacity(0.7); 
}
/* On hover of navbar, opacity goes back to normal */
header:hover{
    filter:opacity(1);
}

/* Makes the menu buttons not white */
.main-navigation{
    background-color: transparent !important;
    /* filter: opacity(0.5) !important; */
}
/* Weight of menu items text */
.menu-item a{
    font-weight: 500 !important;
    border-radius: 40px;
    transform: box-shadow 0.5s ease-in;
}

/* Animation of hovering over items*/
.menu-item{
    transform: background-color 0.5s ease-in;
}
.menu-item a:hover{
    /* background-color: rgba(61, 61, 61, 0.1); */
    box-shadow: 0 0 5px 5px rgba(61, 61, 61, 0.1);
    color: white;
    /* text-shadow: -1px -1px 0 white, 1px -1px 0 white, 1px 1px 0 white,
    1px 1px 0 white; */
    
}
.sub-menu{
    border-radius: 15px;
}

/* Mobile Menu */


.off-screen-menu {
    background-color:  rgb(34, 37, 49);
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
}
.off-screen-menu.active {
    right: 0;
}



.mobile-nav-open {
    display: none;
    padding: 1rem;
}

@media (max-width: 768px) {
    .mobile-nav-open{
        display: block;
    }
    .my-mobile-menu{
        margin-left: auto;
    }
}

.ham-menu {
    height: 35px;
    width: 30px;
    margin-left: auto;
    position: relative;
}
.ham-menu span {
    height: 3px;
    width: 100%;
    background-color: #000000;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: white;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.off-screen-menu ul{
    list-style-type: none;
}
.off-screen-menu li a{
    text-decoration: none;
    color: white;
    transition: color 0.3s ease-in-out;
}
.off-screen-menu li a:hover{
    color: #ff6900;

}