#menu-overlay {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    transition: bottom 0.5s ease-in-out, left 0.5s ease-in-out;
    z-index: 10;
}

.menu-item,
.menu-itemX {
    width: 90%;
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: white;
    font-size: 25px;
    /* font-weight: bold; */
    text-shadow: 2px 2px 5px black;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.menu-item :hover 
,
.menu-itemX:hover{
    transform: scale(1.1);
}

/* Other styles remain the same */

#close-menu-btn {
    width: 90%;
    padding: 10px;
    font-size: 25px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

#close-menu-btn:hover {
    background-color: #222;
}



/* Responsive design for wide screens */
@media screen and (min-width: 769px) {
    #explore-btn {
        display: none;
    }

    #menu-overlay {
        display: none;
    }

    .menu-item ,
    .menu-itemX{
        width: 90%;
        height: 10%;
        margin: 10px auto;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    #close-menu-btn {
        display: none;
    }
}

@keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-2px);
    }
  }
  
  .bounce {
    animation: bounce 0.25s 2;
  }