.filter-news-category {
    display: flex;
    align-items: center;
    justify-content: end;
}

    .filter-news-category h3 {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 121%;
        color: #262F33;
        margin-bottom: 0px;
    }

.filter-news-container {
    display: grid;
    grid-template-columns: repeat(6,7rem);
    justify-content: space-around;
    align-items: center;
    grid-gap: 1rem;
}

.filter-news-brand {
    border: 1px solid #262F33;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100% !important;
}

    .filter-news-brand h5 {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 400;
        font-size: 13px;
        line-height: 20px;
        text-align: center;
        color: #262F33;
        margin: 0rem !important;
    }

    .filter-news-brand:hover {
        border: 3px solid #262F33;
        cursor: pointer;
    }

.filter-news-brand-active {
    background: #262F33;
    border: 1px solid white !important;
}

    .filter-news-brand-active h5 {
        color: white !important;
    }

.filter-news-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .filter-news-button .btn-primary-blue {
        width: 75% !important;
    }

.kasutatud-title {
    text-align: center;
}

    .kasutatud-title h3 {
        font-size: 2.5rem;
        font-weight: bold;
    }

.news-main-text p {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    color: #000000;
}

.form-title {
    margin: 2rem 0rem !important;
}

.uudised-image {
    position: relative;
    overflow: hidden;
}

    .uudised-image:hover img {
        transform: scale(1.125);
        transition: all 500ms;
    }

    .uudised-image:hover .uudised-description {
        background: #18BDE6;
        transition: all 500ms;
    }

    .uudised-image a {
        cursor: pointer;
    }

    .uudised-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.uudised-image-big {
    position: relative;
    overflow: hidden;
}

    .uudised-image-big:hover img {
        transform: scale(1.125);
        transition: all 500ms;
    }

    .uudised-image-big:hover .uudised-description {
        background: #18BDE6;
        transition: all 500ms;
    }

    .uudised-image-big a {
        cursor: pointer;
    }

    .uudised-image-big img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.uudised-description {
    position: absolute;
    bottom: 5%;
    left: 0%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url();
    border-radius: 5px;
    text-align: center;
    padding: 1rem 0.5rem 0rem 0.5rem;
    min-width: 100%;
}

    .uudised-description p {
        color: white;
    }

.uudised-content a {
    text-decoration: none;
}

.content-visible {
    display: block;
}

.content-hidden {
    display: none;
}

@media (max-width: 481px) {

    .filter-news-category {
        justify-content: center;
    }

    .filter-news-container {
        display: grid;
        grid-template-columns: repeat(3,7rem);
        justify-content: space-around;
        align-items: center;
        grid-gap: 1rem;
    }


    .filter-news {
        padding: 4rem 2rem 0rem 2rem;
    }

    .filter-news-container {
        margin: 2rem 0rem;
    }

    .filter-news-brand {
        padding: 0.5rem;
        height: 3rem;
    }

    .banner-second-pages-information {
        justify-content: center !important;
        margin-top: 2rem;
    }

    .uudised-image {
        height: 17rem;
    }

    .uudised-image-big {
        height: 17rem;
    }

    .uudised-content {
        padding: 0rem 0rem 2rem 0rem;
    }
}

@media (min-width: 482px) and (max-width: 980px) {
    .filter-news-category {
        justify-content: center;
    }

    .filter-news {
        padding: 4rem 2rem 0rem 2rem;
    }

    .filter-news-container {
        margin: 2rem 0rem;
    }

    .filter-news-brand {
        padding: 0.8rem;
        height: 4.5rem;
    }

    .banner-second-pages-information {
        justify-content: center !important;
        margin-top: 2rem;
    }

    .uudised-image {
        height: 25rem;
    }

    .uudised-image-big {
        height: 25rem;
    }

    .uudised-content {
        padding: 0rem 0rem 2rem 0rem;
    }
}

@media (min-width:961px) {
    .filter-news {
        padding: 2rem;
    }

    .filter-news-brand {
        height: 3rem !important;
    }

    .container-form {
        margin-bottom: 1rem !important;
    }

    .news-container {
        padding: 0rem 3rem 6rem 3rem;
    }

    .uudised-content {
        padding: 0.5rem !important;
    }

    .uudised-image {
        height: 17rem;
    }

    .uudised-image-big {
        height: 30rem;
    }

    .col-lg-4 .uudised-image-big {
        height: 17rem;
    }

    .col-lg-12 .uudised-image {
        height: 30rem;
    }
}
