.navbar {
    top: 16px;
    right: 20px;
    height: 40px;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7b7b7b;
}

.navbar-btn:before {
    content: "\f0c9";
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    top: 20px;
    right: 16px;
    font-size: 35px;
    color: white;
    z-index: 36;
}

.navbar > div > a,
.navbar > div.stack {
    text-decoration: none;
    display: flex;
    color: #4a92e0;
    padding: 10px 15px;
    border-radius: 1px;
    transition: all .2s ease-in-out;
}
.navbar > div:not(.active) > a:hover,
.navbar > div.stack:hover {
    color: #5aa2f0;
    background-color: #999;
}
.navbar > div > a:active,
.navbar > div.stack:active {
    color: #5393c3;
}

.navbar > .active > a,
.navbar > div.stack.active {
    background: #4a92e0;
    box-shadow: 0 0 0 1px #3a82d0;
    padding: 7px 15px 7px 15px;
    color: #f3f3f3;
}

.navbar > div.stack {
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 1px rgba(0,0,0,.7);
    position: relative;
}
.navbar > div.stack > ul {
    display: block;
    pointer-events: none;
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.3),
    1px 1px 2px rgba(0,0,0,.7);
    white-space: nowrap;
    list-style-type: none;
    transition: all .2s ease-in-out;
    opacity: 0;
    z-index: 4;
}
.navbar > div.stack:hover > ul {
    pointer-events: all;
    opacity: 1;
}
.navbar > div.stack > ul > li {
    padding: 5px;
    transition: all .2s ease-in-out;
}
.navbar > div.stack > ul > li:hover {
    color: #5aa2f0;
    background-color: #d3d3d3;
    border-radius: 3px;
}
.navbar > div.stack > ul > li > a {
    display: flex;
}

.navbar > div.stack > ul > li.active {
    background-color: #4a92e0;
}
.navbar > div.stack > ul > li.active > a {
    color: #f3f3f3;
}

.navbar .contact-info.phone{
    position: absolute;
    top: 35px;
    right: 30px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar .contact-info.phone:before {
    content: "\f095";
    font: normal normal normal 14px/1 FontAwesome;
    color: #2d98e6;
    font-size: 35px;
    margin-right: 25px;
}

.navbar .contact-info.message{
    position: absolute;
    top: 35px;
    right: 300px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar .contact-info.message a {
    text-decoration: underline;
    padding: 0;
}

.navbar .contact-info.message:before {
    content: "\f086";
    font: normal normal normal 14px/1 FontAwesome;
    color: #4a92e0;
    font-size: 35px;
    margin-right: 25px;
}

.navbar .contact-text{
    color: white;
    font-size: 18px;
}

.navbar .contact-number {
    justify-content: flex-start;
}

@media screen and (min-width: 1020px) /* Desktop */ {
    .navbar-btn { display: none }
}

@media screen  and (max-width: 1019px) /* Tablet */ {
    .navbar-btn {
        display: block;
        font-size: 35px;
        transition: all .2s ease-in-out;
    }
    .navbar-btn.clicked:before {
        position: fixed;
        top: 20px;
        right: 16px;
    }
    .navbar {
        display: none;
        position: fixed;
        height: 100vh;
        padding: 55px 15px 0 15px;
        font-size: 18px;
        text-align: center;
        top: 0;
        box-shadow: 0px 0 1px 1px rgba(0,0,0,.8);
        background-color: #4e4e4e;
        transition: all .2s ease-in-out;
        opacity: 0;
        z-index: 35;
    }
    .navbar a {
        text-decoration: none;
        color: #4a92e0;
        padding: 3px 15px;
        margin: 0;
        background-color: unset;
        border-left: unset;
        border-right: unset;
        border-radius: 1px;
    }
    .navbar > .active > a {
        background-color: #4a92e0;
        padding: 5px 15px;
        width: 100%;
        margin: 0;
        color: #f3f3f3;
    }
    .navbar > div.stack:hover {
        display: block;
    }
    .navbar > div.stack:hover > ul {
        position: unset;
        margin-top: 10px;
    }
    .navbar > div.stack > ul > li {
        padding: 5px 0;
    }
    .navbar > div + div {
        margin-left: 0;
    }
    .navbar-btn.clicked ~ .navbar {
        right: 0;
        opacity: 1;
        display: block;
    }
    .navbar > div:nth-child(3) {
        margin-top: 25px;
    }
    .navbar > div {
        margin-top: 0;
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .navbar .contact-info {
        position: unset !important;
        display: contents !important;
    }

    .navbar .contact-info:before {
        margin: 0 !important;
    }
}

@media screen and (max-width: 575px) /* Mobile */ {

    .navbar { font-size: 18px; }

    .navbar-btn:before {
        content: "\f0c9";
        font: normal normal normal 14px/1 FontAwesome;
        position: absolute;
        top: 13px;
        right: 16px;
        font-size: 25px;
        color: white;
        z-index: 36;
    }
    .navbar-btn.clicked:before {
        position: fixed;
        top: 13px;
        right: 16px;
    }
}