.row-bg {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 6.89%, rgba(250, 250, 250, 0.71) 24.75%, rgba(217, 217, 217, 0.00) 100%, rgba(255, 255, 255, 0.00) 100%);
}

.bg-container {
    background-position: center;
    background-size: cover;
}

.advantages {
    list-style: none;
}

.adv-icon {
    max-width: 65%;
    position: relative;
    top: 15%;
    z-index: 100;

}

.advantag {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.advantag p {
    min-height: 7em;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

body {
    background: #FFF4F9;
}

.adv-desc {
    border: none !important;
    text-align: center;
    font-weight: 500;
}

ul {
    padding-left: 0 !important;
}

@media (max-width: 775px) {
    .advantages {
        flex-direction: column;
    }

    .advantag {
        width: 100%;
        margin: 0 !important;
    }

    .adv-icon {
        margin-bottom: -3em;

    }

    p.card.p-3.pt-5.adv-desc {
        width: 95%;
    }
}

.card-desc {
    position: absolute;
    top: 0%;
    left: 0;
    padding: 15px;
    width: 100%;
    color: transparent;
    padding-top: 50%;
}

.card-desc a {
    color: transparent;
}

.rounded-4.prim {
    position: relative;
    display: flex;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rounded-4.prim:hover .overlay {
    opacity: 0.7;
}

.rounded-4.prim:hover .card-desc {
    color: #fff;
}

.rounded-4.prim:hover .card-desc a {
    color: #fff;
}


.img {
    display: inline-block;
    max-width: 315px;
    min-width: 230px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.img:after {
    background-color: white;
    opacity: 0.4;
    top: 0;
    bottom: 0;
    content: '';
    left: -100%;
    position: absolute;
    width: 100px;
    box-shadow: 0 0 100px white;
    -webkit-transform: skew(-20deg);
    transform: skew(-20deg);
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}


@keyframes slide {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.img:after {
    animation: slide 2s infinite;
}

.bg-text{
    background: linear-gradient(45deg, #515050, #bababa, #656363);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}
.gradient-text {
    font-weight: bold;
    line-height: 1.5; /* Расстояние между строками */
    background-image: linear-gradient(45deg, #515050, #bababa, #656363);
    background-size: 200% 100%; /* Изменено значение background-size, чтобы перелив был только по горизонтали */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block; /* Разделить текст на строки */
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Сделать текст прозрачным */
    animation: gradient-animation 3s infinite linear;
    overflow: hidden;
    width: 100%; /* Чтобы текст переносился по всей ширине контейнера */
  }
  
  @keyframes gradient-animation {
    0% {
      background-position: 0 0; /* Первая строка начинается с верхнего края */
    }
    100% {
      background-position: 200% 0; /* Вторая строка начинается с правого края */
    }
  }
  
  
  
  
  
  