﻿.container_CARTE_SOVRAPPOSTE {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .container_CARTE_SOVRAPPOSTE .glass {
        position: relative;
        width: 250px;
        height: 270px;
        background: linear-gradient(#fff2, transparent);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 1.5s;
        border-radius: 10px;
        backdrop-filter: blur(10px);
        /*transform: rotate(calc(var(--r) * 1deg));
        margin: 0 -45px;*/
        transform: rotate(0deg);
        margin: 0 10px;
    }

    .container_CARTE_SOVRAPPOSTE:hover .glass {
        transform: rotate(0deg);
        margin: 0 10px;
    }

    .container_CARTE_SOVRAPPOSTE .glass::before {
        content: attr(data-text);
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 40px;
        background: rgba(255, 255, 255, 0.05);
        display: flex;
        justify-content: center;
        align-items: center;
        color: #16588E;
    }

    .container_CARTE_SOVRAPPOSTE .glass svg {
        font-size: 2.5em;
        fill: #16588E;
    }
