* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url("media/category_images/fon5 27kb.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.h-info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(32, 43, 53, 0);
    height: auto;
    font-size: 1vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .h-info {
        font-size: 1.7vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .h-info {
        font-size: 1.7vw;
    }
}

.h-header-info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(29, 29, 29, 0.206);
    height: 3vw;
    font-size: 1.3vw;
}

.h-header_info1 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(29, 29, 29, 0.206);
    width: 100%;
    height: 2vw;
    font-size: 1.3vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .h-header_info1 {
        height: 4vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .h-header_info1 {
        height: 4vw;
    }
}


/* --------------------------------Banner----------------------------------- */

.banner {
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 0, 132, 0);
    width: 100%;
    height: 26vw;
    align-items: center;
    justify-content: center;
    margin-top: 1%;
}

.banner div {
    display: flex;
    background-color: chocolate;
    width: 100%;
    height: 26vw;
    border-radius: 30px;
}

@media (min-width: 100px) and (max-width: 600px) {
    .banner div {
        border-radius: 10px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .banner div {
        border-radius: 20px;
    }
}

.banner_first:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.banner_second:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.clickable-link {
    display: block;
    width: 100%;
    margin: 1%;
    position: relative;
}

.img_banner {
    display: flex;
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    object-position: top;
    border: 1.5px solid white;
}

@media (min-width: 100px) and (max-width: 600px) {
    .img_banner {
        border-radius: 10px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .img_banner {
        border-radius: 20px;
    }
}

.banner_p {
    display: flex;
    position: absolute;
    margin: 10px 0 0;
    text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0);
    font-size: 2vw;
    padding-left: 2vw;
    padding-top: 20.5vw;
    flex-direction: column;
}

@media (min-width: 100px) and (max-width: 800px) {
    .banner_p {
        font-size: 2.5vw;
        padding-top: 15.5vw;
        text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 10px #000000, 3px 0px 5px rgb(0, 0, 0), 1px 3px 5px rgb(0, 0, 0);
    }
}


/* ----------------------------------------------End Banner--------------------------------------------- */


/* ----------------------------------------------Body--------------------------------------------- */


/* -------Body Left block-------- */

.body {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background-color: rgba(29, 29, 29, 0);
    width: 100%;
    height: auto;
}

.body_div_first {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 82%;
    height: auto;
    color: #ffffff;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_first {
        width: 80%;
    }
}

@media (min-width: 601px) and (max-width: 1000px) {
    .body_div_first {
        width: 80%;
        margin-left: 1%;
        margin-right: 1%;
    }
}

.body_div_filters {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 0%;
    height: auto;
    color: #ffffff;
    padding-left: 1%;
    margin-bottom: 2%;
    font-size: 3vw;
}

.form_filters {
    display: flex;
    flex-direction: column;
    font-size: 3vw;
    width: 100%;
}

