:root {
    --primary: #007f00;
}

a {
    text-decoration: none;
    color: var(--primary);

    &:hover {
        color: #007f00;
        filter: brightness(80%);
    }
}

.text-bg-secondary {
    background-color: var(--primary) !important;
}

body {
    background: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

.logo {
    display: block;
    width: 200px;

    img {
        width: 100%;
        display: block;
    }
}

.nav-nav {
    display: flex;
    width: auto;

}

.nav-nav_item a {
    margin-left: 10px;
    text-decoration: none;
    color: #000;
    position: relative;
    padding: 10px 5px;
}

.nav-nav_item:hover a::after {
    content: '';
    width: 30px;
    transform: skew(-40deg);
    display: block;
    height: 3px;
    background: #007f00;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.title {
    padding: 3px 0;
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    width: auto;
    position: relative;

    h5 {
        padding: 0;
        font-weight: 600;
    }
}

.title::after {
    content: '';
    width: 30px;
    transform: skew(-40deg);
    display: block;
    height: 3px;
    background: #007f00;
    position: absolute;
    bottom: -5px;
    left: 0;

    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


.article {}

.article-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.button {
    margin-top: 10px;
    font-size: 0.9rem;
    text-decoration: none;
    line-height: 2.4rem;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 0 15px;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    vertical-align: top;
    height: 26px;
    border: solid 1px #007f00 !important;
    color: #007f00 !important;
    transition: all 250ms linear;
}

.button:hover {
    background: #007f00;
    color: #fff !important;
}


.user-feed-img {
    width: 70px;
    height: 70px;
    display: block;
    margin: 0 auto;
    position: relative;

    img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        margin: 0 auto;
        position: relative;
    }

}

.user-feed-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary) !important;
}


.database-item {
    margin: 0 10px;
    padding: 5px;
    position: relative;

    .database-item-cover {
        width: 100%;
        position: relative;
        height: 250px;
        border-radius: 10px;
        overflow: hidden;
    }

    .database-item-cover-bg {
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
        z-index: 3;
    }


    img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
        z-index: 1;
        position: absolute;
        top: 0;
    }

}

.database-item-title {
    position: absolute;
    color: #fff;
    z-index: 2;
    bottom: 0;
    left: 15px;
    bottom: 15px;
}