:root {
    --nav-color: rgba(0, 0, 0, 0.85);
}

body {
    margin: 0px;
    /* background-color: rgb(12, 82, 1); */
    background: linear-gradient(rgba(0, 0, 0, 0.85),
            rgba(165, 165, 165, 0.742)) no-repeat center center fixed, url(../background.jpg) no-repeat center center fixed;
    background-size: cover;
    padding: 54px 0px 54px 0px;
}

.navbarReact {
    width: 100%;
    display: flex;
    margin: 0;
    justify-content: center;
    background-color: var(--nav-color);
    position: fixed;
    top: 0;
    z-index: 9999;
}

.navbarReact ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    /* overflow: hidden; */
    width: 80%;
}

.navbarReact li {
    float: left;
}

.navbarReact li a {
    float: left;
    color: #a8a8a8;
    text-align: center;
    padding: 15px 30px;
    text-decoration: none;
    transition: 250ms ease-in-out;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

.navbarReact ul li a:not(.dropdown-content a):hover {
    color: #e4e4e4;
    transform: translateY(-1.5px);
}

.overlay {
    position: absolute;
    transition: .3s ease left, 0.2s ease-in-out width, opacity;
    opacity: 0;
    border: 0px;
    border-bottom: 1.6px;
    border-style: solid;
    border-color: rgb(175, 175, 175);
    pointer-events: none;
    z-index: 99;
}

.overlay.activeHover {
    opacity: 1;
}

li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li.dropdown {
    display: flex;
    min-width: 105px;
    justify-content: center;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    background-color: var(--nav-color);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-style: solid;
    border-width: 0px;
    border-radius: 0px 0px 15px 15px;
    width: 100%;
}

.dropdown-content:not(.nohover) {
    display: none;
}

.dropdown-content a {
    color: black;
    text-decoration: none;
    display: block;
    text-align: center;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding-top: 0px;
    padding: 10px;
}

.dropdown-content:not(.noborder) a:last-child {
    border-radius: 0px 0px 15px 15px;
}

.noborder {
    border-radius: 0px;
}

.highlight:hover {
    background-color: grey;
}

.dropdown:hover>.dropdown-content {
    display: block;
}

.res {
    display: none;
    min-width: 105px;
    justify-content: center;
    height: 30px;
    width: 100%;
}

.res a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a8a8a8;
}

@media screen and (max-width: 750px) {

    .navbarReact ul li {
        display: none;
    }

    .overlay {
        display: none;
    }

    .res {
        display: flex;
    }

}


@media screen and (max-width: 500px) {

    .res a {
        height: 20px;
    }

    /* .dropdown-content {
        overflow: hidden;
        overflow-y: scroll;
    } */

}