/*? CSS pro cara ter o mesmo estilo da Under */


.cad-seasons .container {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;

    & .season-section {
        text-align: center;
        position: relative;
        cursor: pointer;
        display: flex;
        flex-flow: column wrap;
        max-width: 33%;
        padding: 7px;
        border-radius: 13px;
        gap: 20px;
        
        /* transition: transform 0.6s ease-in-out; */
        
        &:hover {
            transform: scale(1.05);
        }

        &::before {
            content: '';
            position: absolute;
            inset: 0;
            padding: 4px;

            border-radius: inherit;
            background: conic-gradient(from var(--angle),
                    #96fff1,
                    #a2f4ff,
                    #48fcff,
                    #0173e4,
                    #0000ff,
                    #0d66ff,
                    #001eff);
            mask:
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            mask-composite: exclude;
            -webkit-mask-composite: xor;
            opacity: 0;

            transition: opacity 0.8s ease-in;
        }

        &:hover::before {
            opacity: 1;
            animation: spin 3s linear infinite;
        }


    }

    & .season-header h2 {
        font-size: 1.3em;
        font-weight: bold;
        color: #000;
    }

    & .cad-image {
        margin-bottom: 10px;

        & img {
            max-width: 90%;
            border-radius: 10px;
        }

        & .cad-status {
            font-size: 1.5rem;
            font-weight: bold;
            text-align: center;
            color: #63b7fc;
        }
    }

    & .cad-content {
        display: flex;
        flex-flow: column wrap;
        align-self: center;
        padding: 10px;

        background-color: white;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        box-shadow: 0px -5px 6px rgba(0, 0, 0, 0.157);
        transition: all .4s ease-in-out;
        transform-origin: bottom;

    }
}


@property --angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes spin {
    to {
        --angle: 360deg;
    }
}

@keyframes moveBackText {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}