:root {
    --text-color: #fff;
    --bg-color: #22222222;
    --blur: blur(2.5px);
}

body {
    font-family: "Luckiest Guy", sans-serif;
    padding: 0px;
    margin: 0px;
    background-image: url('bg.svg');
    height: auto;
}

.big-container {
    padding: 20px;
}

h1.text-center {
    font-size: 3em;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.title-notch {
    padding-left: 120px;
    padding-right: 120px;
    margin-bottom: 20px;
    background-color: var(--bg-color);
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    backdrop-filter: var(--blur);
}


#gameCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 400px;
    height: 250px;
    margin: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

@keyframes shake {
    10%, 90% {
        transform: translateX(-5px) rotate(-5deg);
    }
    20%, 80% {
        transform: translateX(5px) rotate(5deg);
    }
    30%, 50%, 70% {
        transform: translateX(-5px) rotate(-5deg);
    }
    40%, 60% {
        transform: translateX(5px) rotate(5deg);
    }
}

@keyframes twirl {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

@keyframes flip {
    from {
        transform: perspective(400px) rotateY(0);
    }
    50% {
        transform: perspective(400px) rotateY(180deg);
    }
    to {
        transform: perspective(400px) rotateY(360deg);
    }
}

@keyframes scaleRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(0.5) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-color: var(--bg-color);
    backdrop-filter: var(--blur);
    filter: brightness(90%) var(--blur);
    z-index: -1;
    transition: filter 0.6s ease;
}

.card:hover .card-background {
    filter: brightness(100%) blur(0px);
}

.card:hover {
    z-index: 3;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card a {
    text-decoration: none;
}

.card-content h2 {
    margin: 0;
    font-size: 2.5em;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0px 0px 60px rgba(0, 0, 0, 2);
}


