:root {
    --primary-text-color: #fff;
    --primary-bg-color: #23705b;
    --primary-hover-color: #fff700;
    --red: #ff3030;
}

header {
    background-color: var(--primary-bg-color);
}

article {
    background-color: #fff;
    color: #000;
}

.top-header {
    font-size: 14px;
    padding: 0px 12px;
    min-height: 36px;
    padding-top: 7px;
}

.top-header a {
    color: #fff;
    padding: 5px 6px;
    text-decoration: none; /* Remove the default underline */
    position: relative; /* Position relative for the pseudo-element */
}

.top-header a::before {
    content: ""; /* Add an empty content to the pseudo-element */
    position: absolute; /* Position absolutely within the parent element */
    bottom: 0; /* Align the pseudo-element to the bottom of the parent */
    left: 0; /* Start the pseudo-element from the left side of the parent */
    width: 0; /* Initially, the width is 0 */
    height: 2px; /* Set the border height */
    background-color: var(--primary-hover-color); /* Border color */
    transition: width 0.4s ease-in-out; /* Add a transition for width change */
}

.top-header a:hover::before {
    width: 100%; /* When hovered, set the width to 100% for the animation effect */
}

.top-header a:hover {
    color: var(--primary-hover-color);
}

.navbar-light .navbar-nav .nav-link {
    font-family: "Josefin Slab", serif;
    font-size: 19px;
    letter-spacing: -1px;
    position: relative;
    padding: 3px 10px;
    color: #373737;
    outline: none;
    transition: 0.9s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--red);
}

.navbar .navbar-nav .dropdown .dropdown-menu {
    font-family: "Josefin Slab", serif;
    font-size: 18px;
    border: none;
    border-radius: 0px 0px 5px 5px;
    border-bottom: #eeeeee 2px solid;
    border-right: #eeeeee 2px solid;
    border-left: #eeeeee 2px solid;
    margin-top: 21px !important;
    padding: 0;
}

.navbar .navbar-nav .dropdown-menu a {
    color: #000;
    padding: 6px 12px;
    border-bottom: #eeeeee 1px solid;
}

.navbar .navbar-nav .dropdown-menu a:last-child {
    border-bottom: none;
}

.navbar .navbar-nav .dropdown-menu a:hover {
    color: #fff;
    background-color: var(--red);
}

.navbar-toggler {
    border: none !important;
    outline: none !important;
}

.dropdown-toggle::after {
    top: 45% !important;
    right: -5px !important;
}

/* Navbar Font Size */
@media (max-width: 1200px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background: var(--red);
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link:after {
        content: "";
        position: absolute;
        top: 1px;
        right: 0;
        width: 1px;
        height: 32px;
        background: linear-gradient(
            180deg,
            rgba(62, 71, 80, 0) 0,
            #3e4750 51.56%,
            rgba(62, 71, 80, 0) 100%
        );
    }

    .navbar-light .navbar-nav .nav-link:last-child::after {
        width: 0px;
    }

    .navbar-light .navbar-nav .dropdown:after {
        content: "";
        position: absolute;
        top: 1px;
        right: 0;
        width: 1px;
        height: 32px;
        background: linear-gradient(
            180deg,
            rgba(62, 71, 80, 0) 0,
            #3e4750 51.56%,
            rgba(62, 71, 80, 0) 100%
        );
    }
    .navbar-light .navbar-nav .dropdown:last-child::after {
        width: 0px;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

/* Footer */
footer {
    color: white;
    background: -moz-radial-gradient(
        center,
        ellipse cover,
        #20876c 0%,
        #0b533e 100%
    );
    /* ff3.6+ */
    background: -webkit-gradient(
        radial,
        center center,
        0px,
        center center,
        100%,
        color-stop(0%, #20876c),
        color-stop(100%, #0b533e)
    );
    /* safari4+,chrome */
    background: -webkit-radial-gradient(
        center,
        ellipse cover,
        #20876c 0%,
        #0b533e 100%
    );
    /* safari5.1+,chrome10+ */
    background: -o-radial-gradient(
        center,
        ellipse cover,
        #20876c 0%,
        #0b533e 100%
    );
    /* opera 11.10+ */
    background: -ms-radial-gradient(
        center,
        ellipse cover,
        #20876c 0%,
        #0b533e 100%
    );
    /* ie10+ */
    background: radial-gradient(ellipse at center, #20876c 0%, #0b533e 100%);
    /* w3c */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#20876c', endColorstr='#0b533e', GradientType=1);
    /* ie6-9 */
}

.footer a {
    color: #fff !important;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-hover-color) !important;
}

.footer .btn:hover {
    background-color: var(--red) !important;
    color: #fff !important;
    border-color: var(--red) !important;
    box-shadow: inset 0 0 0 20rem var(--red);
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50px;
    bottom: 0px;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.footer-bottom a {
    color: #fbff07 !important;
}

.footer-bottom a:hover {
    color: var(--red) !important;
    text-shadow: 0 0 5px #000000;
}
