.card {
    --main-color: #dedede;
    --sub-color: #ccc;
    --bg-color: #323232;
    --accent-color: #BC8D66;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 25px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /*background-color: var(--bg-color);*/
    transition: all 0.2s;
    cursor: pointer;
    /*box-shadow: 0px 0px 5px -1.5px #000;*/
    background-image: url("../img/leaves.jpg");
    background-size: cover;
    height: 10rem;
    width: 16rem;
    /*width: 50rem;*/
    /*background-color: red;*/
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.card__title {
    color: var(--main-color);
    font-weight: 900;
    font-size: 1.2rem;
}

@media (max-width: 640px) {
    .card {
        height: 10rem;
        width: 14rem;
    }

    .card__title {
        font-size: 1rem;
    }
}

.card::before {
    content: '';
    width: 99%;
    height: 99%;
    background: var(--sub-color);
    position: absolute;
    z-index: -1;
    top: 1px;
    left: 1px;
    border-radius: 25px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, #00ffff, #ff00ff, #ffff00, #00ffff);
    background-size: 400% 400%;
    filter: blur(10px);
    animation: neonGlow 10s linear infinite;
    opacity: 0.6;
}

.card__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.card__img {
    width: 100%;
}

.card__subtitle {
    color: var(--sub-color);
    font-weight: 600;
    font-size: 1rem;
}

.card__icon {
    min-width: 2rem;
    height: 2rem;
    transform: rotate(-45deg);
    transition: all 0.3s;
    margin-left: 0.8rem;
}

.card__icon svg {
    width: 100%;
    height: 100%;
}

.card__icon g {
    fill: var(--main-color);
}

.card__icon circle, polyline, line {
    stroke: var(--main-color);
}

.card:hover .card__icon {
    transform: rotate(0);
}

.card:hover .card__icon circle, .card:hover .card__icon polyline, .card:hover .card__icon line {
    stroke: var(--accent-color);
}

.card:hover .card__icon g {
    fill: var(--accent-color);
}

.card:hover {
    box-shadow: 0px 0px 20px -5px #000;
}

.card:hover::before {
    transform: rotate(10deg);
    box-shadow: 0px 0px 20px -5px #000;
}

/* remove svg from class ="card__img" and last styles below css code before use */
.st1 {
    fill: #fff
}

.st2 {
    fill: none;
    stroke: #242c88;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10
}

.st7 {
    fill: #589fff
}

.st9 {
    fill: #bc8d66
}

.st15,.st16 {
    opacity: .4;
    fill: #242c88
}

.st16 {
    opacity: .2
}

.st18 {
    fill: #ffc408
}

.st53 {
    fill: none;
    stroke: #242c88;
    stroke-width: 1.848;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10
}
