/* TopNav */
/*********** Toggle topNav ***************** */

.container {
    /* display: inline-block; */
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 4px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

/* Fade out the second bar */
.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.grad1 {
    /* height: 200px; */
    background-color: red;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(to right, #208df3, #4bbf73);
}

.topnav {
    overflow: hidden;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    box-shadow: 0px 15px 10px -15px #208df3 !important;
    margin: 0 2rem 0 2rem;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #333 !important;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1.3rem;
}

.topnav .nav-link {
    float: right;
}

.topnav .brand {
    font-size: 1.4rem !important;
    line-height: 2em !important;
    margin: 0 !important;
    font-family: Verdana !important;
    font-weight: 900 !important;
    font-style: italic !important;
    color: #333 !important;
    letter-spacing: 1px;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

.topnav .dot {
    color: #db5555;
    font-size: 2rem;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

.topnav a:hover {
    text-decoration: underline;
    text-decoration-thickness: 5px;
}

@media screen and (max-width: 980px) {

    .topnav {
        overflow: hidden;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
        box-shadow: 0px 15px 10px -15px #208df3 !important;
        margin: 0 0 0 0;
    }

    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav .brand {
        font-size: 1.3rem !important;
        line-height: 1.5em !important;
    }

    .topnav span.icon {
        float: right;
        display: block;
        padding: 1rem;
    }

    .topnav.responsive {
        position: relative;
        background-color: #fff;
        opacity: 0.9;
        min-width: 100%;
        min-height: 100%;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        line-height: 2em !important;
    }

    .topnav.responsive a:hover {
        color: var(--blue) !important;
    }


    .topnav .nav-link {
        display: flex;
        flex-direction: column;
    }

    .topnav.responsive .dropdown {
        float: none;
    }

    .topnav.responsive .drop-down-content {
        position: relative;
    }

    .topnav.responsive .drop-down .drop-btn {
        display: block;
        width: 100%;
        text-align: left;
    }
}