/* NAVBAR */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    /* background-color: #303030; */
    color: #fff;
    height: 130px;
    
    /* keeps navbar visible, could be problematic*/
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 990;
    /* end sticky navbar */
    
    /* color + gradient */
    background: linear-gradient(
        to bottom,
        rgb(14 27 61) 0%,
        rgb(28 63 138) 55%,
        rgb(18 34 79) 100%
    );

    /* subtle depth */
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);

    /* divider line at bottom */
    border-bottom: 2px solid rgba(255,255,255,0.12);
}

.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;              /* just above the border-bottom */
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.00) 0%,
        rgba(120,170,255,0.35) 50%,
        rgba(255,255,255,0.00) 100%
    );
}

.nav-links {
    display: block;
    /* justify-content: space-evenly; */
    /* width: 200px; */
}

.nav-links a {
    color: #E8E8E8;
    font-family: helvetica, Sans-Serif;
    font-size: 18px;
    /* display: block; */
}

.logo {
    /* padding-right: 1vw; */
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: column; */
    justify-content: flex-start;
    padding-left: 10px;
    width: 174px;
    height: 120px;
}

.menu {
    display: flex;
    gap: 0em;
    font-size: 22px;
    align-items: center;
    text-align: center;
}

.menu li:hover {
    border-radius: 0px;
    transition: 0.1s ease;
}

.menu-link-normal:hover {
    color: #929394;
    transition: 0.2s ease;
}

.menu li a{
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.submenu {
    position: relative;
    display: flex;
    justify-content: center;
}

.dropdown {
    background-color: #181818;
    position: absolute; /*WITH RESPECT TO PARENT*/
    display: none;
    border-radius: 3px;
    top: 45px;
    z-index: 999;
    /* left: -2px; */
    align-items: center;
}

.dropdown li + li {
    margin-top: 0px;
}

.dropdown li {
    /* padding: 0.13em 1em; */
    /* width: 10em; */
    width: 12em;
    text-align: center;
}

.dropdown li:hover {
    background-color: #404040;
}

.dropdown a:hover {
    /* color: #929394; */
    /* transition: 0.2s ease; */
}

.contact-button {
    background-color: #324158;
    width: 100%;
}

.contact-button:hover {
    background-color: rgb(220,220,220);
    color: #000;
}

.contact-button a:hover {
    background-color: rgb(220,220,220);
    color: #000;
}

/* .contact-link { */
    /* display: block; */
    /* padding: 5px; */
/* } */

.contact-link:hover {
    background-color: rgb(220,220,220);
    color: #000;
}

/* .contact-button li:hover { */
    /* background-color: white; */
    /* color: #000; */
/* } */

.submenu:hover .dropdown {
    display: block;
}

/* CHECKBOX HACK */
input[type=checkbox]{
    display: none;
} 

/*HAMBURGER MENU*/
.hamburger {
    display: none;
    font-size: 50px;
    user-select: none;
}

/* APPLYING MEDIA QUERIES */
@media (max-width: 960px) {    
.navbar {
    justify-content: space-between;
    padding-left: 2%;
    padding-right: 3%;
}

.menu { 
    display:none;
    position: absolute;
    background-color:#181818;
    right: 0;
    left: 0;
    top: 80px;
    text-align: center;
    padding: 16px 0;
    z-index: 999;
}

.submenu {
    position: relative;
    display: flex;
    justify-content: center;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.submenu-link {
    pointer-events: none;
}

.submenu:hover .dropdown {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.menu li:hover {
    /* display: inline-block; */
    background-color:#404040;
    transition: 0.3s ease;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.menu li + li {
    margin-top: 0px;
}

input[type=checkbox]:checked ~ .menu{
    display: block;
}

.hamburger {
    display: block;
}

.dropdown {
    border-radius: 1px;
    outline-style: solid;
    outline-width: 1px;
    outline-color: #fff;
}
}
/* end NAVBAR */