.card {
    width: 200px;
    height: 300px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    border: 4px solid var(--acent-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-front {
    background: #333;
    color: #fff;
}

.card-front:hover {
    background: #494949;
}

.card-back {
    background: #eee;
    transform: rotateY(180deg);
}

.card-back:hover {
    background: #cbcbcb;
}

/* TECH */

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem 1rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    height: 84%;
}

.tech-item {
    display: flex;
}

.tech-icon {
    width: auto;
    height: 26px;
    vertical-align: middle;
    margin-right: 8px;
}

.tech-name {
    font-family: var(--reckoner);
    margin: 0;
}

.card-front h3 {
    margin: 0;
    padding: 10px;
    font-family: var(--reckoner);
    font-size: 32px;
    text-align: center;
}

/* CUSTOM STYLES */

/* .game-engines .card-back {
    background: #173a65;
    color: white;
} */