.form_filters select {
    display: flex;
    flex-direction: column;
    font-size: 1vw;
    background-color: rgba(29, 29, 29, 0);
    color: white;
    border: none;
    margin-bottom: 15%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .form_filters select {
        font-size: 2.5vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .form_filters select {
        font-size: 1.5vw;
    }
}

.form_filters button {
    font-size: 1vw;
    margin: 10%;
    font-size: 0.4em;
}

.body_div_first div {
    display: flex;
    /* justify-content: space-around; */
    /* border-radius: 20px; */
    width: 55vw;
    flex-direction: column;
    height: auto;
}

@media (min-width: 100px) and (max-width: 500px) {
    .body_div_first div {
        width: 75vw;
        height: auto;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .body_div_first div {
        width: 75vw;
        height: auto;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_first div {
        width: 75vw;
        height: auto;
    }
}

.name_p_desc {
    display: flex;
    justify-content: center;
    font-size: 2.5vw;
    margin-top: 0vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    .name_p_desc {
        font-size: 3.5vw;
        margin-bottom: 2vw;
        margin-top: 2vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .name_p_desc {
        font-size: 3.5vw;
        margin-bottom: 2vw;
        margin-top: 2vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_p_desc {
        font-size: 3.5vw;
        margin-bottom: 2vw;
        margin-top: 2vw;
    }
}

.desc_p {
    display: flex;
    justify-content: center;
    font-size: 1.5vw;
    margin-top: 3vw;
    margin-bottom: 2vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    .desc_p {
        font-size: 3.5vw;
        /* padding-left: 1vw; */
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .desc_p {
        font-size: 3.5vw;
        /* padding-left: 1vw; */
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .desc_p {
        font-size: 3.5vw;
        /* padding-left: 1vw; */
    }
}

.first_card {
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    flex-direction: column;
    overflow: hidden;
    background-color: white;
    position: relative;
    margin: 1%;
    padding: 1%;
    align-items: center;
    text-align: center;
}

.approved-badge {
    display: flex;
}

.img_body_first {
    width: 100%;
    height: 22vw;
    object-fit: cover;
    border-radius: 20px;
}

@media (min-width: 100px) and (max-width: 600px) {
    .img_body_first {
        height: 33vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .img_body_first {
        height: 21vw;
    }
}

.category_text_body_first {
    position: relative;
    margin: 10px 0 0;
}

.ads_input_p {
    display: flex;
    color: #000000;
    flex-direction: row;
    font-size: 1.2vw;
    justify-content: center;
    min-height: 2vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .ads_input_p {
        font-size: 3.5vw;
        min-height: 4vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .ads_input_p {
        font-size: 1.5vw;
        min-height: 2vw;
    }
}

.ads_input_p_desc {
    display: flex;
    color: #000000;
    font-size: 1em;
    flex-direction: column;
}

.ads_input_p_desc p {
    text-align: justify
}

.ads_input {
    display: flex;
    flex-direction: column;
}

.ads_img {
    display: flex;
}

.desc_h1 {
    display: flex;
    color: #000000;
    padding-top: 1%;
    justify-content: center;
}

.desc_h1 h1 {
    display: flex;
    color: #ffffff;
    font-size: 2vw;
}

.card_price {
    display: flex;
    color: #000000;
}

.card_name {
    display: flex;
    color: #000000;
    flex-direction: column;
}

.card_name p {
    display: flex;
    color: #376289;
    flex-direction: row;
    justify-content: center;
    margin: 0;
    font-size: 1.5vw;
    padding: 1%;
    font-weight: bold;
    max-height: 10vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .card_name p {
        font-size: 4vw;
        max-height: 20vw;
        min-height: 10vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .card_name p {
        font-size: 2vw;
        max-height: 18vw;
        min-height: 5vw;
    }
}

.card_desc {
    display: flex;
    color: #000000;
    flex-direction: column;
}

.card_desc p {
    display: flex;
    color: #000000;
    flex-direction: column;
    margin: 0;
    padding: 1%;
    font-size: 1vw;
}

.clickable-card {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 23%;
    margin-bottom: 3%;
    justify-content: center;
    text-align: center;
}

@media (min-width: 100px) and (max-width: 700px) {
    .clickable-card {
        width: 45%;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .clickable-card {
        width: 23%;
    }
}

.div_button {
    display: flex;
    justify-content: center;
}

.name_p {
    font-size: 1.2vw;
}

.name_a {
    display: flex;
    color: rgb(255 255 255);
    line-height: 1.4em;
    text-decoration: none;
    background-color: rgb(11 99 246);
    border-radius: 10px;
    padding-top: 1.5%;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0 5px 15px 0 rgba(11, 99, 246, 1);
    transition: 0.5s;
    margin-left: 1em;
    margin-right: 1em;
    width: 15vw;
    justify-content: center;
}

.name_a:hover {
    transform: translate(0, -3px);
    box-shadow: 0 20px 40px 0 rgba(11, 99, 246, 1);
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_a {
        font-size: 2.6vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 0.5em;
        padding-right: 0.5em;
        margin-right: 0em;
        width: auto;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_a {
        font-size: 2.4vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 0.5em;
        padding-right: 0.5em;
        margin-right: 0em;
        width: auto;
    }
}


/* -END------Body Left block-------- */


/* -------Body Right block-------- */


/* + Обновить .body и .body_div_first в другом файле */

.body_div_second {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    width: 17%;
    /* margin-top: 2%; */
    /* margin-bottom: 5%; */
    margin-right: 1.5%;
    margin-left: 1%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_second {
        width: 15%;
        margin-left: 0.5%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second {
        width: 15%;
        margin-right: 2%;
    }
}

.body_div_second div {
    display: flex;
    justify-content: center;
    background-color: #0000008c;
    width: 100%;
    height: 300px;
    border-radius: 10px;
    border: 0.3em solid white;
    margin-bottom: 15%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_second div {
        height: 20vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second div {
        height: 19vw;
    }
}

.body .body_div_second p {
    color: #ffffff;
    padding: 91% 0% 0% 0%;
    font-size: 1.7vw;
    position: relative;
    z-index: 7;
}

@media (min-width: 100px) and (max-width: 500px) {
    .body .body_div_second p {
        font-size: 2.5vw;
        padding-top: 10vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .body .body_div_second p {
        font-size: 2.5vw;
        padding-top: 11vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body .body_div_second p {
        font-size: 2.2vw;
        padding-top: 12vw;
    }
}

.right_category-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.right_category-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.right_div1 {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.right_category-text {
    position: relative;
    margin: 10px 0 0;
    /* text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0); */
}

.body_div_second div .other_p {
    display: flex;
    height: 9vw;
    margin-top: 14vw;
    z-index: 5;
    position: absolute;
}

@media (min-width: 100px) and (max-width: 500px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}


/* ----------------------------------------------End Body--------------------------------------------- */


/* --------------------------------------Pagination-------------------------------------------------------------- */

.header_plus {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
    margin-top: 2em;
}

@media (min-width: 100px) and (max-width: 600px) {
    .header_plus {
        margin-top: 1em;
        margin-right: 2vw;
        margin-bottom: 4vw;
    }
}

.block {
    position: relative;
    width: 19%;
    height: 18vw;
    background: linear-gradient(0deg, #000, #272727);
    text-align: center;
    margin-top: 2%;
    margin-left: 1%;
    margin-right: 1%;
}

.center {
    display: flex;
    flex-direction: column;
    width: 30em;
    background: rgb(0, 0, 0);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
    margin: 0;
}

@media (min-width: 100px) and (max-width: 500px) {
    .center {
        padding: 0;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .center {
        padding: 0;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .center {
        padding: 0;
    }
}

.block:before,
.block:after {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000);
    background-size: 300%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: steam 20s linear infinite;
    border-radius: 10px;
}

.block:after {
    filter: blur(50px);
}

.header_plus_contact {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
    margin-top: 2em;
}

@media (min-width: 100px) and (max-width: 600px) {
    .header_plus_contact {
        margin-top: 1em;
        margin-right: 2vw;
        margin-bottom: 2vw;
    }
}

.name_p_contact {
    font-size: 1.2vw;
    justify-content: center;
}

.name_a_contact {
    display: flex;
    color: rgb(255 255 255);
    line-height: 1.4em;
    text-decoration: none;
    background-color: rgb(11 99 246);
    border-radius: 10px;
    padding-top: 1.5%;
    padding-bottom: 1.5%;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0 5px 15px 0 rgba(11, 99, 246, 1);
    transition: 0.5s;
    margin-left: 1em;
    margin-right: 1em;
    width: 40vw;
    justify-content: center;
    margin-top: 2vw;
    margin-bottom: 2vw;
}

.name_a_contact:hover {
    transform: translate(0, -3px);
    box-shadow: 0 20px 40px 0 rgba(11, 99, 246, 1);
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_a_contact {
        font-size: 2.6vw;
        height: auto;
        flex-wrap: nowrap;
        /* padding-left: 0.5em;
        padding-right: 0.5em;
        margin-right: 0em;
        width: auto; */
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_a_contact {
        font-size: 2.4vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 0.5em;
        padding-right: 0.5em;
        margin-right: 0em;
        width: auto;
    }
}

.desc_p_contact {
    display: flex;
    justify-content: center;
    font-size: 1vw;
    margin-top: 2vw;
    margin-bottom: 2vw;
    white-space: pre-wrap;
    line-height: 1.5vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    .desc_p_contact {
        font-size: 2vw;
        padding-left: 0vw;
        margin: 1vw;
        line-height: 4.5vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .desc_p_contact {
        font-size: 2vw;
        padding-left: 0vw;
        margin: 1vw;
        line-height: 4.5vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .desc_p_contact {
        font-size: 2.5vw;
        padding-left: 0vw;
        margin: 1vw;
        line-height: 4.5vw;
    }
}

/* -----------------------button lang--------------------------- */
.language-selector {
    display: inline-block;
    align-content: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #00ff0a00;
    color: white;
    padding: 3px;
    font-size: 1.2vw;
    border: 1.5px solid white;
    cursor: pointer;
    width: 12vw;
}

.dropbtn:hover {
    background-color: #00ff0a00;
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(29, 29, 29, 0.638);
    min-width: 247px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0%;
    justify-items: center;
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: white;
    border-bottom: 1px solid #ddd;
    border-radius: 5px;
}

.dropdown-content a:hover {
    background-color: rgba(29, 29, 29, 0);
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* Изменение цвета кнопки при наведении на dropdown */

.dropdown:hover .dropbtn {
    background-color: rgba(29, 29, 29, 0);
}
