/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.image_card {
    width: 100%;
    height: 458px;
    border-radius: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    overflow: hidden;
    font-weight: 600;
    font-size: 30px;
    line-height: 37px;
    color: #ffffff;
    background-size: 100%;
    background-position: center;
    position: relative;
}

.image_card::after {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: var(--y_gradient_blue);
}

.image_card:first-child::after,
.image_card:last-child::after {
    background: var(--y_gradient_yelow);
}

.image_card img {
    width: 100%;
    height: 458px;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font: 1em sans-serif;
}

.image_card:hover>.image {
    -webkit-transform: scale(1.1) !important;
    -ms-transform: scale(1.1) !important;
    transform: scale(1.1) !important;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.image_card_text {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 1;
    font-weight: 600;
    font-size: 30px;
    line-height: 37px;
    color: #ffffff;
    cursor: pointer;
}

.image_card_link_wrapper {
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    gap: 20px;
    padding: 10px;
    -webkit-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
}

.image_card_link {
    text-decoration: none;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: #504212;
    z-index: 1;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 24px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 75%;
}

.all_button {
    padding: 10px 20px;
    margin-top: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #0d1323 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    z-index: 1;
}

.image_card_link:hover {
    color: #ffffff;
}

.image_card:hover>.hide_hover,
.active>.hide_hover {
    display: none;
}

.image_card:hover>.image_card_link_wrapper,
.active>.image_card_link_wrapper {
    visibility: visible !important;
    opacity: 1;
    -webkit-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
}

@media screen and (max-width: 1024px) {
    .image_card {
        font-weight: 600;
        font-size: 24px;
        line-height: 29px;
    }
}

@media screen and (max-width: 420px) {
    .image_card {
        /* height: auto; */
        background-size: cover !important;
        background-position: center !important;
    }
    .image_card_text {
        bottom: 20px;
        left: 20px;
        right: 20px;
        font-size: 20px;
        line-height: 1.2;
    }
}