﻿#menuButton {
    padding: 0;
    border: 0;
    margin: 0;
    position: fixed;
    left: 2%;
    top: 1%;
    width: 38px;
    height: 38px;
    border-radius: 3px;
    border-style: solid;
    border-color: black;
    border-width: 0px;
}

#menuButtonLines {
    border: 0;
    padding: 0;
    margin: 0;
    position: relative;
    top: 7px;
    width: 24px;
    height: 24px;
    background-color: transparent; 
    display: inline-block;
    cursor: pointer;
    -webkit-transition: all .5s;
    transition: all .5s;
    text-align: left;
}

#menuTop,
#menuMiddle,
#menuBottom {
    background-color: #fA8703;
    position: absolute;
    top: 0px;
    height: 3px;
    width: 24px;
    border-radius: 3px;
    -webkit-transition: all .5s;
    transition: all .5s;
}

#menuTop {
    top: 3px;
}

#menuMiddle {
    top: 11px;
}

#menuBottom {
    top: 19px;
}

#menuButtonCheck {
    display: none;
}

#menuButtonCheck:checked+#menuButtonLines #menuTop {
    /* TOP, BEGIN TRANSITION */
    top: 11px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: top .2s, -webkit-transform .2s .2s;
    transition: top .2s, -webkit-transform .2s .2s;
    transition: top .2s, transform .2s .2s;
    transition: top .2s, transform .2s .2s, -webkit-transform .2s .2s;
}

#menuButtonCheck+#menuButtonLines #menuTop {
    /* TOP LINE RESTORE */
    -webkit-transition: top .2s .2s, -webkit-transform .2s;
    transition: top .2s .2s, -webkit-transform .2s;
    transition: top .2s .2s, transform .2s;
    transition: top .2s .2s, transform .2s, -webkit-transform .2s;
}


#menuButtonCheck:checked+#menuButtonLines #menuMiddle,
#menuButtonCheck:checked+#menuButtonLines #menuBottom {
    /* MIDDLE, BOTTOM, BEGIN TRANSITION */
    top: 11px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: top .2s, -webkit-transform .2s .2s;
    transition: top .2s, -webkit-transform .2s .2s;
    transition: top .2s, transform .2s .2s;
    transition: top .2s, transform .2s .2s, -webkit-transform .2s .2s;
}

#menuButtonCheck+#menuButtonLines #menuMiddle,
#menuButtonCheck+#menuButtonLines #menuBottom {
    /* MIDDLE, BOTTOM LINE RESTORE */
    -webkit-transition: top .2s .2s, -webkit-transform .2s;
    transition: top .2s .2s, -webkit-transform .2s;
    transition: top .2s .2s, transform .2s;
    transition: top .2s .2s, transform .2s, -webkit-transform .2s;
}

#navMenu {
    position: fixed;
    z-index: 850;
    top: -2000px; /* Initially hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    width: 450px; /* Fixed width like #contactDiv */
    max-width: 90%; /* Ensures it adjusts on very small screens */
    height: 425px;
    background-color: #fff;
    border: 2px solid #FA8703;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    display: block; /* Always in layout, handled by JS */
}


#navMenu li {
    float: none;
    display: inline;
}

#navMenu ul {
    position: relative;
    top: 3vh;
    left: 0vh;
    margin: 0vh;
    padding: 0vh;
    border: 0vh;
}

#navMenu li a {
    display: block;
    text-align: center;
    color: #000000FF;
    text-decoration: none;
    transition: .3s;
    padding: 20px 20px;
    margin-left: 0px;
    font-size: 18px;
}

#navMenu li a:hover {
    background-color: #60B2F5FF;
    font-size: 24px;
    transition: .3s ease-in-out;
    border-radius: 25px;
}

#navMenu li .menuTitle {
    font-weight: bold;
    font-style: italic;
    color: #FFFFFFFF;
    letter-spacing: 2px;
    cursor: default;
}

#navMenu .menuTitle {
    color: #48BBF9FF !important;
}

#navMenuContent {
    position: relative;
    top: 50px;
}
