@import url("https://fonts.googleapis.com/css?family=Roboto&subset=cyrillic"); 

:root {
    --primary-green: #65b912;
    --hover-green: #7df803;
    --dark-bg: #333741;
}

body {
    font-family: 'Roboto', sans-serif;
}

.bg-white {
    --bs-bg-opacity: 0.9;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}

.navbar-brand {
    padding: 0;
}

.logo {
    display: inline-block;
    width: 120px;
    height: 14px;
    background-image: url('../img/logo_uber_eats.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

.logo-link:hover .logo {
    background-image: url('../img/logo_uber_eats_over.svg');
}

.form-control {
    background-color: white;
    color: gray;
    border-color: white;
}

.form-control::placeholder {
    color: lightgray;
}

.form-control:focus {
    outline: none;
    border-color: rgb(180, 236, 180) !important;
    box-shadow: none;
}

.btn {
    border-radius: 22px;
}

.btn-outline-success:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.icon-hover:hover {
    color: var(--hover-green) !important;
    transform: scale(1.2);
    transition: all 0.2s ease;
}

.icon-hover2:hover {
    color: var(--hover-green) !important;
    transform: scale(1.1);
    transition: all 0.6s ease;
}

.icon-link-hover:hover>.bi {
    transform: scale(1.4);
}

.icon-link-hover2:hover>.bi {
    transform: translate3d(0, -0.3em, 0);
}

.card {
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 78, 78, 0.2);
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    /* Заменяем background-color на background-image для градиента: background-color: #67bf0f !important; */
    background-image: linear-gradient(135deg, #5fa717, #bcf34ee2) !important;
    color: #ecf1e7;
}

.card:hover .text-muted {
    color: #497f02 !important;
}

.card-img-top {
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.03);
}

.card-img-right {
    object-fit: cover;
    height: 100%;
}

.jumbotron .col p {
    margin: 0;
    padding: 0;
    line-height: 2.4;
}

.jumbotron .col {
    padding: 0;
}

.list-group-mine .list-group-item {
    background-color: #ffffff;
    border: 0;
    border-radius: 22px;
    font-size: large;
}

.list-group-mine .list-group-item:hover {
    background-color: #fff;
    color: #68ae22;
}

.footer-dark {
    background-color: var(--dark-bg);
}

.language-dropdown .btn {
    background-color: #4b4949;
    border-color: #4b4949;
    border-radius: 0.2rem;
}

.social-icons a {
    transition: color 0.5s ease;
}

.social-icons a:hover {
    color: #6dc317 !important;
}

.background_top {
    background-image: url('../img/background_top.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
}

.background_main {
    background-image: url('../img/background_main.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
}

.background_bottom {
    background-image: url('../img/background_bottom.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
}

/* .background_promo {
    background-image: url('../img/rest_traktir_pushkin_wide.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
} */

.above_jumbotron {
    background-image: url("../img/background_pushkin_wide.jpg");
    background-size: cover;
}

/* ширина hr */
.my-w-5 {
    width: 5% !important;
}

.gap-4 {
    gap: 1.5rem;
}

h1 {
    font-size: x-large;
}

h6 {
    font-size: small;
}

/* для .card уменьшает нижний отступ для ширины менее 767px */
@media (max-width: 767px) {
    .card {
        margin-bottom: 1rem;
    }
}
