.navbar {
    position: fixed;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar.active2 {
    background-color: rgb(37, 37, 37);
}
.navbar a {
    text-decoration: none;
}
.hamburger {
    display: none;
}
.bar {
    display: block;
    width: 3rem;
    height: .35rem;
    margin: .7rem .35rem;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
}
.nav-menu {
    display: flex;
    align-items: center;
}
li.nav-item {
    list-style: none;
}
.nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.nav-item a.active {
    background: #00a9e2;
    color: #ffffff;
    border-radius: 0.5rem;
}
.nav-link {
    text-align: center;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 400;
    color: #949494;
    padding: 0.5rem 1rem;
}
.nav-link:hover {
    color: #ffffff;
}
.nav-logo {
    font-size: 2rem;
    font-family: 'Kaushan Script', cursive;
    font-weight: 500;
    color: #ffffff;
}
@media only screen and (max-width: 768px) {
    .navbar.active {
        background-color: rgb(37, 37, 37);
    }
    .nav-menu {
        position: fixed;
        left: 0;
        top: -100%;
        flex-direction: column;
        background-color: rgb(37, 37, 37);
        width: 100%;
        border-radius: 2rem;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1;
    }
    .nav-item {
        width: 100%;
        margin: 0;
    }
    .nav-link {
        width: 100%;
        padding: 1.5rem;
        font-size: 1.4rem;
    }
    .nav-menu.active {
        top: 6.15rem;
    }
    .hamburger {
        display: block;
        background: transparent;
        border: 0px solid rgb(255, 255, 255);
        border-radius: .75rem;
        cursor: pointer;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(1.05rem) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-1.05rem) rotate(-45deg);
    }
}
