﻿.menuInfo, .menuOffices, .menuServices {
    width: 350px;
    height: fit-content;
    float: left;
    padding: 5px;
    margin: auto;
}

.navBarMenu {
    /*top: 14.5%;*/
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
    /*position: absolute;*/
    display: flex;
    background-color: #548bc8;
    border-top: 4px white solid;
    border-bottom: 4px white solid;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    z-index: 9999;
}


#navItem {
    color: white;
    position: relative;
    display: block; 
    padding: 0 18px 0 12px;
    transition: background 0.3s;
    cursor: pointer;
    font-size: 35px;
}

.navItem:hover {
    background-color: #BDD5F0;
}


nav {
    font-family: garamond;
    margin-right: auto;
    margin-left: auto;
    /*align-content: center;*/
}

.drpdwnButton {
    background-color: #548bc8;
    color: white;
    padding: 16px;
    font-size: 35px;
    border: none;
    cursor: pointer;
    font-family: garamond;
}

    .drpdwnButton:hover {
        background-color: #BDD5F0;
        transition: background 0.3s;
    }


.dropdown {
    list-style-image: none;
    list-style-type: none;
    font-size: 25px;
    background-color: #548bc8;
    display: none;
    position: absolute;
    width: auto;
    border-left: 3px white solid;
    border-right: 3px white solid;
    border-bottom: 3px white solid;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
    margin: 1px;
}


    .dropdown a {
        padding: 12px 16px;
        display: block;
        text-align: left; 
        text-align: -moz-left; 
        text-align: -webkit-left;
    }



        /*.dropdown a:hover {
            text-decoration: underline black solid;
        }*/

/*.menuInfo:hover .dropdown {
    display: block;
}

.menuOffices:hover .dropdown {
    display: block;
}

.menuServices:hover .dropdown {
    display: block;
}


.menuInfo:active .dropdown {
    display: block;
}

.menuOffice:active .dropdown {
    display: block;
}

.menuServices:active .dropdown {
    display: block;
}*/

@media screen and (max-width: 800px) {

    div.menuInfo, div.menuOffices, div.menuServices, #navItem {
        width: fit-content;
        width: -moz-fit-content;
        font-size: x-large;
        padding-left: 5px;
        padding-right: 5px;
    }


    ul.dropdown {
        width: 100vw;
        left: 0;
        border-left: none;
        border-right: none;
        border-bottom: 3px white solid;
    }
}

@media screen and (max-width: 400px) {

    div.menuInfo, div.menuOffices, div.menuServices, #navItem {
        width: fit-content;
        width: -moz-fit-content;
        font-size: x-large;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    button.drpdwnButton {
        width: fit-content;
        width: -moz-fit-content;
    }


    ul.dropdown {
        width: 100vw;
        left: 0;
        border-left: none;
        border-right: none;
        border-bottom: 3px white solid;
    }
}

@media screen and (max-width: 350px) {

    div.menuInfo, div.menuOffices, div.menuServices, #navItem {
        width: fit-content;
        width: -moz-fit-content;
        font-size: x-large;
        padding-left: 1px;
        padding-right: 1px;
    }
    button.drpdwnButton {
        width: fit-content;
        width: -moz-fit-content;
    }


    ul.dropdown {
        width: 100vw;
        left: 0;
        border-left: none;
        border-right: none;
        border-bottom: 3px white solid;
    }
}



@media screen and (max-width: 1026px) {
    #navItem {
        /*width: 150px;*/
        font-size: x-large;
    }

    ul li ul li {
        font-size: large;
        width: fit-content;
        width: -moz-fit-content;
        padding-left: 10px;
        width: 250px;
    }
    ul li ul {
        position: absolute;
        width: 250px;
    }

}


@media screen and (max-width: 1136px) {
    button.drpdwnButton {
        font-size: x-large;
    }

    .dropdown {
        font-size: 16px;
        width: fit-content;
        width: -moz-fit-content;
    }

    ul li ul li {
        font-size: large;
        width: fit-content;
        width: -moz-fit-content;
    }

    ul li ul {
        position: absolute;
        width: 250px;
    }

        ul li ul li {
            padding-left: 10px;
            width: 250px;
        }

    .menuInfo, .menuOffices, .menuServices {
        width: 250px;
    }

}