@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

:root {
    --card-height: 30vh;
    --card-width: calc(var(--card-height) / 1.5);
}


body {
    background: #2b2b2c;
    display: flow;
    align-items: center;
    flex-direction: column;
    padding-top: 2rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
    color: #b9b9ba;
}

.h1-c {
    color: #b67031;
}

.h2-c {
    color: #f7c06b;
}

.h3-c {
    color: #bc8d3f;
}

.card {
    background: #191c29;
    /*width: var(--card-width);*/
    width: 100%;
    height:fit-content;
    padding: 3px;
    position: relative;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: block;
    font-size: 16px;
    color: rgb(105 89 139 / 100%);
    /*cursor: pointer;*/
    font-family: cursive;
}

.card  a {
    color: rgb(88 199 250 / 0%);
}

.card:hover {
    color: rgb(103, 150, 187);
    transition: color 1s;
}

.card:hover  a {
    color: rgb(225, 186, 104);
}


.card:hover:before, .card:hover:after {
    animation: none;
    opacity: 0;
}

.card::before {
    content: "";
    width: 104%;
    height: 102%;
    border-radius: 8px;
    background-image: linear-gradient(
            var(--rotate)
            , #59195b, #254a94 43%, #4e00c2);
    position: absolute;
    z-index: -1;
    top: -1%;
    left: -2%;
    animation: spin 7.5s linear infinite;
}

.opt-0::before {
    background-image: linear-gradient(
            var(--rotate)
            , #6e1010, #5e0707 43%, #440303);
}

.opt-2::before {
    height: 104%;
    top: -2%;
    background-image: linear-gradient(
            var(--rotate)
            , #b1b3b5, #86929a 43%, #4d4d4e);
}

.card::after {
    position: absolute;
    content: "";
    top: calc(var(--card-height) / 6);
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.8);
    filter: blur(calc(var(--card-height) / 6));
    opacity: 1;
    transition: opacity 1.5s;
    animation: spin 2.5s linear infinite;
}

.opt-0::after {
    position: absolute;
    content: "";
    top: calc(var(--card-height) / 6);
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.8);
    filter: blur(calc(var(--card-height) / 6));
    background-image: linear-gradient(
            var(--rotate)
            , #5ddcff, #3c67e3 43%, #4e00c2);
    opacity: 1;
    transition: opacity 1.5s;
    animation: spin 2.5s linear infinite;
}

@keyframes spin {
    0% {
        --rotate: 0deg;
    }
    100% {
        --rotate: 360deg;
    }
}