header,
.main-nav {
    position: relative;
    z-index: 10;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.374);
    width: 200px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
.main-menu.open {
    max-height: 500px;
    opacity: 1;
}
.main-menu li {
    list-style: none;
    margin: 0;
}
.main-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: white;
    text-shadow: none;
    font-weight: bold;
    border: 1px solid transparent;
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
 }

.main-menu li a:hover {
    text-shadow: 2px 2px 3px rgb(0, 0, 0);
    border-bottom: 1px solid #ffffff;
}
 .main-menu li a:focus {
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
    border-bottom: 1px solid #ffffff;
 
}
.menu-toggle {
    display: flex;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}


@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    .main-menu {
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        width: auto;
        max-height: none;
        opacity: 1;
        overflow: visible;
        transition: none;
    }
    .main-menu li {
        display: inline-block;
        margin-right: 20px;
    }
    .main-menu li:last-child {
        margin-right: 0;
    }
    .main-menu li a:focus {
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
    border-bottom: 2px solid #6c6b6b;
    color:#6c6b6b;
    }
}