.songtext-container {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 260px);
    margin: 20px 0 30px 0;
}

.songtext-card {
    background: #2a2a2a;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    width: 260px;
}

.songtext-image {
    background-position: center;
    background-size: cover;
    height: 260px;
    position: relative;
    width: 100%;
}

.songtext-image:hover {
    filter: brightness(1.1);
}

.songtext-info {
    background: rgba(0, 0, 0, 0.7);
    bottom: 0;
    color: #ffffff;
    padding: 10px;
    position: absolute;
    text-align: left;
    transition: background 0.3s ease;
    width: 100%;
}

.songtext-info h2 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.songtext-info p {
    display: block;
    font-size: 12px;
    margin: 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.songtext-card:hover .songtext-info {
    background: rgba(0, 0, 0, 0.5);
}

.foot-block-songtext {
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    border-top: 3px solid #E3000D;
    color: #fff;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    padding: 6px 10px;
}

.foot-block-songtext span {
    align-items: center;
    display: flex;
    gap: 5px;
}

.close-query-search {
    margin-right: 4px;
}

.container-query-search {
    align-items: center;
    display: flex;
}

.header-with-search {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1300px;
}

.header-with-search h1 {
    font-size: 1.8rem;
    margin: 0;
}

.search-form {
    display: flex;
    margin: 0;
}

.search-form button {
    background-color: orangered;
    border: none;
    border-radius: 0 5px 5px 0;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.search-form input[type="text"] {
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px 0 0 5px;
    color: #000;
    font-size: 1rem;
    padding: 0.5rem;
    width: 550px;
}

@media (max-width: 980px) {

    .filter-container {
        gap: 12px;
        margin-bottom: 16px;
    }

    .custom-select {
        width: 100%;
        margin-top: 3px;
    }

    .container-query-search,
    .search-form {
        flex-wrap: wrap;
    }

    .search-input-video {
        margin: 3px 0 5px 0;
    }

    .songtext-container {
        grid-template-columns: repeat(2, 190px);
        justify-content: center;
        gap: 3px;
    }

    .songtext-card {
        width: 100%;
    }

    .songtext-image {
        width: 190px;
        height: 180px;
    }

    .search-form input[type="text"] {
        width: 100%;
        margin-top: 10px;
    }

    .container-query-search button:not(.color-btn):not([class*="fr"]):not(.search-btn):not([class*="owl-"]) {
        width: 100%;
        border-radius: 0;
    }

    .search-form input[type="text"] {
        border-radius: 0;
    }

    .header-with-search {
        justify-content: center;
    }
}

@media (max-width: 1203px) {
    @supports (-moz-appearance: none) {
        .songtext-container {
            grid-template-columns: repeat(2, 230px);
            justify-content: center;
            gap: 3px;
        }

        .songtext-image {
            width: 230px;
            height: 220px;
        }
    }
}