/* Set the background image for the body */
@font-face {
    font-family: voltaire;
    src: url(/fonts/Voltaire-Frangela.ttf);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #232253;
    overflow-y: auto;
}

header {
    color: #5DCED7;
    padding-top: 70px;
    padding-bottom: 30px;
    z-index: 1000;
    text-align: center;
    font-family: voltaire;
}

/*.container .card.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
*/
main {
    flex-grow: 1;
    overflow: auto;
    padding-top: 230px;
}

.container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 45px;
    gap: 35px;
}
.container .card {
    position: absolute;
    width: 100px;
    height: 150px;
    border-radius: 8px;
    background: #e3e3e3;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(0,0,0,2);
    font-size: 6em;
    font-weight: 700;
    border: 10px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: 0.5s;
    transform-origin: 50% 100%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transform: rotate(calc(var(--i) * 0deg)) translate(calc(var(--i) * 45px), -50px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}
/* Controls movement up after card selected in 22 spread */
.container .card.selected {
    translate: calc(var(--i) * 1px) -50px;
    z-index: 100;
}
.container .card:hover {
    translate: calc(var(--i) *1px) -50px;
    z-index: 100;
}
/* Tarot Reading Content Aside */
.image-text {
    display: flex;
    gap: 20px;
    padding-left: 165px;
}
.card img {
    width: 180px;
    height: 300px;
}
.text {
    flex-grow: 1;
}
.card-spread {
    margin-bottom: 190px;
}
.your-reading {
    margin-top: 50px;
}
.reading-card {
    margin-top: 40px;
}
.reading-card p {
    font-size: 24px;
}
/* Restart Button Styles */
footer {
    text-align: center;
    margin-bottom: 20px;
}
.glow-on-hover {
    width: 130px;
    height: 40px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #4B3C8E, #A77B9D, #D9C6D5, #EAB8D1, #F4C2C2, #2E86C1, #1F618D, #AAB8C2, #F4D03F, #F9E79F);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}