@media screen and (max-width: 1100px){
    
    #menu{
        display: block;
        padding: 10px;
        margin: 5px;
        z-index: 1000;
    }

    .headings{
        display: none;
    }
    .header{
        display: flex;
        justify-content: space-between;
    }


    .headings {
        display: none;
        align-items: flex-start;
        gap: 1.7rem !important;
        position: absolute;
        height: auto;
        flex-direction: row;
        width: 100%;
        top: 0;
        text-align: center;
        right: 0;
        box-shadow: 0 10px 10px rgb(0, 0,0,0.5);
        z-index: 1000;
        background-color:#3e4557;
        padding-top: 5px;
        overflow: hidden;
        background: rgba(62, 69, 87, 0.4); /* semi-transparent dark background */
        backdrop-filter: blur(20px);       /* strong blur */
        -webkit-backdrop-filter: blur(20px);
    }

    .title{
        align-items: center;
        width: 100%;
        text-align: center;
        margin: 0px;
        padding: 8px;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .headings.active{
        display: block;
        align-content: start;
    }

}



/* Responsive adjustments */
@media (max-width: 768px) {
    #menu {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin: 0.75rem;
    }
}

@media (max-width: 480px) {
    #menu {
        font-size: clamp(1rem, 6vw, 1.5rem);
        margin: 0.5rem;
    }
}