/* ________________________________ nav menu ---------------------------------------------- */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
    /*background: #84BD00;*/
    background-color: rgb(244, 246, 240);
    /*background: linear-gradient(90deg, rgba(132,189,0, 1) 0%, rgba(132,189,0, 1) 70%, rgba(52,100,186, 1) 100%);*/
    /*box-shadow: 0 3px 20px 3px rgba(255, 255, 255, 0.5);*/
    box-shadow: 0 1px 4px #84BD00;
    position: fixed;
    top: 0;
    z-index: 250;
    vert-align: middle;
    transition: ease-in-out 1s;
}

.nav:hover {
    background-color: white;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    box-shadow: 0 2px 8px #84BD00;
}

.nav > .nav-header {
    display: inline;
    float: left;
    padding-left: 20px;
    height: 70px;
}

.nav > .nav-header > .nav-title {
    height: 70px;
    display: flex; /*inline-block;*/
    font-size: 1.8rem;
    color: #fff;
    padding: 19px 10px 19px 10px;
}

.nav-title a {
    /*color: white;*/
    color: #84BD00;
    font-size: 2rem;
    font-weight: bold;
    /*text-shadow: 0 2px 4px green;*/
}

.nav > .nav-btn {
    display: none;
}

.nav > .nav-links {
    display: inline;
    float: right;
    padding-right: 16px;
    font-size: 1.6rem;
}

.nav > .nav-links img {
    display: none;
}

.nav > .nav-links > a {
    display: inline-flex;
    padding: 20px 10px 20px 10px;
    text-decoration: none;
    color: #84BD00;
    height: 70px;
    align-items: center;
}

.nav > .nav-links > a:hover {
    /*background-color: rgba(0, 0, 0, 0.3);*/
}

.nav > #nav-check {
    display: none;
}

/* ---------------------------------------- nav-links hover effect --------------------------------------- */
.hover-3 {
    --b: 0.2em;   /* the thickness of the line */
    --c: #84BD00; /* the color white */

    color: white;
    padding-block: var(--b);
    background:
            linear-gradient(var(--c) 50%,#000 0) 0% calc(100% - var(--_p,0%))/100% 200%,
            linear-gradient(var(--c) 0 0) 0% var(--_p,0%)/var(--_p,0%) var(--b) no-repeat;
    -webkit-background-clip: text, padding-box;
    background-clip: text, padding-box;
    transition: .3s var(--_s,0s) linear,background-size .3s calc(.3s - var(--_s,0s));
}
.hover-3:hover {
    --_p: 100%;
    --_s: .3s;
    background-color: white;
    font-weight: bold;
}
/* --------------------end of nav-links hover effect ------------------------------------------- */

/*@media screen and (min-width: 1200px) and (max-width: 1366px) {
    .nav-title a {
        font-size: 1.6rem;
    }

    .nav > .nav-links {
        font-size: 1.4rem;
    }
}*/

@media screen and (min-width:1050px) and (max-width: 1366px) {
    .nav-title a {
        font-size: 1.2rem;
    }

    .nav > .nav-links {
        font-size: 1.2rem;
    }
}

@media screen and (min-width:500px) and (max-width: 700px) {
    .nav-title a {
        font-size: 1.6rem;
    }
}

@media screen and (min-width:350px) and (max-width: 499px) {
    .nav-title a {
        font-size: 1.2rem;
    }
}

@media screen and (min-width:240px) and (max-width: 349px) {
    .nav-title a {
        font-size: 1rem;
    }
}


@media screen and (min-width: 270px) and (max-width: 1050px) {
    .nav > .nav-header > .nav-title {
        font-size: 1.8rem;
    }

    .nav > .nav-btn {
        display: inline-block;
        position: absolute;
        right: 0;
        top: 0;
    }
    .nav > .nav-btn > label {
        display: inline-block;
        width: 70px;
        height: 70px;
        padding: 23px;
    }
    .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
        /*background-color: rgba(51, 102, 186, 0.3);*/
    }

    .nav > .nav-btn > label > span {
        display: block;
        width: 25px;
        height: 10px;
        border-top: 2px solid #84BD00;
    }

    .nav > .nav-links {
        position: absolute;
        height: calc(100vh - 70px);
        /*display: block;*/
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-right: 0;
        align-items: center;
        width: 100%;
        background: linear-gradient(60deg, rgba(132,189,0, 1) 0%, rgba(132, 189, 0, .94) 100%);
        /*height: 0px;*/
        transition: all 0.3s ease-in;
        overflow-y: hidden;
        top: 70px;
        left: 0;
    }

    .nav > .nav-links img {
        display: flex;
        height: 110px;
        width: auto;
    }

    .nav > .nav-links > a {
        display: flex;
        justify-content: center;
        width: 100%;
        color: white;
    }

    .hover-3:hover {
        background-color: white;
    }

    .nav > .nav-links > a:hover {
        color: #84BD00;
    }

    .nav > #nav-check:not(:checked) ~ .nav-links {
        height: 0;
    }
    .nav > #nav-check:checked ~ .nav-links {
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
}
/* ________________________________ end of nav menu ---------------------------------------------- */